Browse Source

Fix TestTranslationBundle

The test was never run from maven, because its name did not end
in a way that was recognized by the pom. After rename it failed
because it did not find its resources.

Rename test class and move resources to the resources folder

Change-Id: I74a7ef1373cd902e1d05ff6ea38f8648b5fc5700
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
stable-0.11
Robin Rosenberg 14 years ago committed by Shawn O. Pearce
parent
commit
952a86b3ad
  1. 0
      org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/nls/GermanTranslatedBundle.properties
  2. 0
      org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/nls/GermanTranslatedBundle_de.properties
  3. 0
      org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/nls/MissingPropertyBundle.properties
  4. 0
      org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/nls/NonTranslatedBundle.properties
  5. 2
      org.eclipse.jgit.test/tst/org/eclipse/jgit/nls/TranslationBundleTest.java

0
org.eclipse.jgit.test/tst/org/eclipse/jgit/nls/GermanTranslatedBundle.properties → org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/nls/GermanTranslatedBundle.properties

0
org.eclipse.jgit.test/tst/org/eclipse/jgit/nls/GermanTranslatedBundle_de.properties → org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/nls/GermanTranslatedBundle_de.properties

0
org.eclipse.jgit.test/tst/org/eclipse/jgit/nls/MissingPropertyBundle.properties → org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/nls/MissingPropertyBundle.properties

0
org.eclipse.jgit.test/tst/org/eclipse/jgit/nls/NonTranslatedBundle.properties → org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/nls/NonTranslatedBundle.properties

2
org.eclipse.jgit.test/tst/org/eclipse/jgit/nls/TestTranslationBundle.java → org.eclipse.jgit.test/tst/org/eclipse/jgit/nls/TranslationBundleTest.java

@ -52,7 +52,7 @@ import org.eclipse.jgit.errors.TranslationBundleLoadingException;
import org.eclipse.jgit.errors.TranslationStringMissingException;
import org.junit.Test;
public class TestTranslationBundle {
public class TranslationBundleTest {
@Test
public void testMissingPropertiesFile() {
Loading…
Cancel
Save