1
2
3
4
5
6
7
8
9
10
11 package org.eclipse.jgit.nls;
12
13 import org.eclipse.jgit.awtui.UIText;
14 import org.eclipse.jgit.internal.JGitText;
15 import org.eclipse.jgit.pgm.internal.CLIText;
16 import org.junit.Before;
17 import org.junit.Test;
18
19 public class RootLocaleTest {
20 @Before
21 public void setUp() {
22 NLS.setLocale(NLS.ROOT_LOCALE);
23 }
24
25 @Test
26 public void testJGitText() {
27 NLS.getBundleFor(JGitText.class);
28 }
29
30 @Test
31 public void testCLIText() {
32 NLS.getBundleFor(CLIText.class);
33 }
34
35 @Test
36 public void testUIText() {
37 NLS.getBundleFor(UIText.class);
38 }
39 }