summaryrefslogtreecommitdiffstats
path: root/qx08/source/class/tr/test/DemoTest.js
diff options
context:
space:
mode:
Diffstat (limited to 'qx08/source/class/tr/test/DemoTest.js')
-rw-r--r--qx08/source/class/tr/test/DemoTest.js67
1 files changed, 35 insertions, 32 deletions
diff --git a/qx08/source/class/tr/test/DemoTest.js b/qx08/source/class/tr/test/DemoTest.js
index 76ce685..0f6a04f 100644
--- a/qx08/source/class/tr/test/DemoTest.js
+++ b/qx08/source/class/tr/test/DemoTest.js
@@ -20,36 +20,39 @@
* 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
- */
- testSimple : function()
- {
- this.assertEquals(4, 3+1, "This should never fail!");
- this.assertFalse(false, "Can false be true?!");
- },
-
- /**
- * Here are some more advanced tests
- */
- 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]!");
+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