diff options
author | Brett Porter <brett@apache.org> | 2006-12-23 08:35:21 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2006-12-23 08:35:21 +0000 |
commit | bd0f01885201f65b43e53c992937a261db80a8f0 (patch) | |
tree | 396140d66ca331ea9f44e6e40137f8372f850a8d | |
parent | 90e4382b629238920948b78decac168e18c05671 (diff) | |
download | archiva-bd0f01885201f65b43e53c992937a261db80a8f0.tar.gz archiva-bd0f01885201f65b43e53c992937a261db80a8f0.zip |
fix failing unit test
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@489867 13f79535-47bb-0310-9956-ffa450edef68
2 files changed, 16 insertions, 13 deletions
diff --git a/archiva-converter/src/test/java/org/apache/maven/archiva/converter/RepositoryConverterTest.java b/archiva-converter/src/test/java/org/apache/maven/archiva/converter/RepositoryConverterTest.java index 284ee1d42..15d5f187c 100644 --- a/archiva-converter/src/test/java/org/apache/maven/archiva/converter/RepositoryConverterTest.java +++ b/archiva-converter/src/test/java/org/apache/maven/archiva/converter/RepositoryConverterTest.java @@ -574,8 +574,8 @@ public class RepositoryConverterTest 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() diff --git a/archiva-converter/src/test/source-repository/test/poms/unmodified-artifact-1.0.0.pom b/archiva-converter/src/test/source-repository/test/poms/unmodified-artifact-1.0.0.pom index c570979f4..a8428a8a4 100644 --- a/archiva-converter/src/test/source-repository/test/poms/unmodified-artifact-1.0.0.pom +++ b/archiva-converter/src/test/source-repository/test/poms/unmodified-artifact-1.0.0.pom @@ -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> |