diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2008-11-17 09:56:24 +0100 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2008-11-17 09:56:24 +0100 |
commit | f9d6f26cbf330d3c951a8801f963e685f64cc39c (patch) | |
tree | 248f9f553302712dbdcc6b0bd3a816e36bb9e2a5 /qx08/source/class/tr/test | |
parent | d8b465e26599268b8eded0732e8f29062556997e (diff) | |
download | smokeping-f9d6f26cbf330d3c951a8801f963e685f64cc39c.tar.gz smokeping-f9d6f26cbf330d3c951a8801f963e685f64cc39c.tar.xz |
added initial 0.8 port ... not quite working yet
Diffstat (limited to 'qx08/source/class/tr/test')
-rw-r--r-- | qx08/source/class/tr/test/DemoTest.js | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/qx08/source/class/tr/test/DemoTest.js b/qx08/source/class/tr/test/DemoTest.js deleted file mode 100644 index 0f6a04f..0000000 --- a/qx08/source/class/tr/test/DemoTest.js +++ /dev/null @@ -1,58 +0,0 @@ -/* ************************************************************************ - - Copyright: - - License: - - Authors: - -************************************************************************ */ - -/** - * This class demonstrates how to define unit tests for your application. - * - * Execute <code>generate.py test</code> to generate a testrunner application - * and open it from <tt>test/index.html</tt> - * - * The methods that contain the tests are instance methods with a - * <code>test</code> prefix. You can create an arbitrary number of test - * classes like this one. They can be organized in a regular class hierarchy, - * i.e. using deeper namespaces and a corresponding file structure within the - * <tt>test</tt> folder. - */ -qx.Class.define("tr.test.DemoTest", { - extend : qx.dev.unit.TestCase, - - members : { - /* - --------------------------------------------------------------------------- - TESTS - --------------------------------------------------------------------------- - */ - - /** - * Here are some simple tests - * - * @type member - * @return {void} - */ - testSimple : function() { - this.assertEquals(4, 3 + 1, "This should never fail!"); - this.assertFalse(false, "Can false be true?!"); - }, - - - /** - * Here are some more advanced tests - * - * @type member - * @return {void} - */ - testAdvanced : function() { - var a = 3; - var b = a; - this.assertIdentical(a, b, "A rose by any other name is still a rose"); - this.assertInRange(3, 1, 10, "You must be kidding, 3 can never be outside [1,10]!"); - } - } -});
\ No newline at end of file |