HomeSort by relevance Sort by last modified time
    Searched refs:shouldBe (Results 1 - 25 of 113) sorted by null

1 2 3 4 5

  /external/webkit/Source/JavaScriptCore/API/tests/
testapi.js 42 function shouldBe(a, b)
75 shouldBe("globalStaticValue", 3);
76 shouldBe("globalStaticFunction()", 4);
78 shouldBe("typeof MyObject", "function"); // our object implements 'call'
80 shouldBe("MyObject.cantFind", undefined);
82 shouldBe("MyObject.regularType", 1);
84 shouldBe("MyObject.alwaysOne", 1);
87 shouldBe("MyObject.cantDelete", 1);
88 shouldBe("delete MyObject.throwOnDelete", "an exception");
90 shouldBe("MyObject.cantSet", undefined)
    [all...]
  /external/webkit/LayoutTests/fast/dom/HTMLFontElement/script-tests/
size-attribute.js 17 shouldBe('fontSizeAttributeEffect("")', 'null');
19 shouldBe('fontSizeAttributeEffect("1")', '"10px"');
20 shouldBe('fontSizeAttributeEffect("2")', '"13px"');
21 shouldBe('fontSizeAttributeEffect("3")', '"16px"');
22 shouldBe('fontSizeAttributeEffect("4")', '"18px"');
23 shouldBe('fontSizeAttributeEffect("5")', '"24px"');
24 shouldBe('fontSizeAttributeEffect("6")', '"32px"');
25 shouldBe('fontSizeAttributeEffect("7")', '"48px"');
27 shouldBe('fontSizeAttributeEffect("0")', '"10px"');
29 shouldBe('fontSizeAttributeEffect("-1")', '"13px"')
    [all...]
  /external/webkit/LayoutTests/fast/js/resources/
const.js 10 shouldBe("x", '"RIGHT"');
14 shouldBe("y", '"RIGHT"');
22 shouldBe("a", "1");
23 shouldBe("one", "1");
27 shouldBe("a", "1");
28 shouldBe("one", "1");
32 shouldBe("a", "2");
33 shouldBe("one", "1");
37 shouldBe("a", "0");
38 shouldBe("one", "1")
    [all...]
select-options-remove.js 8 shouldBe("select1.options.remove(value)", "undefined");
9 shouldBe("select1.options.length", "0");
10 shouldBe("select1.selectedIndex", "-1");
15 shouldBe("select1.options.remove(value)", "undefined");
16 shouldBe("select1.options.length", "0");
17 shouldBe("select1.selectedIndex", "-1");
22 shouldBe("select1.options.remove(value)", "undefined");
23 shouldBe("select1.options.length", "0");
24 shouldBe("select1.selectedIndex", "-1");
29 shouldBe("select1.options.remove(value)", "undefined")
    [all...]
codegen-temporaries-multiple-global-blocks-2.js 7 shouldBe("v1", "2");
12 shouldBe("o2.a", "2");
17 shouldBe("o3.a", "2");
21 shouldBe("r4", "1");
26 shouldBe("o5.a", "2");
31 shouldBe("o6.a", "2");
36 shouldBe("o7.a", "2");
41 shouldBe("o8.a", "2");
  /external/webkit/LayoutTests/fast/dom/HTMLFormElement/script-tests/
elements-not-in-document.js 10 shouldBe("i.getAttribute('name')", "'first'");
11 shouldBe("i.name", "'first'");
12 shouldBe("i.getAttribute('type')", "'text'");
13 shouldBe("i.type", "'text'");
14 shouldBe("i.value", "'test'");
15 shouldBe("f.elements.length", "1");
16 shouldBe("f.elements[0]", "i");
17 shouldBe("f.elements.first", "i");
25 shouldBe("f.elements.second", "i");
27 shouldBe("i.getAttribute('name')", "'second'")
    [all...]
  /external/webkit/LayoutTests/fast/events/touch/script-tests/
document-create-touch.js 14 shouldBe("touch.target", "box");
15 shouldBe("touch.identifier", "1");
16 shouldBe("touch.pageX", "100");
17 shouldBe("touch.pageY", "101");
18 shouldBe("touch.screenX", "102");
19 shouldBe("touch.screenY", "103");
24 shouldBe("emptyTouch.identifier", "0");
25 shouldBe("emptyTouch.pageX", "0");
26 shouldBe("emptyTouch.pageY", "0");
27 shouldBe("emptyTouch.screenX", "0")
    [all...]
basic-single-touch-events.js 37 shouldBe("lastEvent.touches.length", totalTouchCount.toString());
38 shouldBe("lastEvent.changedTouches.length", changedTouchCount.toString());
39 shouldBe("lastEvent.targetTouches.length", targetTouchCount.toString());
40 shouldBe("lastEvent.pageX", "0");
41 shouldBe("lastEvent.pageY", "0");
46 shouldBe("lastEvent." + list + "[" + point + "].pageX", x.toString());
47 shouldBe("lastEvent." + list + "[" + point + "].pageY", y.toString());
48 shouldBe("lastEvent." + list + "[" + point + "].clientX", x.toString());
49 shouldBe("lastEvent." + list + "[" + point + "].clientY", y.toString());
50 shouldBe("lastEvent." + list + "[" + point + "].identifier", id.toString())
    [all...]
  /external/webkit/LayoutTests/fast/dom/Node/script-tests/
