View Javadoc
1   /*
2    * Copyright (C) 2010, Sasa Zivkov <sasa.zivkov@sap.com> and others
3    *
4    * This program and the accompanying materials are made available under the
5    * terms of the Eclipse Distribution License v. 1.0 which is available at
6    * https://www.eclipse.org/org/documents/edl-v10.php.
7    *
8    * SPDX-License-Identifier: BSD-3-Clause
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  }