public abstract class TestIBindingSet extends TestCase2
IBindingSet
.
Note:
Var
references will be
preserved but the IConstant
s will be distinct).TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestIBindingSet() |
TestIBindingSet(String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
assertEqual(IBindingSet actual,
IVariable<?>[] vars,
IConstant<?>[] vals)
Compare actual and expected, where the latter is expressed using
(vars,vals).
|
protected void |
assertEquals(IBindingSet expected,
IBindingSet actual) |
protected abstract IBindingSet |
newBindingSet(int size) |
protected abstract IBindingSet |
newBindingSet(IVariable<?>[] vars,
IConstant<?>[] vals) |
void |
test_serialization() |
void |
testClear()
Unit test for
IBindingSet.clear(IVariable) |
void |
testClearAll()
Unit test for
IBindingSet.clearAll() |
void |
testCopy()
Unit test for
IBindingSet.copy(IVariable[]) |
void |
testEquals()
Unit test for
IBindingSet.equals(Object) |
void |
testGet()
Unit test for
IBindingSet.get(IVariable) |
void |
testHashCode()
Unit test for
IBindingSet.hashCode() |
void |
testIsBound()
Unit test for
IBindingSet.isBound(IVariable) |
void |
testIterator()
Unit test for
IBindingSet.iterator() |
void |
testSet()
Unit test for
IBindingSet.set(IVariable,IConstant) |
void |
testSize()
Unit test for
IBindingSet.size() |
void |
testVars()
Unit test for
IBindingSet.vars() |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsWithinUlps, assertSameArray, assertSameArray, assertSameBigDecimal, assertSameBigDecimal, assertSameBigInteger, assertSameBigInteger, assertSameIterator, assertSameIterator, assertSameIteratorAnyOrder, assertSameIteratorAnyOrder, assertSameValue, assertSameValue, assertZeroUlps, assertZeroUlps, fail, getInnerCause, getNormalInt, getProjectBuildPath, getProperties, getRandomObject, getRandomObject, getRandomOrder, getRandomString, getTestInputStream, getTestResource, getTestResource, getUlps, getUlps, isDEBUG, isDEBUG, isINFO, isINFO, isInnerCause, logProperties
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
public TestIBindingSet()
public TestIBindingSet(String name)
name
- public void testIsBound()
IBindingSet.isBound(IVariable)
public void testSet()
IBindingSet.set(IVariable,IConstant)
public void testGet()
IBindingSet.get(IVariable)
public void testClear()
IBindingSet.clear(IVariable)
public void testClearAll()
IBindingSet.clearAll()
public void testSize()
IBindingSet.size()
public void testIterator()
IBindingSet.iterator()
public void testVars()
IBindingSet.vars()
public void testCopy()
IBindingSet.copy(IVariable[])
public void testEquals()
IBindingSet.equals(Object)
public void testHashCode()
IBindingSet.hashCode()
public void test_serialization()
protected abstract IBindingSet newBindingSet(IVariable<?>[] vars, IConstant<?>[] vals)
protected abstract IBindingSet newBindingSet(int size)
protected void assertEqual(IBindingSet actual, IVariable<?>[] vars, IConstant<?>[] vals)
Note: This does not follow the junit pattern for asserts, which puts the expected data first.
actual
- vars
- vals
- protected void assertEquals(IBindingSet expected, IBindingSet actual)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.