diff options
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T1.js')
-rw-r--r-- | test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T1.js | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T1.js deleted file mode 100644 index 6cd3f6567..000000000 --- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T1.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * @name: S15.6.1.1_A1_T1;
- * @section: 15.6.1.1;
- * @assertion: Returns a boolean value (not a Boolean object) computed by
- * ToBoolean(value);
- * @description: Used values 1, new String("1"), new Object(1) and called without argument;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.6.1.1_A1_T1",
-
-path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.1_The_Boolean_Constructor_Called_as_a_Function/S15.6.1.1_A1_T1.js",
-
-assertion: "Returns a boolean value (not a Boolean object) computed by",
-
-description: "Used values 1, new String(\"1\"), new Object(1) and called without argument",
-
-test: function testcase() {
- //CHECK#1
-if( typeof Boolean() !== "boolean" ) {
- $ERROR('#1: typeof Boolean() should be "boolean", actual is "'+typeof Boolean()+'"');
-}
-
-//CHECK#2
-if( typeof Boolean(1) !== "boolean" ) {
- $ERROR('#2: typeof Boolean(1) should be "boolean", actual is "'+typeof Boolean(1)+'"');
-}
-
-//CHECK#3
-if( typeof Boolean(new String("1")) !== "boolean" ) {
- $ERROR('#3: typeof Boolean(new String("1")) should be "boolean", actual is "'+typeof Boolean(new String("1"))+'"');
-}
-
-//CHECK#4
-if( typeof Boolean(new Object(1)) !== "boolean" ) {
- $ERROR('#4: typeof Boolean(new Object(1)) should be "boolean", actual is "'+typeof Boolean(new Object(1))+'"');
-}
-
-
- }
-});
-
|