You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

RootLocaleTest.java 638B

123456789101112131415161718192021222324252627
  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.http.server;
  11. import org.eclipse.jgit.nls.NLS;
  12. import org.junit.Before;
  13. import org.junit.Test;
  14. public class RootLocaleTest {
  15. @Before
  16. public void setUp() {
  17. NLS.setLocale(NLS.ROOT_LOCALE);
  18. }
  19. @Test
  20. public void testHttpServerText() {
  21. NLS.getBundleFor(HttpServerText.class);
  22. }
  23. }