Package com.singularsys.exttests.matrix
Class MatrixDictMapTest
java.lang.Object
com.singularsys.jeptests.unit.misc.dictionary.DictionaryTests
com.singularsys.jeptests.unit.misc.dictionary.DictionaryTestsWithNull
com.singularsys.jeptests.unit.misc.dictionary.DictionaryWithMapNullTest
com.singularsys.exttests.matrix.MatrixDictMapTest
- Direct Known Subclasses:
StreamDictTest.StreamMatrixDictTest
Tests for
MatrixDictComponents using MAP_NULL_VALUES.-
Nested Class Summary
Nested classes/interfaces inherited from class com.singularsys.jeptests.unit.misc.dictionary.DictionaryTests
DictionaryTests.KeyValue -
Field Summary
Fields inherited from class com.singularsys.jeptests.unit.misc.dictionary.DictionaryTests
entryOp, jep, listOrMapOp, nullValue, PRINT_RESULTS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckOperationsOnSet(DictionaryTests dt, Object nullValue) voidcheckOrMake(String name) Check if the function should exists, or not.static voidcheckPutOnSet(DictionaryTests dt, Object nullValue, boolean isMap, boolean hasPutNull) getKeyValue(Object ele) Convert and element to key-value pair.voidsetUp()voidvoidvoidtestkeys()voidvoidvoidvoidvoidtestSize()voidvoidMethods inherited from class com.singularsys.jeptests.unit.misc.dictionary.DictionaryWithMapNullTest
testEvaluateDouble, testEvaluateDoubleNoVal, testEvaluateEmpty, testEvaluatePutDoubleNoVal, testEvaluateSingle, testEvaluateSingleNoVal, testEvaluateVarDoubleNoVal, testPrintDouble, testPutNullToStringMethods inherited from class com.singularsys.jeptests.unit.misc.dictionary.DictionaryTestsWithNull
testEntriesIterNull, testGetNull, testGetOrNull, testKeysIterNull, testPutNull, testRemoveNull, testValuesIterNullMethods inherited from class com.singularsys.jeptests.unit.misc.dictionary.DictionaryTests
equals, getJep, getNumber, myAssertEquals, test_dict_with_vectors, test_makeMap1D, test_makeMap2D, test_makeMapEmpty, test_nested_dict, testAllFunctionsHaveDescriptions, testAllOperatorHaveDescriptions, testClear, testContainsKey, testEntriesIter, testGet, testGetOr, testKeysIter, testListOrMapSize, testParseDouble, testParseEmpty, testParseSingle, testParseSingleNoVal, testPut, testRemove, testValuesIter
-
Constructor Details
-
MatrixDictMapTest
public MatrixDictMapTest()
-
-
Method Details
-
setUp
- Overrides:
setUpin classDictionaryWithMapNullTest- Throws:
Exception
-
testEntries
- Overrides:
testEntriesin classDictionaryTests- Throws:
JepException
-
testkeys
- Overrides:
testkeysin classDictionaryTests- Throws:
JepException
-
testValues
- Overrides:
testValuesin classDictionaryTests- Throws:
JepException
-
testEntriesNull
- Overrides:
testEntriesNullin classDictionaryWithMapNullTest- Throws:
JepException
-
testValuesNull
- Overrides:
testValuesNullin classDictionaryWithMapNullTest- Throws:
JepException
-
testSize
- Overrides:
testSizein classDictionaryTests- Throws:
JepException
-
testOperationsOnMatrix
- Throws:
JepException
-
testOperationsOnNestedSet
- Throws:
JepException
-
testOperationsOn1DSet
- Throws:
JepException
-
testOperationsOn1DMap
- Throws:
JepException
-
checkOperationsOnSet
- Throws:
JepException
-
checkPutOnSet
public static void checkPutOnSet(DictionaryTests dt, Object nullValue, boolean isMap, boolean hasPutNull) throws JepException - Throws:
JepException
-
checkOrMake
Description copied from class:DictionaryTestsCheck if the function should exists, or not. If it does not make the function- Overrides:
checkOrMakein classDictionaryTests- Parameters:
name- function name
-
getKeyValue
Description copied from class:DictionaryTestsConvert and element to key-value pair.- Overrides:
getKeyValuein classDictionaryTests- Parameters:
ele- representing a key-value pair- Returns:
- the pair
- Throws:
EvaluationException
-