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>
tags/v0.11.1
Robin Rosenberg 13 years ago
parent
commit
952a86b3ad

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


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 View File


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


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


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

@@ -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