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

+ +net.sf.antcontrib.cpptasks +
+Class TestLinkerDef

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

+Tests for LinkerDef class. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TestLinkerDef(java.lang.String name) + +
+          Constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  net.sf.antcontrib.cpptasks.ProcessorDefcreate() + +
+          Creates a processor.
+protected  java.lang.String[]getPreArguments(net.sf.antcontrib.cpptasks.ProcessorDef processor) + +
+          Gets the command line arguments that appear before the filenames.
+ voidtestExtendsBase() + +
+          Tests that the base attribute in the base linker is effective when + creating the command line for a linker that extends it.
+ voidtestExtendsClassname() + +
+          Tests that the classname attribute in the base linker is effective when + creating the command line for a linker that extends it.
+ voidtestExtendsEntry() + +
+          Tests that the entry attribute in the base linker is effective when + creating the command line for a linker that extends it.
+ voidtestExtendsFileSet() + +
+          Tests that fileset's that appear in the base linker are effective when + creating the command line for a linker that extends it.
+ voidtestExtendsFixed() + +
+          Tests that the fixed attribute in the base linker is effective when + creating the command line for a linker that extends it.
+ voidtestExtendsIncremental() + +
+          Tests that the incremental attribute in the base linker is effective when + creating the command line for a linker that extends it.
+ voidtestExtendsLibSet() + +
+          Tests that libset's that appear in the base linker are effective when + creating the command line for a linker that extends it.
+ voidtestExtendsLinkerArgs() + +
+          Tests that linkerarg's that appear in the base linker are effective when + creating the command line for a linker that extends it.
+ voidtestExtendsLinkerArgsViaReference() + +
+          Verify linkerarg's that appear in the base linker are effective when + creating the command line for a linker that extends it, even if the + linker is brought in through a reference.
+ voidtestExtendsMap() + +
+          Tests that the map attribute in the base linker is effective when + creating the command line for a linker that extends it.
+ voidtestExtendsName() + +
+          Tests that the name attribute in the base linker is effective when + creating the command line for a linker that extends it.
+ voidtestExtendsRebuild() + +
+          Tests that the rebuild attribute in the base linker is effective when + creating the command line for a linker that extends it.
+ voidtestExtendsStack() + +
+          Tests that the stack attribute in the base linker is effective when + creating the command line for a linker that extends it.
+ voidtestExtendsSysLibSet() + +
+          Tests that syslibset's that appear in the base linker are effective when + creating the command line for a linker that extends it.
+ voidtestGetGcc() + +
+          Test if setting the classname attribute to the name of the GCC linker + results in the singleton GCC linker.
+ voidtestGetMSVC() + +
+          Test if setting the classname attribute to the name of the MSVC linker + results in the singleton MSVC linker.
+ voidtestUnknownClass() + +
+          Tests if setting the classname attribute to an bogus classname results in + a BuildException.
+ voidtestWrongType() + +
+          Tests if setting the classname to the name of a class that doesn't + support Linker throws a BuildException.
+ + + + + + + +
Methods inherited from class net.sf.antcontrib.cpptasks.TestProcessorDef
createExtendedProcessorDef, getConfiguration, testExtendsDebug, testExtendsFileSet, testExtendsIf, testExtendsRebuild, testExtendsUnless, testIsActive2, testIsActive3, testIsActive4, testIsActive5, testIsActive6, testIsActive7, testIsActive8
+ + + + + + + +
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
+ +

+TestLinkerDef

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

+

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

+create

+
+protected net.sf.antcontrib.cpptasks.ProcessorDef create()
+
+
Creates a processor. +

+

+
Specified by:
create in class TestProcessorDef
+
+
+ +
Returns:
new linker
+
+
+
+ +

+testGetGcc

+
+public void testGetGcc()
+
+
Test if setting the classname attribute to the name of the GCC linker + results in the singleton GCC linker. +

+

+
+
+
+
+ +

+testGetMSVC

