15.4.4.14-9-b-i-6.js and 15.4.4.15-9-b-i-6.js were never reviewed internally at Microsoft

for their adherence to the ES5 specs. Removing until we've fulfilled all internal policies
around these two tests.
This commit is contained in:
David Fugate 2010-11-16 08:00:32 -08:00
parent 2f34b4e050
commit 3fedec4130
6 changed files with 2 additions and 200 deletions

View File

@ -1,49 +0,0 @@
/// Copyright (c) 2009 Microsoft Corporation
///
/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
/// that the following conditions are met:
/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
/// the following disclaimer.
/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
/// the following disclaimer in the documentation and/or other materials provided with the distribution.
/// * Neither the name of Microsoft nor the names of its contributors may be used to
/// endorse or promote products derived from this software without specific prior written permission.
///
/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
ES5Harness.registerTest({
id: "15.4.4.14-9-b-i-6",
path: "TestCases/chapter15/15.4/15.4.4/15.4.4.14/15.4.4.14-9-b-i-6.js",
description: "Array.prototype.indexOf when element to be retrieved is own data property that overrides an inherited accessor property on an Array-like object",
test: function testcase() {
try {
Object.defineProperty(Object.prototype, "0", {
get: function () {
return false;
},
configurable: true
});
return 0 === Array.prototype.indexOf.call({ 0: true, 1: 1, length: 2 }, true);
} finally {
delete Object.prototype[0];
}
},
precondition: function prereq() {
return fnExists(Array.prototype.indexOf) && fnExists(Object.defineProperty);
}
});

View File

@ -1,49 +0,0 @@
/// Copyright (c) 2009 Microsoft Corporation
///
/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
/// that the following conditions are met:
/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
/// the following disclaimer.
/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
/// the following disclaimer in the documentation and/or other materials provided with the distribution.
/// * Neither the name of Microsoft nor the names of its contributors may be used to
/// endorse or promote products derived from this software without specific prior written permission.
///
/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
ES5Harness.registerTest({
id: "15.4.4.15-8-b-i-6",
path: "TestCases/chapter15/15.4/15.4.4/15.4.4.15/15.4.4.15-8-b-i-6.js",
description: "Array.prototype.lastIndexOf when element to be retrieved is own data property that overrides an inherited accessor property on an Array-like object",
test: function testcase() {
try {
Object.defineProperty(Object.prototype, "0", {
get: function () {
return false;
},
configurable: true
});
return 0 === Array.prototype.lastIndexOf.call({ 0: true, 1: 1, length: 2 }, true);
} finally {
delete Object.prototype[0];
}
},
precondition: function prereq() {
return fnExists(Array.prototype.lastIndexOf) && fnExists(Object.defineProperty);
}
});

View File

@ -1,49 +0,0 @@
/// Copyright (c) 2009 Microsoft Corporation
///
/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
/// that the following conditions are met:
/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
/// the following disclaimer.
/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
/// the following disclaimer in the documentation and/or other materials provided with the distribution.
/// * Neither the name of Microsoft nor the names of its contributors may be used to
/// endorse or promote products derived from this software without specific prior written permission.
///
/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
ES5Harness.registerTest({
id: "15.4.4.14-9-b-i-6",
path: "TestCases/chapter15/15.4/15.4.4/15.4.4.14/15.4.4.14-9-b-i-6.js",
description: "Array.prototype.indexOf when element to be retrieved is own data property that overrides an inherited accessor property on an Array-like object",
test: function testcase() {
try {
Object.defineProperty(Object.prototype, "0", {
get: function () {
return false;
},
configurable: true
});
return 0 === Array.prototype.indexOf.call({ 0: true, 1: 1, length: 2 }, true);
} finally {
delete Object.prototype[0];
}
},
precondition: function prereq() {
return fnExists(Array.prototype.indexOf) && fnExists(Object.defineProperty);
}
});

View File

