Commit c1acda7c c1acda7c5b0de7f347556923cd846208ae569153 by Nicolas Perriault

closes #103 - added Tester.assertNotEquals

1 parent 0085284f
...@@ -13,6 +13,7 @@ XXXX-XX-XX, v0.6.7 ...@@ -13,6 +13,7 @@ XXXX-XX-XX, v0.6.7
13 > saving 10 megs or so of memory because the python process is discarded. 13 > saving 10 megs or so of memory because the python process is discarded.
14 - fixes [#109](https://github.com/n1k0/casperjs/issues/109) - CLI args containing `=` (equals sign) were not parsed properly 14 - fixes [#109](https://github.com/n1k0/casperjs/issues/109) - CLI args containing `=` (equals sign) were not parsed properly
15 - fixes [#100](https://github.com/n1k0/casperjs/issues/100) & [#110](https://github.com/n1k0/casperjs/issues/110) - *googlepagination* sample was broken 15 - fixes [#100](https://github.com/n1k0/casperjs/issues/100) & [#110](https://github.com/n1k0/casperjs/issues/110) - *googlepagination* sample was broken
16 - merged #103 - added `Tester.assertNotEquals` method (@juliangruber)
16 17
17 2012-04-27, v0.6.6 18 2012-04-27, v0.6.6
18 ------------------ 19 ------------------
......
...@@ -26,6 +26,8 @@ t.assertNot(t.testEquals({1:{name:"bob",age:28}, 2:{name:"john",age:26}}, {1:{na ...@@ -26,6 +26,8 @@ t.assertNot(t.testEquals({1:{name:"bob",age:28}, 2:{name:"john",age:26}}, {1:{na
26 t.assert(t.testEquals(function(x){return x;}, function(x){return x;}), 'Tester.testEquals() function equality'); 26 t.assert(t.testEquals(function(x){return x;}, function(x){return x;}), 'Tester.testEquals() function equality');
27 t.assertNot(t.testEquals(function(x){return x;}, function(y){return y+2;}), 'Tester.testEquals() function inequality'); 27 t.assertNot(t.testEquals(function(x){return x;}, function(y){return y+2;}), 'Tester.testEquals() function inequality');
28 28
29 t.assertNotEquals(42, 43, 'Tester.assertNotEquals() works as expected');
30
29 t.comment('Tester.sortFiles()'); 31 t.comment('Tester.sortFiles()');
30 var testDirRoot = fs.pathJoin(phantom.casperPath, 'tests', 'testdir'); 32 var testDirRoot = fs.pathJoin(phantom.casperPath, 'tests', 'testdir');
31 var files = t.findTestFiles(testDirRoot); 33 var files = t.findTestFiles(testDirRoot);
......