Author: brett
Date: Sat Dec 23 00:35:21 2006
New Revision: 489867
URL: http://svn.apache.org/viewvc?view=rev&rev=489867
Log:
fix failing unit test
Modified:
maven/archiva/trunk/archiva-converter/src/test/java/org/apache/maven/archiva/converter/RepositoryConverterTest.java
maven/archiva/trunk/archiva-converter/src/test/source-repository/test/poms/unmodified-artifact-1.0.0.pom
Modified:
maven/archiva/trunk/archiva-converter/src/test/java/org/apache/maven/archiva/converter/RepositoryConverterTest.java
URL:
http://svn.apache.org/viewvc/maven/archiva/trunk/archiva-converter/src/test/java/org/apache/maven/archiva/converter/RepositoryConverterTest.java?view=diff&rev=489867&r1=489866&r2=489867
==============================================================================
---
maven/archiva/trunk/archiva-converter/src/test/java/org/apache/maven/archiva/converter/RepositoryConverterTest.java
(original)
+++
maven/archiva/trunk/archiva-converter/src/test/java/org/apache/maven/archiva/converter/RepositoryConverterTest.java
Sat Dec 23 00:35:21 2006
@@ -574,8 +574,8 @@
compareFiles( sourceFile, targetFile );
compareFiles( sourcePomFile, targetPomFile );
- assertEquals( "Check unmodified", origTime, targetFile.lastModified()
);
- assertEquals( "Check unmodified", origPomTime,
targetPomFile.lastModified() );
+ assertEquals( "Check artifact unmodified", origTime,
targetFile.lastModified() );
+ assertEquals( "Check POM unmodified", origPomTime,
targetPomFile.lastModified() );
}
public void testModifedArtifactFails()
Modified:
maven/archiva/trunk/archiva-converter/src/test/source-repository/test/poms/unmodified-artifact-1.0.0.pom
URL:
http://svn.apache.org/viewvc/maven/archiva/trunk/archiva-converter/src/test/source-repository/test/poms/unmodified-artifact-1.0.0.pom?view=diff&rev=489867&r1=489866&r2=489867
==============================================================================
---
maven/archiva/trunk/archiva-converter/src/test/source-repository/test/poms/unmodified-artifact-1.0.0.pom
(original)
+++
maven/archiva/trunk/archiva-converter/src/test/source-repository/test/poms/unmodified-artifact-1.0.0.pom
Sat Dec 23 00:35:21 2006
@@ -1,17 +1,20 @@
<!--
- ~ Copyright 2005-2006 The Apache Software Foundation.
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
~
- ~ Licensed under the Apache License, Version 2.0 (the "License");
- ~ you may not use this file except in compliance with the License.
- ~ You may obtain a copy of the License at
+ ~ http://www.apache.org/licenses/LICENSE-2.0
~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
-->
<project>