Package eu.simuline.octave
Class TestMetaInfo
- java.lang.Object
-
- eu.simuline.octave.TestMetaInfo
-
public class TestMetaInfo extends Object
Test meta info like version (both octave and javaoctave bridge), vendor, packages installed.
-
-
Field Summary
Fields Modifier and Type Field Description private static StringCLS_INTERVALprivate static StringPKG_INTERVAL
-
Constructor Summary
Constructors Constructor Description TestMetaInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestBasedOnWhich()TestsOctaveEngine.getInstHomeDir(),OctaveEngine.getOctaveVersion()andOctaveEngine.getDescForName(String)at the same time.voidtestJavaDir()Tests on the java directory.voidtestKnownVersion()Test that the version is a version we know.voidtestListVarsEmpty()Test that the list of variables is empty.voidtestListVarsOneTwo()Test that the list of variables has 1 or 2 entries. **** better: test concrete collection of variables.voidtestMeta()voidtestOctaveJavaVersion()voidtestOnOS()voidtestPackageInstalled()voidtestPackageLoading()voidtestVersion()Test getVersion
-
-
-
Field Detail
-
PKG_INTERVAL
private static final String PKG_INTERVAL
- See Also:
- Constant Field Values
-
CLS_INTERVAL
private static final String CLS_INTERVAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
testVersion
public void testVersion()
Test getVersion
-
testKnownVersion
public void testKnownVersion()
Test that the version is a version we know. If this test fails the fix will usually be to add the new version to the Set of known versions.
-
testOctaveJavaVersion
public void testOctaveJavaVersion()
-
testMeta
public void testMeta()
-
testPackageInstalled
public void testPackageInstalled()
-
testPackageLoading
public void testPackageLoading()
-
testListVarsEmpty
public void testListVarsEmpty()
Test that the list of variables is empty.
-
testListVarsOneTwo
public void testListVarsOneTwo()
Test that the list of variables has 1 or 2 entries. **** better: test concrete collection of variables.
-
testOnOS
public void testOnOS()
-
testBasedOnWhich
public void testBasedOnWhich()
TestsOctaveEngine.getInstHomeDir(),OctaveEngine.getOctaveVersion()andOctaveEngine.getDescForName(String)at the same time.
-
testJavaDir
public void testJavaDir()
Tests on the java directory.
-
-