public final class TestLinkerDef extends TestProcessorDef
| 构造器和说明 |
|---|
TestLinkerDef(String name)
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected com.github.maven_nar.cpptasks.ProcessorDef |
create()
Creates a processor.
|
protected String[] |
getPreArguments(com.github.maven_nar.cpptasks.ProcessorDef processor)
Gets the command line arguments that appear before the filenames.
|
void |
testExtendsBase()
Tests that the base attribute in the base linker is effective when
creating the command line for a linker that extends it.
|
void |
testExtendsClassname()
Tests that the classname attribute in the base linker is effective when
creating the command line for a linker that extends it.
|
void |
testExtendsEntry()
Tests that the entry attribute in the base linker is effective when
creating the command line for a linker that extends it.
|
void |
testExtendsFileSet()
Tests that fileset's that appear in the base linker are effective when
creating the command line for a linker that extends it.
|
void |
testExtendsFixed()
Tests that the fixed attribute in the base linker is effective when
creating the command line for a linker that extends it.
|
void |
testExtendsIncremental()
Tests that the incremental attribute in the base linker is effective when
creating the command line for a linker that extends it.
|
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.
|
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.
|
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.
|
void |
testExtendsMap()
Tests that the map attribute in the base linker is effective when
creating the command line for a linker that extends it.
|
void |
testExtendsName()
Tests that the name attribute in the base linker is effective when
creating the command line for a linker that extends it.
|
void |
testExtendsRebuild()
Tests that the rebuild attribute in the base linker is effective when
creating the command line for a linker that extends it.
|
void |
testExtendsStack()
Tests that the stack attribute in the base linker is effective when
creating the command line for a linker that extends it.
|
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.
|
void |
testGetGcc()
Test if setting the classname attribute to the name of the GCC linker
results in the singleton GCC linker.
|
void |
testGetMSVC()
Test if setting the classname attribute to the name of the MSVC linker
results in the singleton MSVC linker.
|
void |
testUnknownClass()
Tests if setting the classname attribute to an bogus classname results in
a BuildException.
|
void |
testWrongType()
Tests if setting the classname to the name of a class that doesn't
support Linker throws a BuildException.
|
createExtendedProcessorDef, getConfiguration, testExtendsDebug, testExtendsFileSet, testExtendsIf, testExtendsRebuild, testExtendsUnless, testIsActive2, testIsActive3, testIsActive4, testIsActive5, testIsActive6, testIsActive7, testIsActive8assertEquals, 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, toStringpublic TestLinkerDef(String name)
name - test nameprotected com.github.maven_nar.cpptasks.ProcessorDef create()
create 在类中 TestProcessorDefprotected String[] getPreArguments(com.github.maven_nar.cpptasks.ProcessorDef processor)
getPreArguments 在类中 TestProcessorDefprocessor - processor under testpublic void testExtendsBase()
public void testExtendsClassname()
public void testExtendsEntry()
public void testExtendsFileSet()
throws IOException
IOException - if unable to create or delete temporary filepublic void testExtendsFixed()
public void testExtendsIncremental()
public void testExtendsLibSet()
public void testExtendsLinkerArgs()
public void testExtendsLinkerArgsViaReference()
public void testExtendsMap()
public void testExtendsName()
public void testExtendsRebuild()
public void testExtendsStack()
public void testExtendsSysLibSet()
public void testGetGcc()
public void testGetMSVC()
public void testUnknownClass()
public void testWrongType()
Copyright © 2005-2017 NAR Maven Plugin developers. All Rights Reserved.