Skip to content
Snippets Groups Projects
Commit dd621977 authored by Luc Maisonobe's avatar Luc Maisonobe
Browse files

Improved test coverage.

parent fbdfb825
No related branches found
No related tags found
No related merge requests found
...@@ -37,6 +37,7 @@ import java.net.URISyntaxException; ...@@ -37,6 +37,7 @@ import java.net.URISyntaxException;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.Locale;
import org.hipparchus.analysis.differentiation.DSFactory; import org.hipparchus.analysis.differentiation.DSFactory;
import org.hipparchus.analysis.differentiation.DerivativeStructure; import org.hipparchus.analysis.differentiation.DerivativeStructure;
...@@ -608,6 +609,8 @@ public class DumpReplayerTest { ...@@ -608,6 +609,8 @@ public class DumpReplayerTest {
} catch (InvocationTargetException ite) { } catch (InvocationTargetException ite) {
RuggedInternalError rie = (RuggedInternalError) ite.getTargetException(); RuggedInternalError rie = (RuggedInternalError) ite.getTargetException();
assertEquals(RuggedMessages.INTERNAL_ERROR, rie.getSpecifier()); assertEquals(RuggedMessages.INTERNAL_ERROR, rie.getSpecifier());
assertEquals("https://gitlab.orekit.org/orekit/rugged/issues", rie.getParts()[0]);
assertTrue(rie.getMessage(Locale.FRENCH).startsWith("erreur interne"));
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment