Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

RootLocaleTest.java 860B

123456789101112131415161718192021222324252627282930313233343536373839
  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. package org.eclipse.jgit.nls;
  11. import org.eclipse.jgit.awtui.UIText;
  12. import org.eclipse.jgit.internal.JGitText;
  13. import org.eclipse.jgit.pgm.internal.CLIText;
  14. import org.junit.Before;
  15. import org.junit.Test;
  16. public class RootLocaleTest {
  17. @Before
  18. public void setUp() {
  19. NLS.setLocale(NLS.ROOT_LOCALE);
  20. }
  21. @Test
  22. public void testJGitText() {
  23. NLS.getBundleFor(JGitText.class);
  24. }
  25. @Test
  26. public void testCLIText() {
  27. NLS.getBundleFor(CLIText.class);
  28. }
  29. @Test
  30. public void testUIText() {
  31. NLS.getBundleFor(UIText.class);
  32. }
  33. }