aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T4.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T4.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T4.js44
1 files changed, 0 insertions, 44 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T4.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T4.js
deleted file mode 100644
index af909af21..000000000
--- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T4.js
+++ /dev/null
@@ -1,44 +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.2.4.4_A1_T4;
-* @section: 15.2.4.4;
-* @assertion: The valueOf method returns its "this" value;
-* @description: "this" value is an object;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.2.4.4_A1_T4",
-
-path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.4_Object.prototype.valueOf/S15.2.4.4_A1_T4.js",
-
-assertion: "The valueOf method returns its \"this\" value",
-
-description: "\"this\" value is an object",
-
-test: function testcase() {
- //CHECK#1
-if (typeof Object.prototype.valueOf !== "function") {
- $ERROR('#1: valueOf method defined');
-}
-
-var obj=new Object;
-
-//CHECK#2
-if (typeof obj.valueOf !== "function") {
- $ERROR('#2: valueOf method accessed');
-}
-
-//CHECK#3
-if (obj.valueOf()!==obj) {
- $ERROR('#3: The valueOf method returns its this value');
-}
-
-
- }
-});
-