public final class TestLinkerDef extends TestProcessorDef
Constructor and Description |
---|
TestLinkerDef(String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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, testIsActive8
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 TestLinkerDef(String name)
name
- test nameprotected com.github.maven_nar.cpptasks.ProcessorDef create()
create
in class TestProcessorDef
protected String[] getPreArguments(com.github.maven_nar.cpptasks.ProcessorDef processor)
getPreArguments
in class TestProcessorDef
processor
- 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-2016 NAR Maven Plugin developers. All Rights Reserved.