Browse Source

fix failing unit test

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@489867 13f79535-47bb-0310-9956-ffa450edef68
tags/archiva-0.9-alpha-1
Brett Porter 17 years ago
parent
commit
bd0f018852

+ 2
- 2
archiva-converter/src/test/java/org/apache/maven/archiva/converter/RepositoryConverterTest.java View File

@@ -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()

+ 14
- 11
archiva-converter/src/test/source-repository/test/poms/unmodified-artifact-1.0.0.pom View File

@@ -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>

Loading…
Cancel
Save