<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/utest/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/utest/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 10 Feb 2014 10:14:26 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/utest/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Home modified by Lukas Kucera</title><link>https://sourceforge.net/p/utest/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -17,7 +17,7 @@
 - Micro-framework then evaluates test case as failed and adjusts statistics for test case and suite that contains this test case,

 **Usage**
-1 At the beginning, user has to create test suite(s),
+- At the beginning, user has to create test suite(s),
 - Then adds test cases to created suites,
 - Adds suite to test plan,
 - Previous steps are done for each suite(s) and case(s) as necessary,
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lukas Kucera</dc:creator><pubDate>Mon, 10 Feb 2014 10:14:26 -0000</pubDate><guid>https://sourceforge.net78adf86de9926b4bc2301d688a6eea31b4a2ce2c</guid></item><item><title>Home modified by Lukas Kucera</title><link>https://sourceforge.net/p/utest/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -11,18 +11,18 @@
 - Dynamic adding and removing of tests into suite and suites into test plan.

 **Theory of Operation**
-1 User includes this file - ut.h,
-+ User writes test case in form of functions with this format: void {function name}(void),
-+ In every test case user uses asserts functions which evaluates logical expressions or (not)expected values with real ones and in case of fail records that failure into test case,
-+ Micro-framework then evaluates test case as failed and adjusts statistics for test case and suite that contains this test case,
+- User includes this file - ut.h,
+- User writes test case in form of functions with this format: void {function name}(void),
+- In every test case user uses asserts functions which evaluates logical expressions or (not)expected values with real ones and in case of fail records that failure into test case,
+- Micro-framework then evaluates test case as failed and adjusts statistics for test case and suite that contains this test case,

 **Usage**
 1 At the beginning, user has to create test suite(s),
-+ Then adds test cases to created suites,
-+ Adds suite to test plan,
-+ Previous steps are done for each suite(s) and case(s) as necessary,
-+ Test plan or particular test suite only is then run,
-+ After every suite is tested, it has to be destroyed by appropriate call.
+- Then adds test cases to created suites,
+- Adds suite to test plan,
+- Previous steps are done for each suite(s) and case(s) as necessary,
+- Test plan or particular test suite only is then run,
+- After every suite is tested, it has to be destroyed by appropriate call.

 **Changelog**
 *v2.7*
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lukas Kucera</dc:creator><pubDate>Mon, 10 Feb 2014 10:14:08 -0000</pubDate><guid>https://sourceforge.net44f95d55888295e43a52a4b7ab49677b1fbc6fff</guid></item><item><title>Home modified by Lukas Kucera</title><link>https://sourceforge.net/p/utest/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -26,6 +26,7 @@

 **Changelog**
 *v2.7*
+- published selftest of the library: two test cases - one with all positive 34 assertions that should pass and one with all 35 negative assertions that should fail
 - fixed non-counting some assertions
 - added support for comparison of wchar_t

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lukas Kucera</dc:creator><pubDate>Mon, 10 Feb 2014 10:13:37 -0000</pubDate><guid>https://sourceforge.net30e73263d1751c0643ff6e59179670988d7d7ac3</guid></item><item><title>Home modified by Lukas Kucera</title><link>https://sourceforge.net/p/utest/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -25,3 +25,18 @@
 + After every suite is tested, it has to be destroyed by appropriate call.

 **Changelog**
+*v2.7*
+- fixed non-counting some assertions
+- added support for comparison of wchar_t
+
+*v2.6.2*
+- fixed warnings and errors that came up from CppCheck
+
+*v2.6.1*
+- fix of documentation bugs only
+
+*v2.6*
+- many bugfixes
+- first public release
+
+*Note: for older changes please check repository log.*
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lukas Kucera</dc:creator><pubDate>Mon, 10 Feb 2014 10:10:21 -0000</pubDate><guid>https://sourceforge.netfdedf0647c7dc705ec816d609664cb3289eb426d</guid></item><item><title>Home modified by Lukas Kucera</title><link>https://sourceforge.net/p/utest/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,23 +1,27 @@
-Introduction
+**Introduction**

 This is an unit test micro-framework written in C language. Supports test cases and test suites. This library is capable of single test case statistics, test suite statistics and over-all statistics. Each test case is recorded in human readable format and tester can determine source of test failure. Test suite is a group of test cases that tests same functionalities or belong together by logic.
 Features

