|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.sat4j.minisat.AbstractAcceptanceTestCase<T>
public abstract class AbstractAcceptanceTestCase<T extends org.sat4j.specs.ISolver>
Field Summary | |
---|---|
protected org.sat4j.reader.Reader |
reader
|
protected T |
solver
|
Constructor Summary | |
---|---|
AbstractAcceptanceTestCase()
|
|
AbstractAcceptanceTestCase(java.lang.String arg0)
|
Method Summary | |
---|---|
protected org.sat4j.reader.Reader |
createInstanceReader(T aSolver)
|
protected abstract T |
createSolver()
|
protected void |
setUp()
|
protected boolean |
solveInstance(java.lang.String filename)
|
protected void |
tearDown()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
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, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected T extends org.sat4j.specs.ISolver solver
protected org.sat4j.reader.Reader reader
Constructor Detail |
---|
public AbstractAcceptanceTestCase()
public AbstractAcceptanceTestCase(java.lang.String arg0)
arg0
- Method Detail |
---|
protected abstract T createSolver()
protected void setUp()
setUp
in class junit.framework.TestCase
TestCase.setUp()
protected org.sat4j.reader.Reader createInstanceReader(T aSolver)
protected void tearDown()
tearDown
in class junit.framework.TestCase
protected boolean solveInstance(java.lang.String filename) throws java.io.FileNotFoundException, org.sat4j.reader.ParseFormatException, java.io.IOException
java.io.FileNotFoundException
org.sat4j.reader.ParseFormatException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |