Package com.singularsys.exttests
Class StreamDictTest.StreamFieldDictTest
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.field.FieldDictTest
com.singularsys.exttests.StreamDictTest.StreamFieldDictTest
- Enclosing class:
StreamDictTest
Tests for
StreamFieldDictComponents using MAP_MISSING_VALUES.-
Nested Class Summary
Nested classes/interfaces inherited from class com.singularsys.exttests.field.FieldDictTest
FieldDictTest.MyStringFieldTestNested 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 TypeMethodDescriptionvoidcheckOrMake(String name) Check if the function should exists, or not.booleanTest if a element is equal to a double.protected ObjectgetNumber(double d) Convert a double value to the number type used by this implementation.voidmyAssertEquals(double d, Object obj) Asserts if the two values are equal, possible converting the double.voidsetUp()voidvoidvoidvoidvoidvoidvoidprotected voidvoidMethods inherited from class com.singularsys.exttests.field.FieldDictTest
testOperationsOn1DSet, testOperationsOnNestedSetMethods inherited from class com.singularsys.jeptests.unit.misc.dictionary.DictionaryWithMapNullTest
testEntriesNull, testEvaluateDoubleNoVal, testEvaluateEmpty, testEvaluatePutDoubleNoVal, testEvaluateSingleNoVal, testEvaluateVarDoubleNoVal, testValuesNullMethods 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
getJep, getKeyValue, test_makeMap1D, test_makeMap2D, test_makeMapEmpty, test_nested_dict, testAllFunctionsHaveDescriptions, testAllOperatorHaveDescriptions, testClear, testContainsKey, testEntries, testEntriesIter, testGet, testGetOr, testkeys, testKeysIter, testListOrMapSize, testParseDouble, testParseEmpty, testParseSingle, testParseSingleNoVal, testPut, testRemove, testSize, testValues, testValuesIter
-
Constructor Details
-
StreamFieldDictTest
public StreamFieldDictTest()
-
-
Method Details
-
setUp
- Overrides:
setUpin classFieldDictTest- Throws:
Exception
-
getNumber
Description copied from class:DictionaryTestsConvert a double value to the number type used by this implementation. Default simple retuurnsd.- Overrides:
getNumberin classDictionaryTests- Parameters:
d- number- Returns:
- object representing the number
-
myAssertEquals
Description copied from class:DictionaryTestsAsserts if the two values are equal, possible converting the double. Default is simple assertEquals(expected,actual)- Overrides:
myAssertEqualsin classDictionaryTests- Parameters:
d- expected number, may be convertedobj- value to test, un-converted
-
equals
Description copied from class:DictionaryTestsTest if a element is equal to a double. Default is simplyele.equals(d).- Overrides:
equalsin classDictionaryTests- Parameters:
ele- element to testd- number may be converted- Returns:
- true if equals after conversion
- Throws:
EvaluationException
-
testPutNullToString
- Overrides:
testPutNullToStringin classDictionaryWithMapNullTest
-
checkOrMake
Description copied from class:DictionaryTestsCheck if the function should exists, or not. If it does not make the function- Overrides:
checkOrMakein classFieldDictTest- Parameters:
name- function name
-
testEntriesToCount
- Throws:
JepException
-
testKeysToVbl
- Throws:
JepException
-
testValuesToSum
- Throws:
JepException
-
testPrintDouble
- Overrides:
testPrintDoublein classDictionaryWithMapNullTest- Throws:
JepException
-
testEvaluateDouble
- Overrides:
testEvaluateDoublein classDictionaryWithMapNullTest- Throws:
JepException
-
testEvaluateSingle
- Overrides:
testEvaluateSinglein classDictionaryWithMapNullTest- Throws:
JepException
-
test_dict_with_vectors
- Overrides:
test_dict_with_vectorsin classDictionaryTests- Throws:
JepException
-
test_table
- Throws:
JepException
-