You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2009/03/04 15:57:25 UTC
svn commit: r750032 -
/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3641ProfileActivationWarningTest.java
Author: brett
Date: Wed Mar 4 14:57:24 2009
New Revision: 750032
URL: http://svn.apache.org/viewvc?rev=750032&view=rev
Log:
remove dependence on formatting
Modified:
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3641ProfileActivationWarningTest.java
Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3641ProfileActivationWarningTest.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3641ProfileActivationWarningTest.java?rev=750032&r1=750031&r2=750032&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3641ProfileActivationWarningTest.java (original)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3641ProfileActivationWarningTest.java Wed Mar 4 14:57:24 2009
@@ -57,7 +57,7 @@
verifier.resetStreams();
List logFile = verifier.loadFile( verifier.getBasedir(), verifier.getLogFileName(), false );
- assertFalse( logFile.contains( "[WARNING] Profile with id: 'mng-3641-it-provided-profile' has not been activated." ) );
+ assertFalse( logFile.contains( "Profile with id: 'mng-3641-it-provided-profile' has not been activated." ) );
// (2) Second run: make sure the profile was not found and a warning was printed.
verifier = new Verifier( testDir.getAbsolutePath() );
@@ -68,7 +68,7 @@
verifier.resetStreams();
logFile = verifier.loadFile( verifier.getBasedir(), verifier.getLogFileName(), false );
- assertTrue( logFile.contains( "[WARNING] Profile with id: 'mng-3641-TWlzdGVyIFQgd2FzIGhlcmUuICheX14p' has not been activated." ) );
+ assertTrue( logFile.contains( "Profile with id: 'mng-3641-TWlzdGVyIFQgd2FzIGhlcmUuICheX14p' has not been activated." ) );
// (3) Third run: make sure the first profile is found while the other is not and a warning was printed
// accordingly.
@@ -80,8 +80,8 @@
verifier.resetStreams();
logFile = verifier.loadFile( verifier.getBasedir(), verifier.getLogFileName(), false );
- assertFalse( logFile.contains( "[WARNING] Profile with id: 'mng-3641-it-provided-profile' has not been activated." ) );
- assertTrue( logFile.contains( "[WARNING] Profile with id: 'mng-3641-TWlzdGVyIFQgd2FzIGhlcmUuICheX14p' has not been activated." ) );
+ assertFalse( logFile.contains( "Profile with id: 'mng-3641-it-provided-profile' has not been activated." ) );
+ assertTrue( logFile.contains( "Profile with id: 'mng-3641-TWlzdGVyIFQgd2FzIGhlcmUuICheX14p' has not been activated." ) );
// (4) Fourth run: make sure the warning is only printed when the profile is missing in all projects
verifier = new Verifier( testDir.getAbsolutePath() );
@@ -92,6 +92,6 @@
verifier.resetStreams();
logFile = verifier.loadFile( verifier.getBasedir(), verifier.getLogFileName(), false );
- assertFalse( logFile.contains( "[WARNING] Profile with id: 'mng-3641-it-provided-profile-child' has not been activated." ) );
+ assertFalse( logFile.contains( "Profile with id: 'mng-3641-it-provided-profile-child' has not been activated." ) );
}
}