michael@0: // |reftest| skip -- obsolete test michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: michael@0: /** michael@0: * File Name: RegExp/exec-001.js michael@0: * ECMA Section: 15.7.5.3 michael@0: * Description: Based on ECMA 2 Draft 7 February 1999 michael@0: * michael@0: * Author: christine@netscape.com michael@0: * Date: 19 February 1999 michael@0: */ michael@0: var SECTION = "RegExp/exec-001"; michael@0: var VERSION = "ECMA_2"; michael@0: var TITLE = "RegExp.prototype.exec(string)"; michael@0: michael@0: startTest(); michael@0: michael@0: /* michael@0: * for each test case, verify: michael@0: * - type of object returned michael@0: * - length of the returned array michael@0: * - value of lastIndex michael@0: * - value of index michael@0: * - value of input michael@0: * - value of the array indices michael@0: */ michael@0: michael@0: // test cases without subpatterns michael@0: // test cases with subpatterns michael@0: // global property is true michael@0: // global property is false michael@0: // test cases in which the exec returns null michael@0: michael@0: AddTestCase("NO TESTS EXIST", "PASSED", "Test not implemented"); michael@0: michael@0: test(); michael@0: