| /* |
| * 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); |
| } |
| } |