+
+public void testGetMSVC()
+
+
Test if setting the classname attribute to the name of the MSVC linker + results in the singleton MSVC linker. +

+

+
+
+
+
+ +

+testUnknownClass

+
+public void testUnknownClass()
+
+
Tests if setting the classname attribute to an bogus classname results in + a BuildException. +

+

+
+
+
+
+ +

+testWrongType

+
+public void testWrongType()
+
+
Tests if setting the classname to the name of a class that doesn't + support Linker throws a BuildException. +

+

+
+
+
+
+ +

+getPreArguments

+
+protected java.lang.String[] getPreArguments(net.sf.antcontrib.cpptasks.ProcessorDef processor)
+
+
Gets the command line arguments that appear before the filenames. +

+

+
Specified by:
getPreArguments in class TestProcessorDef
+
+
+
Parameters:
processor - processor under test +
Returns:
command line arguments
+
+
+
+ +

+testExtendsLinkerArgs

+
+public void testExtendsLinkerArgs()
+
+
Tests that linkerarg's that appear in the base linker are effective when + creating the command line for a linker that extends it. +

+

+
+
+
+
+ +

+testExtendsLinkerArgsViaReference

+
+public void testExtendsLinkerArgsViaReference()
+
+
Verify linkerarg's that appear in the base linker are effective when + creating the command line for a linker that extends it, even if the + linker is brought in through a reference. +

+

+
+
+
+
+ +

+testExtendsFileSet

+
+public void testExtendsFileSet()
+                        throws java.io.IOException
+
+
Tests that fileset's that appear in the base linker are effective when + creating the command line for a linker that extends it. +

+

+ +
Throws: +
java.io.IOException - if unable to create or delete temporary file
+
+
+
+ +

+testExtendsLibSet

+
+public void testExtendsLibSet()
+
+
Tests that libset's that appear in the base linker are effective when + creating the command line for a linker that extends it. +

+

+
+
+
+
+ +

+testExtendsSysLibSet

+
+public void testExtendsSysLibSet()
+
+
Tests that syslibset's that appear in the base linker are effective when + creating the command line for a linker that extends it. +

+

+
+
+
+
+ +

+testExtendsBase

+
+public void testExtendsBase()
+
+
Tests that the base attribute in the base linker is effective when + creating the command line for a linker that extends it. +

+

+
+
+
+
+ +

+testExtendsStack

+
+public void testExtendsStack()
+
+
Tests that the stack attribute in the base linker is effective when + creating the command line for a linker that extends it. +

+

+
+
+
+
+ +

+testExtendsEntry

+
+public void testExtendsEntry()
+
+
Tests that the entry attribute in the base linker is effective when + creating the command line for a linker that extends it. +

+

+
+
+
+
+ +

+testExtendsFixed

+
+public void testExtendsFixed()
+
+
Tests that the fixed attribute in the base linker is effective when + creating the command line for a linker that extends it. +

+

+
+
+
+
+ +

+testExtendsIncremental

+
+public void testExtendsIncremental()
+
+
Tests that the incremental attribute in the base linker is effective when + creating the command line for a linker that extends it. +

+

+
+
+
+
+ +

+testExtendsMap

+
+public void testExtendsMap()
+
+
Tests that the map attribute in the base linker is effective when + creating the command line for a linker that extends it. +

+

+
+
+
+
+ +

+testExtendsRebuild

+
+public void testExtendsRebuild()
+
+
Tests that the rebuild attribute in the base linker is effective when + creating the command line for a linker that extends it. +

+

+
+
+
+
+ +

+testExtendsName

+
+public void testExtendsName()
+
+
Tests that the name attribute in the base linker is effective when + creating the command line for a linker that extends it. +

+

+
+
+
+
+ +

+testExtendsClassname

+
+public void testExtendsClassname()
+
+
Tests that the classname attribute in the base linker is effective when + creating the command line for a linker that extends it. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved. + + -- cgit v1.2.3