aceunit-commit Mailing List for AceUnit (Page 18)
Status: Beta
Brought to you by:
christianhujer
You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(139) |
Nov
(77) |
Dec
(32) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(55) |
Feb
(11) |
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(9) |
Oct
(75) |
Nov
(57) |
Dec
(21) |
2009 |
Jan
(14) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
(24) |
Sep
(11) |
Oct
(1) |
Nov
|
Dec
|
2011 |
Jan
|
Feb
(21) |
Mar
(10) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
From: <chr...@us...> - 2007-11-01 12:36:32
|
Revision: 157 http://aceunit.svn.sourceforge.net/aceunit/?rev=157&view=rev Author: christianhujer Date: 2007-11-01 05:36:33 -0700 (Thu, 01 Nov 2007) Log Message: ----------- Changed doxygen config to only document the public interface of AceUnit. Modified Paths: -------------- trunk/src/native/Doxyfile Modified: trunk/src/native/Doxyfile =================================================================== --- trunk/src/native/Doxyfile 2007-10-31 19:51:50 UTC (rev 156) +++ trunk/src/native/Doxyfile 2007-11-01 12:36:33 UTC (rev 157) @@ -493,7 +493,7 @@ # *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx # *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py -FILE_PATTERNS = +FILE_PATTERNS = *.h # The RECURSIVE tag can be used to turn specify whether or not subdirectories # should be searched for input files as well. Possible values are YES and NO. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-31 19:51:50
|
Revision: 156 http://aceunit.svn.sourceforge.net/aceunit/?rev=156&view=rev Author: christianhujer Date: 2007-10-31 12:51:50 -0700 (Wed, 31 Oct 2007) Log Message: ----------- Added missing copyright statements to xml / xslt. Modified Paths: -------------- trunk/src/doc/catalogForAnt.xml trunk/src/doc/cleanupXhtml11.xslt trunk/src/doc/xhtml2html.xslt Modified: trunk/src/doc/catalogForAnt.xml =================================================================== --- trunk/src/doc/catalogForAnt.xml 2007-10-31 19:47:12 UTC (rev 155) +++ trunk/src/doc/catalogForAnt.xml 2007-10-31 19:51:50 UTC (rev 156) @@ -1,4 +1,31 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (c) 2007, Christian Hujer + ~ All rights reserved. + ~ + ~ Redistribution and use in source and binary forms, with or without + ~ modification, are permitted provided that the following conditions are met: + ~ * Redistributions of source code must retain the above copyright + ~ notice, this list of conditions and the following disclaimer. + ~ * Redistributions in binary form must reproduce the above copyright + ~ notice, this list of conditions and the following disclaimer in the + ~ documentation and/or other materials provided with the distribution. + ~ * Neither the name of the AceUnit developers nor the + ~ names of its contributors may be used to endorse or promote products + ~ derived from this software without specific prior written permission. + ~ + ~ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ~ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + ~ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + ~ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER + ~ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + ~ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + ~ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + ~ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + ~ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + ~ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + ~ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + --> <xmlcatalog id="commonDTDs"> <entity publicid="-//W3C//DTD XHTML 1.1//EN" location="src/doc/dtd/xhtml11.dtd" /> <entity publicid="-//W3C//ELEMENTS XHTML Base Architecture 1.0//EN" location="src/doc/dtd/xhtml-arch-1.mod" /> Modified: trunk/src/doc/cleanupXhtml11.xslt =================================================================== --- trunk/src/doc/cleanupXhtml11.xslt 2007-10-31 19:47:12 UTC (rev 155) +++ trunk/src/doc/cleanupXhtml11.xslt 2007-10-31 19:51:50 UTC (rev 156) @@ -1,16 +1,31 @@ <?xml version="1.0" encoding="utf-8"?> <!-- - - $Id: cleanupXhtml11.xslt,v 1.2 2006/01/24 21:13:35 christianhujer Exp $ - - - - Transformation cleaning up XHTML: - - * removes superfluous namespace declarations - - * removes attributes with default values - - - - © 2003 Christian W. Hujer - - - - Log: see end of file + ~ Copyright (c) 2003 - 2007, Christian Hujer + ~ All rights reserved. + ~ + ~ Redistribution and use in source and binary forms, with or without + ~ modification, are permitted provided that the following conditions are met: + ~ * Redistributions of source code must retain the above copyright + ~ notice, this list of conditions and the following disclaimer. + ~ * Redistributions in binary form must reproduce the above copyright + ~ notice, this list of conditions and the following disclaimer in the + ~ documentation and/or other materials provided with the distribution. + ~ * Neither the name of the AceUnit developers nor the + ~ names of its contributors may be used to endorse or promote products + ~ derived from this software without specific prior written permission. + ~ + ~ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ~ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + ~ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + ~ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER + ~ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + ~ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + ~ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + ~ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + ~ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + ~ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + ~ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --> - <xsl:transform version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" Modified: trunk/src/doc/xhtml2html.xslt =================================================================== --- trunk/src/doc/xhtml2html.xslt 2007-10-31 19:47:12 UTC (rev 155) +++ trunk/src/doc/xhtml2html.xslt 2007-10-31 19:51:50 UTC (rev 156) @@ -1,6 +1,30 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (c) 2007, Christian Hujer. +<!-- + ~ Copyright (c) 2007, Christian Hujer ~ All rights reserved. + ~ + ~ Redistribution and use in source and binary forms, with or without + ~ modification, are permitted provided that the following conditions are met: + ~ * Redistributions of source code must retain the above copyright + ~ notice, this list of conditions and the following disclaimer. + ~ * Redistributions in binary form must reproduce the above copyright + ~ notice, this list of conditions and the following disclaimer in the + ~ documentation and/or other materials provided with the distribution. + ~ * Neither the name of the AceUnit developers nor the + ~ names of its contributors may be used to endorse or promote products + ~ derived from this software without specific prior written permission. + ~ + ~ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ~ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + ~ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + ~ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER + ~ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + ~ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + ~ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + ~ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + ~ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + ~ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + ~ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --> <xsl:transform version="2.0" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-31 19:47:07
|
Revision: 155 http://aceunit.svn.sourceforge.net/aceunit/?rev=155&view=rev Author: christianhujer Date: 2007-10-31 12:47:12 -0700 (Wed, 31 Oct 2007) Log Message: ----------- Added copyright statement to logo. Modified Paths: -------------- trunk/src/doc/aceunitLogo.svg Modified: trunk/src/doc/aceunitLogo.svg =================================================================== --- trunk/src/doc/aceunitLogo.svg 2007-10-31 19:46:28 UTC (rev 154) +++ trunk/src/doc/aceunitLogo.svg 2007-10-31 19:47:12 UTC (rev 155) @@ -1,4 +1,31 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (c) 2007, Christian Hujer + ~ All rights reserved. + ~ + ~ Redistribution and use in source and binary forms, with or without + ~ modification, are permitted provided that the following conditions are met: + ~ * Redistributions of source code must retain the above copyright + ~ notice, this list of conditions and the following disclaimer. + ~ * Redistributions in binary form must reproduce the above copyright + ~ notice, this list of conditions and the following disclaimer in the + ~ documentation and/or other materials provided with the distribution. + ~ * Neither the name of the AceUnit developers nor the + ~ names of its contributors may be used to endorse or promote products + ~ derived from this software without specific prior written permission. + ~ + ~ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ~ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + ~ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + ~ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER + ~ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + ~ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + ~ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + ~ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + ~ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + ~ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + ~ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + --> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG1.1/DTD/svg11.dtd" [ <!ENTITY black "#404000"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-31 19:46:25
|
Revision: 154 http://aceunit.svn.sourceforge.net/aceunit/?rev=154&view=rev Author: christianhujer Date: 2007-10-31 12:46:28 -0700 (Wed, 31 Oct 2007) Log Message: ----------- Removed unneeded comments from logo. Modified Paths: -------------- trunk/src/doc/aceunitLogo.svg Modified: trunk/src/doc/aceunitLogo.svg =================================================================== --- trunk/src/doc/aceunitLogo.svg 2007-10-28 23:07:21 UTC (rev 153) +++ trunk/src/doc/aceunitLogo.svg 2007-10-31 19:46:28 UTC (rev 154) @@ -21,8 +21,6 @@ </feMerge> </filter> <g id="pill" transform="scale(0.4)"> - <!--path stroke="#D9D900" fill="#D90000" d="M0,20 L0,-20 L40,-20 C70,-20 70,20 40,20 z" /--> - <!--path stroke="#D9D900" fill="#0000D9" d="M-40,20 C-70,20 -70,-20 -40,-20 L0,-20 L0,20 z" /--> <path stroke="&black;" fill="&yellow;" d="M0,20 L0,-20 L40,-20 C70,-20 70,20 40,20 z" /> <path stroke="&black;" fill="&black;" d="M-40,20 C-70,20 -70,-20 -40,-20 L0,-20 L0,20 z" /> </g> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-28 23:07:18
|
Revision: 153 http://aceunit.svn.sourceforge.net/aceunit/?rev=153&view=rev Author: christianhujer Date: 2007-10-28 16:07:21 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Updated TODO. Modified Paths: -------------- trunk/TODO Modified: trunk/TODO =================================================================== --- trunk/TODO 2007-10-28 23:00:48 UTC (rev 152) +++ trunk/TODO 2007-10-28 23:07:21 UTC (rev 153) @@ -1,4 +1,6 @@ * Create global build.xml for Building releases +* Include doxygen output in website +* Improve website layout (make it similar to that of Japi, Gridarta etc.) * Make it run on Windows, too * Alternatively allow for naming schemes instead of annotations so users can go without the A_Test annotations. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-28 23:00:43
|
Revision: 152 http://aceunit.svn.sourceforge.net/aceunit/?rev=152&view=rev Author: christianhujer Date: 2007-10-28 16:00:48 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Updated latest release version information on homepage. Modified Paths: -------------- trunk/src/doc/start.xhtml Modified: trunk/src/doc/start.xhtml =================================================================== --- trunk/src/doc/start.xhtml 2007-10-28 23:00:30 UTC (rev 151) +++ trunk/src/doc/start.xhtml 2007-10-28 23:00:48 UTC (rev 152) @@ -20,7 +20,7 @@ </div> --> <p> - Latest release version: <strong>aceunit-0.1.2</strong> + Latest release version: <strong>aceunit-0.2</strong> </p> <h2>What is AceUnit?</h2> <!-- The description must match the project description at http://sourceforge.net/projects/aceunit/ --> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-28 23:00:27
|
Revision: 151 http://aceunit.svn.sourceforge.net/aceunit/?rev=151&view=rev Author: christianhujer Date: 2007-10-28 16:00:30 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Added logo to website. Modified Paths: -------------- trunk/src/doc/build.xml trunk/src/doc/transform.xslt Modified: trunk/src/doc/build.xml =================================================================== --- trunk/src/doc/build.xml 2007-10-28 23:00:15 UTC (rev 150) +++ trunk/src/doc/build.xml 2007-10-28 23:00:30 UTC (rev 151) @@ -75,6 +75,7 @@ <fileset dir="."> <include name="**/.htaccess" /> <include name="**/*.css" /> + <include name="**/*.png" /> <exclude name="**/.xvpics/*.png" /> <exclude name="**/docs/**" /> </fileset> Modified: trunk/src/doc/transform.xslt =================================================================== --- trunk/src/doc/transform.xslt 2007-10-28 23:00:15 UTC (rev 150) +++ trunk/src/doc/transform.xslt 2007-10-28 23:00:30 UTC (rev 151) @@ -67,7 +67,7 @@ <xsl:template match="html:body"> <xsl:copy> <xsl:apply-templates select="@*" /> - <h1><xsl:apply-templates select="/html:html/html:head/html:title/node()" /></h1> + <h1><img src="aceunitLogo.png" alt="AceUnit" /> <xsl:apply-templates select="/html:html/html:head/html:title/node()" /></h1> <xsl:apply-templates select="node()" /> <address> <xsl:text>Feedback: </xsl:text><a href="mailto:ch...@ri...">webmaster</a> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-28 23:00:12
|
Revision: 150 http://aceunit.svn.sourceforge.net/aceunit/?rev=150&view=rev Author: christianhujer Date: 2007-10-28 16:00:15 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Added png variant of logo. Added Paths: ----------- trunk/src/doc/aceunitLogo.png Added: trunk/src/doc/aceunitLogo.png =================================================================== (Binary files differ) Property changes on: trunk/src/doc/aceunitLogo.png ___________________________________________________________________ Name: svn:mime-type + image/png This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-28 22:54:21
|
Revision: 149 http://aceunit.svn.sourceforge.net/aceunit/?rev=149&view=rev Author: christianhujer Date: 2007-10-28 15:54:23 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Renamed logo. Added Paths: ----------- trunk/src/doc/aceunitLogo.svg Removed Paths: ------------- trunk/src/doc/aceunit_logo.svg Copied: trunk/src/doc/aceunitLogo.svg (from rev 142, trunk/src/doc/aceunit_logo.svg) =================================================================== --- trunk/src/doc/aceunitLogo.svg (rev 0) +++ trunk/src/doc/aceunitLogo.svg 2007-10-28 22:54:23 UTC (rev 149) @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG1.1/DTD/svg11.dtd" +[ + <!ENTITY black "#404000"> + <!ENTITY yellow "#D9D900"> +] +> +<svg width="250" height="90" version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 250 90"> + <defs> + <filter id="MyFilter" filterUnits="userSpaceOnUse" x="0" y="0" width="250" height="90"> + <feGaussianBlur in="SourceAlpha" stdDeviation="4" result="blur"/> + <feOffset in="blur" dx="4" dy="4" result="offsetBlur"/> + <feSpecularLighting in="blur" surfaceScale="5" specularConstant=".75" specularExponent="20" lighting-color="#bbbbbb" result="specOut"> + <fePointLight x="-5000" y="-10000" z="20000"/> + </feSpecularLighting> + <feComposite in="specOut" in2="SourceAlpha" operator="in" result="specOut"/> + <feComposite in="SourceGraphic" in2="specOut" operator="arithmetic" k1="0" k2="1" k3="1" k4="0" result="litPaint"/> + <feMerge> + <feMergeNode in="offsetBlur"/> + <feMergeNode in="litPaint"/> + </feMerge> + </filter> + <g id="pill" transform="scale(0.4)"> + <!--path stroke="#D9D900" fill="#D90000" d="M0,20 L0,-20 L40,-20 C70,-20 70,20 40,20 z" /--> + <!--path stroke="#D9D900" fill="#0000D9" d="M-40,20 C-70,20 -70,-20 -40,-20 L0,-20 L0,20 z" /--> + <path stroke="&black;" fill="&yellow;" d="M0,20 L0,-20 L40,-20 C70,-20 70,20 40,20 z" /> + <path stroke="&black;" fill="&black;" d="M-40,20 C-70,20 -70,-20 -40,-20 L0,-20 L0,20 z" /> + </g> + </defs> + <g filter="url(#MyFilter)"> + <use xlink:href="#pill" transform="translate(30 40) rotate(-45)"/> + <text fill="&yellow;" stroke="&black;" x="50" y="60" font-size="45" font-weight="bold" font-family="Lucida Bright">AceUnit</text> + </g> +</svg> Deleted: trunk/src/doc/aceunit_logo.svg =================================================================== --- trunk/src/doc/aceunit_logo.svg 2007-10-28 20:25:46 UTC (rev 148) +++ trunk/src/doc/aceunit_logo.svg 2007-10-28 22:54:23 UTC (rev 149) @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG1.1/DTD/svg11.dtd" -[ - <!ENTITY black "#404000"> - <!ENTITY yellow "#D9D900"> -] -> -<svg width="250" height="90" version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 250 90"> - <defs> - <filter id="MyFilter" filterUnits="userSpaceOnUse" x="0" y="0" width="250" height="90"> - <feGaussianBlur in="SourceAlpha" stdDeviation="4" result="blur"/> - <feOffset in="blur" dx="4" dy="4" result="offsetBlur"/> - <feSpecularLighting in="blur" surfaceScale="5" specularConstant=".75" specularExponent="20" lighting-color="#bbbbbb" result="specOut"> - <fePointLight x="-5000" y="-10000" z="20000"/> - </feSpecularLighting> - <feComposite in="specOut" in2="SourceAlpha" operator="in" result="specOut"/> - <feComposite in="SourceGraphic" in2="specOut" operator="arithmetic" k1="0" k2="1" k3="1" k4="0" result="litPaint"/> - <feMerge> - <feMergeNode in="offsetBlur"/> - <feMergeNode in="litPaint"/> - </feMerge> - </filter> - <g id="pill" transform="scale(0.4)"> - <!--path stroke="#D9D900" fill="#D90000" d="M0,20 L0,-20 L40,-20 C70,-20 70,20 40,20 z" /--> - <!--path stroke="#D9D900" fill="#0000D9" d="M-40,20 C-70,20 -70,-20 -40,-20 L0,-20 L0,20 z" /--> - <path stroke="&black;" fill="&yellow;" d="M0,20 L0,-20 L40,-20 C70,-20 70,20 40,20 z" /> - <path stroke="&black;" fill="&black;" d="M-40,20 C-70,20 -70,-20 -40,-20 L0,-20 L0,20 z" /> - </g> - </defs> - <g filter="url(#MyFilter)"> - <use xlink:href="#pill" transform="translate(30 40) rotate(-45)"/> - <text fill="&yellow;" stroke="&black;" x="50" y="60" font-size="45" font-weight="bold" font-family="Lucida Bright">AceUnit</text> - </g> -</svg> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-28 20:25:42
|
Revision: 148 http://aceunit.svn.sourceforge.net/aceunit/?rev=148&view=rev Author: christianhujer Date: 2007-10-28 13:25:46 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Added missing space in comment output. Modified Paths: -------------- trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java Modified: trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java =================================================================== --- trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java 2007-10-28 20:17:12 UTC (rev 147) +++ trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java 2007-10-28 20:25:46 UTC (rev 148) @@ -122,7 +122,7 @@ */ public String getPrototypes() { final Formatter out = new Formatter(); - out.format("/* The prototypes are here to be able to include this header file at the beginning of the test file instead of at the end.*/%n"); + out.format("/* The prototypes are here to be able to include this header file at the beginning of the test file instead of at the end. */%n"); for (final MethodList methods : usedMethodLists) { for (final String method : methods) { out.format("%s void %s();%n", methods.getAnnotation(), method); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-28 20:17:08
|
Revision: 147 http://aceunit.svn.sourceforge.net/aceunit/?rev=147&view=rev Author: christianhujer Date: 2007-10-28 13:17:12 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Simplified code. Modified Paths: -------------- trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java Modified: trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java =================================================================== --- trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java 2007-10-28 20:09:39 UTC (rev 146) +++ trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java 2007-10-28 20:17:12 UTC (rev 147) @@ -89,11 +89,9 @@ out.format("%s%n", getTestMethodIds()); - out.format("%s%n", testMethods.getFunctionPointerList()); - out.format("%s%n", beforeMethods.getFunctionPointerList()); - out.format("%s%n", afterMethods.getFunctionPointerList()); - out.format("%s%n", beforeClassMethods.getFunctionPointerList()); - out.format("%s%n", afterClassMethods.getFunctionPointerList()); + for (final MethodList methods : usedMethodLists) { + out.format("%s%n", methods.getFunctionPointerList()); + } out.format("%s%n", getFixture(basename)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-28 20:09:38
|
Revision: 146 http://aceunit.svn.sourceforge.net/aceunit/?rev=146&view=rev Author: christianhujer Date: 2007-10-28 13:09:39 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Removed ignored methods from prototypes. Modified Paths: -------------- trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java Modified: trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java =================================================================== --- trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java 2007-10-28 20:04:55 UTC (rev 145) +++ trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java 2007-10-28 20:09:39 UTC (rev 146) @@ -32,6 +32,9 @@ /** All method lists for easy iteration. */ private final List<MethodList> methodLists = Arrays.asList(testMethods, beforeMethods, afterMethods, beforeClassMethods, afterClassMethods, ignoreMethods); + /** All method lists for used methods for easy iteration. */ + private final List<MethodList> usedMethodLists = Arrays.asList(testMethods, beforeMethods, afterMethods, beforeClassMethods, afterClassMethods); + /** Creates MethodLists. */ public MethodLists() { } @@ -122,7 +125,7 @@ public String getPrototypes() { final Formatter out = new Formatter(); out.format("/* The prototypes are here to be able to include this header file at the beginning of the test file instead of at the end.*/%n"); - for (final MethodList methods : methodLists) { + for (final MethodList methods : usedMethodLists) { for (final String method : methods) { out.format("%s void %s();%n", methods.getAnnotation(), method); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-28 20:04:53
|
Revision: 145 http://aceunit.svn.sourceforge.net/aceunit/?rev=145&view=rev Author: christianhujer Date: 2007-10-28 13:04:55 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Refactoring: Moved getMethodList() in MethodLists to getFunctionPointerList() in MethodList. Modified Paths: -------------- trunk/src/java/src/prj/net/sf/aceunit/MethodList.java trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java Modified: trunk/src/java/src/prj/net/sf/aceunit/MethodList.java =================================================================== --- trunk/src/java/src/prj/net/sf/aceunit/MethodList.java 2007-10-28 16:43:54 UTC (rev 144) +++ trunk/src/java/src/prj/net/sf/aceunit/MethodList.java 2007-10-28 20:04:55 UTC (rev 145) @@ -32,6 +32,7 @@ import java.util.Collections; import java.util.Iterator; import java.util.List; +import java.util.Formatter; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.jetbrains.annotations.NotNull; @@ -47,6 +48,12 @@ /** The regular expression to use for finding annotated methods. */ @NotNull private final Pattern pattern; + /** The variable name to use for symbols related to this MethodList. */ + @NotNull private final String symName; + + /** The title to use for this method list, used in comments. */ + @NotNull private final String title; + /** The names of the methods found to be annotated. */ @NotNull private final List<String> methodNames = new ArrayList<String>(); @@ -57,10 +64,14 @@ * The MethodListis initially empty. * Invoke {@link #findMethods(String)} to fill this MethodList. * @param annotation Annotation to find. + * @param symName Name to use for symbols related to this MethodList. + * @param title Title to use e.g. in comments. */ - public MethodList(@NotNull final String annotation) { + public MethodList(@NotNull final String annotation, @NotNull final String symName, @NotNull final String title) { this.annotation = annotation; this.pattern = Pattern.compile(annotation + "\\s+[^(]+?\\s+([^ (]+)\\("); + this.symName = symName; + this.title = title; } /** Returns the annotation this MethodList was created for. @@ -115,4 +126,19 @@ return methodNames.size(); } + /** Creates source code for an array of function pointers for this method list. + * @return Source code for the function pointer array. + */ + public String getFunctionPointerList() { + final Formatter out = new Formatter(); + out.format("/** The %s of this fixture. */%n", title); + out.format("testMethod_t %s[] = {%n", symName); + for (final String method : this) { + out.format(" &%s,%n", method); + } + out.format(" NULL%n"); + out.format("};%n"); + return out.toString(); + } + } // class MethodList Modified: trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java =================================================================== --- trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java 2007-10-28 16:43:54 UTC (rev 144) +++ trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java 2007-10-28 20:04:55 UTC (rev 145) @@ -12,22 +12,22 @@ public class MethodLists { /** The list of {@code @Test} methods. */ - private final MethodList testMethods = new MethodList("A_Test"); + private final MethodList testMethods = new MethodList("A_Test", "testCase", "test cases"); /** The list of {@code @Before} methods. */ - private final MethodList beforeMethods = new MethodList("A_Before"); + private final MethodList beforeMethods = new MethodList("A_Before", "before", "before methods"); /** The list of {@code @After} methods. */ - private final MethodList afterMethods = new MethodList("A_After"); + private final MethodList afterMethods = new MethodList("A_After", "after", "after methods"); /** The list of {@code @BeforeClass} methods. */ - private final MethodList beforeClassMethods = new MethodList("A_BeforeClass"); + private final MethodList beforeClassMethods = new MethodList("A_BeforeClass", "beforeClass", "beforeClass methods"); /** The list of {@code @AfterClass} methods. */ - private final MethodList afterClassMethods = new MethodList("A_AfterClass"); + private final MethodList afterClassMethods = new MethodList("A_AfterClass", "afterClass", "afterClass methods"); /** The list of {@code @Ignore} methods. */ - private final MethodList ignoreMethods = new MethodList("A_Ignore"); + private final MethodList ignoreMethods = new MethodList("A_Ignore", "ignore", "ignored methods"); /** All method lists for easy iteration. */ private final List<MethodList> methodLists = Arrays.asList(testMethods, beforeMethods, afterMethods, beforeClassMethods, afterClassMethods, ignoreMethods); @@ -86,11 +86,11 @@ out.format("%s%n", getTestMethodIds()); - out.format("%s%n", getMethods("testCase", "test cases", testMethods)); - out.format("%s%n", getMethods("before", "before methods", beforeMethods)); - out.format("%s%n", getMethods("after", "after methods", afterMethods)); - out.format("%s%n", getMethods("beforeClass", "beforeClass methods", beforeClassMethods)); - out.format("%s%n", getMethods("afterClass", "afterClass methods", afterClassMethods)); + out.format("%s%n", testMethods.getFunctionPointerList()); + out.format("%s%n", beforeMethods.getFunctionPointerList()); + out.format("%s%n", afterMethods.getFunctionPointerList()); + out.format("%s%n", beforeClassMethods.getFunctionPointerList()); + out.format("%s%n", afterClassMethods.getFunctionPointerList()); out.format("%s%n", getFixture(basename)); @@ -130,24 +130,6 @@ return out.toString(); } - /** Creates a test method list. - * @param key Key for which to create the test method list, used as variable name. - * @param title Title to use in comment. - * @param methods List with methods to append. - * @return Source code for the test methods. - */ - private String getMethods(@NotNull final String key, @NotNull final String title, @NotNull final MethodList methods) { - final Formatter out = new Formatter(); - out.format("/** The %s of this fixture. */%n", title); - out.format("testMethod_t %s[] = {%n", key); - for (final String method : methods) { - out.format(" &%s,%n", method); - } - out.format(" NULL%n"); - out.format("};%n"); - return out.toString(); - } - /** Returns a String with the source code for the test method ids. * @return Source code for the test method ids. */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-28 16:43:55
|
Revision: 144 http://aceunit.svn.sourceforge.net/aceunit/?rev=144&view=rev Author: christianhujer Date: 2007-10-28 09:43:54 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Creating release tag 0.2 for branch 0.2. Added Paths: ----------- tags/0.2/ Copied: tags/0.2 (from rev 143, branches/0.2) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-28 16:42:17
|
Revision: 143 http://aceunit.svn.sourceforge.net/aceunit/?rev=143&view=rev Author: christianhujer Date: 2007-10-28 09:42:21 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Updated release script. Modified Paths: -------------- release.sh Modified: release.sh =================================================================== --- release.sh 2007-10-28 16:35:57 UTC (rev 142) +++ release.sh 2007-10-28 16:42:21 UTC (rev 143) @@ -4,12 +4,15 @@ # TODO: Support release levels echo "Usage: ./release.sh <branch-name> <release-name> <email-address>" + svn cp -m "Creating release tag $2 for branch $1." http://aceunit.svn.sourceforge.net/svnroot/aceunit/branches/$1 http://aceunit.svn.sourceforge.net/svnroot/aceunit/tags/$2 svn export http://aceunit.svn.sourceforge.net/svnroot/aceunit/tags/$2 aceunit tar cjvf aceunit-$2-src.tar.bz2 aceunit tar czvf aceunit-$2-src.tar.gz aceunit zip -r aceunit-$2-src.zip aceunit -ftp -u ftp://anonymous:$3...@up.../incoming aceunit-$2-src.* +(cd aceunit/src/java ; ant) ; mv aceunit/src/java/AceUnit.jar AceUnit-$2.jar +ftp -u ftp://anonymous:$3...@up.../incoming aceunit-$2-src.* AceUnit-$2.jar + echo echo "Upload done. Now create a new release at sourceforge and freshmeat, the mailing list and the forum." echo "SourceForge: http://sourceforge.net/project/admin/newrelease.php?package_id=247827&group_id=207094" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-28 16:35:55
|
Revision: 142 http://aceunit.svn.sourceforge.net/aceunit/?rev=142&view=rev Author: christianhujer Date: 2007-10-28 09:35:57 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Creating branch for 0.2. Added Paths: ----------- branches/0.2/ Copied: branches/0.2 (from rev 141, trunk) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-28 16:19:13
|
Revision: 141 http://aceunit.svn.sourceforge.net/aceunit/?rev=141&view=rev Author: christianhujer Date: 2007-10-28 09:19:15 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Fixed wrong title. Modified Paths: -------------- trunk/src/doc/history.xhtml Modified: trunk/src/doc/history.xhtml =================================================================== --- trunk/src/doc/history.xhtml 2007-10-28 16:07:24 UTC (rev 140) +++ trunk/src/doc/history.xhtml 2007-10-28 16:19:15 UTC (rev 141) @@ -4,7 +4,7 @@ <head> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <meta name="Date" content="$Date$" /> - <title>AceUnit Future</title> + <title>AceUnit History</title> <link rel="Stylesheet" type="text/css" href="sitestyle.css" /> <meta name="X-Subversion-Id" content="$Id$" /> </head> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-28 16:07:23
|
Revision: 140 http://aceunit.svn.sourceforge.net/aceunit/?rev=140&view=rev Author: christianhujer Date: 2007-10-28 09:07:24 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Updated documentation to include history. Added plan for 0.3. Modified Paths: -------------- trunk/src/doc/future.xhtml trunk/src/doc/start.xhtml Added Paths: ----------- trunk/src/doc/history.xhtml Modified: trunk/src/doc/future.xhtml =================================================================== --- trunk/src/doc/future.xhtml 2007-10-28 15:22:02 UTC (rev 139) +++ trunk/src/doc/future.xhtml 2007-10-28 16:07:24 UTC (rev 140) @@ -12,19 +12,13 @@ <p> The following features are planned for future versions: </p> - <h2>AceUnit 0.1</h2> + <h2>AceUnit 0.3</h2> <ul> - <li>Basic Framework</li> - <li>Running Tests</li> + <li>Pluggable test runners</li> + <li>Pluggable logger system</li> </ul> - <h2>AceUnit 0.2</h2> - <ul> - <li>Get embedded runner working 100%</li> - </ul> <h2>Future Versions</h2> <ul> - <li>Pluggable test runners</li> - <li>Pluggable logger system</li> <li>Create JUnit compatible loggers</li> <li>Optional automatic generation of main() function</li> <li>Better logging of information, e.g. expected and actual values</li> Added: trunk/src/doc/history.xhtml =================================================================== --- trunk/src/doc/history.xhtml (rev 0) +++ trunk/src/doc/history.xhtml 2007-10-28 16:07:24 UTC (rev 140) @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> + <head> + <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> + <meta name="Date" content="$Date$" /> + <title>AceUnit Future</title> + <link rel="Stylesheet" type="text/css" href="sitestyle.css" /> + <meta name="X-Subversion-Id" content="$Id$" /> + </head> + <body> + <p> + This is a documentation of the past releases and their changes. + </p> + <dl> + <dt>AceUnit 0.2</dt> + <dd> + The embedded part is now running. + </dd> + <dt>AceUnit 0.1.2</dt> + <dd> + Bug fixes + </dd> + <dt>AceUnit 0.1.1</dt> + <dd> + Bug fixes + </dd> + <dt>AceUnit 0.1</dt> + <dd> + This was the first release. + The test runner was working. + </dd> + </dl> + </body> +</html> Property changes on: trunk/src/doc/history.xhtml ___________________________________________________________________ Name: svn:mime-type + text/html Name: svn:keywords + Id Date Name: svn:eol-style + LF Modified: trunk/src/doc/start.xhtml =================================================================== --- trunk/src/doc/start.xhtml 2007-10-28 15:22:02 UTC (rev 139) +++ trunk/src/doc/start.xhtml 2007-10-28 16:07:24 UTC (rev 140) @@ -42,7 +42,7 @@ <li><a href="future">The Future of AceUnit</a> (planned features etc.)</li> <!--li><a href="news/">AceUnit Project News</a></li--> <!--li><a href="faq">AceUnit FAQ</a> (Frequently Asked Questions)</li--> - <!--li><a href="history">History of AceUnit</a></li--> + <li><a href="history">History of AceUnit</a></li> </ul> <h2>Contact the AceUnit developers</h2> <p>There are many ways of contacting the AceUnit developers.</p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-28 15:50:16
|
Revision: 138 http://aceunit.svn.sourceforge.net/aceunit/?rev=138&view=rev Author: christianhujer Date: 2007-10-28 08:17:16 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Added missing AssertionId_t member documentation. Modified Paths: -------------- trunk/src/native/AceUnit.h Modified: trunk/src/native/AceUnit.h =================================================================== --- trunk/src/native/AceUnit.h 2007-10-28 15:13:13 UTC (rev 137) +++ trunk/src/native/AceUnit.h 2007-10-28 15:17:16 UTC (rev 138) @@ -108,10 +108,15 @@ * On normal systems, this is the line number and the message text of the assertion. */ typedef struct { + + /** The line number at which the assertion occurred. */ linenumber_t lineNumber; + #ifndef ACEUNIT_EMBEDDED + /** The message of the assertion. */ const char *message; #endif + } AssertionId_t; /** Creates a new assertion error. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-28 15:49:37
|
Revision: 139 http://aceunit.svn.sourceforge.net/aceunit/?rev=139&view=rev Author: christianhujer Date: 2007-10-28 08:22:02 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Changed includes to match new fixture header format. Modified Paths: -------------- trunk/src/doc/examples/sort/sortTest.c Modified: trunk/src/doc/examples/sort/sortTest.c =================================================================== --- trunk/src/doc/examples/sort/sortTest.c 2007-10-28 15:17:16 UTC (rev 138) +++ trunk/src/doc/examples/sort/sortTest.c 2007-10-28 15:22:02 UTC (rev 139) @@ -31,11 +31,13 @@ * @file sortTest.c */ -#include <stdbool.h> -#include <stdlib.h> -#include "AceUnit.h" +#include <stdbool.h> // bool +#include <stddef.h> // size_t +#include <stdlib.h> // qsort #include "sort.h" +#include "sortTest.h" + /** Comparator for int values. * @see comparator */ @@ -94,8 +96,6 @@ assertTrue("This vector now is sorted.", isSorted(testling, 5, sizeof(int), &compareInt)); } -#include "sortTest.h" - // Run the tests. // Note: This is only here temporarily. // In future versions, this part will be auto-generated. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-28 15:48:48
|
Revision: 136 http://aceunit.svn.sourceforge.net/aceunit/?rev=136&view=rev Author: christianhujer Date: 2007-10-28 08:09:24 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Added include shield to generated header file. Modified Paths: -------------- trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java Modified: trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java =================================================================== --- trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java 2007-10-28 15:09:13 UTC (rev 135) +++ trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java 2007-10-28 15:09:24 UTC (rev 136) @@ -69,6 +69,11 @@ out.format(" */%n"); out.format("%n"); + final String ucaseFixture = basename.toUpperCase(); + out.format("#ifndef _%s_H%n", ucaseFixture); + out.format("#define _%s_H%n", ucaseFixture); + out.format("%n"); + out.format("#ifndef A_FIXTURE_ID%n"); out.format("#define A_FIXTURE_ID 1%n"); // TODO increment out.format("#endif%n"); @@ -100,6 +105,9 @@ out.format(" beforeClass,%n"); out.format(" afterClass%n"); out.format("};%n"); + out.format("%n"); + + out.format("#endif /* _%s_H */%n", ucaseFixture); return out.toString(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-28 15:47:06
|
Revision: 137 http://aceunit.svn.sourceforge.net/aceunit/?rev=137&view=rev Author: christianhujer Date: 2007-10-28 08:13:13 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Extracted fixture structure source generation into a separate method to increase readability / maintainability. Modified Paths: -------------- trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java Modified: trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java =================================================================== --- trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java 2007-10-28 15:09:24 UTC (rev 136) +++ trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java 2007-10-28 15:13:13 UTC (rev 137) @@ -87,15 +87,23 @@ out.format("%s%n", getTestMethodIds()); out.format("%s%n", getMethods("testCase", "test cases", testMethods)); - out.format("%s%n", getMethods("before", "before methods", beforeMethods)); - out.format("%s%n", getMethods("after", "after methods", afterMethods)); - out.format("%s%n", getMethods("beforeClass", "beforeClass methods", beforeClassMethods)); - out.format("%s%n", getMethods("afterClass", "afterClass methods", afterClassMethods)); + out.format("%s%n", getFixture(basename)); + + out.format("#endif /* _%s_H */%n", ucaseFixture); + return out.toString(); + } + + /** Returns source code for the fixture. + * @param basename Base name of the fixture. + * @return Source code for the fixture. + */ + public String getFixture(@NotNull final String basename) { + final Formatter out = new Formatter(); out.format("/** This fixture. */%n"); out.format("TestFixture_t %sFixture = {%n", basename); out.format(" testId,%n"); @@ -105,9 +113,6 @@ out.format(" beforeClass,%n"); out.format(" afterClass%n"); out.format("};%n"); - out.format("%n"); - - out.format("#endif /* _%s_H */%n", ucaseFixture); return out.toString(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-28 15:46:43
|
Revision: 135 http://aceunit.svn.sourceforge.net/aceunit/?rev=135&view=rev Author: christianhujer Date: 2007-10-28 08:09:13 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Changed AceUnit self test to work with new header file with prototypes. Modified Paths: -------------- trunk/src/native/test/AceUnitTest.c Modified: trunk/src/native/test/AceUnitTest.c =================================================================== --- trunk/src/native/test/AceUnitTest.c 2007-10-28 15:06:08 UTC (rev 134) +++ trunk/src/native/test/AceUnitTest.c 2007-10-28 15:09:13 UTC (rev 135) @@ -34,7 +34,7 @@ #include <stdbool.h> #include <stdio.h> -#include "AceUnit.h" +#include "AceUnitTest.h" extern AssertionError_t* recentError; @@ -218,8 +218,6 @@ } } -#include "AceUnitTest.h" - /** Run the tests. * @note This is only here temporarily. * @note Command line arguments currently are ignored. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-28 15:06:06
|
Revision: 134 http://aceunit.svn.sourceforge.net/aceunit/?rev=134&view=rev Author: christianhujer Date: 2007-10-28 08:06:08 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Added output of prototypes. Now the generated header file can and must be included at the top of the fixture source. Modified Paths: -------------- trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java Modified: trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java =================================================================== --- trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java 2007-10-28 15:04:05 UTC (rev 133) +++ trunk/src/java/src/prj/net/sf/aceunit/MethodLists.java 2007-10-28 15:06:08 UTC (rev 134) @@ -74,6 +74,11 @@ out.format("#endif%n"); out.format("%n"); + out.format("#include \"AceUnit.h\"%n"); + out.format("%n"); + + out.format("%s%n", getPrototypes()); + out.format("%s%n", getTestMethodIds()); out.format("%s%n", getMethods("testCase", "test cases", testMethods)); @@ -98,6 +103,20 @@ return out.toString(); } + /** Returns source code for all method prototypes. + * @return Source code for all method prototypes. + */ + public String getPrototypes() { + final Formatter out = new Formatter(); + out.format("/* The prototypes are here to be able to include this header file at the beginning of the test file instead of at the end.*/%n"); + for (final MethodList methods : methodLists) { + for (final String method : methods) { + out.format("%s void %s();%n", methods.getAnnotation(), method); + } + } + return out.toString(); + } + /** Creates a test method list. * @param key Key for which to create the test method list, used as variable name. * @param title Title to use in comment. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2007-10-28 15:04:01
|
Revision: 133 http://aceunit.svn.sourceforge.net/aceunit/?rev=133&view=rev Author: christianhujer Date: 2007-10-28 08:04:05 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Changed makefile to optionally use AceUnit embedded. Modified Paths: -------------- trunk/src/native/test/Makefile Modified: trunk/src/native/test/Makefile =================================================================== --- trunk/src/native/test/Makefile 2007-10-28 15:01:22 UTC (rev 132) +++ trunk/src/native/test/Makefile 2007-10-28 15:04:05 UTC (rev 133) @@ -1,5 +1,8 @@ -ACE_UNIT_FILES=AceUnit.c AceUnit.h AceUnitData.c AceUnitAnnotations.h FullPlainLogger.c AceUnit.jar +LOGGER=FullPlainLogger +#LOGGER=MiniRamLogger +ACE_UNIT_FILES=AceUnit.c AceUnit.h AceUnitData.c AceUnitAnnotations.h $(LOGGER).c AceUnit.jar + ACE_UNIT_PATH=../../ FIXTURE_NAME=AceUnitTest @@ -23,7 +26,7 @@ AceUnitAnnotations.h: $(ACE_UNIT_PATH)/native/AceUnitAnnotations.h cp $< $@ -FullPlainLogger.c: $(ACE_UNIT_PATH)/native/FullPlainLogger.c +$(LOGGER).c: $(ACE_UNIT_PATH)/native/$(LOGGER).c cp $< $@ AceUnit.jar: $(ACE_UNIT_PATH)/java/AceUnit.jar @@ -39,6 +42,7 @@ runTests: $(FIXTURE_NAME).c $(FIXTURE_NAME).h $(ACE_UNIT_FILES) $(CC) -fprofile-arcs -ftest-coverage -Wall -g -o runTests *.c +# $(CC) -fprofile-arcs -ftest-coverage -Wall -g -DACEUNIT_EMBEDDED -o runTests *.c test: runTests ./runTests This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |