maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r345923 - /maven/scm/trunk/maven-scm-providers/maven-scm-provider-starteam/src/test/java/org/apache/maven/scm/provider/starteam/command/changelog/StarteamChangeLogConsumerTest.java
Date Mon, 21 Nov 2005 16:09:42 GMT
Author: evenisse
Date: Mon Nov 21 08:09:38 2005
New Revision: 345923

URL: http://svn.apache.org/viewcvs?rev=345923&view=rev
Log:
Fix test file for local not english or french

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/viewcvs/maven/scm/trunk/maven-scm-providers/maven-scm-provider-starteam/src/test/java/org/apache/maven/scm/provider/starteam/command/changelog/StarteamChangeLogConsumerTest.java?rev=345923&r1=345922&r2=345923&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
Mon Nov 21 08:09:38 2005
@@ -45,6 +45,11 @@
         String language = Locale.getDefault().getLanguage();
 
         testFile = getTestFile( "/src/test/resources/starteam/changelog/starteamlog_" + language
+ ".txt" );
+
+        if ( !language.exists() )
+        {
+            testFile = getTestFile( "/src/test/resources/starteam/changelog/starteamlog_en.txt"
);
+        }
     }
 
     public void testParse()



Mime
View raw message