initial-values.js 7 shouldBe("attr.nodeName", "'foo'");
8 shouldBe("attr.name", "'foo'");
11 shouldBe("attr.localName", "null");
12 shouldBe("attr.namespaceURI", "null");
13 shouldBe("attr.prefix", "null");
14 shouldBe("attr.nodeValue", "''");
15 shouldBe("attr.value", "''");
16 shouldBe("attr.attributes", "null");
20 shouldBe("attr.nodeName", "'example:foo'");
21 shouldBe("attr.name", "'example:foo'")
    [all...]
  /external/webkit/LayoutTests/fast/dom/Attr/script-tests/
access-after-element-destruction.js 20 shouldBe("attributes.length", "1");
21 shouldBe("attributes[0]", "attributes.item(0)");
22 shouldBe("attributes.getNamedItem('a')", "attributes.item(0)");
24 shouldBe("attributes.item(0).name", "'a'");
25 shouldBe("attributes.item(0).specified", "true");
26 shouldBe("attributes.item(0).value", "'b'");
27 shouldBe("attributes.item(0).ownerElement.tagName", "'P'");
31 shouldBe("attributes.item(0).value", "'c'");
35 shouldBe("attributes.length", "0");
44 shouldBe("attr.name", "'a'")
    [all...]
  /external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/
error.js 18 shouldBe('error.code', 'mockCode');
19 shouldBe('error.message', 'mockMessage');
20 shouldBe('error.UNKNOWN_ERROR', 'undefined');
21 shouldBe('error.PERMISSION_DENIED', '1');
22 shouldBe('error.POSITION_UNAVAILABLE', '2');
23 shouldBe('error.TIMEOUT', '3');
position-string.js 17 // shouldBe can't use local variables yet.
19 shouldBe('position.coords.latitude', 'mockLatitude');
20 shouldBe('position.coords.longitude', 'mockLongitude');
21 shouldBe('position.coords.accuracy', 'mockAccuracy');
22 shouldBe('position.toString()', '"[object Geoposition]"');
23 shouldBe('position.coords.toString()', '"[object Coordinates]"');
reentrant-success.js 25 shouldBe('position.coords.latitude', 'mockLatitude');
26 shouldBe('position.coords.longitude', 'mockLongitude');
27 shouldBe('position.coords.accuracy', 'mockAccuracy');
43 shouldBe('position.coords.latitude', 'mockLatitude');
44 shouldBe('position.coords.longitude', 'mockLongitude');
45 shouldBe('position.coords.accuracy', 'mockAccuracy');
  /external/webkit/LayoutTests/fast/dom/Text/script-tests/
replaceWholeText.js 10 shouldBe("textB.wholeText", "'AB'");
11 shouldBe("para.textContent", "'ABC'");
13 shouldBe("textB.wholeText", "'XYZ'");
14 shouldBe("para.textContent", "'XYZC'");
  /external/webkit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/
css-properties-case-sensitive.js 11 shouldBe("element.style.zIndex", "'1'");
18 shouldBe("element.style.cssZIndex", "'1'");
19 shouldBe("element.style.CssZIndex", "'1'");
27 shouldBe("element.style.pixelZIndex", "1");
28 shouldBe("element.style.PixelZIndex", "1");
36 shouldBe("element.style.posZIndex", "1");
37 shouldBe("element.style.PosZIndex", "1");
transition-property-names.js 8 shouldBe("element.style.webkitTransitionProperty", "'height'");
11 shouldBe("element.style.webkitTransitionProperty", "'opacity'");
  /external/webkit/LayoutTests/storage/domstorage/script-tests/
clear.js 14 shouldBe("storage.length", "0");
18 shouldBe("storage.length", "2");
23 shouldBe("storage.length", "0");
24 shouldBe("storage['FOO']", "undefined"); // FIXME: Wait...shouldn't this be null?
25 shouldBe("storage['BAR']", "undefined"); // ditto
complex-keys.js 14 shouldBe("storage.length", "0");
19 shouldBe("storage.length", "1");
38 shouldBe("storage.length", "2");
47 shouldBe("storage.length", "3");
55 shouldBe("storage.length", "3");
64 shouldBe("storage.length", "4");
72 shouldBe("storage.length", "4");
81 shouldBe("storage.length", "5");
89 shouldBe("storage.length", "5");
97 shouldBe("storage.length", "6")
    [all...]
  /external/webkit/LayoutTests/fast/dom/TreeWalker/resources/
