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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user