diff options
author | skygo <skygo@unknown> | 2012-08-04 12:31:45 +0000 |
---|---|---|
committer | skygo <skygo@unknown> | 2012-08-04 12:31:45 +0000 |
commit | d51dec36a7d5ae08bc0d54e83c6c15c81f7ba8e6 (patch) | |
tree | f7661edb37a17337818e1e7baf7737029b2696d3 /archiva-modules/archiva-base/archiva-artifact-converter | |
parent | 3d344fa1dfca040ab8ac83f7134285ac696c84bd (diff) | |
download | archiva-d51dec36a7d5ae08bc0d54e83c6c15c81f7ba8e6.tar.gz archiva-d51dec36a7d5ae08bc0d54e83c6c15c81f7ba8e6.zip |
clear warning before some test to be sure of what we test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1369304 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base/archiva-artifact-converter')
-rw-r--r-- | archiva-modules/archiva-base/archiva-artifact-converter/src/test/java/org/apache/archiva/converter/artifact/LegacyToDefaultConverterTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/archiva-modules/archiva-base/archiva-artifact-converter/src/test/java/org/apache/archiva/converter/artifact/LegacyToDefaultConverterTest.java b/archiva-modules/archiva-base/archiva-artifact-converter/src/test/java/org/apache/archiva/converter/artifact/LegacyToDefaultConverterTest.java index 581e22a43..386283012 100644 --- a/archiva-modules/archiva-base/archiva-artifact-converter/src/test/java/org/apache/archiva/converter/artifact/LegacyToDefaultConverterTest.java +++ b/archiva-modules/archiva-base/archiva-artifact-converter/src/test/java/org/apache/archiva/converter/artifact/LegacyToDefaultConverterTest.java @@ -699,6 +699,8 @@ public class LegacyToDefaultConverterTest File targetFile = new File( targetRepository.getBasedir(), targetRepository.pathOf( artifact ) ); File targetPomFile = new File( targetRepository.getBasedir(), targetRepository.pathOf( pomArtifact ) ); + // clear warning before test related to MRM-1638 + artifactConverter.clearWarnings(); artifactConverter.convert( artifact, targetRepository ); checkSuccess( artifactConverter ); @@ -743,6 +745,8 @@ public class LegacyToDefaultConverterTest // Need to guarantee last modified is not equal Thread.sleep( SLEEP_MILLIS ); + // clear warning before test related to MRM-1638 + artifactConverter.clearWarnings(); artifactConverter.convert( artifact, targetRepository ); checkWarnings( artifactConverter, 2 ); |