Class TestOctaveErrors


  • public class TestOctaveErrors
    extends Object
    Test
    • Constructor Detail

      • TestOctaveErrors

        public TestOctaveErrors()
    • Method Detail

      • testError

        public void testError()
        Test that error() in octave breaks the engine
      • testEvalWithTryCatch

        public void testEvalWithTryCatch()
        Test that error() in try/catch does not break the engine
      • testSyntaxErrorInTryCatch

        public void testSyntaxErrorInTryCatch()
        Test that shows that try/catch does prevent a syntax error from breaking the engine
      • testSyntaxErrorInEval

        public void testSyntaxErrorInEval()
        Test that syntax error in eval() does not break the engine
      • testSyntaxErrorInSafeEval

        public void testSyntaxErrorInSafeEval()
        Test that syntax error in safeEval() does not break the engine
      • testOk

        public void testOk()
        Test
      • testParseException

        public void testParseException()
        Test that when an unknown type is read the OctaveParseException is thrown and the system will still work