JavaScript Tests - standardize test reporting for shell and browser, bug 380257

git-svn-id: svn://10.0.0.236/trunk@227049 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bclary%bclary.com
2007-05-26 00:19:49 +00:00
parent 86376b8166
commit 046573bad4
2514 changed files with 83977 additions and 75356 deletions

View File

@@ -35,6 +35,9 @@
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
gTestfile = 'byte-002.js';
/**
* java array objects "inherit" JS string methods. verify that byte arrays
* can inherit JavaScript Array object methods
@@ -50,8 +53,8 @@ startTest();
var b = new java.lang.String("abcdefghijklmnopqrstuvwxyz").getBytes();
new TestCase(
"var b = new java.lang.String(\"abcdefghijklmnopqrstuvwxyz\").getBytes(); b.valueOf()",
b,
b.valueOf() );
"var b = new java.lang.String(\"abcdefghijklmnopqrstuvwxyz\").getBytes(); b.valueOf()",
b,
b.valueOf() );
test();