@ -1,49 +0,0 @@
/// Copyright (c) 2009 Microsoft Corporation
///
/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
/// that the following conditions are met:
/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
/// the following disclaimer.
/// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
/// the following disclaimer in the documentation and/or other materials provided with the distribution.
/// * Neither the name of Microsoft nor the names of its contributors may be used to
/// endorse or promote products derived from this software without specific prior written permission.
///
/// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
/// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
/// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
/// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
/// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
/// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
/// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
/// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
ES5Harness.registerTest({
id: "15.4.4.15-8-b-i-6",
path: "TestCases/chapter15/15.4/15.4.4/15.4.4.15/15.4.4.15-8-b-i-6.js",
description: "Array.prototype.lastIndexOf when element to be retrieved is own data property that overrides an inherited accessor property on an Array-like object",
test: function testcase() {
try {
Object.defineProperty(Object.prototype, "0", {
get: function () {
return false;
},
configurable: true
});
return 0 === Array.prototype.lastIndexOf.call({ 0: true, 1: 1, length: 2 }, true);
} finally {
delete Object.prototype[0];
}
},
precondition: function prereq() {
return fnExists(Array.prototype.lastIndexOf) && fnExists(Object.defineProperty);
}
});

View File

@ -2,7 +2,7 @@
<!-- adding section element if in the future we want to store information about the -->
<!-- spec structure in this file, for now the section structure is defined in the -->
<!-- sections.js file -->
<section name="Chapter - chapter15" numTests="2253">
<section name="Chapter - chapter15" numTests="2251">
<test id="15.10.6"><![CDATA[RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsNCmlkOiAiMTUuMTAuNiIsDQoNCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjEwLzE1LjEwLjYvMTUuMTAuNi5qcyIsDQoNCmRlc2NyaXB0aW9uOiAiUmVnRXhwLnByb3RvdHlwZSBpcyBpdHNlbGYgYSBSZWdFeHAiLA0KDQp0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsNCiAgdmFyIHMgPSBPYmplY3QucHJvdG90eXBlLnRvU3RyaW5nLmNhbGwoUmVnRXhwLnByb3RvdHlwZSk7DQogIGlmIChzID09PSAnW29iamVjdCBSZWdFeHBdJykgew0KICAgIHJldHVybiB0cnVlOw0KICB9DQogfQ0KfSk7DQo=]]></test>
<test id="15.10.7.1-1"><![CDATA[RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsNCmlkOiAiMTU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RPd25Qcm9wZXJ0eURlc2NyaXB0b3IpOyAgDQogfQ0KfSk7DQo=]]></test>
@ -796,7 +796,6 @@
<test id="15.4.4.14-9-b-i-3"><![CDATA[RVM1SGFybmVzcy5yZWdpc3RlclRlc3Qoew0KDQogICAgaWQ6ICIxNS40LjQuMTQtOS1iLWktMyIsDQoNCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMTQvMTUuNC40LjE0LTktYi1pLTMuanMiLA0KDQogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuaW5kZXhPZiAtIGVsZW1lbnQgdG8gYmUgcmV0cmlldmVkIGlzIG93biBkYXRhIHByb3BlcnR5IHRoYXQgb3ZlcnJpZGVzIGFuIGluaGVyaXRlZCBkYXRhIHByb3BlcnR5IG9uIGFuIEFycmF5IiwNCg0KICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgew0KICAgICAgICB0cnkgew0KICAgICAgICAgICAgQXJyYXkucHJvdG90eXBlWzBdID0gZmFsc2U7DQogICAgICAgICAgICByZXR1cm4gW3RydWVdLmluZGV4T2YodHJ1ZSkgPT09IDA7DQogICAgICAgIH0gZmluYWxseSB7DQogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlWzBdOw0KICAgICAgICB9DQogICAgfSwNCg0KICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgew0KICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmluZGV4T2YpOw0KICAgIH0NCg0KfSk7DQo=]]></test>
<test id="15.4.4.14-9-b-i-4"><![CDATA[RVM1SGFybmVzcy5yZWdpc3RlclRlc3Qoew0KDQogICAgaWQ6ICIxNS40LjQuMTQtOS1iLWktNCIsDQoNCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMTQvMTUuN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GluaGVyaXRlZCBhY2Nlc3NvciBwcm9wZXJ0eSBvbiBhbiBBcnJheSIsDQoNCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsNCiAgICAgICAgdHJ5IHsNCiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShBcnJheS5wcm90b3R5cGUsICIwIiwgew0KICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7DQogICAgICAgICAgICAgICAgfSwNCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUNCiAgICAgICAgICAgIH0pOw0KICAgICAgICAgICAgcmV0dXJuIDAgPT09IFt0cnVlXS5pbmRleE9mKHRydWUpOw0KICAgICAgICB9IGZpbmFsbHkgew0KICAgICAgICAgICAgZGVsZXRlIEFycmF5LnByb3RvdHlwZVswXTsNCiAgICAgICAgfQ0KICAgIH0sDQoNCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsNCiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5pbmRleE9mKSAmJiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOw0KICAgIH0NCg0KfSk7DQo=]]></test>
<test id="15.4.4.14-9-b-i-6"><![CDATA[RVM1SGFybmVzcy5yZWdpc3RlclRlc3Qoew0KDQogICAgaWQ6ICIxNS40LjQuMTQtOS1iLWktNiIsDQoNCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMTQvMTUuNC40LjE0LTktYi1pLTYuanMiLA0KDQogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuaW5kZXhPZiB3aGVuIGVsZW1lbnQgdG8gYmUgcmV0cmlldmVkIGlzIG93biBkYXRhIHByb3BlcnR5IHRoYXQgb3ZlcnJpZGVzIGFuIGluaGVyaXRlZCBhY2Nlc3NvciBwcm9wZXJ0eSBvbiBhbiBBcnJheS1saWtlIG9iamVjdCIsDQoNCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsNCg0KICAgICAgICB0cnkgew0KICAgICAgICAgICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KE9iamVjdC5wcm90b3R5cGUsICIwIiwgew0KICAgICAgICAgICAgICAgIGdldDogZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7DQogICAgICAgICAgICAgICAgfSwNCiAgICAgICAgICAgICAgICBjb25maWd1cmFibGU6IHRydWUNCiAgICAgICAgICAgIH0pOw0KICAgICAgICAgICAgcmV0dXJuIDAgPT09IEFycmF5LnByb3RvdHlwZS5pbmRleE9mLmNhbGwoeyAwOiB0cnVlLCAxOiAxLCBsZW5ndGg6IDIgfSwgdHJ1ZSk7DQogICAgICAgIH0gZmluYWxseSB7DQogICAgICAgICAgICBkZWxldGUgT2JqZWN0LnByb3RvdHlwZVswXTsNCiAgICAgICAgfQ0KICAgIH0sDQoNCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsNCiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5pbmRleE9mKSAmJiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOw0KICAgIH0NCg0KfSk7DQo=]]></test>
<test id="15.4.4.14-9-b-i-7"><![CDATA[RVM1SGFybmVzcy5yZWdpc3RlclRlc3Qoew0KDQogICAgaWQ6ICIxNS40LjQuMTQtOS1iLWktNyIsDQoNCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMTQvMTUuNC40LjE0LTktYi1pLTcuanMiLA0KDQogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuaW5kZXhPZiAtIGVsZW1lbnQgdG8gYmUgcmV0cmlldmVkIGlzIGluaGVyaXRlZCBkYXRhIHByb3BlcnR5IG9uIGFuIEFycmF5IiwNCg0KICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgew0KICAgICAgICB0cnkgew0KICAgICAgICAgICAgQXJyYXkucHJvdG90eXBlWzBdID0gdHJ1ZTsNCiAgICAgICAgICAgIEFycmF5LnByb3RvdHlwZVsxXSA9IGZhbHNlOw0KICAgICAgICAgICAgQXJyYXkucHJvdG90eXBlWzJdID0gInRydWUiOw0KICAgICAgICAgICAgcmV0dXJuIDAgPT09IFssICwgLCBdLmluZGV4T2YodHJ1ZSkgJiYNCiAgICAgICAgICAgICAgICAxID09PSBbLCAsICwgXS5pbmRleE9mKGZhbHNlKSAmJg0KICAgICAgICAgICAgICAgIDIgPT09IFssICwgLCBdLmluZGV4T2YoInRydWUiKTsNCiAgICAgICAgfSBmaW5hbGx5IHsNCiAgICAgICAgICAgIGRlbGV0ZSBBcnJheS5wcm90b3R5cGVbMF07DQogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlWzFdOw0KICAgICAgICAgICAgZGVsZXRlIEFycmF5LnByb3RvdHlwZVsyXTsNCiAgICAgICAgfQ0KICAgIH0sDQoNCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsNCiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5pbmRleE9mKSAmJiAhWywgMV0uaGFzT3duUHJvcGVydHkoMCk7DQogICAgfQ0KDQp9KTsNCg==]]></test>
<test id="15.4.4.14-9-b-i-8"><![CDATA[RVM1SGFybmVzcy5yZWdpc3RlclRlc3Qoew0KDQogICAgaWQ6ICIxNS40LjQuMTQtOS1iLWktOCIsDQoNCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMTQvMTUuNC40LjE0LTktYi1pLTguanMiLA0KDQogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUuaW5kZXhPZiAtIGVsZW1lbnQgdG8gYmUgcmV0cmlldmVkIGlzIGluaGVyaXRlZCBkYXRhIHByb3BlcnR5IG9uIGFuIEFycmF5LWxpa2Ugb2JqZWN0IiwNCg0KICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgew0KDQogICAgICAgIHRyeSB7DQogICAgICAgICAgICBPYmplY3QucHJvdG90eXBlWzBdID0gdHJ1ZTsNCiAgICAgICAgICAgIE9iamVjdC5wcm90b3R5cGVbMV0gPSBmYWxzZTsNCiAgICAgICAgICAgIE9iamVjdC5wcm90b3R5cGVbMl0gPSAidHJ1ZSI7DQogICAgICAgICAgICByZXR1cm4gMCA9PT0gQXJyYXkucHJvdG90eXBlLmluZGV4T2YuY2FsbCh7IGxlbmd0aDogMyB9LCB0cnVlKSAmJg0KICAgICAgICAgICAgICAgIDEgPT09IEFycmF5LnByb3RvdHlwZS5pbmRleE9mLmNhbGwoeyBsZW5ndGg6IDMgfSwgZmFsc2UpICYmDQogICAgICAgICAgICAgICAgMiA9PT0gQXJyYXkucHJvdG90eXBlLmluZGV4T2YuY2FsbCh7IGxlbmd0aDogMyB9LCAidHJ1ZSIpOw0KICAgICAgICB9IGZpbmFsbHkgew0KICAgICAgICAgICAgZGVsZXRlIE9iamVjdC5wcm90b3R5cGVbMF07DQogICAgICAgICAgICBkZWxldGUgT2JqZWN0LnByb3RvdHlwZVsxXTsNCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QucHJvdG90eXBlWzJdOw0KICAgICAgICB9DQogICAgfSwNCg0KICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgew0KICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmluZGV4T2YpOw0KICAgIH0NCg0KfSk7DQo=]]></test>
<test id="15.4.4.14-9-b-ii-1"><![CDATA[RVM1SGFybmVzcy5yZWdpc3RlclRlc3Qoew0KDQogICAgaWQ6ICIxNS40LjQuMTQtOS1iLWlpLTEiLA0KDQogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjE0LzE1LjQuNC4xNC05LWItaWktMS5qcyIsDQoNCiAgICBkZXNjcmlwdGlvbjogIkFycmF5LnByb3RvdHlwZS5pbmRleE9mIC0gdHlwZSBvZiBhcnJheSBlbGVtZW50IGlzIGRpZmZlcmVudCBmcm9tIHR5cGUgb2Ygc2VhcmNoIGVsZW1lbnQiLA0KDQogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7DQoNCiAgICAgICAgcmV0dXJuIFsidHJ1ZSJdLmluZGV4T2YodHJ1ZSkgPT09IC0xICYmDQogICAgICAgICAgICBbIjAiXS5pbmRleE9mKDApID09PSAtMSAmJg0KICAgICAgICAgICAgW2ZhbHNlXS5pbmRleE9mKDApID09PSAtMSAmJg0KICAgICAgICAgICAgW3VuZGVmaW5lZF0uaW5kZXhPZigwKSA9PT0gLTEgJiYNCiAgICAgICAgICAgIFtudWxsXS5pbmRleE9mKDApID09PSAtMSAmJg0KICAgICAgICAgICAgW1tdXS5pbmRleE9mKDApID09PSAtMTsNCiAgICB9LA0KDQogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7DQogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUuaW5kZXhPZik7DQogICAgfQ0KDQp9KTsNCg==]]></test>
@ -959,7 +958,6 @@
<test id="15.4.4.15-8-b-i-3"><![CDATA[RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsNCg0KICAgIGlkOiAiMTUuNC40LjE1LTgtYi1pLTMiLA0KDQogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjE1LzE1LjQuNC4xNS04LWItaS0zLmpzIiwNCg0KICAgIGRlc2Nya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iBmdW5jdGlvbiAoKSB7DQogICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsNCiAgICAgICAgICAgICAgICB9LA0KICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQ0KICAgICAgICAgICAgfSk7DQogICAgICAgICAgICByZXR1cm4gMCA9PT0gW051bWJlcl0ubGFzdEluZGV4T2YoTnVtYmVyKTsNCiAgICAgICAgfSBmaW5hbGx5IHsNCiAgICAgICAgICAgIGRlbGV0ZSBBcnJheS5wcm90b3R5cGVbMF07DQogICAgICAgIH0NCiAgICB9LA0KDQogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7DQogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUubGFzdEluZGV4T2YpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7DQogICAgfQ0KDQp9KTsNCg==]]></test>
<test id="15.4.4.15-8-b-i-6"><![CDATA[RVM1SGFybmVzcy5yZWdpc3RlclRlc3Qoew0KDQogICAgaWQ6ICIxNS40LjQuMTUtOC1iLWktNiIsDQoNCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMTUvMTUuNC40LjE1LTgtYi1pLTYuanMiLA0KDQogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUubGFzdEluZGV4T2Ygd2hlbiBlbGVtZW50IHRvIGJlIHJldHJpZXZlZCBpcyBvd24gZGF0YSBwcm9wZXJ0eSB0aGF0IG92ZXJyaWRlcyBhbiBpbmhlcml0ZWQgYWNjZXNzb3IgcHJvcGVydHkgb24gYW4gQXJyYXktbGlrZSBvYmplY3QiLA0KDQogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7DQoNCiAgICAgICAgdHJ5IHsNCiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShPYmplY3QucHJvdG90eXBlLCAiMCIsIHsNCiAgICAgICAgICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsNCiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOw0KICAgICAgICAgICAgICAgIH0sDQogICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlDQogICAgICAgICAgICB9KTsNCiAgICAgICAgICAgIHJldHVybiAwID09PSBBcnJheS5wcm90b3R5cGUubGFzdEluZGV4T2YuY2FsbCh7IDA6IHRydWUsIDE6IDEsIGxlbmd0aDogMiB9LCB0cnVlKTsNCiAgICAgICAgfSBmaW5hbGx5IHsNCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QucHJvdG90eXBlWzBdOw0KICAgICAgICB9DQogICAgfSwNCg0KICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgew0KICAgICAgICByZXR1cm4gZm5FeGlzdHMoQXJyYXkucHJvdG90eXBlLmxhc3RJbmRleE9mKSAmJiBmbkV4aXN0cyhPYmplY3QuZGVmaW5lUHJvcGVydHkpOw0KICAgIH0NCg0KfSk7DQo=]]></test>
<test id="15.4.4.15-8-b-i-7"><![CDATA[RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsNCg0KICAgIGlkOiAiMTUuNC40LjE1LTgtYi1pLTciLA0KDQogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuNC8xNS40LjQvMTUuNC40LjE1LzE1LjQuNC4xNS04LWItaS03LmpzIiwNCg0KICAgIGRlc2NyaXB0aW9uOiAiQXJyYXkucHJvdG90eXBlLmxhc3RJbmRleE9mIC0gZWxlbWVudCB0byBiZSByZXRyaWV2ZWQgaXMgaW5oZXJpdGVkIGRhdGEgcHJvcGVydHkgb24gYW4gQXJyYXkiLA0KDQogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7DQoNCiAgICAgICAgdHJ5IHsNCiAgICAgICAgICAgIEFycmF5LnByb3RvdHlwZVswXSA9IHRydWU7DQogICAgICAgICAgICBBcnJheS5wcm90b3R5cGVbMV0gPSBmYWxzZTsNCiAgICAgICAgICAgIEFycmF5LnByb3RvdHlwZVsyXSA9ICJ0cnVlIjsNCiAgICAgICAgICAgIHJldHVybiAwID09PSBbLCAsICwgXS5sYXN0SW5kZXhPZih0cnVlKSAmJg0KICAgICAgICAgICAgICAgIDEgPT09IFssICwgLCBdLmxhc3RJbmRleE9mKGZhbHNlKSAmJg0KICAgICAgICAgICAgICAgIDIgPT09IFssICwgLCBdLmxhc3RJbmRleE9mKCJ0cnVlIik7DQogICAgICAgIH0gZmluYWxseSB7DQogICAgICAgICAgICBkZWxldGUgQXJyYXkucHJvdG90eXBlWzBdOw0KICAgICAgICAgICAgZGVsZXRlIEFycmF5LnByb3RvdHlwZVsxXTsNCiAgICAgICAgICAgIGRlbGV0ZSBBcnJheS5wcm90b3R5cGVbMl07DQogICAgICAgIH0NCiAgICB9LA0KDQogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7DQogICAgICAgIHJldHVybiBmbkV4aXN0cyhBcnJheS5wcm90b3R5cGUubGFzdEluZGV4T2YpICYmICFbLCAxXS5oYXNPd25Qcm9wZXJ0eSgwKTsNCiAgICB9DQoNCn0pOw0K]]></test>
<test id="15.4.4.15-8-b-i-8"><![CDATA[RVM1SGFybmVzcy5yZWdpc3RlclRlc3Qoew0KDQogICAgaWQ6ICIxNS40LjQuMTUtOC1iLWktOCIsDQoNCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS40LzE1LjQuNC8xNS40LjQuMTUvMTUuNC40LjE1LTgtYi1pLTguanMiLA0KDQogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUubGFzdEluZGV4T2YgLSBlbGVtZW50IHRvIGJlIHJldHJpZXZlZCBpcyBpbmhlcml0ZWQgZGF0YSBwcm9wZXJ0eSBvbiBhbiBBcnJheS1saWtlIG9iamVjdCIsDQoNCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsNCg0KICAgICAgICB0cnkgew0KICAgICAgICAgICAgT2JqZWN0LnByb3RvdHlwZVswXSA9IHRydWU7DQogICAgICAgICAgICBPYmplY3QucHJvdG90eXBlWzFdID0gZmFsc2U7DQogICAgICAgICAgICBPYmplY3QucHJvdG90eXBlWzJdID0gInRydWUiOw0KICAgICAgICAgICAgcmV0dXJuIDAgPT09IEFycmF5LnByb3RvdHlwZS5sYXN0SW5kZXhPZi5jYWxsKHsgbGVuZ3RoOiAzIH0sIHRydWUpICYmDQogICAgICAgICAgICAgICAgMSA9PT0gQXJyYXkucHJvdG90eXBlLmxhc3RJbmRleE9mLmNhbGwoeyBsZW5ndGg6IDMgfSwgZmFsc2UpICYmDQogICAgICAgICAgICAgICAgMiA9PT0gQXJyYXkucHJvdG90eXBlLmxhc3RJbmRleE9mLmNhbGwoeyBsZW5ndGg6IDMgfSwgInRydWUiKTsNCiAgICAgICAgfSBmaW5hbGx5IHsNCiAgICAgICAgICAgIGRlbGV0ZSBPYmplY3QucHJvdG90eXBlWzBdOw0KICAgICAgICAgICAgZGVsZXRlIE9iamVjdC5wcm90b3R5cGVbMV07DQogICAgICAgICAgICBkZWxldGUgT2JqZWN0LnByb3RvdHlwZVsyXTsNCiAgICAgICAgfQ0KICAgIH0sDQoNCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsNCiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5sYXN0SW5kZXhPZik7DQogICAgfQ0KDQp9KTsNCg==]]></test>
<test id="15.4.4.15-8-b-ii-1"><![CDATA[RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsNCg0KICAgIGlkOiAiMTUuNC40LjE1LTgtYi1paS0xIiwNCg0KICAgIHBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjQvMTUuNC40LzE1LjQuNC4xNS8xNS40LjQuMTUtOC1iLWlpLTEuanMiLA0KDQogICAgZGVzY3JpcHRpb246ICJBcnJheS5wcm90b3R5cGUubGFzdEluZGV4T2YgLSB0eXBlIG9mIGFycmF5IGVsZW1lbnQgaXMgZGlmZmVyZW50IGZyb20gdHlwZSBvZiBzZWFyY2ggZWxlbWVudCIsDQoNCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsNCg0KICAgICAgICByZXR1cm4gWyJ0cnVlIl0ubGFzdEluZGV4T2YodHJ1ZSkgPT09IC0xICYmDQogICAgICAgICAgICBbIjAiXS5sYXN0SW5kZXhPZigwKSA9PT0gLTEgJiYNCiAgICAgICAgICAgIFtmYWxzZV0ubGFzdEluZGV4T2YoMCkgPT09IC0xICYmDQogICAgICAgICAgICBbdW5kZWZpbmVkXS5sYXN0SW5kZXhPZigwKSA9PT0gLTEgJiYNCiAgICAgICAgICAgIFtudWxsXS5sYXN0SW5kZXhPZigwKSA9PT0gLTEgJiYNCiAgICAgICAgICAgIFtbXV0ubGFzdEluZGV4T2YoMCkgPT09IC0xOw0KICAgIH0sDQoNCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsNCiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKEFycmF5LnByb3RvdHlwZS5sYXN0SW5kZXhPZik7DQogICAgfQ0KDQp9KTsNCg==]]></test>

View File

@ -1,4 +1,4 @@
<testSuite numTests="7511" version="0.1.1" date="11/16/2010">
<testSuite numTests="7509" version="0.1.1" date="11/16/2010">
<testGroup>resources/scripts/testcases/07_Lexical_Conventions.xml</testGroup>
<testGroup>resources/scripts/testcases/08_Types.xml</testGroup>
<testGroup>resources/scripts/testcases/09_Type_Conversion.xml</testGroup>