public final class TestCompilerDef extends TestProcessorDef
| Constructor and Description |
|---|
TestCompilerDef(String name)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected com.github.maven_nar.cpptasks.ProcessorDef |
create()
Creates a new processor.
|
protected String[] |
getPreArguments(com.github.maven_nar.cpptasks.ProcessorDef processor)
Gets the command line arguments that precede filenames.
|
void |
testExtendsClassname()
Tests that the classname attribute in the base compiler is effective.
|
void |
testExtendsCompilerArgs()
Tests that compilerarg's contained in the base compiler definition are
effective.
|
void |
testExtendsDefineSet()
Tests that defineset's contained in the base compiler definition are
effective.
|
void |
testExtendsExceptions()
Tests that the extend attribute of the base compiler definition is
effective.
|
void |
testExtendsFileSet()
Tests if a fileset enclosed in the base compiler definition is effective.
|
void |
testExtendsIncludePath()
Tests that includepath's contained in the base compiler definition are
effective.
|
void |
testExtendsMultithreaded()
Tests that the multithread attribute of the base compiler definition is
effective.
|
void |
testExtendsName()
Tests that the name attribute in the base compiler is effective.
|
void |
testExtendsRebuild()
Tests if the rebuild attribute of the base compiler definition is
effective.
|
void |
testExtendsSysIncludePath()
Tests that sysincludepath's contained in the base compiler definition are
effective.
|
void |
testGetActiveDefines()
This method tests CompilerDef.getActiveDefines.
|
void |
testGetActiveIncludePaths()
This method tests CompilerDef.getActiveIncludePath.
|
void |
testGetGcc()
Tests that setting classname to the Gcc compiler is effective.
|
void |
testGetMSVC()
Tests that setting classname to the MSVC compiler is effective.
|
void |
testUnknownClass()
Tests that setting classname to an bogus class name results in a
BuildException.
|
void |
testWrongType()
Test that setting classname to a class that doesn't support Compiler
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 TestCompilerDef(String name)
name - test nameprotected com.github.maven_nar.cpptasks.ProcessorDef create()
create in class TestProcessorDefprotected String[] getPreArguments(com.github.maven_nar.cpptasks.ProcessorDef processor)
getPreArguments in class TestProcessorDefprocessor - processor under testpublic void testExtendsClassname()
public void testExtendsCompilerArgs()
public void testExtendsDefineSet()
public void testExtendsExceptions()
public void testExtendsFileSet()
throws IOException
IOException - if unable to create or delete a temporary filepublic void testExtendsIncludePath()
public void testExtendsMultithreaded()
public void testExtendsName()
public void testExtendsRebuild()
public void testExtendsSysIncludePath()
public void testGetActiveDefines()
public void testGetActiveIncludePaths()
public void testGetGcc()
public void testGetMSVC()
public void testUnknownClass()
public void testWrongType()
Copyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.