maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsive...@apache.org
Subject svn commit: r691441 - /maven/scm/trunk/maven-scm-providers/maven-scm-provider-starteam/src/test/java/org/apache/maven/scm/provider/starteam/command/changelog/StarteamChangeLogConsumerTest.java
Date Wed, 03 Sep 2008 00:04:22 GMT
Author: vsiveton
Date: Tue Sep  2 17:04:21 2008
New Revision: 691441

URL: http://svn.apache.org/viewvc?rev=691441&view=rev
Log:
o improved test case

Modified:
    maven/scm/trunk/maven-scm-providers/maven-scm-provider-starteam/src/test/java/org/apache/maven/scm/provider/starteam/command/changelog/StarteamChangeLogConsumerTest.java

Modified: maven/scm/trunk/maven-scm-providers/maven-scm-provider-starteam/src/test/java/org/apache/maven/scm/provider/starteam/command/changelog/StarteamChangeLogConsumerTest.java
URL: http://svn.apache.org/viewvc/maven/scm/trunk/maven-scm-providers/maven-scm-provider-starteam/src/test/java/org/apache/maven/scm/provider/starteam/command/changelog/StarteamChangeLogConsumerTest.java?rev=691441&r1=691440&r2=691441&view=diff
==============================================================================
--- maven/scm/trunk/maven-scm-providers/maven-scm-provider-starteam/src/test/java/org/apache/maven/scm/provider/starteam/command/changelog/StarteamChangeLogConsumerTest.java
(original)
+++ maven/scm/trunk/maven-scm-providers/maven-scm-provider-starteam/src/test/java/org/apache/maven/scm/provider/starteam/command/changelog/StarteamChangeLogConsumerTest.java
Tue Sep  2 17:04:21 2008
@@ -121,6 +121,16 @@
             for ( int i = 0; i < availableLocales.length; i++ )
             {
                 Locale.setDefault( availableLocales[i] );
+
+                String language = availableLocales[i].getLanguage();
+
+                testFile = getTestFile( "/src/test/resources/starteam/changelog/starteamlog_"
+ language + ".txt" );
+
+                if ( !testFile.exists() )
+                {
+                    testFile = getTestFile( "/src/test/resources/starteam/changelog/starteamlog_en.txt"
);
+                }
+
                 parseTestFile();
             }
         }



Mime
View raw message