Package eu.simuline.octave
Class TestOctaveErrors
- java.lang.Object
-
- eu.simuline.octave.TestOctaveErrors
-
public class TestOctaveErrors extends Object
Test
-
-
Constructor Summary
Constructors Constructor Description TestOctaveErrors()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestError()Test that error() in octave breaks the enginevoidtestEvalWithTryCatch()Test that error() in try/catch does not break the enginevoidtestOk()TestvoidtestParseException()Test that when an unknown type is read the OctaveParseException is thrown and the system will still workvoidtestSyntaxErrorInEval()Test that syntax error in eval() does not break the enginevoidtestSyntaxErrorInSafeEval()Test that syntax error in safeEval() does not break the enginevoidtestSyntaxErrorInTryCatch()Test that shows that try/catch does prevent a syntax error from breaking the engine
-
-
-
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
-
-