Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merging v2.1

  • Loading branch information...
commit 8c3773ab9a4c18d4445e22e1d1aaffe4d8a3445f 2 parents 5a24f4f + 3452ea9
@virtix virtix authored
Showing with 2,011 additions and 28,124 deletions.
  1. +45 −16 PluginDemoTests/CompareDialogTest.cfc
  2. +5 −0 PluginDemoTests/TestOrdering/AlphabeticallyOrderedTest.cfc
  3. +13 −0 PluginDemoTests/TestOrdering/DefaultOrderedTest.cfc
  4. +2 −3 README.textile
  5. +1 −1  README.txt
  6. +224 −207 build.xml
  7. +8 −0 buildprops/nightlyversion.properties
  8. +0 −6 buildprops/statsvn.properties
  9. +4 −4 buildprops/version.properties
  10. +0 −178 doc/api/allclasses-frame.html
  11. +0 −39 doc/api/index.html
  12. +0 −961 doc/api/mxunit/framework/Assert.html
  13. +0 −324 doc/api/mxunit/framework/CSVUtility.html
  14. +0 −471 doc/api/mxunit/framework/ComponentBlender.html
  15. +0 −556 doc/api/mxunit/framework/ComponentUtils.html
  16. +0 −373 doc/api/mxunit/framework/ConfigManager.html
  17. +0 −740 doc/api/mxunit/framework/DataproviderHandler.html
  18. +0 −234 doc/api/mxunit/framework/Formatters.html
  19. +0 −339 doc/api/mxunit/framework/HamcrestAssert.html
  20. +0 −357 doc/api/mxunit/framework/HamcrestMatcher.html
  21. +0 −395 doc/api/mxunit/framework/HtmlTestResult.html
  22. +0 −407 doc/api/mxunit/framework/JUnitXMLTestResult.html
  23. +0 −618 doc/api/mxunit/framework/JavaLoader.html
  24. +0 −942 doc/api/mxunit/framework/JavaProxy.html
  25. +0 −673 doc/api/mxunit/framework/MXUnitAssertionExtensions.html
  26. +0 −393 doc/api/mxunit/framework/MockFactoryFactory.html
  27. +0 −666 doc/api/mxunit/framework/POIUtility.html
  28. +0 −451 doc/api/mxunit/framework/PublicProxyMaker.html
  29. +0 −294 doc/api/mxunit/framework/QueryTestResult.html
  30. +0 −627 doc/api/mxunit/framework/RemoteFacade.html
  31. +0 −467 doc/api/mxunit/framework/RemoteFacadeObjectCache.html
  32. +0 −263 doc/api/mxunit/framework/Test.html
  33. +0 −1,407 doc/api/mxunit/framework/TestCase.html
  34. +0 −1,169 doc/api/mxunit/framework/TestResult.html
  35. +0 −585 doc/api/mxunit/framework/TestSuite.html
  36. +0 −638 doc/api/mxunit/framework/TestSuiteRunner.html
  37. +0 −423 doc/api/mxunit/framework/TextTestResult.html
  38. +0 −256 doc/api/mxunit/framework/VersionReader.html
  39. +0 −492 doc/api/mxunit/framework/XMLTestResult.html
  40. +0 −347 doc/api/mxunit/framework/XPathAssert.html
  41. +0 −395 doc/api/mxunit/framework/adapters/cf9/PublicProxyMaker.html
  42. +0 −36 doc/api/mxunit/framework/adapters/cf9/package-frame.html
  43. +0 −143 doc/api/mxunit/framework/adapters/cf9/package-summary.html
  44. +0 −234 doc/api/mxunit/framework/ext/AssertionExtensionTemplate.html
  45. +0 −36 doc/api/mxunit/framework/ext/package-frame.html
  46. +0 −143 doc/api/mxunit/framework/ext/package-summary.html
  47. +0 −1,239 doc/api/mxunit/framework/javaloader/JavaLoader.html
  48. +0 −942 doc/api/mxunit/framework/javaloader/JavaProxy.html
  49. +0 −42 doc/api/mxunit/framework/javaloader/package-frame.html
  50. +0 −161 doc/api/mxunit/framework/javaloader/package-summary.html
  51. +0 −592 doc/api/mxunit/framework/mail.html
  52. +0 −179 doc/api/mxunit/framework/mightymock/AbstractMock.html
  53. +0 −336 doc/api/mxunit/framework/mightymock/ArgumentMatcher.html
  54. +0 −1,022 doc/api/mxunit/framework/mightymock/MightyMock.html
  55. +0 −326 doc/api/mxunit/framework/mightymock/MightyMockFactory.html
  56. +0 −266 doc/api/mxunit/framework/mightymock/MockDebug.html
  57. +0 −278 doc/api/mxunit/framework/mightymock/MockFactory.html
  58. +0 −219 doc/api/mxunit/framework/mightymock/MockLogger.html
  59. +0 −862 doc/api/mxunit/framework/mightymock/MockRegistry.html
  60. +0 −592 doc/api/mxunit/framework/mightymock/OrderedExpectation.html
  61. +0 −576 doc/api/mxunit/framework/mightymock/Verifier.html
  62. +0 −63 doc/api/mxunit/framework/mightymock/package-frame.html
  63. +0 −224 doc/api/mxunit/framework/mightymock/package-summary.html
  64. +0 −123 doc/api/mxunit/framework/package-frame.html
  65. +0 −404 doc/api/mxunit/framework/package-summary.html
  66. +0 −553 doc/api/mxunit/runner/DirectoryTestSuite.html
  67. +0 −265 doc/api/mxunit/runner/HtmlRunner.html
  68. +0 −326 doc/api/mxunit/runner/HttpAntRunner.html
  69. +0 −242 doc/api/mxunit/runner/RunnerUtils.html
  70. +0 −45 doc/api/mxunit/runner/package-frame.html
  71. +0 −170 doc/api/mxunit/runner/package-summary.html
  72. +0 −64 doc/api/overview-frame.html
  73. +0 −161 doc/api/overview-summary.html
  74. +1 −1  eclipse/dictionary/mxunit.xml
  75. +1 −0  framework/.gitignore
  76. +89 −19 framework/Assert.cfc
  77. +25 −18 framework/ComponentUtils.cfc
  78. +309 −0 framework/DataCompare.cfc
  79. +2 −2 framework/DataproviderHandler.cfc
  80. +21 −21 framework/HtmlTestResult.cfc
  81. +19 −18 framework/RemoteFacade.cfc
  82. +6 −6 framework/RemoteFacadeObjectCache.cfc
  83. +142 −55 framework/TestCase.cfc
  84. +138 −0 framework/TestDecorator.cfc
  85. +5 −9 framework/TestResult.cfc
  86. +75 −57 framework/TestSuite.cfc
  87. +18 −34 framework/TestSuiteRunner.cfc
  88. +9 −0 framework/decorators/AlphabeticallyOrderedTestsDecorator.cfc
  89. +341 −0 framework/decorators/DataProviderDecorator.cfc
  90. +15 −0 framework/decorators/TransactionRollbackDecorator.cfc
  91. +3 −3 framework/mightymock/MightyMock.cfc
  92. +2 −2 runner/HttpAntRunner.cfc
  93. +232 −21 tests/framework/AssertTest.cfc
  94. +1 −18 tests/framework/ComponentUtilsTest.cfc
  95. +6 −3 tests/framework/DataProviderTest.cfc
  96. +0 −65 tests/framework/DataproviderHandlerTest.cfc
  97. +104 −59 tests/framework/ExpectedExceptionTest.cfc
  98. +11 −11 tests/framework/HtmlTestResultTest.cfc
  99. +2 −2 tests/framework/MXUnitAssertionExtensionsTest.cfc
  100. +6 −5 tests/framework/RemoteFacadeObjectCacheTest.cfc
  101. +14 −1 tests/framework/TestCaseExtendsTest.cfc
  102. +23 −14 tests/framework/TestCaseTest.cfc
  103. +23 −0 tests/framework/TestDecoratorTest.cfc
  104. +0 −68 tests/framework/TestExpectedExceptionTest.cfc
  105. +1 −11 tests/framework/TestResultTest.cfc
  106. +12 −1 tests/framework/TestSuiteTest.cfc
  107. +18 −0 tests/framework/fixture/decorators/IgnoreFunnyFunctionsDecorator.cfc
  108. +14 −0 tests/framework/fixture/decorators/StoreTestNameDecorator.cfc
  109. +1 −1  tests/mightymock/ArgumentMatcherTest.cfc
  110. +20 −18 tests/mightymock/MockPlayTest.cfc
