public final class TestCParser
extends junit.framework.TestCase
Constructor and Description |
---|
TestCParser(String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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".
|
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 TestCParser(String name)
name
- String test namepublic void testImmediateImportBracket() throws IOException
IOException
- test fails on IOExceptionpublic void testImmediateImportQuote() throws IOException
IOException
- test fails on IOExceptionpublic void testImmediateIncludeBracket() throws IOException
IOException
- test fails on IOExceptionpublic void testImmediateIncludeQuote() throws IOException
IOException
- test fails on IOException.public void testIncompleteImmediateImportBracket() throws IOException
IOException
- test fails on IOExceptionpublic void testIncompleteImmediateImportQuote() throws IOException
IOException
- test fails on IOExceptionpublic void testIncompleteImmediateIncludeBracket() throws IOException
IOException
- test fails on IOExceptionpublic void testIncompleteImmediateIncludeQuote() throws IOException
IOException
- test fails on IOExceptionpublic void testLeadingSpace() throws IOException
IOException
- test fails on IOException.public void testLeadingTab() throws IOException
IOException
- test fails on IOException.public void testNoQuoteOrBracket() throws IOException
IOException
- test fails on IOExceptionpublic void testNotFirstWhitespace() throws IOException
IOException
- test fails on IOExceptionCopyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.