aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A2.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A2.js46
1 files changed, 0 insertions, 46 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A2.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A2.js
deleted file mode 100644
index 0a86cf112..000000000
--- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A2.js
+++ /dev/null
@@ -1,46 +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.5.5.1_A2;
-* @section: 15.5.5.1;
-* @assertion: length property has the attributes {DontEnum};
-* @description: Checking if enumerating the length property of String fails;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.5.5.1_A2",
-
-path: "TestCases/15_Native/15.5_String_Objects/15.5.5_Properties_of_String_Instances/S15.5.5.1_A2.js",
-
-assertion: "length property has the attributes {DontEnum}",
-
-description: "Checking if enumerating the length property of String fails",
-
-test: function testcase() {
- var __str__instance = new String("globglob");
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#1
-if (!(__str__instance.hasOwnProperty("length"))) {
- $ERROR('#1: var __str__instance = new String("globglob"); __str__instance.hasOwnProperty("length") return true. Actual: '+__str__instance.hasOwnProperty("length"));
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#2
-for(prop in __str__instance){
- if (prop === "length") {
- $ERROR('#2: length property has the attributes {DontEnum}');
- }
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
- }
-});
-