-List of features:
-    assert for every basic type (except wide strings and wide chars),
-    statistics and info for each failure,
-    statistics and info for each test case,
-    statistics and info for test suite,
-    dynamic adding and removing of tests into suite and suites into test plan.
+**Features**
+- Assertion for every basic type (except wide strings),
+- Statistics and info for each failure,
+- Statistics and info for each test case,
+- Statistics and info for test suite,
+- Dynamic adding and removing of tests into suite and suites into test plan.

-Usage
-    User includes this file - ut.h,
-    User writes test case in form of functions with this format: void {function name}(void),
-    In every test case user uses asserts functions which evaluates logical expressions or (not)expected values with real ones and in case of fail records that failure into test case,
-    Micro-framework then evaluates test case as failed and adjusts statistics for test case and suite that contains this test case,
-    At the beginning, user has to create test suite(s),
-    Then adds test cases to created suites,
-    Adds suite to test plan,
-    Previous steps are done for each suite(s) and case(s) as necessary,
-    Test plan or particular test suite only is then run,
-    After every suite is tested, it has to be destroyed by appropriate call.
+**Theory of Operation**
+1 User includes this file - ut.h,
++ User writes test case in form of functions with this format: void {function name}(void),
++ In every test case user uses asserts functions which evaluates logical expressions or (not)expected values with real ones and in case of fail records that failure into test case,
++ Micro-framework then evaluates test case as failed and adjusts statistics for test case and suite that contains this test case,
+
+**Usage**
+1 At the beginning, user has to create test suite(s),
++ Then adds test cases to created suites,
++ Adds suite to test plan,
++ Previous steps are done for each suite(s) and case(s) as necessary,
++ Test plan or particular test suite only is then run,
++ After every suite is tested, it has to be destroyed by appropriate call.
+
+**Changelog**
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lukas Kucera</dc:creator><pubDate>Mon, 10 Feb 2014 10:09:06 -0000</pubDate><guid>https://sourceforge.net0ecf2c3cbcdea54c6719d47c2a5b64b21602ae7f</guid></item><item><title>Home modified by Lukas Kucera</title><link>https://sourceforge.net/p/utest/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,8 +1,23 @@
-Welcome to your wiki!
+Introduction

-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
+This is an unit test micro-framework written in C language. Supports test cases and test suites. This library is capable of single test case statistics, test suite statistics and over-all statistics. Each test case is recorded in human readable format and tester can determine source of test failure. Test suite is a group of test cases that tests same functionalities or belong together by logic.
+Features

-The wiki uses [Markdown](/p/utest/wiki/markdown_syntax/) syntax.
+List of features:
+    assert for every basic type (except wide strings and wide chars),
+    statistics and info for each failure,
+    statistics and info for each test case,
+    statistics and info for test suite,
+    dynamic adding and removing of tests into suite and suites into test plan.

