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/TestXMLConsumer.html | 319 +++++++++++++++++++++ 1 file changed, 319 insertions(+) create mode 100644 site/testapidocs/net/sf/antcontrib/cpptasks/TestXMLConsumer.html (limited to 'site/testapidocs/net/sf/antcontrib/cpptasks/TestXMLConsumer.html') diff --git a/site/testapidocs/net/sf/antcontrib/cpptasks/TestXMLConsumer.html b/site/testapidocs/net/sf/antcontrib/cpptasks/TestXMLConsumer.html new file mode 100644 index 0000000..8b9801b --- /dev/null +++ b/site/testapidocs/net/sf/antcontrib/cpptasks/TestXMLConsumer.html @@ -0,0 +1,319 @@ + + + + + + + +TestXMLConsumer (cpptasks 1.0b5 Test API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +net.sf.antcontrib.cpptasks +
+Class TestXMLConsumer

+
+java.lang.Object
+  extended by junit.framework.Assert
+      extended by junit.framework.TestCase
+          extended by net.sf.antcontrib.cpptasks.TestXMLConsumer
+
+
+
All Implemented Interfaces:
junit.framework.Test
+
+
+
Direct Known Subclasses:
TestDependencyTable, TestTargetHistoryTable
+
+
+
+
public abstract class TestXMLConsumer
extends junit.framework.TestCase
+ + +

+Base class for tests on classes that consume or public XML documents. +

+ +

+

+
Author:
+
Curt Arnold
+
+
+ +

+ + + + + + + + + + + + +
+Constructor Summary
+protected TestXMLConsumer(java.lang.String testName) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static voidcopyResourceToTmpDir(java.lang.String resourceName, + java.lang.String tmpFile) + +
+          copies a resource to a temporary directory.
+static voiddeleteTmpFile(java.lang.String tmpName) + +
+          Deletes a file, if it exists, from the user's temporary directory.
+ + + + + + + +
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
+ +

+TestXMLConsumer

+
+protected TestXMLConsumer(java.lang.String testName)
+
+
+
Parameters:
testName -
+
+ + + + + + + + +
+Method Detail
+ +

+copyResourceToTmpDir

+
+public static final void copyResourceToTmpDir(java.lang.String resourceName,
+                                              java.lang.String tmpFile)
+                                       throws java.io.IOException
+
+
copies a resource to a temporary directory. +

+

+
Parameters:
resourceName - resouce name, such as "files/openshore/history.xml".
tmpFile - name for temporary file created in /tmp or similar. +
Throws: +
java.io.IOException
+
+
+
+ +

+deleteTmpFile

+
+public static void deleteTmpFile(java.lang.String tmpName)
+                          throws java.io.IOException
+
+
Deletes a file, if it exists, from the user's temporary directory. +

+

+
Parameters:
tmpName - file name, may not be null +
Throws: +
java.io.IOException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved. + + -- cgit v1.2.3