|
||||||||||
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 net.sf.antcontrib.cpptasks.TestCCTask
public final class TestCCTask
Tests for CCTask.
Constructor Summary | |
---|---|
TestCCTask(java.lang.String name)
Constructor. |
Method Summary | |
---|---|
void |
testAntlibXmlPresent()
Test checks for the presence of antlib.xml. |
void |
testGetFailOnError()
Tests that the default value of failonerror is true. |
void |
testGetTargetsToBuildByConfiguration1()
Test that a target with no existing object file is returned by getTargetsToBuildByConfiguration. |
void |
testGetTargetsToBuildByConfiguration2()
Test that a target that is up to date is not returned by getTargetsToBuildByConfiguration. |
void |
testSetFailOnError()
Tests that setting failonerror is effective. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestCCTask(java.lang.String name)
name
- test nameMethod Detail |
---|
public void testGetTargetsToBuildByConfiguration1()
public void testGetTargetsToBuildByConfiguration2()
public void testGetFailOnError()
public void testSetFailOnError()
public void testAntlibXmlPresent() throws java.io.IOException
java.io.IOException
- if stream can't be closed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |