Move tests for iterator prototype methods

Define tests for intrinsic Iterators under the appropriate subdirectory
of `built-ins`.
This commit is contained in:
Mike Pennisi 2015-05-26 10:53:26 -04:00
parent 5341ad5985
commit eefc23df50
37 changed files with 9 additions and 0 deletions

View File

@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
description: > description: >
Visits each element of the array in order and ceases iteration once all Visits each element of the array in order and ceases iteration once all
values have been visited. values have been visited.
features: [TypedArray]
---*/ ---*/
var array = new Float32Array([3, 1, 2]); var array = new Float32Array([3, 1, 2]);
var iterator = array[Symbol.iterator](); var iterator = array[Symbol.iterator]();

View File

@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
description: > description: >
Visits each element of the array in order and ceases iteration once all Visits each element of the array in order and ceases iteration once all
values have been visited. values have been visited.
features: [TypedArray]
---*/ ---*/
var array = new Float64Array([3, 1, 2]); var array = new Float64Array([3, 1, 2]);
var iterator = array[Symbol.iterator](); var iterator = array[Symbol.iterator]();

View File

@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
description: > description: >
Visits each element of the array in order and ceases iteration once all Visits each element of the array in order and ceases iteration once all
values have been visited. values have been visited.
features: [TypedArray]
---*/ ---*/
var array = new Int16Array([3, 1, 2]); var array = new Int16Array([3, 1, 2]);
var iterator = array[Symbol.iterator](); var iterator = array[Symbol.iterator]();

View File

@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
description: > description: >
Visits each element of the array in order and ceases iteration once all Visits each element of the array in order and ceases iteration once all
values have been visited. values have been visited.
features: [TypedArray]
---*/ ---*/
var array = new Int32Array([3, 1, 2]); var array = new Int32Array([3, 1, 2]);
var iterator = array[Symbol.iterator](); var iterator = array[Symbol.iterator]();

View File

@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
description: > description: >
Visits each element of the array in order and ceases iteration once all Visits each element of the array in order and ceases iteration once all
values have been visited. values have been visited.
features: [TypedArray]
---*/ ---*/
var array = new Int8Array([3, 1, 2]); var array = new Int8Array([3, 1, 2]);
var iterator = array[Symbol.iterator](); var iterator = array[Symbol.iterator]();

View File

@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
description: > description: >
Visits each element of the array in order and ceases iteration once all Visits each element of the array in order and ceases iteration once all
values have been visited. values have been visited.
features: [TypedArray]
---*/ ---*/
var array = new Uint16Array([3, 1, 2]); var array = new Uint16Array([3, 1, 2]);
var iterator = array[Symbol.iterator](); var iterator = array[Symbol.iterator]();

View File

@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
description: > description: >
Visits each element of the array in order and ceases iteration once all Visits each element of the array in order and ceases iteration once all
values have been visited. values have been visited.
features: [TypedArray]
---*/ ---*/
var array = new Uint32Array([3, 1, 2]); var array = new Uint32Array([3, 1, 2]);
var iterator = array[Symbol.iterator](); var iterator = array[Symbol.iterator]();

View File

@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
description: > description: >
Visits each element of the array in order and ceases iteration once all Visits each element of the array in order and ceases iteration once all
values have been visited. values have been visited.
features: [TypedArray]
---*/ ---*/
var array = new Uint8Array([3, 1, 2]); var array = new Uint8Array([3, 1, 2]);
var iterator = array[Symbol.iterator](); var iterator = array[Symbol.iterator]();

View File

@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
description: > description: >
Visits each element of the array in order and ceases iteration once all Visits each element of the array in order and ceases iteration once all
values have been visited. values have been visited.
features: [TypedArray]
---*/ ---*/
var array = new Uint8ClampedArray([3, 1, 2]); var array = new Uint8ClampedArray([3, 1, 2]);
var iterator = array[Symbol.iterator](); var iterator = array[Symbol.iterator]();