diff options
Diffstat (limited to 'site/testapidocs/net/sf/antcontrib/cpptasks/TestCompilerDef.html')
-rw-r--r-- | site/testapidocs/net/sf/antcontrib/cpptasks/TestCompilerDef.html | 694 |
1 files changed, 694 insertions, 0 deletions
diff --git a/site/testapidocs/net/sf/antcontrib/cpptasks/TestCompilerDef.html b/site/testapidocs/net/sf/antcontrib/cpptasks/TestCompilerDef.html new file mode 100644 index 0000000..917a51b --- /dev/null +++ b/site/testapidocs/net/sf/antcontrib/cpptasks/TestCompilerDef.html @@ -0,0 +1,694 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 02 19:28:50 CDT 2008 --> +<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<TITLE> +TestCompilerDef (cpptasks 1.0b5 Test API) +</TITLE> + +<META NAME="keywords" CONTENT="net.sf.antcontrib.cpptasks.TestCompilerDef class"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + parent.document.title="TestCompilerDef (cpptasks 1.0b5 Test API)"; +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TestCompilerDef.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../net/sf/antcontrib/cpptasks/TestCCTask.html" title="class in net.sf.antcontrib.cpptasks"><B>PREV CLASS</B></A> + <A HREF="../../../../net/sf/antcontrib/cpptasks/TestCompilerEnum.html" title="class in net.sf.antcontrib.cpptasks"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../index.html?net/sf/antcontrib/cpptasks/TestCompilerDef.html" target="_top"><B>FRAMES</B></A> + <A HREF="TestCompilerDef.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +net.sf.antcontrib.cpptasks</FONT> +<BR> +Class TestCompilerDef</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">junit.framework.Assert + <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">junit.framework.TestCase + <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../net/sf/antcontrib/cpptasks/TestProcessorDef.html" title="class in net.sf.antcontrib.cpptasks">net.sf.antcontrib.cpptasks.TestProcessorDef</A> + <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>net.sf.antcontrib.cpptasks.TestCompilerDef</B> +</PRE> +<DL> +<DT><B>All Implemented Interfaces:</B> <DD>junit.framework.Test</DD> +</DL> +<HR> +<DL> +<DT><PRE>public final class <B>TestCompilerDef</B><DT>extends <A HREF="../../../../net/sf/antcontrib/cpptasks/TestProcessorDef.html" title="class in net.sf.antcontrib.cpptasks">TestProcessorDef</A></DL> +</PRE> + +<P> +Tests for CompilerDef. +<P> + +<P> +<HR> + +<P> + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + +<A NAME="constructor_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Constructor Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/cpptasks/TestCompilerDef.html#TestCompilerDef(java.lang.String)">TestCompilerDef</A></B>(java.lang.String name)</CODE> + +<BR> + Constructor.</TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected net.sf.antcontrib.cpptasks.ProcessorDef</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/cpptasks/TestCompilerDef.html#create()">create</A></B>()</CODE> + +<BR> + Creates a new processor.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected java.lang.String[]</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/cpptasks/TestCompilerDef.html#getPreArguments(net.sf.antcontrib.cpptasks.ProcessorDef)">getPreArguments</A></B>(net.sf.antcontrib.cpptasks.ProcessorDef processor)</CODE> + +<BR> + Gets the command line arguments that precede filenames.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/cpptasks/TestCompilerDef.html#testExtendsClassname()">testExtendsClassname</A></B>()</CODE> + +<BR> + Tests that the classname attribute in the base compiler is effective.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/cpptasks/TestCompilerDef.html#testExtendsCompilerArgs()">testExtendsCompilerArgs</A></B>()</CODE> + +<BR> + Tests that compilerarg's contained in the base compiler definition are + effective.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/cpptasks/TestCompilerDef.html#testExtendsDefineSet()">testExtendsDefineSet</A></B>()</CODE> + +<BR> + Tests that defineset's contained in the base compiler definition are + effective.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/cpptasks/TestCompilerDef.html#testExtendsExceptions()">testExtendsExceptions</A></B>()</CODE> + +<BR> + Tests that the extend attribute of the base compiler definition is + effective.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/cpptasks/TestCompilerDef.html#testExtendsFileSet()">testExtendsFileSet</A></B>()</CODE> + +<BR> + Tests if a fileset enclosed in the base compiler definition is effective.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/cpptasks/TestCompilerDef.html#testExtendsIncludePath()">testExtendsIncludePath</A></B>()</CODE> + +<BR> + Tests that includepath's contained in the base compiler definition are + effective.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/cpptasks/TestCompilerDef.html#testExtendsMultithreaded()">testExtendsMultithreaded</A></B>()</CODE> + +<BR> + Tests that the multithread attribute of the base compiler definition is + effective.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/cpptasks/TestCompilerDef.html#testExtendsName()">testExtendsName</A></B>()</CODE> + +<BR> + Tests that the name attribute in the base compiler is effective.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/cpptasks/TestCompilerDef.html#testExtendsRebuild()">testExtendsRebuild</A></B>()</CODE> + +<BR> + Tests if the rebuild attribute of the base compiler definition is + effective.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/cpptasks/TestCompilerDef.html#testExtendsSysIncludePath()">testExtendsSysIncludePath</A></B>()</CODE> + +<BR> + Tests that sysincludepath's contained in the base compiler definition are + effective.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/cpptasks/TestCompilerDef.html#testGetActiveDefines()">testGetActiveDefines</A></B>()</CODE> + +<BR> + This method tests CompilerDef.getActiveDefines.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/cpptasks/TestCompilerDef.html#testGetActiveIncludePaths()">testGetActiveIncludePaths</A></B>()</CODE> + +<BR> + This method tests CompilerDef.getActiveIncludePath.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/cpptasks/TestCompilerDef.html#testGetGcc()">testGetGcc</A></B>()</CODE> + +<BR> + Tests that setting classname to the Gcc compiler is effective.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/cpptasks/TestCompilerDef.html#testGetMSVC()">testGetMSVC</A></B>()</CODE> + +<BR> + Tests that setting classname to the MSVC compiler is effective.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/cpptasks/TestCompilerDef.html#testUnknownClass()">testUnknownClass</A></B>()</CODE> + +<BR> + Tests that setting classname to an bogus class name results in a + BuildException.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/cpptasks/TestCompilerDef.html#testWrongType()">testWrongType</A></B>()</CODE> + +<BR> + Test that setting classname to a class that doesn't support Compiler + throws a BuildException.</TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_net.sf.antcontrib.cpptasks.TestProcessorDef"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class net.sf.antcontrib.cpptasks.<A HREF="../../../../net/sf/antcontrib/cpptasks/TestProcessorDef.html" title="class in net.sf.antcontrib.cpptasks">TestProcessorDef</A></B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><A HREF="../../../../net/sf/antcontrib/cpptasks/TestProcessorDef.html#createExtendedProcessorDef(net.sf.antcontrib.cpptasks.ProcessorDef)">createExtendedProcessorDef</A>, <A HREF="../../../../net/sf/antcontrib/cpptasks/TestProcessorDef.html#getConfiguration(net.sf.antcontrib.cpptasks.ProcessorDef)">getConfiguration</A>, <A HREF="../../../../net/sf/antcontrib/cpptasks/TestProcessorDef.html#testExtendsDebug()">testExtendsDebug</A>, <A HREF="../../../../net/sf/antcontrib/cpptasks/TestProcessorDef.html#testExtendsFileSet(java.io.File)">testExtendsFileSet</A>, <A HREF="../../../../net/sf/antcontrib/cpptasks/TestProcessorDef.html#testExtendsIf()">testExtendsIf</A>, <A HREF="../../../../net/sf/antcontrib/cpptasks/TestProcessorDef.html#testExtendsRebuild(net.sf.antcontrib.cpptasks.ProcessorDef)">testExtendsRebuild</A>, <A HREF="../../../../net/sf/antcontrib/cpptasks/TestProcessorDef.html#testExtendsUnless()">testExtendsUnless</A>, <A HREF="../../../../net/sf/antcontrib/cpptasks/TestProcessorDef.html#testIsActive2()">testIsActive2</A>, <A HREF="../../../../net/sf/antcontrib/cpptasks/TestProcessorDef.html#testIsActive3()">testIsActive3</A>, <A HREF="../../../../net/sf/antcontrib/cpptasks/TestProcessorDef.html#testIsActive4()">testIsActive4</A>, <A HREF="../../../../net/sf/antcontrib/cpptasks/TestProcessorDef.html#testIsActive5()">testIsActive5</A>, <A HREF="../../../../net/sf/antcontrib/cpptasks/TestProcessorDef.html#testIsActive6()">testIsActive6</A>, <A HREF="../../../../net/sf/antcontrib/cpptasks/TestProcessorDef.html#testIsActive7()">testIsActive7</A>, <A HREF="../../../../net/sf/antcontrib/cpptasks/TestProcessorDef.html#testIsActive8()">testIsActive8</A></CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_junit.framework.TestCase"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class junit.framework.TestCase</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString</CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_junit.framework.Assert"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class junit.framework.Assert</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>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</CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ========= CONSTRUCTOR DETAIL ======== --> + +<A NAME="constructor_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Constructor Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="TestCompilerDef(java.lang.String)"><!-- --></A><H3> +TestCompilerDef</H3> +<PRE> +public <B>TestCompilerDef</B>(java.lang.String name)</PRE> +<DL> +<DD>Constructor. +<P> +<DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - test name</DL> +</DL> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="create()"><!-- --></A><H3> +create</H3> +<PRE> +protected net.sf.antcontrib.cpptasks.ProcessorDef <B>create</B>()</PRE> +<DL> +<DD>Creates a new processor. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/antcontrib/cpptasks/TestProcessorDef.html#create()">create</A></CODE> in class <CODE><A HREF="../../../../net/sf/antcontrib/cpptasks/TestProcessorDef.html" title="class in net.sf.antcontrib.cpptasks">TestProcessorDef</A></CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>new processor</DL> +</DD> +</DL> +<HR> + +<A NAME="testGetActiveDefines()"><!-- --></A><H3> +testGetActiveDefines</H3> +<PRE> +public void <B>testGetActiveDefines</B>()</PRE> +<DL> +<DD>This method tests CompilerDef.getActiveDefines. + + A CompilerDef is created similar to what would be created for + + <cc><defineset><define name="DEBUG" if="debug"/> <define name="NDEBUG" + unless="debug"/> </defineset> </cc> + + Then getActiveDefines is called for a project without and with the + "debug" property defined. Return value from getActiveDefines should + contain one member +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="testGetActiveIncludePaths()"><!-- --></A><H3> +testGetActiveIncludePaths</H3> +<PRE> +public void <B>testGetActiveIncludePaths</B>()</PRE> +<DL> +<DD>This method tests CompilerDef.getActiveIncludePath. + + A CompilerDef is created similar to what would be created for + + <cc><includepath location=".." if="debug"/> </cc> + + and is evaluate for a project without and without "debug" set +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="testGetGcc()"><!-- --></A><H3> +testGetGcc</H3> +<PRE> +public void <B>testGetGcc</B>()</PRE> +<DL> +<DD>Tests that setting classname to the Gcc compiler is effective. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="testGetMSVC()"><!-- --></A><H3> +testGetMSVC</H3> +<PRE> +public void <B>testGetMSVC</B>()</PRE> +<DL> +<DD>Tests that setting classname to the MSVC compiler is effective. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="testUnknownClass()"><!-- --></A><H3> +testUnknownClass</H3> +<PRE> +public void <B>testUnknownClass</B>()</PRE> +<DL> +<DD>Tests that setting classname to an bogus class name results in a + BuildException. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="testWrongType()"><!-- --></A><H3> +testWrongType</H3> +<PRE> +public void <B>testWrongType</B>()</PRE> +<DL> +<DD>Test that setting classname to a class that doesn't support Compiler + throws a BuildException. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getPreArguments(net.sf.antcontrib.cpptasks.ProcessorDef)"><!-- --></A><H3> +getPreArguments</H3> +<PRE> +protected java.lang.String[] <B>getPreArguments</B>(net.sf.antcontrib.cpptasks.ProcessorDef processor)</PRE> +<DL> +<DD>Gets the command line arguments that precede filenames. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/antcontrib/cpptasks/TestProcessorDef.html#getPreArguments(net.sf.antcontrib.cpptasks.ProcessorDef)">getPreArguments</A></CODE> in class <CODE><A HREF="../../../../net/sf/antcontrib/cpptasks/TestProcessorDef.html" title="class in net.sf.antcontrib.cpptasks">TestProcessorDef</A></CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>processor</CODE> - processor under test +<DT><B>Returns:</B><DD>command line arguments</DL> +</DD> +</DL> +<HR> + +<A NAME="testExtendsFileSet()"><!-- --></A><H3> +testExtendsFileSet</H3> +<PRE> +public void <B>testExtendsFileSet</B>() + throws java.io.IOException</PRE> +<DL> +<DD>Tests if a fileset enclosed in the base compiler definition is effective. +<P> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE> - if unable to create or delete a temporary file</DL> +</DD> +</DL> +<HR> + +<A NAME="testExtendsRebuild()"><!-- --></A><H3> +testExtendsRebuild</H3> +<PRE> +public void <B>testExtendsRebuild</B>()</PRE> +<DL> +<DD>Tests if the rebuild attribute of the base compiler definition is + effective. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="testExtendsCompilerArgs()"><!-- --></A><H3> +testExtendsCompilerArgs</H3> +<PRE> +public void <B>testExtendsCompilerArgs</B>()</PRE> +<DL> +<DD>Tests that compilerarg's contained in the base compiler definition are + effective. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="testExtendsDefineSet()"><!-- --></A><H3> +testExtendsDefineSet</H3> +<PRE> +public void <B>testExtendsDefineSet</B>()</PRE> +<DL> +<DD>Tests that defineset's contained in the base compiler definition are + effective. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="testExtendsIncludePath()"><!-- --></A><H3> +testExtendsIncludePath</H3> +<PRE> +public void <B>testExtendsIncludePath</B>()</PRE> +<DL> +<DD>Tests that includepath's contained in the base compiler definition are + effective. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="testExtendsSysIncludePath()"><!-- --></A><H3> +testExtendsSysIncludePath</H3> +<PRE> +public void <B>testExtendsSysIncludePath</B>()</PRE> +<DL> +<DD>Tests that sysincludepath's contained in the base compiler definition are + effective. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="testExtendsExceptions()"><!-- --></A><H3> +testExtendsExceptions</H3> +<PRE> +public void <B>testExtendsExceptions</B>()</PRE> +<DL> +<DD>Tests that the extend attribute of the base compiler definition is + effective. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="testExtendsMultithreaded()"><!-- --></A><H3> +testExtendsMultithreaded</H3> +<PRE> +public void <B>testExtendsMultithreaded</B>()</PRE> +<DL> +<DD>Tests that the multithread attribute of the base compiler definition is + effective. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="testExtendsName()"><!-- --></A><H3> +testExtendsName</H3> +<PRE> +public void <B>testExtendsName</B>()</PRE> +<DL> +<DD>Tests that the name attribute in the base compiler is effective. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="testExtendsClassname()"><!-- --></A><H3> +testExtendsClassname</H3> +<PRE> +public void <B>testExtendsClassname</B>()</PRE> +<DL> +<DD>Tests that the classname attribute in the base compiler is effective. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TestCompilerDef.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../net/sf/antcontrib/cpptasks/TestCCTask.html" title="class in net.sf.antcontrib.cpptasks"><B>PREV CLASS</B></A> + <A HREF="../../../../net/sf/antcontrib/cpptasks/TestCompilerEnum.html" title="class in net.sf.antcontrib.cpptasks"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../index.html?net/sf/antcontrib/cpptasks/TestCompilerDef.html" target="_top"><B>FRAMES</B></A> + <A HREF="TestCompilerDef.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> +Copyright © 2001-2008 <a href="http://ant-contrib.sourceforge.net">Ant-Contrib Project</a>. All Rights Reserved. +</BODY> +</HTML> |