use of org.gwtproject.core.client.JsArrayInteger in project gwtproject by treblereel.
the class GwtInt16ArrayTest method testCreateJsArray.
@Test
public void testCreateJsArray() {
if (!TypedArrays.isSupported()) {
// TODO: some way of showing test as skipped in this case?
return;
}
JsArrayInteger src = getJsoArray();
Int16Array array = JsUtils.createInt16Array(src);
validateArrayContents(array, 0);
}
use of org.gwtproject.core.client.JsArrayInteger in project gwtproject by treblereel.
the class GwtInt32ArrayTest method testCreateJsArray.
@Test
public void testCreateJsArray() {
if (!TypedArrays.isSupported()) {
// TODO: some way of showing test as skipped in this case?
return;
}
JsArrayInteger src = getJsoArray();
Int32Array array = JsUtils.createInt32Array(src);
validateArrayContents(array, 0);
}
use of org.gwtproject.core.client.JsArrayInteger in project gwtproject by treblereel.
the class GwtUint8ArrayTest method testCreateJsArray.
@Test
public void testCreateJsArray() {
if (!TypedArrays.isSupported()) {
// TODO: some way of showing test as skipped in this case?
return;
}
JsArrayInteger src = getJsoArray();
Uint8Array array = JsUtils.createUint8Array(src);
validateArrayContents(array, 0);
}
use of org.gwtproject.core.client.JsArrayInteger in project gwtproject by treblereel.
the class GwtInt8ArrayTest method testCreateJsArray.
@Test
public void testCreateJsArray() {
if (!TypedArrays.isSupported()) {
// TODO: some way of showing test as skipped in this case?
return;
}
JsArrayInteger src = getJsoArray();
Int8Array array = JsUtils.createInt8Array(src);
validateArrayContents(array, 0);
}
use of org.gwtproject.core.client.JsArrayInteger in project gwtproject by treblereel.
the class GwtUint16ArrayTest method testCreateJsArray.
@Test
public void testCreateJsArray() {
if (!TypedArrays.isSupported()) {
// TODO: some way of showing test as skipped in this case?
return;
}
JsArrayInteger src = getJsoArray();
Uint16Array array = JsUtils.createUint16Array(src);
validateArrayContents(array, 0);
}
Aggregations