<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/aceunit/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/aceunit/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/aceunit/bugs/</id><updated>2010-12-10T14:45:25Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Java Generator shoud sort files</title><link href="https://sourceforge.net/p/aceunit/bugs/32/" rel="alternate"/><published>2010-12-10T14:45:25Z</published><updated>2010-12-10T14:45:25Z</updated><author><name>Christian Hujer</name><uri>https://sourceforge.net/u/christianhujer/</uri></author><id>https://sourceforge.net31626910ba220f93b7ef2c68878e7a5ad0982ac3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Context&lt;br /&gt;
Java generator, reproducibility of unit tests in IBM Rational ClearCase.&lt;/p&gt;
&lt;p&gt;Expected behavior&lt;br /&gt;
The order of tests is always the same for the same directory structure.&lt;/p&gt;
&lt;p&gt;Actual behavior&lt;br /&gt;
The order of tests may depend on the file system. On the same machine, tests are executed in different order, depending on the type of ClearCase view. Snapshot views will use Windows sort order, while dynamic views will use ClearCase sort order, which is different from Windows sort order.&lt;/p&gt;
&lt;p&gt;Proposed solution:&lt;br /&gt;
Sort the tests.&lt;/p&gt;
&lt;p&gt;Proposed extended solution:&lt;br /&gt;
Allow the user to specify a sorting (to be locale-independent, for instance).&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>AceUnit.h runnerData dependency</title><link href="https://sourceforge.net/p/aceunit/bugs/31/" rel="alternate"/><published>2009-10-01T15:49:16Z</published><updated>2009-10-01T15:49:16Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net5afe08347b7fb257fc4aff418720dc324eabd34e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If ACEUNIT_ASSERTION_STYLE is set to ACEUNIT_ASSERTION_STYLE_LONGJMP, AceUnit.h defines macros which require runnerData.&lt;br /&gt;
The expected behaviour is that it is sufficient to include AceUnit.h to use these macros.&lt;br /&gt;
The actual behaviour is that it is required to #include "AceUnitData.h" as well.&lt;br /&gt;
That should not be required but work automatically, i.e. if AceUnit.h declares something that requires a symbol from AceUnitData.h, AceUnit.h should #include AceUnitData.h itself.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Typo on help text for --print</title><link href="https://sourceforge.net/p/aceunit/bugs/30/" rel="alternate"/><published>2009-09-30T11:57:44Z</published><updated>2009-09-30T11:57:44Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netf3a22120a4d092576a7125f4407c5d42b56e0714</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;For the --print option, the help speaks of "comman separated". This probably should be "comma separated" instead.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Help text format is strange</title><link href="https://sourceforge.net/p/aceunit/bugs/29/" rel="alternate"/><published>2009-09-30T11:56:20Z</published><updated>2009-09-30T11:56:20Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net5a4b08190b7899cc075a451139056c1f8198c4d5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The format of the help text is strange.&lt;br /&gt;
For the German version it looks like this:&lt;br /&gt;
$ java -jar ../SC_Tools/aceunit-0.11.0/src/java/AceUnit-0.11.0.jar --help&lt;br /&gt;
Verwendung: java -jar  AceUnit.jar [OPTION]... [BASENAME]...&lt;br /&gt;
Erzeuge AceUnit Unit Test Header-Dateien für ein oder mehrere Test-Suiten mit den angegebenen BASENAME(s) (.c-Suffix bei Fixtures weglassen).&lt;/p&gt;
&lt;p&gt;--exit   : Java VM mit Fehlercode beenden. Empfohlen in Makefiles, Shell-Skripten oder DOS-Batches.&lt;br /&gt;
-f, --force  : Schreibgeschützte Dateien überschreiben.&lt;br /&gt;
-h, --help   : Diese Hilfe anzeigen und beenden. (abbrechend)&lt;br /&gt;
-o           : Write a table of all tests and their ids to the specified file.&lt;br /&gt;
--print  : Specifies what to print. Comman separated enum set.&lt;br /&gt;
suites: Print suite file names.&lt;br /&gt;
--version: Versionsinformation ausgeben und beenden. (abbrechend)&lt;/p&gt;
&lt;p&gt;Beispiele:&lt;br /&gt;
java -jar AceUnit.jar sortTest&lt;br /&gt;
java -jar AceUnit.jar --print=generated -o alltests.txt src/test/&lt;/p&gt;
&lt;p&gt;What is strange about this is the position of "suites".&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Runner does not properly execute @BeforeClass methods</title><link href="https://sourceforge.net/p/aceunit/bugs/28/" rel="alternate"/><published>2008-12-03T17:42:18Z</published><updated>2008-12-03T17:42:18Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netf1875ea73932283241bcb9c26ebbad1db6571297</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Bug: Runner does not properly execute @BeforeClass methods&lt;/p&gt;
&lt;p&gt;Reason: The runner does not initialize the local boolean variable ranBeforeClass. Should be initialized with false.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>If ACEUNIT_SUITES is disabled, runSuite(s) should not work</title><link href="https://sourceforge.net/p/aceunit/bugs/27/" rel="alternate"/><published>2008-12-02T12:58:02Z</published><updated>2008-12-02T12:58:02Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netb07f2db226f46f910ab9504eaa8671badc0f45dd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If ACEUNIT_SUITES is disabled, runSuite(s) should not work&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Testcase cplusplus should reference CXX instead of g++</title><link href="https://sourceforge.net/p/aceunit/bugs/26/" rel="alternate"/><published>2008-11-22T09:29:12Z</published><updated>2008-11-22T09:29:12Z</updated><author><name>Christian Hujer</name><uri>https://sourceforge.net/u/christianhujer/</uri></author><id>https://sourceforge.net86cbd0581057105ad362621341b13af8ba440209</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The test case cplusplus references g++ directly. Instead it should reference $(CXX) to let Make resp. the user choose which C++ compiler is used.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Suite.c should have distinguishable name</title><link href="https://sourceforge.net/p/aceunit/bugs/25/" rel="alternate"/><published>2008-11-21T14:57:18Z</published><updated>2008-11-21T14:57:18Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net9f01988a4a99ba64d5c2dc1a96c7a3c1c8bd9ff3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;To also work in environments where a directory tree is compiled into a single output directory instead of a tree (source -&amp;gt; object flattening), each Suite.c needs to have a distinct unique name to prevent clashes with other Suite.c files.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>const TestFixture_t needs to be extern</title><link href="https://sourceforge.net/p/aceunit/bugs/24/" rel="alternate"/><published>2008-11-21T14:56:16Z</published><updated>2008-11-21T14:56:16Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net94e6f4cdcec693ea1b6bb05c2792e7915ceb97aa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Because linking in a C++ compiler works different from linking in a C compiler, and AceUnit should also work in a C++ environment, const TestFixture_t as generated by the generator needs to be declared extern. If not, the symbol will not be exported by a C++ compiler and thus linking to the symbol for linking the Suites fails.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Possible redefinition of uint16_t</title><link href="https://sourceforge.net/p/aceunit/bugs/23/" rel="alternate"/><published>2008-03-26T14:02:03Z</published><updated>2008-03-26T14:02:03Z</updated><author><name>z0ra</name><uri>https://sourceforge.net/u/z0ra/</uri></author><id>https://sourceforge.net744be36b73fa45956e462e2264a8c722eebf2e4b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If on a system a typedef for uint16_t already exists AceUnit's definition in AceUnit.h will cause an error.&lt;/p&gt;
&lt;p&gt;Possible solution:&lt;br /&gt;
protect this typedef by a preprocessor directive like #ifndef _STDINT_H&lt;br /&gt;
typedef ... uint16_t;&lt;br /&gt;
...&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>