TreeWalker-currentNode.js 13 shouldBe("w.currentNode", "subTree");
15 shouldBe("w.currentNode", "subTree");
23 shouldBe("w.currentNode", "document.documentElement");
25 shouldBe("w.nextNode()", "document.documentElement.firstChild");
26 shouldBe("w.currentNode", "document.documentElement.firstChild");
29 shouldBe("w.currentNode", "document.documentElement");
31 shouldBe("w.firstChild()", "document.documentElement.firstChild");
32 shouldBe("w.currentNode", "document.documentElement.firstChild");
34 shouldBe("w.lastChild()", "document.documentElement.lastChild");
35 shouldBe("w.currentNode", "document.documentElement.lastChild")
    [all...]
  /external/webkit/LayoutTests/fast/dom/TreeWalker/script-tests/
traversal-skip.js 27 shouldBe("walker.nextNode(); walker.currentNode.id", "'A1'");
28 shouldBe("walker.nextNode(); walker.currentNode.id", "'C1'");
29 shouldBe("walker.nextNode(); walker.currentNode.id", "'B2'");
30 shouldBe("walker.nextNode(); walker.currentNode.id", "'B3'");
34 shouldBe("walker.firstChild(); walker.currentNode.id", "'A1'");
35 shouldBe("walker.firstChild(); walker.currentNode.id", "'C1'");
39 shouldBe("walker.firstChild(); walker.currentNode.id", "'A1'");
40 shouldBe("walker.firstChild(); walker.currentNode.id", "'B1'");
41 shouldBe("walker.nextSibling(); walker.currentNode.id", "'B3'");
46 shouldBe("walker.parentNode(); walker.currentNode.id", "'A1'")
    [all...]
traversal-reject.js 27 shouldBe("walker.nextNode(); walker.currentNode.id", "'A1'");
28 shouldBe("walker.nextNode(); walker.currentNode.id", "'B2'");
29 shouldBe("walker.nextNode(); walker.currentNode.id", "'B3'");
33 shouldBe("walker.firstChild(); walker.currentNode.id", "'A1'");
34 shouldBe("walker.firstChild(); walker.currentNode.id", "'B2'");
38 shouldBe("walker.firstChild(); walker.currentNode.id", "'A1'");
39 shouldBe("walker.firstChild(); walker.currentNode.id", "'B1'");
40 shouldBe("walker.nextSibling(); walker.currentNode.id", "'B3'");
45 shouldBe("walker.parentNode(); walker.currentNode.id", "'A1'");
50 shouldBe("walker.previousSibling(); walker.currentNode.id", "'B1'")
    [all...]
acceptNode-filter.js 18 shouldBe("walker.firstChild(); walker.currentNode.id", "'A1'");
19 shouldBe("walker.nextNode(); walker.currentNode.id", "'B2'");
31 shouldBe("walker.firstChild(); walker.currentNode.id", "'A1'");
32 shouldBe("walker.nextNode(); walker.currentNode.id", "'B2'");
37 shouldBe("walker.firstChild(); walker.currentNode.id", "'A1'");
38 shouldBe("walker.nextNode(); walker.currentNode.id", "'B1'");
43 shouldBe("walker.firstChild(); walker.currentNode.id", "'A1'");
44 shouldBe("walker.nextNode(); walker.currentNode.id", "'B1'");
50 shouldBe("walker.currentNode.id;", "'root'");
52 shouldBe("walker.currentNode.id;", "'root'")
    [all...]
previousSiblingLastChildSkip.js 15 shouldBe("walker.firstChild(); walker.currentNode.id", "'A1'");
16 shouldBe("walker.nextNode(); walker.currentNode.id", "'C1'");
17 shouldBe("walker.nextNode(); walker.currentNode.id", "'C2'");
18 shouldBe("walker.nextNode(); walker.currentNode.id", "'D1'");
19 shouldBe("walker.nextNode(); walker.currentNode.id", "'D2'");
20 shouldBe("walker.nextNode(); walker.currentNode.id", "'B2'");
21 shouldBe("walker.previousSibling(); walker.currentNode.id", "'C2'");
  /external/webkit/LayoutTests/fast/dom/EntityReference/script-tests/
readonly-exceptions.js 8 shouldBe("entityReference.ownerDocument", "xmlDoc")
14 shouldBe("entityReference.nodeValue", "null");
17 shouldBe("entityReference.prefix", "null");
20 shouldBe("entityReference.textContent", "'>'");
23 shouldBe("childrenBeforeFailedAppend", "1");
26 shouldBe("entityReference.childNodes.length", "childrenBeforeFailedAppend");
29 shouldBe("childrenBeforeFailedAppend", "1");
31 shouldBe("entityReference.childNodes.length", "childrenBeforeFailedAppend");
  /external/webkit/LayoutTests/fast/dom/DeviceOrientation/script-tests/
basic-operation.js 15 shouldBe('deviceOrientationEvent.alpha', 'mockAlpha');
16 shouldBe('deviceOrientationEvent.beta', 'mockBeta');
17 shouldBe('deviceOrientationEvent.gamma', 'mockGamma');

Completed in 681 milliseconds

1 2 3 4 5