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 void
testError()
Test that error() in octave breaks the enginevoid
testEvalWithTryCatch()
Test that error() in try/catch does not break the enginevoid
testOk()
Testvoid
testParseException()
Test that when an unknown type is read the OctaveParseException is thrown and the system will still workvoid
testSyntaxErrorInEval()
Test that syntax error in eval() does not break the enginevoid
testSyntaxErrorInSafeEval()
Test that syntax error in safeEval() does not break the enginevoid
testSyntaxErrorInTryCatch()
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
-
-