View
61 PluginDemoTests/CompareDialogTest.cfc
@@ -2,28 +2,50 @@
<cffunction name="setUp" returntype="void" access="public" hint="put things here that you want to run before each test">
-
+
</cffunction>
- <cffunction name="tearDown" returntype="void" access="public" hint="put things here that you want to run after each test">
-
+ <cffunction name="tearDown" returntype="void" access="public" hint="put things here that you want to run after each test">
+
</cffunction>
-
+
<cffunction name="simpleCompareDifferences">
<cfset assertEquals("aaaaaaa b aaaaaa","aaaaaaa d aaaaaa")>
</cffunction>
-
+
<cffunction name="queryCompareDifferences">
- <cfset var s = makeQueries()>
- <cfset assertEquals(s.one,s.two)>
+ <cfset var queries = makeQueries()>
+ <cfset assertQueryEquals(queries.one, queries.two)>
</cffunction>
-
+
<cffunction name="structCompareDifferences">
<cfset var s = makeStructures()>
- <cfset assertEquals(s.one,s.two)>
+ <cfset assertStructEquals(s.one, s.two)>
</cffunction>
-
-
+
+ <cffunction name="arrayCompareDifferences">
+ <cfset var a1 = [1,2,3,4,5,"a","b","c"]>
+ <cfset var a2 = [1,2,3,4,6,"a","b","c","d","e","f"]>
+ <cfset debug("Check debug output!")>
+ <cfset assertEquals( a1, a2 )>
+ </cffunction>
+
+ <cffunction name="arrayCompareDifferences2">
+ <cfset var a1 = [1,2,3,4,6,"a","b","c","d","e","f"]>
+ <cfset var a2 = [1,2,3,4,5,"a","b","c"]>
+ <cfset debug("Check debug output!")>
+ <cfset assertEquals( a1, a2 )>
+ </cffunction>
+
+ <cffunction name="arrayCompareDifferencesComplex">
+ <cfset var s = makeStructures()>
+ <cfset var a1 = [1,2,3,4,6,"a","b","c", s.one, "d"]>
+ <cfset var a2 = [1,2,3,4,5,"a","b","c", s.two, "e"]>
+ <cfset debug("Check debug output!")>
+ <cfset assertEquals( a1, a2 )>
+ </cffunction>
+
+
<cffunction name="makeQueries" access="private">
<cfset var q = "">
<cfset var q2 = "">
@@ -32,13 +54,13 @@
<cf_querysim>
q
one,two,three,four
- 1|2|3|4
+ 1|2|3|4
11|22|33|44
</cf_querysim>
<cf_querysim>
q2
one,two,three,four
- 1|2|3.1|4
+ 1|2|3.1|4
11|22|33|4.4
</cf_querysim>
</cfoutput>
@@ -46,20 +68,27 @@
<cfset s.two = q2>
<cfreturn s>
</cffunction>
-
+
<cffunction name="makeStructures" access="private">
<cfset var s = StructNew()>
<cfset var s2 = StructNew()>
<cfset var combo = StructNew()>
+ <cfset s.nested = StructNew()>
+ <cfset s.nested.someValue = 5>
<cfset s.one = "one">
<cfset s.two = StructNew()>
<cfset s2 = duplicate(s)>
<cfset s2.one = "ona">
+ <cfset s2.nested.someValue = 50000>
<cfset combo.one = s>
<cfset combo.two = s2>
+ <cfset s2.KeyNotInS1 = "hi mom!">
+ <cfset s.KeyNotInS2 = "hi dad!">
+
+
<cfreturn combo>
</cffunction>
-
-
+
+
</cfcomponent>
View
5 PluginDemoTests/TestOrdering/AlphabeticallyOrderedTest.cfc
@@ -0,0 +1,5 @@
+
+<!--- the test functions are in the DefaultOrderedTest --->
+<cfcomponent extends="DefaultOrderedTest" mxunit:decorators="mxunit.framework.decorators.AlphabeticallyOrderedTestsDecorator">
+
+</cfcomponent>
View
13 PluginDemoTests/TestOrdering/DefaultOrderedTest.cfc
@@ -0,0 +1,13 @@
+<cfcomponent extends="mxunit.framework.TestCase">
+
+ <!--- NOTE: test ordering does not apply to tests run in the Eclipse plugin --->
+ <cffunction name="c" returntype="void">
+ </cffunction>
+
+ <cffunction name="b" returntype="void">
+ </cffunction>
+
+ <cffunction name="a" returntype="void">
+ </cffunction>
+
+</cfcomponent>
View
5 README.textile
@@ -9,10 +9,9 @@ MXUnit Google Group (to get help): "http://groups.google.com/group/mxunit":http:
h2. About this repository
-The main distribution branch is currently located at http://mxunit.googlecode.com/svn/mxunit/trunk/ (Subversion)
-
-The presence of the MXUnit source at here Github does not indicate that MXUnit is _moving_ from Google Code to Github. This repository is at Github to help distribute MXUnit to as many people as possible (like those who prefer Git), and to work on MXUnit 2.0 in a collaborative Git environment. Please feel free to fork and hack.
+This is the main distribution branch, formally located at http://mxunit.googlecode.com/svn/mxunit/trunk/ (Subversion)
+We have moved most, if not all, source from Google Code to git hub. So, you should find everything here you need.
h2. Collaborating Guidelines
View
2  README.txt
@@ -10,4 +10,4 @@
MXUnit Google Group (to get help): http://groups.google.com/group/mxunit
- Version Info: This is release build 2.0.3, built on 05/05/2011
+ Version Info: This is a nightly build of the 2.0.3 stream, built on 09/09/2011
View
431 build.xml
@@ -9,75 +9,10 @@
1) (one time only): get latest from repository to ensure you have all jar files from the lib directory
2) add the commons-net, jakarta-oro, mail, and activation jars to your ant classpath in eclipse (window - preferences - ant - runtime - add external jars)
- 3) in windows explorer, navigate to your eclipse/plugins directory. there should be an org.tigris.subversion.... directory.
- mine is at C:\eclipse_33_rcp\plugins\org.tigris.subversion.javahl.win32_1.2.4
-
- find that directory and copy the entire directory path. Now, go to your computer's path variable (my computer - properties - advanced - environment variables - path) and paste that path as an extra entry
-
- 4) You will probably have to restart your computer after that. Every time I've tried just restarting eclipse, it didn't work.
- 5) when you got latest, it put a directory called "buildprops" into your mxunit directory. get the unames.properties file from marc and put it in there. otherwise, this build will not work at all. nothing. nada.
+ 3) when you last pulled, it put a directory called "buildprops" into your mxunit directory. get the unames.properties file from marc and put it in there. otherwise, this build will not work at all. nothing. nada.
-->
-
- <!--
- ================================================
- Intended Targets
- ================================================
- -->
-
- <!--
- =================================
- Target: publish
- - publish the zip
- - upload to google code
- - upload version.properties to the website
- - reload the website
- =================================
- -->
- <target name="publish" depends="runTests,incrementVersion,package,upload,updatewebsite,publishTestResults" description="--> packages into a zip and uploads to google code" />
-
- <!--
- =================================
- Target: package
- Generates the zip archive
- =================================
- -->
- <target name="package" depends="clean,version,genApiDocs" description="--> packages the appropriate files into the deployment-ready zip file. use this for testing; otherwise, use publish">
- <echo message="building ${zipfile}. basedir is ${basedir}" />
- <zip destfile="${zipfile}" casesensitive="false">
- <zipfileset dir="${basedir}" includes="*.*,ant/,buildprops/,eclipse/,doc/,framework/,generator/,images/,PluginDemoTests/,resources/,runner/,samples/,tests/,lib/ant-contrib**" excludes=".settings/,.git/,.gitignore,MXUnitInstallTest.cfc,**/testresults/,**/stats/,**/junithtml/,.project,.deployment,**/unames.properties,tests/tmp/,ftp.listing,**/*.db,**/copysnippets.properties,**/copydictionary**,**/*.bak,buildprops/nightlyversion.properties,settings.xml,README.html,README.textile,README-toc.xml" prefix="mxunit" casesensitive="false" />
- </zip>
- </target>
- <!--
- =================================
- Target: packageNightly
- Generates the zip archive
- =================================
- -->
- <target name="packageNightly" depends="package">
- <move file="${zipfile}" tofile="${nightlyfile}" overwrite="true"/>
- <copy file="${version.file}" tofile="${version.nightlyfile}" overwrite="true"/>
- <copy file="${readme.file}" tofile="${readme.nightlyfile}" overwrite="true"/>
- <propertyfile file="${version.nightlyfile}" comment="Build version info">
- <entry key="build.date" type="date" value="now" pattern="MM/dd/yyyy" />
- <entry key="build.versiondescription" operation="=" value="Nightly Build" />
- <entry key="build.buildnum" type="int" operation="+" value="1" />
- </propertyfile>
- <replaceregexp file="${readme.nightlyfile}" match="Version Info:(.*)" replace="Version Info: This is nightly build version ${build.version}, built on ${nightlydate}" />
- <zip file="${nightlyfile}" update="true">
- <zipfileset dir="." includes="${version.nightlyfile}" fullpath="mxunit/buildprops/version.properties"/>
- <zipfileset dir="." includes="${readme.nightlyfile}" fullpath="mxunit/README.txt"/>
- </zip>
- <delete file="${readme.nightlyfile}"/>
- </target>
-
- <!--
- ================================================
- Internal Targets
- Run these individually for testing only
- ================================================
- -->
-
+
<!--
=================================
Target: init
@@ -127,7 +62,6 @@
</path>
<taskdef name="mxunittask" classname="org.mxunit.ant.MXUnitAntTask" classpath="${mxunit.jar}" />
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="project.classpath" />
-
</target>
<!--
@@ -147,6 +81,107 @@
<fileset dir="framework/generated" includes="*.*" />
</delete>
</target>
+
+
+
+
+
+ <!--
+ ================================================
+ Intended Targets
+ ================================================
+ -->
+
+ <!--
+ =================================
+ Target: publish
+ - publish the zip
+ - upload to google code
+ - upload version.properties to the website
+ - reload the website
+ =================================
+ -->
+ <target name="publish" depends="runTests,incrementVersion,package,upload,updatewebsite,publishTestResults" description="--> packages into a zip and uploads to google code" />
+
+ <!--
+ =================================
+ Target: publishNightly
+ - run tests
+ - update version.properties and readme.txt
+ - commit and push those changes to github
+ - tag this version as nightly_latest_stable_build and push to github
+ =================================
+ -->
+ <target name="publishNightly" depends="runTests,updateNightlyFiles,packageNightly" description="--> publishes the nightly build to github">
+ <gitPushBuildChanges remoteName="upstream" branchName="develop"/>
+ <gitTag remoteName="upstream" tagName="nightly_latest_stable_build"/>
+ </target>
+
+ <!--
+ =================================
+ Target: package
+ Generates the zip archive
+ =================================
+ -->
+ <target name="package" depends="clean,getVersion,genApiDocs" description="--> packages the appropriate files into the deployment-ready zip file. use this for testing; otherwise, use publish">
+ <echo message="building ${zipfile}. basedir is ${basedir}" />
+ <zip destfile="${zipfile}" casesensitive="false">
+ <zipfileset dir="${basedir}" includes="*.*,ant/,buildprops/,eclipse/,doc/,framework/,generator/,images/,PluginDemoTests/,resources/,runner/,samples/,tests/,lib/ant-contrib**" excludes=".settings/,.git/,.gitignore,MXUnitInstallTest.cfc,**/testresults/,**/stats/,**/junithtml/,.project,.deployment,**/unames.properties,tests/tmp/,ftp.listing,**/*.db,**/copysnippets.properties,**/copydictionary**,**/*.bak,buildprops/nightlyversion.properties,buildprops/testresultsmail.html,settings.xml,README.html,README.textile,README-toc.xml,**/.gitignore" prefix="mxunit" casesensitive="false" />
+ </zip>
+ </target>
+
+ <!--
+ =================================
+ Target: packageNightly
+ Generates the zip archive for the nightly build
+ =================================
+ -->
+ <target name="packageNightly" depends="package" description="--> packages the appropriate files into the deployment-ready nightly build zip file. Use this for testing; otherwise, use publishNightly">
+ <move file="${zipfile}" tofile="${nightlyfile}"/>
+ </target>
+
+
+ <!--
+ ================================================
+ Internal Targets
+ Run these individually for testing only
+ ================================================
+ -->
+
+ <!--
+ =================================
+ Target: runTests
+ Runs the MXUnit tests on MXUnit
+ =================================
+ -->
+ <target name="runTests" depends="init">
+
+ <delete dir="${junit.out.dir.html}" />
+ <delete dir="${output.dir}" />
+
+ <mkdir dir="${junit.out.dir.html}" />
+ <mkdir dir="${output.dir}" />
+
+ <property name="context" value="" />
+
+ <mxunittask server="${server}" port="${port}" defaultrunner="${context}/mxunit/runner/HttpAntRunner.cfc" outputdir="${output.dir}" verbose="true" testResultsSummary="my.summary" failureproperty="testsfailed">
+ <directory remoteMethod="run" path="${webroot}/mxunit/tests/framework/" packageName="mxunit.tests.framework" componentPath="mxunit.tests.framework" recurse="false" includes="*.cfc" excludes="" />
+ <directory remoteMethod="run" path="${webroot}/mxunit/tests/mightymock/" packageName="mxunit.tests.mightymock" componentPath="mxunit.tests.mightymock" recurse="false" includes="*.cfc" excludes="" />
+ <directory remoteMethod="run" path="${webroot}/mxunit/tests/runner" packageName="mxunit.tests.runner" componentPath="mxunit.tests.runner" recurse="false" includes="*.cfc" excludes="" />
+ </mxunittask>
+
+ <!-- create nice pretty report -->
+ <junitreport todir="${junit.out.dir.html}">
+ <fileset dir="${output.dir}">
+ <include name="*.xml" />
+ </fileset>
+
+ <report format="frames" todir="${junit.out.dir.html}" styledir="${style.dir}" />
+ </junitreport>
+
+ <fail if="testsfailed" message="Failing the build because tests failed" />
+ </target>
+
<!--
=================================
@@ -185,7 +220,7 @@
Creates the zip file for the current version
=================================
-->
- <target name="version" depends="init">
+ <target name="getVersion" depends="init">
<property file="${version.file}" />
<property name="build.version" value="${build.major}.${build.minor}.${build.buildnum}${build.notation}" />
@@ -193,7 +228,7 @@
<echo message="build.version is ${build.version} -- zipfile is ${zipfile}" />
- <replaceregexp file="${readme.file}" match="Version Info:(.*)" replace="Version Info: This is release build ${build.version}, built on ${build.date}" />
+ <!-- <replaceregexp file="${readme.file}" match="Version Info:(.*)" replace="Version Info: This is release build ${build.version}, built on ${build.date}" /> -->
</target>
<!--
@@ -202,7 +237,7 @@
Uploads the release zip to the Google Code site
=================================
-->
- <target name="upload" depends="version">
+ <target name="upload" depends="getVersion">
<input message="Please add a summary for this version" addproperty="build.summary" defaultvalue="MXUnit Unit Test Framework version ${build.version}" />
<taskdef classname="net.bluecow.googlecode.ant.GoogleCodeUploadTask" classpathref="project.classpath" name="gcupload" />
@@ -216,7 +251,7 @@
Updates the version on the website
=================================
-->
- <target name="updatewebsite" depends="version">
+ <target name="updatewebsite" depends="getVersion">
<!-- ftp the version file to the website and reinit the application -->
<ftp server="${ftp.site}" userid="${ftp.username}" password="${ftp.password}" remotedir="">
<fileset dir="buildprops">
@@ -231,97 +266,7 @@
</loadresource>
</target>
- <!--
- =================================
- Target: tagVersion
- ! intended for use by publish only !
- Creates an svn tag from the trunk
- =================================
- <target name="tagVersion" depends="init,version">
- <svn username="${gc.username}" password="${gc.password}" svnkit="true">
- <copy srcURL="${svnserver}/mxunit/trunk" destURL="${svnserver}/mxunit/tags/${build.version}" message="autotagging version ${build.version}" />
- </svn>
- </target>
--->
- <!--
- =================================
- Target: update
- Updates the svn to the latest version
- =================================
-
- <target name="update" depends="init" unless="nosvnupdate">
- <svn username="${gc.username}" password="${gc.password}" svnkit="true">
- <update dir="." />
- </svn>
- </target>
--->
- <!--
- =================================
- Target: runTests
- Runs the MXUnit tests on MXUnit
- =================================
- -->
- <target name="runTests" depends="init">
- <!--
- load the current version of the package-summary file;
- this way, we can put it at the end of the email we
- send so that comparing test the aggregate test results
- is easy; makes it simpler to see if any test failures
- crept in
- -->
- <loadfile property="currentresultshtml" srcFile="${junit.out.dir.html}/mxunit/tests/package-summary.html" failonerror="false" />
-
- <delete dir="${junit.out.dir.html}" />
- <delete dir="${output.dir}" />
-
- <mkdir dir="${junit.out.dir.html}" />
- <mkdir dir="${output.dir}" />
-
- <property name="context" value="" />
-
- <mxunittask server="${server}" port="${port}" defaultrunner="${context}/mxunit/runner/HttpAntRunner.cfc" outputdir="${output.dir}" verbose="true" testResultsSummary="my.summary" failureproperty="testsfailed">
- <!-- componentPath is not required, but it results in a much faster test run -->
- <directory remoteMethod="run" path="${webroot}/mxunit/tests/framework/" packageName="mxunit.tests.framework" componentPath="mxunit.tests.framework" recurse="false" includes="*.cfc" excludes="" />
- <directory remoteMethod="run" path="${webroot}/mxunit/tests/mightymock/" packageName="mxunit.tests.mightymock" componentPath="mxunit.tests.mightymock" recurse="false" includes="*.cfc" excludes="" />
- <directory remoteMethod="run" path="${webroot}/mxunit/tests/runner" packageName="mxunit.tests.runner" componentPath="mxunit.tests.runner" recurse="false" includes="*.cfc" excludes="" />
- </mxunittask>
-
- <!-- create nice pretty report -->
- <junitreport todir="${junit.out.dir.html}">
- <fileset dir="${output.dir}">
- <include name="*.xml" />
- </fileset>
-
- <report format="frames" todir="${junit.out.dir.html}" styledir="${style.dir}" />
- </junitreport>
-
- <!-- Read the properties files we generated
- <property file="${output.dir}/my.summary" />
- <echoproperties />
- -->
-
- <!--
- load the version we just created; this will be the first
- set of results in the email we send
- -->
- <loadfile property="resultshtml" srcFile="${junit.out.dir.html}/mxunit/tests/package-summary.html" />
- <loadfile property="resultscss" srcFile="${junit.out.dir.html}/stylesheet.css" />
- <!--
- <if>
- <isset property="mail.ssl" />
- <then>
- <mail from="${mail.from}" tolist="${mail.to}" mailhost="${mail.host}" subject="MXUnit Build Results" charset="UTF-8" messagemimetype="text/html" user="${mail.user}" password="${mail.password}" ssl="${mail.ssl}" mailport="${mail.port}" messagefile="${testmailmessage.file}" failonerror="false" />
- </then>
- <else>
- <mail from="${mail.from}" tolist="${mail.to}" mailhost="${mail.host}" subject="MXUnit Build Results" charset="UTF-8" messagemimetype="text/html" messagefile="${testmailmessage.file}" failonerror="false" />
- </else>
- </if>
- -->
- <fail if="testsfailed" message="Failing the build because tests failed" />
- </target>
-
-
<!--
=================================
Target: genApiDocs
@@ -353,57 +298,28 @@
</target>
<!--
- =================================
- Target: publishNightlyBuild
- FTPs the nightly build to the web server
- =================================
- -->
- <target name="publishNightly" depends="runTests,packageNightly,publishTestResults">
- <ftp server="${ftp.site}" userid="${ftp.username}" password="${ftp.password}" action="del">
- <fileset>
- <include name="nightly/mxunit-nightly*.zip" />
- </fileset>
- </ftp>
- <ftp server="${ftp.site}" userid="${ftp.username}" password="${ftp.password}" remotedir="nightly">
- <fileset dir="dist">
- <include name="mxunit-nightly*" />
- </fileset>
- </ftp>
- </target>
-
- <!--
=================================
- Target: testFTP
- Tests the FTP connection by uploading a file
+ Target: updateNightlyFiles
+ Updates version.properties and readme.txt with the appropriate nightly identifiers
=================================
-->
- <target name="testFTP" depends="init">
- <ftp server="${ftp.site}" userid="${ftp.username}" password="${ftp.password}" action="list" listing="ftp.listing" verbose="true">
- <fileset>
- <include name="index.html" />
- </fileset>
- </ftp>
- </target>
+ <target name="updateNightlyFiles" depends="init">
+ <propertyfile file="${version.file}" comment="Build version info">
+ <entry key="build.date" type="date" value="now" pattern="MM/dd/yyyy" />
+ <entry key="build.versiondescription" operation="=" value="Nightly Build" />
+ </propertyfile>
+
+ <property file="${version.file}" />
- <!--
- =================================
- Target: testMail
- Tests the mail sending ability
- =================================
- -->
- <target name="testMail" depends="init">
+ <property name="build.version" value="${build.major}.${build.minor}.${build.buildnum}${build.notation}" />
- <if>
- <isset property="mail.ssl" />
- <then>
- <mail from="${mail.from}" tolist="${mail.to}" mailhost="${mail.host}" subject="MXUnit Build Results" charset="UTF-8" messagemimetype="text/html" user="${mail.user}" password="${mail.password}" ssl="${mail.ssl}" mailport="${mail.port}" message="&lt;h1&gt;Test Successful&lt;/h1&gt;" />
- </then>
- <else>
- <mail from="${mail.from}" tolist="${mail.to}" mailhost="${mail.host}" subject="MXUnit Build Results" charset="UTF-8" messagemimetype="text/html" message="&lt;h1&gt;Test Successful&lt;/h1&gt;" />
- </else>
- </if>
+ <echo message="build.version is ${build.version}" />
+
+ <replaceregexp file="${readme.file}" match="Version Info:(.*)" replace="Version Info: This is a nightly build of the ${build.version} stream, built on ${build.date}" />
+
</target>
-
+
+
<!--
=================================
Target: compileCheck
@@ -491,4 +407,105 @@
<echo>Successful check for unscoped variables</echo>
</target>
+
+ <!--
+ =================================
+ Target: testFTP
+ Tests the FTP connection by uploading a file
+ =================================
+ -->
+ <target name="testFTP" depends="init">
+ <!-- <echoproperties prefix="ftp" /> -->
+ <ftp server="${ftp.site}" userid="${ftp.username}" password="${ftp.password}" action="list" listing="ftp.listing" verbose="true">
+ <fileset>
+ <include name="index.html" />
+ </fileset>
+ </ftp>
+ </target>
+
+ <!--
+ =================================
+ Target: testMail
+ Tests the mail sending ability
+ =================================
+ -->
+ <target name="testMail" depends="init">
+
+ <if>
+ <isset property="mail.ssl" />
+ <then>
+ <mail from="${mail.from}" tolist="${mail.to}" mailhost="${mail.host}" subject="MXUnit Build Results" charset="UTF-8" messagemimetype="text/html" user="${mail.user}" password="${mail.password}" ssl="${mail.ssl}" mailport="${mail.port}" message="&lt;h1&gt;Test Successful&lt;/h1&gt;" />
+ </then>
+ <else>
+ <mail from="${mail.from}" tolist="${mail.to}" mailhost="${mail.host}" subject="MXUnit Build Results" charset="UTF-8" messagemimetype="text/html" message="&lt;h1&gt;Test Successful&lt;/h1&gt;" />
+ </else>
+ </if>
+ </target>
+
+
+
+
+
+ <!--
+ =================================
+ git-related Macrodefs
+ =================================
+ -->
+
+ <macrodef name="gitPushBuildChanges">
+ <attribute name="remoteName" default="origin"/>
+ <attribute name="branchName" default="develop"/>
+ <sequential>
+ <git command="add" dir=".">
+ <args>
+ <arg value="."/>
+ </args>
+ </git>
+ <git command="commit" dir=".">
+ <args>
+ <arg value="-m"/>
+ <arg value="'build auto-commit'"/>
+ </args>
+ </git>
+ <git command="push" dir=".">
+ <args>
+ <arg value="@{remoteName}"/>
+ <arg value="@{branchName}"/>
+ </args>
+ </git>
+ </sequential>
+ </macrodef>
+
+ <macrodef name="gitTag">
+ <attribute name="remoteName" default="origin"/>
+ <attribute name="tagName"/>
+ <sequential>
+ <git command="tag" dir=".">
+ <args>
+ <arg value="-f"/>
+ <arg value="'@{tagName}'"/>
+ </args>
+ </git>
+ <git command="push" dir=".">
+ <args>
+ <arg value="-f"/>
+ <arg value="@{remoteName}"/>
+ <arg value="'@{tagName}'"/>
+ </args>
+ </git>
+ </sequential>
+ </macrodef>
+
+ <macrodef name = "git">
+ <attribute name = "command" />
+ <attribute name = "dir" default = "" />
+ <element name = "args" optional = "true" />
+ <sequential>
+ <echo message = "git @{command}" />
+ <exec executable = "git" dir = "@{dir}">
+ <arg value = "@{command}" />
+ <args/>
+ </exec>
+ </sequential>
+ </macrodef>
</project>
View
8 buildprops/nightlyversion.properties
@@ -0,0 +1,8 @@
+#Build version info
+#Thu Sep 08 22:01:11 EDT 2011
+build.buildnum=4
+build.minor=0
+build.versiondescription=Nightly Build
+build.notation=
+build.date=09/08/2011
+build.major=2
View
6 buildprops/statsvn.properties
@@ -1,6 +0,0 @@
-############################################################
-### User Details ###
-############################################################
-
-# marc.esher@gmail.com
-user.marc.esher@gmail.com.replacedBy=marc.esher
View
8 buildprops/version.properties
@@ -1,8 +1,8 @@
#Build version info
-#Thu May 05 12:06:01 EDT 2011
-build.buildnum=3
-build.minor=0
+#Sat Nov 12 09:19:51 EST 2011
+build.buildnum=0
+build.minor=1
build.versiondescription=Release
build.notation=
-build.date=05/05/2011
+build.date=11/12/2011
build.major=2
View
178 doc/api/allclasses-frame.html
@@ -1,178 +0,0 @@
-
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by colddoc on {ts '2011-07-12 19:07:09'} -->
-<TITLE>
-All Classes
-</TITLE>
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
-
-</HEAD>
-
-<BODY BGCOLOR="white">
-<FONT size="+1" CLASS="FrameHeadingFont">
-<B>All Classes</B></FONT>
-
-<BR>
-
-<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
-<TR>
-<TD NOWRAP><FONT CLASS="FrameItemFont">
-
-<A HREF="mxunit/framework/mightymock/AbstractMock.html" title="class in mxunit.framework.mightymock" target="classFrame">AbstractMock</A>
-<BR>
-
-<A HREF="mxunit/framework/mightymock/ArgumentMatcher.html" title="class in mxunit.framework.mightymock" target="classFrame">ArgumentMatcher</A>
-<BR>
-
-<A HREF="mxunit/framework/Assert.html" title="class in mxunit.framework" target="classFrame">Assert</A>
-<BR>
-
-<A HREF="mxunit/framework/ext/AssertionExtensionTemplate.html" title="class in mxunit.framework.ext" target="classFrame">AssertionExtensionTemplate</A>
-<BR>
-
-<A HREF="mxunit/framework/CSVUtility.html" title="class in mxunit.framework" target="classFrame">CSVUtility</A>
-<BR>
-
-<A HREF="mxunit/framework/ComponentBlender.html" title="class in mxunit.framework" target="classFrame">ComponentBlender</A>
-<BR>
-
-<A HREF="mxunit/framework/ComponentUtils.html" title="class in mxunit.framework" target="classFrame">ComponentUtils</A>
-<BR>
-
-<A HREF="mxunit/framework/ConfigManager.html" title="class in mxunit.framework" target="classFrame">ConfigManager</A>
-<BR>
-
-<A HREF="mxunit/framework/DataproviderHandler.html" title="class in mxunit.framework" target="classFrame">DataproviderHandler</A>
-<BR>
-
-<A HREF="mxunit/runner/DirectoryTestSuite.html" title="class in mxunit.runner" target="classFrame">DirectoryTestSuite</A>
-<BR>
-
-<A HREF="mxunit/framework/Formatters.html" title="class in mxunit.framework" target="classFrame">Formatters</A>
-<BR>
-
-<A HREF="mxunit/framework/HamcrestAssert.html" title="class in mxunit.framework" target="classFrame">HamcrestAssert</A>
-<BR>
-
-<A HREF="mxunit/framework/HamcrestMatcher.html" title="class in mxunit.framework" target="classFrame">HamcrestMatcher</A>
-<BR>
-
-<A HREF="mxunit/runner/HtmlRunner.html" title="class in mxunit.runner" target="classFrame">HtmlRunner</A>
-<BR>
-
-<A HREF="mxunit/framework/HtmlTestResult.html" title="class in mxunit.framework" target="classFrame">HtmlTestResult</A>
-<BR>
-
-<A HREF="mxunit/runner/HttpAntRunner.html" title="class in mxunit.runner" target="classFrame">HttpAntRunner</A>
-<BR>
-
-<A HREF="mxunit/framework/JUnitXMLTestResult.html" title="class in mxunit.framework" target="classFrame">JUnitXMLTestResult</A>
-<BR>
-
-<A HREF="mxunit/framework/javaloader/JavaCompiler.html" title="class in mxunit.framework.javaloader" target="classFrame">JavaCompiler</A>
-<BR>
-
-<A HREF="mxunit/framework/JavaLoader.html" title="class in mxunit.framework" target="classFrame">JavaLoader</A>
-<BR>
-
-<A HREF="mxunit/framework/javaloader/JavaLoader.html" title="class in mxunit.framework.javaloader" target="classFrame">JavaLoader</A>
-<BR>
-
-<A HREF="mxunit/framework/JavaProxy.html" title="class in mxunit.framework" target="classFrame">JavaProxy</A>
-<BR>
-
-<A HREF="mxunit/framework/javaloader/JavaProxy.html" title="class in mxunit.framework.javaloader" target="classFrame">JavaProxy</A>
-<BR>
-
-<A HREF="mxunit/framework/MXUnitAssertionExtensions.html" title="class in mxunit.framework" target="classFrame">MXUnitAssertionExtensions</A>
-<BR>
-
-<A HREF="mxunit/framework/mightymock/MightyMock.html" title="class in mxunit.framework.mightymock" target="classFrame">MightyMock</A>
-<BR>
-
-<A HREF="mxunit/framework/mightymock/MightyMockFactory.html" title="class in mxunit.framework.mightymock" target="classFrame">MightyMockFactory</A>
-<BR>
-
-<A HREF="mxunit/framework/mightymock/MockDebug.html" title="class in mxunit.framework.mightymock" target="classFrame">MockDebug</A>
-<BR>
-
-<A HREF="mxunit/framework/mightymock/MockFactory.html" title="class in mxunit.framework.mightymock" target="classFrame">MockFactory</A>
-<BR>
-
-<A HREF="mxunit/framework/MockFactoryFactory.html" title="class in mxunit.framework" target="classFrame">MockFactoryFactory</A>
-<BR>
-
-<A HREF="mxunit/framework/mightymock/MockLogger.html" title="class in mxunit.framework.mightymock" target="classFrame">MockLogger</A>
-<BR>
-
-<A HREF="mxunit/framework/mightymock/MockRegistry.html" title="class in mxunit.framework.mightymock" target="classFrame">MockRegistry</A>
-<BR>
-
-<A HREF="mxunit/framework/mightymock/OrderedExpectation.html" title="class in mxunit.framework.mightymock" target="classFrame">OrderedExpectation</A>
-<BR>
-
-<A HREF="mxunit/framework/POIUtility.html" title="class in mxunit.framework" target="classFrame">POIUtility</A>
-<BR>
-
-<A HREF="mxunit/framework/PublicProxyMaker.html" title="class in mxunit.framework" target="classFrame">PublicProxyMaker</A>
-<BR>
-
-<A HREF="mxunit/framework/adapters/cf9/PublicProxyMaker.html" title="class in mxunit.framework.adapters.cf9" target="classFrame">PublicProxyMaker</A>
-<BR>
-
-<A HREF="mxunit/framework/QueryTestResult.html" title="class in mxunit.framework" target="classFrame">QueryTestResult</A>
-<BR>
-
-<A HREF="mxunit/framework/RemoteFacade.html" title="class in mxunit.framework" target="classFrame">RemoteFacade</A>
-<BR>
-
-<A HREF="mxunit/framework/RemoteFacadeObjectCache.html" title="class in mxunit.framework" target="classFrame">RemoteFacadeObjectCache</A>
-<BR>
-
-<A HREF="mxunit/runner/RunnerUtils.html" title="class in mxunit.runner" target="classFrame">RunnerUtils</A>
-<BR>
-
-<A HREF="mxunit/framework/Test.html" title="class in mxunit.framework" target="classFrame">Test</A>
-<BR>
-
-<A HREF="mxunit/framework/TestCase.html" title="class in mxunit.framework" target="classFrame">TestCase</A>
-<BR>
-
-<A HREF="mxunit/framework/TestResult.html" title="class in mxunit.framework" target="classFrame">TestResult</A>
-<BR>
-
-<A HREF="mxunit/framework/TestSuite.html" title="class in mxunit.framework" target="classFrame">TestSuite</A>
-<BR>
-
-<A HREF="mxunit/framework/TestSuiteRunner.html" title="class in mxunit.framework" target="classFrame">TestSuiteRunner</A>
-<BR>
-
-<A HREF="mxunit/framework/TextTestResult.html" title="class in mxunit.framework" target="classFrame">TextTestResult</A>
-<BR>
-
-<A HREF="mxunit/framework/mightymock/Verifier.html" title="class in mxunit.framework.mightymock" target="classFrame">Verifier</A>
-<BR>
-
-<A HREF="mxunit/framework/VersionReader.html" title="class in mxunit.framework" target="classFrame">VersionReader</A>
-<BR>
-
-<A HREF="mxunit/framework/XMLTestResult.html" title="class in mxunit.framework" target="classFrame">XMLTestResult</A>
-<BR>
-
-<A HREF="mxunit/framework/XPathAssert.html" title="class in mxunit.framework" target="classFrame">XPathAssert</A>
-<BR>
-
-<A HREF="mxunit/framework/mail.html" title="class in mxunit.framework" target="classFrame">mail</A>
-<BR>
-
-</FONT>
-</TD>
-</TR>
-</TABLE>
-
-</BODY>
-</HTML>
View
39 doc/api/index.html
@@ -1,39 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by colddoc on {ts '2011-07-12 19:07:08'} -->
-<TITLE>
-Generated Documentation (MXUnit 2.0.3)
-</TITLE>
-<SCRIPT type="text/javascript">
- targetPage = "" + window.location.search;
- if (targetPage != "" && targetPage != "undefined")
- targetPage = targetPage.substring(1);
- if (targetPage.indexOf(":") != -1)
- targetPage = "undefined";
- function loadFrames() {
- if (targetPage != "" && targetPage != "undefined")
- top.classFrame.location = top.targetPage;
- }
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-</HEAD>
-<FRAMESET cols="20%,80%" title="" onLoad="top.loadFrames()">
-<FRAMESET rows="30%,70%" title="" onLoad="top.loadFrames()">
-<FRAME src="overview-frame.html" name="packageListFrame" title="All Packages">
-<FRAME src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
-</FRAMESET>
-<FRAME src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
-<NOFRAMES>
-<H2>
-Frame Alert</H2>
-
-<P>
-This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
-<BR>
-Link to<A HREF="overview-summary.html">Non-frame version.</A>
-</NOFRAMES>
-</FRAMESET>
-</HTML>
View
961 doc/api/mxunit/framework/Assert.html
@@ -1,961 +0,0 @@
-
-
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by colddoc on {ts '2011-07-12 19:07:09'} -->
-<TITLE>
-Callable
-</TITLE>
-
-<META NAME="keywords" CONTENT="mxunit.framework.concurrent.Callable interface">
-
-
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- parent.document.title="Assert";
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-
-
-
-
-<!-- ========= START OF 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>&nbsp;</TD>
-
- <TD BGCOLOR="##EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-
-
-
-
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-MXUnit 2.0.3 (Generated: 07/12/2011)</EM>
-
-</TD>
-</TR>
-
-<TR>
-
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-
- <A HREF="../../index.html?mxunit/framework/Assert.html" target="_top"><B>FRAMES</B></A> &nbsp;
-
-</FONT></TD>
-
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF NAVBAR ========= -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-mxunit.framework</FONT>
-<BR>
-Class Assert</H2>
-
-
-
-<PRE>WEB-INF.cftags.component
- <IMG SRC="../../resources/inherit.gif" ALT="extended by ">mxunit.framework.Assert
-</PRE>
-
-
-<DL>
-<DT><B>Direct Known Subclasses:</B>
-<DD>
-
- <A HREF="../..//mxunit/framework/Assert.html" title="class in mxunit.framework">Assert</A>
- ,
- <A HREF="../..//mxunit/framework/Assert.html" title="class in mxunit.framework">Assert</A>
- ,
- <A HREF="../..//mxunit/framework/Assert.html" title="class in mxunit.framework">Assert</A>
-
-</DD>
-</DL>
-
-
-<HR>
-<DL>
-<DT>
-
-
-
-<PRE>public class <B>Assert</B>
-<DT>extends WEB-INF.cftags.component</DT></PRE>
-</DT>
-</DL>
-
-
-<P>
- Main component for asserting state. You will not generally need to instantiate this component directly - the framework makes it available for your TestCases. Use this to see what assertions are available and note that it can easily be extended using the Assert.addDecortor() method or by editing the mxunit-config.xml file, following the examples therein.
-<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 align="right" valign="top" width="1%"><font size="-1">
- <code>remote </code></font></td>
-
- <TD>
- <CODE><B><A HREF="Assert.html#init()">init</A></B>()</CODE>
- <BR>
-
-
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor
- </TD>
- </TR>
- </TABLE>
- &nbsp;
-
-<!-- ========== 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>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="Assert.html#addAssertDecorator()">addAssertDecorator</A></B>([string decoratorName], [string overrideBehaviors='false'])</CODE>
-<BR>
-
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method used to dynamically add additional custom assertions at runtime
-</TD>
-</TR>
-
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="Assert.html#addAssertDecorators()">addAssertDecorators</A></B>()</CODE>
-<BR>
-
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads any assertions defined in mxunt-config
-</TD>
-</TR>
-
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;any</CODE></FONT></TD>
-<TD><CODE><B><A HREF="Assert.html#assert()">assert</A></B>(string condition, [string message=''])</CODE>
-<BR>
-
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Basic assertion
-</TD>
-</TR>
-
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="Assert.html#assertEquals()">assertEquals</A></B>(any expected, any actual, [string message=''])</CODE>
-<BR>
-
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Core assertion that compares the values the EXPECTED and ACTUAL parameters
-</TD>
-</TR>
-
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="Assert.html#assertEqualsCase()">assertEqualsCase</A></B>(any expected, any actual, [string message=''])</CODE>
-<BR>
-
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Core assertion that compares the values the EXPECTED and ACTUAL parameters
-</TD>
-</TR>
-
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;any</CODE></FONT></TD>
-<TD><CODE><B><A HREF="Assert.html#assertFalse()">assertFalse</A></B>(string condition, [string message=''])</CODE>
-<BR>
-
-</TD>
-</TR>
-
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="Assert.html#assertNotEquals()">assertNotEquals</A></B>(any expected, any actual, [string message=''])</CODE>
-<BR>
-
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Core assertion that compares the values the EXPECTED and ACTUAL parameters
-</TD>
-</TR>
-
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;any</CODE></FONT></TD>
-<TD><CODE><B><A HREF="Assert.html#assertNotSame()">assertNotSame</A></B>(any expected, any actual, [string message='The two objects refer to the same instance.'])</CODE>
-<BR>
-
-</TD>
-</TR>
-
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;any</CODE></FONT></TD>
-<TD><CODE><B><A HREF="Assert.html#assertSame()">assertSame</A></B>(any expected, any actual, [string message='The two objects do not refer to the same instance.'])</CODE>
-<BR>
-
-</TD>
-</TR>
-
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="Assert.html#assertTrue()">assertTrue</A></B>(string condition, [string message=''])</CODE>
-<BR>
-
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Core assertion that tests the CONDITION and throws mxunit
-</TD>
-</TR>
-
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;any</CODE></FONT></TD>
-<TD><CODE><B><A HREF="Assert.html#clearClassVariables()">clearClassVariables</A></B>()</CODE>
-<BR>
-
-</TD>
-</TR>
-
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="Assert.html#fail()">fail</A></B>(string message)</CODE>
-<BR>
-
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fails a test with the given MESSAGE
-</TD>
-</TR>
-
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>private&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="Assert.html#failEquals()">failEquals</A></B>(any expected, any actual, [any message='This test failed'])</CODE>
-<BR>
-
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fails the test and prints the expected and actual values to the failure message
-</TD>
-</TR>
-
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>private&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="Assert.html#failNotEquals()">failNotEquals</A></B>(any expected, any actual, [any message='This test failed'], [any caseSensitive='false'])</CODE>
-<BR>
-
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fails the test and prints the expected and actual values to the failure message
-</TD>
-</TR>
-
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;string</CODE></FONT></TD>
-<TD><CODE><B><A HREF="Assert.html#getHashCode()">getHashCode</A></B>(any obj)</CODE>
-<BR>
-
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Attempts to return hashCode representation of OBJ
-</TD>
-</TR>
-
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;string</CODE></FONT></TD>
-<TD><CODE><B><A HREF="Assert.html#getStringValue()">getStringValue</A></B>(any obj, [boolean caseSensitive='false'])</CODE>
-<BR>
-
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Attempts to return string representation of OBJ
-</TD>
-</TR>
-
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;any</CODE></FONT></TD>
-<TD><CODE><B><A HREF="Assert.html#getTestStyle()">getTestStyle</A></B>()</CODE>
-<BR>
-
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;returns the current test style
-</TD>
-</TR>
-
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>private&nbsp;struct</CODE></FONT></TD>
-<TD><CODE><B><A HREF="Assert.html#normalizeArguments()">normalizeArguments</A></B>(string AssertType, struct Args)</CODE>
-<BR>
-
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used by framework and is merely a convenience for cfunit style tests and their assertEquals and assertTrue methods
-</TD>
-</TR>
-
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;any</CODE></FONT></TD>
-<TD><CODE><B><A HREF="Assert.html#setTestStyle()">setTestStyle</A></B>(string TestStyle)</CODE>
-<BR>
-
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the current test style
-</TD>
-</TR>
-
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="Assert.html#throwWrapper()">throwWrapper</A></B>(string type, string message, string detail)</CODE>
-<BR>
-
-</TD>
-</TR>
-
-</TR>
-</TABLE>
-
-
-
- &nbsp;
- <a name="methods_inherited_from_class_WEB-INF.cftags.component"><!-- --></a>
- <table summary="" border="1" cellpadding="3" cellspacing="0" width="100%">
- <tbody><tr class="TableSubHeadingColor" bgcolor="#eeeeff">
- <th align="left"><b>Methods inherited from class WEB-INF.cftags.component</b></th>
- </tr>
- <tr class="TableRowColor" bgcolor="white">
- <td>
-
-
- <code></code>
- </td>
- </tr>
- </tbody></table>
-
-
-&nbsp;
-<P>
-
-
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<a name="constructor_detail"><!-- --></a>
-</p><table summary="" border="1" cellpadding="3" cellspacing="0" width="100%">
-<tbody><tr class="TableHeadingColor" bgcolor="#ccccff">
-<th colspan="1" align="left"><font size="+2">
-<b>Constructor Detail</b></font></th>
-</tr>
-</tbody></table>
-
-<a name="init()"><!-- --></a><h3>
-
-init</h3>
-<CODE>remote <B>init</B>()</CODE>
-<dl>
-<dd>
-Constructor
-<p>
-</p>
-
-
-</dd></dl>
-
-
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<a name="method_detail"><!-- --></a>
-<table summary="" border="1" cellpadding="3" cellspacing="0" width="100%">
-<tbody><tr class="TableHeadingColor" bgcolor="#ccccff">
-<th colspan="1" align="left"><font size="+2">
-<b>Method Detail</b></font></th>
-</tr>
-</tbody></table>
-
- <a name="addAssertDecorator()"><!-- --></a><h3>
- addAssertDecorator</h3>
- <code>public void <B>addAssertDecorator</B>([string decoratorName], [string overrideBehaviors='false'])</code>
-
- <dl>
- <dd>
- Method used to dynamically add additional custom assertions at runtime.
- <p>
- </p></dd>
-
-
- <dl>
- <dt><b>Parameters:</b></dt>
-
- <dd><code>decoratorName</code> - The fully qualied name of the assertion component to add; e.g., org.mycompany.MyAssertionComponent</dd>
-
- <dd><code>overrideBehaviors</code> - Tells the framework whether or not to override any existing behaviors. For example, if your org.mycompany.MyAssertionComponent component has an assertTrue() and overridBehaviors is set to TRUE, the mxunit framework will use the new assertTrue() method and not it's own.</dd>
-
- </dl>
-
-
- </dd>
- </dl>
- <hr>
-
- <a name="addAssertDecorators()"><!-- --></a><h3>
- addAssertDecorators</h3>
- <code>public void <B>addAssertDecorators</B>()</code>
-
- <dl>
- <dd>
- Loads any assertions defined in mxunt-config.xml at runtime.
- <p>
- </p></dd>
-
-
-
- </dd>
- </dl>
- <hr>
-
- <a name="assert()"><!-- --></a><h3>
- assert</h3>
- <code>public any <B>assert</B>(string condition, [string message=''])</code>
-
- <dl>
- <dd>
- Basic assertion. Same effect as assertTrue()
- <p>
- </p></dd>
-
-
- <dl>
- <dt><b>Parameters:</b></dt>
-
- <dd><code>condition</code> - The condition to test. Note that expressions containing CFCs may likely fail</dd>
-
- <dd><code>message</code> - Optional custom message to display if comparison fails.</dd>
-
- </dl>
-
-
- </dd>
- </dl>
- <hr>
-
- <a name="assertEquals()"><!-- --></a><h3>
- assertEquals</h3>
- <code>public void <B>assertEquals</B>(any expected, any actual, [string message=''])</code>
-
- <dl>
- <dd>
- Core assertion that compares the values the EXPECTED and ACTUAL parameters. Throws mxunit.exception.AssertionFailedError.
- <p>
- </p></dd>
-
-
- <dl>
- <dt><b>Parameters:</b></dt>
-
- <dd><code>expected</code> - The expected object to compare.</dd>
-
- <dd><code>actual</code> - The actual object to compare.</dd>
-
- <dd><code>message</code> - Optional custom message to display if comparison fails.</dd>
-
- </dl>
-
-
- </dd>
- </dl>
- <hr>
-
- <a name="assertEqualsCase()"><!-- --></a><h3>
- assertEqualsCase</h3>
- <code>public void <B>assertEqualsCase</B>(any expected, any actual, [string message=''])</code>
-
- <dl>
- <dd>
- Core assertion that compares the values the EXPECTED and ACTUAL parameters. Throws mxunit.exception.AssertionFailedError. This is case sensitive.
- <p>
- </p></dd>
-
-
- <dl>
- <dt><b>Parameters:</b></dt>
-
- <dd><code>expected</code> - The expected object to compare.</dd>
-
- <dd><code>actual</code> - The actual object to compare.</dd>
-
- <dd><code>message</code> - Optional custom message to display if comparison fails.</dd>
-
- </dl>
-
-
- </dd>
- </dl>
- <hr>
-
- <a name="assertFalse()"><!-- --></a><h3>
- assertFalse</h3>
- <code>public any <B>assertFalse</B>(string condition, [string message=''])</code>
-
- <dl>
- <dd>
-
- <p>
- </p></dd>
-
-
- <dl>
- <dt><b>Parameters:</b></dt>
-
- <dd><code>condition</code></dd>
-
- <dd><code>message</code></dd>
-
- </dl>
-
-
- </dd>
- </dl>
- <hr>
-
- <a name="assertNotEquals()"><!-- --></a><h3>
- assertNotEquals</h3>
- <code>public void <B>assertNotEquals</B>(any expected, any actual, [string message=''])</code>
-
- <dl>
- <dd>
- Core assertion that compares the values the EXPECTED and ACTUAL parameters. Throws mxunit.exception.AssertionFailedError.
- <p>
- </p></dd>
-
-
- <dl>
- <dt><b>Parameters:</b></dt>
-
- <dd><code>expected</code> - The expected object to compare.</dd>
-
- <dd><code>actual</code> - The actual object to compare.</dd>
-
- <dd><code>message</code> - Optional custom message to display if comparison fails.</dd>
-
- </dl>
-
-
- </dd>
- </dl>
- <hr>
-
- <a name="assertNotSame()"><!-- --></a><h3>
- assertNotSame</h3>
- <code>public any <B>assertNotSame</B>(any expected, any actual, [string message='The two objects refer to the same instance.'])</code>
-
- <dl>
- <dd>
-
- <p>
- </p></dd>
-
-
- <dl>
- <dt><b>Parameters:</b></dt>
-
- <dd><code>expected</code></dd>
-
- <dd><code>actual</code></dd>
-
- <dd><code>message</code></dd>
-
- </dl>
-
-
- </dd>
- </dl>
- <hr>
-
- <a name="assertSame()"><!-- --></a><h3>
- assertSame</h3>
- <code>public any <B>assertSame</B>(any expected, any actual, [string message='The two objects do not refer to the same instance.'])</code>
-
- <dl>
- <dd>
-
- <p>
- </p></dd>
-
-
- <dl>
- <dt><b>Parameters:</b></dt>
-
- <dd><code>expected</code></dd>
-
- <dd><code>actual</code></dd>
-
- <dd><code>message</code></dd>
-
- </dl>
-
-
- </dd>
- </dl>
- <hr>
-
- <a name="assertTrue()"><!-- --></a><h3>
- assertTrue</h3>
- <code>public boolean <B>assertTrue</B>(string condition, [string message=''])</code>
-
- <dl>
- <dd>
- Core assertion that tests the CONDITION and throws mxunit.exception.AssertionFailedError on failure
- <p>
- </p></dd>
-
-
- <dl>
- <dt><b>Parameters:</b></dt>
-
- <dd><code>condition</code> - The condition to test. Note that expressions containing CFCs may likely fail</dd>
-
- <dd><code>message</code> - Optional custom message to display if comparison fails.</dd>
-
- </dl>
-
-
- </dd>
- </dl>
- <hr>
-
- <a name="clearClassVariables()"><!-- --></a><h3>
- clearClassVariables</h3>
- <code>public any <B>clearClassVariables</B>()</code>
-
- <dl>
- <dd>
-
- <p>
- </p></dd>
-
-
-
- </dd>
- </dl>
- <hr>
-
- <a name="fail()"><!-- --></a><h3>
- fail</h3>
- <code>public void <B>fail</B>(string message)</code>
-
- <dl>
- <dd>
- Fails a test with the given MESSAGE.
- <p>
- </p></dd>
-
-
- <dl>
- <dt><b>Parameters:</b></dt>
-
- <dd><code>message</code> - Custom message to print in the failure.</dd>
-
- </dl>
-
-
- </dd>
- </dl>
- <hr>
-
- <a name="failEquals()"><!-- --></a><h3>
- failEquals</h3>
- <code>private void <B>failEquals</B>(any expected, any actual, [any message='This test failed'])</code>
-
- <dl>
- <dd>
- Fails the test and prints the expected and actual values to the failure message
- <p>
- </p></dd>
-
-
- <dl>
- <dt><b>Parameters:</b></dt>
-
- <dd><code>expected</code> - The expected string value</dd>
-
- <dd><code>actual</code> - The actual string value</dd>
-
- <dd><code>message</code> - Custom message to print in the failure.</dd>
-
- </dl>
-
-
- </dd>
- </dl>
- <hr>
-
- <a name="failNotEquals()"><!-- --></a><h3>
- failNotEquals</h3>
- <code>private void <B>failNotEquals</B>(any expected, any actual, [any message='This test failed'], [any caseSensitive='false'])</code>
-
- <dl>
- <dd>
- Fails the test and prints the expected and actual values to the failure message
- <p>
- </p></dd>
-
-
- <dl>
- <dt><b>Parameters:</b></dt>
-
- <dd><code>expected</code> - The expected string value</dd>
-
- <dd><code>actual</code> - The actual string value</dd>
-
- <dd><code>message</code> - Custom message to print in the failure.</dd>
-
- <dd><code>caseSensitive</code> - Whether or not to print values in original case.</dd>
-
- </dl>
-
-
- </dd>
- </dl>
- <hr>
-
- <a name="getHashCode()"><!-- --></a><h3>
- getHashCode</h3>
- <code>public string <B>getHashCode</B>(any obj)</code>
-
- <dl>
- <dd>
- Attempts to return hashCode representation of OBJ. Returns 0 for deep structs and component name or, if defined, the stringValue() representation of the component.
- <p>
- </p></dd>
-
-
- <dl>
- <dt><b>Parameters:</b></dt>
-
- <dd><code>obj</code> - Any object</dd>
-
- </dl>
-
-
- </dd>
- </dl>
- <hr>
-
- <a name="getStringValue()"><!-- --></a><h3>
- getStringValue</h3>
- <code>public string <B>getStringValue</B>(any obj, [boolean caseSensitive='false'])</code>
-
- <dl>
- <dd>
- Attempts to return string representation of OBJ. Tests to see if object has toString or stringValue methods to be used for comparison and returns that string if present
- <p>
- </p></dd>
-
-
- <dl>
- <dt><b>Parameters:</b></dt>
-
- <dd><code>obj</code> - Any object</dd>
-
- <dd><code>caseSensitive</code> - If set to TRUE returns the original string unaltered. Default is to return the string in lowercase</dd>
-
- </dl>
-
-
- </dd>
- </dl>
- <hr>
-
- <a name="getTestStyle()"><!-- --></a><h3>
- getTestStyle</h3>
- <code>public any <B>getTestStyle</B>()</code>
-
- <dl>
- <dd>
- returns the current test style
- <p>
- </p></dd>
-
-
-
- </dd>
- </dl>
- <hr>
-
- <a name="normalizeArguments()"><!-- --></a><h3>
- normalizeArguments</h3>
- <code>private struct <B>normalizeArguments</B>(string AssertType, struct Args)</code>
-
- <dl>
- <dd>
- Used by framework and is merely a convenience for cfunit style tests and their assertEquals and assertTrue methods
- <p>
- </p></dd>
-
-
- <dl>
- <dt><b>Parameters:</b></dt>
-
- <dd><code>AssertType</code></dd>
-
- <dd><code>Args</code></dd>
-
- </dl>
-
-
- </dd>
- </dl>
- <hr>
-
- <a name="setTestStyle()"><!-- --></a><h3>
- setTestStyle</h3>
- <code>public any <B>setTestStyle</B>(string TestStyle)</code>
-
- <dl>
- <dd>
- Sets the current test style.
- <p>
- </p></dd>
-
-
- <dl>
- <dt><b>Parameters:</b></dt>
-
- <dd><code>TestStyle</code> - Use 'default' to have the framework behave like cfcunit with respect to arguments; otherwise, pass 'cfunit' to behave like cfunit (i.e. for certain assertions, the message is the first arg). This only affects assertEquals and assertTrue</dd>
-
- </dl>
-
-
- </dd>
- </dl>
- <hr>
-
- <a name="throwWrapper()"><!-- --></a><h3>
- throwWrapper</h3>
- <code>public void <B>throwWrapper</B>(string type, string message, string detail)</code>
-
- <dl>
- <dd>
-
- <p>
- </p></dd>
-
-
- <dl>
- <dt><b>Parameters:</b></dt>
-
- <dd><code>type</code></dd>
-
- <dd><code>message</code></dd>
-
- <dd><code>detail</code></dd>
-
- </dl>
-
-
- </dd>
- </dl>
- <hr>
-
-
-<!-- ========= START OF 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>&nbsp;</TD>
-
- <TD BGCOLOR="##EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-
-
-
-
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-MXUnit 2.0.3 (Generated: 07/12/2011)</EM>
-
-</TD>
-</TR>
-
-<TR>
-
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-
- <A HREF="../../index.html?mxunit/framework/Assert.html" target="_top"><B>FRAMES</B></A> &nbsp;
-
-</FONT></TD>
-
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF NAVBAR ========= -->
-
-<HR>
-
-</BODY>
-</HTML>
View
324 doc/api/mxunit/framework/CSVUtility.html
@@ -1,324 +0,0 @@
-
-
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by colddoc on {ts '2011-07-12 19:07:09'} -->
-<TITLE>
-Callable
-</TITLE>
-
-<META NAME="keywords" CONTENT="mxunit.framework.concurrent.Callable interface">
-
-
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- parent.document.title="CSVUtility";
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-
-
-
-
-<!-- ========= START OF 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>&nbsp;</TD>
-
- <TD BGCOLOR="##EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
-
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
-
-
-
-
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-MXUnit 2.0.3 (Generated: 07/12/2011)</EM>
-
-</TD>
-</TR>
-
-<TR>
-
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-
- <A HREF="../../index.html?mxunit/framework/CSVUtility.html" target="_top"><B>FRAMES</B></A> &nbsp;
-
-</FONT></TD>
-
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF NAVBAR ========= -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-mxunit.framework</FONT>
-<BR>
-Class CSVUtility</H2>
-
-
-
-<PRE>WEB-INF.cftags.component
- <IMG SRC="../../resources/inherit.gif" ALT="extended by ">mxunit.framework.CSVUtility
-</PRE>
-
-
-
-<HR>
-<DL>
-<DT>
-
-
-
-<PRE>public class <B>CSVUtility</B>
-<DT>extends WEB-INF.cftags.component</DT></PRE>
-</DT>