blob: 38567abab82cdd4db0fa6a8a9a951702b6a1e1b5 [file] [log] [blame]
/*
* Copyright (C) 2010, Sasa Zivkov <sasa.zivkov@sap.com> and others
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0 which is available at
* https://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
package org.eclipse.jgit.nls;
import org.eclipse.jgit.awtui.UIText;
import org.eclipse.jgit.internal.JGitText;
import org.eclipse.jgit.pgm.internal.CLIText;
import org.junit.Before;
import org.junit.Test;
public class RootLocaleTest {
@Before
public void setUp() {
NLS.setLocale(NLS.ROOT_LOCALE);
}
@Test
public void testJGitText() {
NLS.getBundleFor(JGitText.class);
}
@Test
public void testCLIText() {
NLS.getBundleFor(CLIText.class);
}
@Test
public void testUIText() {
NLS.getBundleFor(UIText.class);
}
}