Search in sources :

Example 6 with PreferencesService

use of net.sf.latexdraw.service.PreferencesService in project latexdraw by arnobl.

the class TestAxesStyle method testGetLabel.

@ParameterizedTest
@EnumSource
void testGetLabel(final AxesStyle style) {
    final ResourceBundle lang = new PreferencesService().getBundle();
    assertNotNull(style.getLabel(lang));
    assertFalse(style.getLabel(lang).isEmpty());
}
Also used : ResourceBundle(java.util.ResourceBundle) PreferencesService(net.sf.latexdraw.service.PreferencesService) EnumSource(org.junit.jupiter.params.provider.EnumSource) ParameterizedTest(org.junit.jupiter.params.ParameterizedTest)

Aggregations

PreferencesService (net.sf.latexdraw.service.PreferencesService)6 ResourceBundle (java.util.ResourceBundle)2 StatusBarController (net.sf.latexdraw.instrument.StatusBarController)2 Canvas (net.sf.latexdraw.view.jfx.Canvas)2 ParameterizedTest (org.junit.jupiter.params.ParameterizedTest)2 EnumSource (org.junit.jupiter.params.provider.EnumSource)2 CountDownLatch (java.util.concurrent.CountDownLatch)1 ExecutorService (java.util.concurrent.ExecutorService)1 FutureTask (java.util.concurrent.FutureTask)1 SimpleDoubleProperty (javafx.beans.property.SimpleDoubleProperty)1 Task (javafx.concurrent.Task)1 Parent (javafx.scene.Parent)1 Scene (javafx.scene.Scene)1 Label (javafx.scene.control.Label)1 Image (javafx.scene.image.Image)1 Stage (javafx.stage.Stage)1 WindowEvent (javafx.stage.WindowEvent)1 BuilderFactory (javafx.util.BuilderFactory)1 TabSelector (net.sf.latexdraw.instrument.TabSelector)1 Drawing (net.sf.latexdraw.model.api.shape.Drawing)1