public void testSetJsArray() { if (!TypedArrays.isSupported()) { // TODO: some way of showing test as skipped in this case? return; } ArrayBuffer buf = TypedArrays.createArrayBuffer(24); Uint32Array array = TypedArrays.createUint32Array(buf); setFromJsArray(array, 0); validateArrayContents(array, 0); buf = TypedArrays.createArrayBuffer(24); array = TypedArrays.createUint32Array(buf); setFromJsArray(array, 1); validateArrayContents(array, 1); }