|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
net.sf.antcontrib.cpptasks.parser.TestCParser
public final class TestCParser
Tests for the CParser class.
| Constructor Summary | |
|---|---|
TestCParser(java.lang.String name)
Constructor. |
|
| Method Summary | |
|---|---|
void |
testImmediateImportBracket()
Checks parsing of #include |
void |
testImmediateImportQuote()
Checks parsing of #import "foo.h". |
void |
testImmediateIncludeBracket()
Checks parsing of #include |
void |
testImmediateIncludeQuote()
Checks parsing of #include "foo.h". |
void |
testIncompleteImmediateImportBracket()
Checks parsing of #import |
void |
testIncompleteImmediateImportQuote()
Checks parsing of #import "foo.h. |
void |
testIncompleteImmediateIncludeBracket()
Checks parsing of #include |
void |
testIncompleteImmediateIncludeQuote()
Checks parsing of #include "foo.h. |
void |
testLeadingSpace()
Checks parsing when line contains leading whitespace. |
void |
testLeadingTab()
Checks parsing when line contains a leading tab. |
void |
testNoQuoteOrBracket()
Checks parsing of #include foo.h. |
void |
testNotFirstWhitespace()
Checks parsing of //#include "foo.h". |
| 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 TestCParser(java.lang.String name)
name - String test name| Method Detail |
|---|
public void testImmediateImportBracket()
throws java.io.IOException
java.io.IOException - test fails on IOException
public void testImmediateImportQuote()
throws java.io.IOException
java.io.IOException - test fails on IOException
public void testImmediateIncludeBracket()
throws java.io.IOException
java.io.IOException - test fails on IOException
public void testImmediateIncludeQuote()
throws java.io.IOException
java.io.IOException - test fails on IOException.
public void testIncompleteImmediateImportBracket()
throws java.io.IOException
java.io.IOException - test fails on IOException
public void testIncompleteImmediateImportQuote()
throws java.io.IOException
java.io.IOException - test fails on IOException
public void testIncompleteImmediateIncludeBracket()
throws java.io.IOException
java.io.IOException - test fails on IOException
public void testIncompleteImmediateIncludeQuote()
throws java.io.IOException
java.io.IOException - test fails on IOException
public void testNoQuoteOrBracket()
throws java.io.IOException
java.io.IOException - test fails on IOException
public void testNotFirstWhitespace()
throws java.io.IOException
java.io.IOException - test fails on IOException
public void testLeadingSpace()
throws java.io.IOException
java.io.IOException - test fails on IOException.
public void testLeadingTab()
throws java.io.IOException
java.io.IOException - test fails on IOException.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||