-[[members limit=20]]
-[[download_button]]
+Usage
+    User includes this file - ut.h,
+    User writes test case in form of functions with this format: void {function name}(void),
+    In every test case user uses asserts functions which evaluates logical expressions or (not)expected values with real ones and in case of fail records that failure into test case,
+    Micro-framework then evaluates test case as failed and adjusts statistics for test case and suite that contains this test case,
+    At the beginning, user has to create test suite(s),
+    Then adds test cases to created suites,
+    Adds suite to test plan,
+    Previous steps are done for each suite(s) and case(s) as necessary,
+    Test plan or particular test suite only is then run,
+    After every suite is tested, it has to be destroyed by appropriate call.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lukas Kucera</dc:creator><pubDate>Wed, 04 Dec 2013 11:10:10 -0000</pubDate><guid>https://sourceforge.net1d801e1867113669762a0e489368b633da2d4d1b</guid></item><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/utest/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;ntroduction&lt;/p&gt;
&lt;p&gt;This is an unit test micro-framework written in C language. Supports test cases and test suites. This library is capable of single test case statistics, test suite statistics and over-all statistics. Each test case is recorded in human readable format and tester can determine source of test failure. Test suite is a group of test cases that tests same functionalities or belong together by logic.&lt;br /&gt;
Features&lt;/p&gt;
&lt;p&gt;List of features:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;assert&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;every&lt;/span&gt; &lt;span class="n"&gt;basic&lt;/span&gt; &lt;span class="n"&gt;type&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;except&lt;/span&gt; &lt;span class="n"&gt;wide&lt;/span&gt; &lt;span class="n"&gt;strings&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;wide&lt;/span&gt; &lt;span class="n"&gt;chars&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
&lt;span class="n"&gt;statistics&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;info&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;each&lt;/span&gt; &lt;span class="n"&gt;failure&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="n"&gt;statistics&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;info&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;each&lt;/span&gt; &lt;span class="n"&gt;test&lt;/span&gt; &lt;span class="k"&gt;case&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="n"&gt;statistics&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;info&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;test&lt;/span&gt; &lt;span class="n"&gt;suite&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="n"&gt;dynamic&lt;/span&gt; &lt;span class="n"&gt;adding&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;removing&lt;/span&gt; &lt;span class="n"&gt;of&lt;/span&gt; &lt;span class="n"&gt;tests&lt;/span&gt; &lt;span class="n"&gt;into&lt;/span&gt; &lt;span class="n"&gt;suite&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;suites&lt;/span&gt; &lt;span class="n"&gt;into&lt;/span&gt; &lt;span class="n"&gt;test&lt;/span&gt; &lt;span class="n"&gt;plan&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Usage&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nx"&gt;User&lt;/span&gt; &lt;span class="nx"&gt;includes&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt; &lt;span class="nx"&gt;file&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="nx"&gt;ut&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;h&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="nx"&gt;User&lt;/span&gt; &lt;span class="nx"&gt;writes&lt;/span&gt; &lt;span class="nx"&gt;test&lt;/span&gt; &lt;span class="k"&gt;case&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nx"&gt;form&lt;/span&gt; &lt;span class="nx"&gt;of&lt;/span&gt; &lt;span class="nx"&gt;functions&lt;/span&gt; &lt;span class="kd"&gt;with&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt; &lt;span class="nx"&gt;format&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="k"&gt;void&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nx"&gt;name&lt;/span&gt;&lt;span class="p"&gt;}(&lt;/span&gt;&lt;span class="k"&gt;void&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
&lt;span class="nx"&gt;In&lt;/span&gt; &lt;span class="nx"&gt;every&lt;/span&gt; &lt;span class="nx"&gt;test&lt;/span&gt; &lt;span class="k"&gt;case&lt;/span&gt; &lt;span class="nx"&gt;user&lt;/span&gt; &lt;span class="nx"&gt;uses&lt;/span&gt; &lt;span class="nx"&gt;asserts&lt;/span&gt; &lt;span class="nx"&gt;functions&lt;/span&gt; &lt;span class="nx"&gt;which&lt;/span&gt; &lt;span class="nx"&gt;evaluates&lt;/span&gt; &lt;span class="nx"&gt;logical&lt;/span&gt; &lt;span class="nx"&gt;expressions&lt;/span&gt; &lt;span class="nx"&gt;or&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;not&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="nx"&gt;expected&lt;/span&gt; &lt;span class="nx"&gt;values&lt;/span&gt; &lt;span class="kd"&gt;with&lt;/span&gt; &lt;span class="nx"&gt;real&lt;/span&gt; &lt;span class="nx"&gt;ones&lt;/span&gt; &lt;span class="nx"&gt;and&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="k"&gt;case&lt;/span&gt; &lt;span class="nx"&gt;of&lt;/span&gt; &lt;span class="nx"&gt;fail&lt;/span&gt; &lt;span class="nx"&gt;records&lt;/span&gt; &lt;span class="nx"&gt;that&lt;/span&gt; &lt;span class="nx"&gt;failure&lt;/span&gt; &lt;span class="nx"&gt;into&lt;/span&gt; &lt;span class="nx"&gt;test&lt;/span&gt; &lt;span class="k"&gt;case&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="nx"&gt;Micro&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;framework&lt;/span&gt; &lt;span class="nx"&gt;then&lt;/span&gt; &lt;span class="nx"&gt;evaluates&lt;/span&gt; &lt;span class="nx"&gt;test&lt;/span&gt; &lt;span class="k"&gt;case&lt;/span&gt; &lt;span class="nx"&gt;as&lt;/span&gt; &lt;span class="nx"&gt;failed&lt;/span&gt; &lt;span class="nx"&gt;and&lt;/span&gt; &lt;span class="nx"&gt;adjusts&lt;/span&gt; &lt;span class="nx"&gt;statistics&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="nx"&gt;test&lt;/span&gt; &lt;span class="k"&gt;case&lt;/span&gt; &lt;span class="nx"&gt;and&lt;/span&gt; &lt;span class="nx"&gt;suite&lt;/span&gt; &lt;span class="nx"&gt;that&lt;/span&gt; &lt;span class="nx"&gt;contains&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt; &lt;span class="nx"&gt;test&lt;/span&gt; &lt;span class="k"&gt;case&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="nx"&gt;At&lt;/span&gt; &lt;span class="nx"&gt;the&lt;/span&gt; &lt;span class="nx"&gt;beginning&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;user&lt;/span&gt; &lt;span class="nx"&gt;has&lt;/span&gt; &lt;span class="nx"&gt;to&lt;/span&gt; &lt;span class="nx"&gt;create&lt;/span&gt; &lt;span class="nx"&gt;test&lt;/span&gt; &lt;span class="nx"&gt;suite&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;s&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
&lt;span class="nx"&gt;Then&lt;/span&gt; &lt;span class="nx"&gt;adds&lt;/span&gt; &lt;span class="nx"&gt;test&lt;/span&gt; &lt;span class="nx"&gt;cases&lt;/span&gt; &lt;span class="nx"&gt;to&lt;/span&gt; &lt;span class="nx"&gt;created&lt;/span&gt; &lt;span class="nx"&gt;suites&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="nx"&gt;Adds&lt;/span&gt; &lt;span class="nx"&gt;suite&lt;/span&gt; &lt;span class="nx"&gt;to&lt;/span&gt; &lt;span class="nx"&gt;test&lt;/span&gt; &lt;span class="nx"&gt;plan&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="nx"&gt;Previous&lt;/span&gt; &lt;span class="nx"&gt;steps&lt;/span&gt; &lt;span class="nx"&gt;are&lt;/span&gt; &lt;span class="nx"&gt;done&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="nx"&gt;each&lt;/span&gt; &lt;span class="nx"&gt;suite&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;s&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="nx"&gt;and&lt;/span&gt; &lt;span class="k"&gt;case&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;s&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="nx"&gt;as&lt;/span&gt; &lt;span class="nx"&gt;necessary&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="nx"&gt;Test&lt;/span&gt; &lt;span class="nx"&gt;plan&lt;/span&gt; &lt;span class="nx"&gt;or&lt;/span&gt; &lt;span class="nx"&gt;particular&lt;/span&gt; &lt;span class="nx"&gt;test&lt;/span&gt; &lt;span class="nx"&gt;suite&lt;/span&gt; &lt;span class="nx"&gt;only&lt;/span&gt; &lt;span class="nx"&gt;is&lt;/span&gt; &lt;span class="nx"&gt;then&lt;/span&gt; &lt;span class="nx"&gt;run&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="nx"&gt;After&lt;/span&gt; &lt;span class="nx"&gt;every&lt;/span&gt; &lt;span class="nx"&gt;suite&lt;/span&gt; &lt;span class="nx"&gt;is&lt;/span&gt; &lt;span class="nx"&gt;tested&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;it&lt;/span&gt; &lt;span class="nx"&gt;has&lt;/span&gt; &lt;span class="nx"&gt;to&lt;/span&gt; &lt;span class="nx"&gt;be&lt;/span&gt; &lt;span class="nx"&gt;destroyed&lt;/span&gt; &lt;span class="nx"&gt;by&lt;/span&gt; &lt;span class="nx"&gt;appropriate&lt;/span&gt; &lt;span class="nx"&gt;call&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Example&lt;/p&gt;
&lt;p&gt;Following example shows one test case - foo_test and one test suite - foo suite.&lt;br /&gt;
 void foo_test( void )&lt;br /&gt;
 {&lt;br /&gt;
 // &lt;em&gt;utd&lt;/em&gt; macro is necessary to insert for details of failure.&lt;br /&gt;
 ut.assert.are_equal_i8( 0x7F, 0x7F, &lt;em&gt;utd&lt;/em&gt; );&lt;br /&gt;
 ut.assert.is_true( 0xFFFF &amp;gt; 0xFF, &lt;em&gt;utd&lt;/em&gt; );&lt;br /&gt;
 ut.assert.is_null( null, &lt;em&gt;utd&lt;/em&gt; );&lt;br /&gt;
 }&lt;/p&gt;
