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 String
CLS_INTERVAL
private static String
PKG_INTERVAL
-
Constructor Summary
Constructors Constructor Description TestMetaInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testBasedOnWhich()
TestsOctaveEngine.getInstHomeDir()
,OctaveEngine.getOctaveVersion()
andOctaveEngine.getDescForName(String)
at the same time.void
testJavaDir()
Tests on the java directory.void
testKnownVersion()
Test that the version is a version we know.void
testListVarsEmpty()
Test that the list of variables is empty.void
testListVarsOneTwo()
Test that the list of variables has 1 or 2 entries. **** better: test concrete collection of variables.void
testMeta()
void
testOctaveJavaVersion()
void
testOnOS()
void
testPackageInstalled()
void
testPackageLoading()
void
testVersion()
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.
-
-