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.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A1_T1.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.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A1_T1.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.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A1_T1.js55
1 files changed, 0 insertions, 55 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.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A1_T1.js
deleted file mode 100644
index 26038948b..000000000
--- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A1_T1.js
+++ /dev/null
@@ -1,55 +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.7_A1_T1;
-* @section: 15.2.4.7;
-* @assertion: The propertyIsEnumerable method does not consider objects in the prototype chain;
-* @description: Calling the propertyIsEnumerable method for object in the prototype chain;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.2.4.7_A1_T1",
-
-path: "TestCases/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.7_Object.prototype.propertyIsEnumerable/S15.2.4.7_A1_T1.js",
-
-assertion: "The propertyIsEnumerable method does not consider objects in the prototype chain",
-
-description: "Calling the propertyIsEnumerable method for object in the prototype chain",
-
-test: function testcase() {
- //CHECK#1
-if (typeof Object.prototype.propertyIsEnumerable !== "function") {
- $ERROR('#1: propertyIsEnumerable method is defined');
-}
-
-var proto={rootprop:"avis"};
-
-function AVISFACTORY(name){this.name=name};
-
-AVISFACTORY.prototype = proto;
-
-var seagull= new AVISFACTORY("seagull");
-
-//CHECK#2
-if (typeof seagull.propertyIsEnumerable !== "function") {
- $ERROR('#2: propertyIsEnumerable method is accessed');
-}
-
-//CHECK#3
-if (!(seagull.propertyIsEnumerable("name"))) {
- $ERROR('#3: propertyIsEnumerable method works properly');
-}
-
-//CHECK#4
-if (seagull.propertyIsEnumerable("rootprop")) {
- $ERROR('#4: propertyIsEnumerable method does not consider objects in the prototype chain');
-}
-//
-
- }
-});
-