&lt;p&gt;int main( void )&lt;br /&gt;
 {&lt;br /&gt;
 int r = 0;&lt;/p&gt;
&lt;p&gt;// Create new suite&lt;br /&gt;
 ut_suite_t* foo = ut.suite.create( "foo" );&lt;/p&gt;
&lt;p&gt;// Suite was allocated&lt;br /&gt;
 if ( foo != null )&lt;br /&gt;
 {&lt;br /&gt;
 // Add test to suite&lt;br /&gt;
 if ( ut.suite.add( foo, foo_test, "foo test" ) )&lt;br /&gt;
 {&lt;/p&gt;
&lt;p&gt;// Add suite to test plan&lt;br /&gt;
 if ( ut.add( foo ) )&lt;br /&gt;
 {&lt;br /&gt;
 // Run test plan&lt;br /&gt;
 ut.run();&lt;/p&gt;
&lt;p&gt;// Get result from test plan&lt;br /&gt;
 if ( ut.result() == UT_SUCCESS )&lt;br /&gt;
 {&lt;br /&gt;
 // Return 0 as OK&lt;br /&gt;
 r = 0;&lt;br /&gt;
 }&lt;br /&gt;
 else if ( ut.result() == UT_FAIL )&lt;br /&gt;
 {&lt;br /&gt;
 r = -2;&lt;br /&gt;
 }&lt;br /&gt;
 else if ( ut.result() == UT_UNKNOWN )&lt;br /&gt;
 {&lt;br /&gt;
 r = -3;&lt;br /&gt;
 }&lt;br /&gt;
 else&lt;br /&gt;
 {&lt;br /&gt;
 r = -4;&lt;br /&gt;
 }&lt;/p&gt;
&lt;p&gt;// Remove everything&lt;br /&gt;
 ut.remove_all();&lt;br /&gt;
 }&lt;br /&gt;
 }&lt;br /&gt;
 // Destroy suite&lt;br /&gt;
 ut.suite.destroy( foo );&lt;br /&gt;
 foo = null;&lt;br /&gt;
 }&lt;br /&gt;
 return r;&lt;br /&gt;
 }&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lukas Kucera</dc:creator><pubDate>Wed, 04 Dec 2013 11:08:47 -0000</pubDate><guid>https://sourceforge.net53b0a0860986ffbd1e8107ca6b731177f2e007ba</guid></item><item><title>Home modified by Lukas Kucera</title><link>https://sourceforge.net/p/utest/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/utest/wiki/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;h6&gt;Project Members:&lt;/h6&gt;
&lt;ul class="md-users-list"&gt;
&lt;li&gt;&lt;a href="/u/kerbos/"&gt;Lukas Kucera&lt;/a&gt; (admin)&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;span class="download-button-529f0a29c4d10425018995d8" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lukas Kucera</dc:creator><pubDate>Wed, 04 Dec 2013 10:55:38 -0000</pubDate><guid>https://sourceforge.net321010668f75b39db60cde603cd926d346f0602a</guid></item></channel></rss>