From 683d490074d93baa8a47db7ec43b7bd31145a12a Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Thu, 5 Nov 2009 23:00:15 +0100 Subject: Tar file expanded and committed --- .../sf/antcontrib/cpptasks/parser/TestCParser.html | 550 +++++++++++++++++++++ 1 file changed, 550 insertions(+) create mode 100644 site/testapidocs/net/sf/antcontrib/cpptasks/parser/TestCParser.html (limited to 'site/testapidocs/net/sf/antcontrib/cpptasks/parser/TestCParser.html') diff --git a/site/testapidocs/net/sf/antcontrib/cpptasks/parser/TestCParser.html b/site/testapidocs/net/sf/antcontrib/cpptasks/parser/TestCParser.html new file mode 100644 index 0000000..1106c4c --- /dev/null +++ b/site/testapidocs/net/sf/antcontrib/cpptasks/parser/TestCParser.html @@ -0,0 +1,550 @@ + + + + + + + +TestCParser (cpptasks 1.0b5 Test API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +net.sf.antcontrib.cpptasks.parser +
+Class TestCParser

+
+java.lang.Object
+  extended by junit.framework.Assert
+      extended by junit.framework.TestCase
+          extended by net.sf.antcontrib.cpptasks.parser.TestCParser
+
+
+
All Implemented Interfaces:
junit.framework.Test
+
+
+
+
public final class TestCParser
extends junit.framework.TestCase
+ + +

+Tests for the CParser class. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TestCParser(java.lang.String name) + +
+          Constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidtestImmediateImportBracket() + +
+          Checks parsing of #include .
+ voidtestImmediateImportQuote() + +
+          Checks parsing of #import "foo.h".
+ voidtestImmediateIncludeBracket() + +
+          Checks parsing of #include .
+ voidtestImmediateIncludeQuote() + +
+          Checks parsing of #include "foo.h".
+ voidtestIncompleteImmediateImportBracket() + +
+          Checks parsing of #import +
+ voidtestIncompleteImmediateImportQuote() + +
+          Checks parsing of #import "foo.h.
+ voidtestIncompleteImmediateIncludeBracket() + +
+          Checks parsing of #include +
+ voidtestIncompleteImmediateIncludeQuote() + +
+          Checks parsing of #include "foo.h.
+ voidtestLeadingSpace() + +
+          Checks parsing when line contains leading whitespace.
+ voidtestLeadingTab() + +
+          Checks parsing when line contains a leading tab.
+ voidtestNoQuoteOrBracket() + +
+          Checks parsing of #include foo.h.
+ voidtestNotFirstWhitespace() + +
+          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
+ +

+TestCParser

+
+public TestCParser(java.lang.String name)
+
+
Constructor. +

+

+
Parameters:
name - String test name
+
+ + + + + + + + +
+Method Detail
+ +

+testImmediateImportBracket

+
+public void testImmediateImportBracket()
+                                throws java.io.IOException
+
+
Checks parsing of #include . +

+

+ +
Throws: +
java.io.IOException - test fails on IOException
+
+
+
+ +

+testImmediateImportQuote

+
+public void testImmediateImportQuote()
+                              throws java.io.IOException
+
+
Checks parsing of #import "foo.h". +

+

+ +
Throws: +
java.io.IOException - test fails on IOException
+
+
+
+ +

+testImmediateIncludeBracket

+
+public void testImmediateIncludeBracket()
+                                 throws java.io.IOException
+
+
Checks parsing of #include . +

+

+ +
Throws: +
java.io.IOException - test fails on IOException
+
+
+
+ +

+testImmediateIncludeQuote

+
+public void testImmediateIncludeQuote()
+                               throws java.io.IOException
+
+
Checks parsing of #include "foo.h". +

+

+ +
Throws: +
java.io.IOException - test fails on IOException.
+
+
+
+ +

+testIncompleteImmediateImportBracket

+
+public void testIncompleteImmediateImportBracket()
+                                          throws java.io.IOException
+
+
Checks parsing of #import +
+ +
Throws: +
java.io.IOException - test fails on IOException
+
+
+
+ +

+testIncompleteImmediateImportQuote

+
+public void testIncompleteImmediateImportQuote()
+                                        throws java.io.IOException
+
+
Checks parsing of #import "foo.h. +

+

+ +
Throws: +
java.io.IOException - test fails on IOException
+
+
+
+ +

+testIncompleteImmediateIncludeBracket

+
+public void testIncompleteImmediateIncludeBracket()
+                                           throws java.io.IOException
+
+
Checks parsing of #include +
+ +
Throws: +
java.io.IOException - test fails on IOException
+
+
+
+ +

+testIncompleteImmediateIncludeQuote

+
+public void testIncompleteImmediateIncludeQuote()
+                                         throws java.io.IOException
+
+
Checks parsing of #include "foo.h. +

+

+ +
Throws: +
java.io.IOException - test fails on IOException
+
+
+
+ +

+testNoQuoteOrBracket

+
+public void testNoQuoteOrBracket()
+                          throws java.io.IOException
+
+
Checks parsing of #include foo.h. +

+

+ +
Throws: +
java.io.IOException - test fails on IOException
+
+
+
+ +

+testNotFirstWhitespace

+
+public void testNotFirstWhitespace()
+                            throws java.io.IOException
+
+
Checks parsing of //#include "foo.h". +

+

+ +
Throws: +
java.io.IOException - test fails on IOException
+
+
+
+ +

+testLeadingSpace

+
+public void testLeadingSpace()
+                      throws java.io.IOException
+
+
Checks parsing when line contains leading whitespace. +

+

+ +
Throws: +
java.io.IOException - test fails on IOException.
+
+
+
+ +

+testLeadingTab

+
+public void testLeadingTab()
+                    throws java.io.IOException
+
+
Checks parsing when line contains a leading tab. +

+

+ +
Throws: +
java.io.IOException - test fails on IOException.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved. + + -- cgit v1.2.3