Home | History | Annotate | Download | only in script-tests

Lines Matching refs:getItem

17     shouldBeNull("storage.getItem('FOO')");
21 shouldBeEqualToString("storage.getItem('FOO')", "BAR");
22 shouldBeNull("storage.getItem('foo')");
29 shouldBeEqualToString("storage.getItem('foo')", "x");
33 shouldBeEqualToString("storage.getItem('foo')", "y");
37 shouldBeEqualToString("storage.getItem('foo')", "z");
43 shouldBeEqualToString("storage.getItem('null')", "asdf");
44 shouldBeEqualToString("storage.getItem(null)", "asdf");
50 shouldBeEqualToString("storage.getItem(null)", "1");
52 shouldBeEqualToString("storage.getItem(null)", "2");
54 shouldBeEqualToString("storage.getItem(null)", "3");
60 shouldBeEqualToString("storage.getItem('undefined')", "xyz");
61 shouldBeEqualToString("storage.getItem(undefined)", "xyz");
67 shouldBeEqualToString("storage.getItem(undefined)", "4");
69 shouldBeEqualToString("storage.getItem(undefined)", "5");
71 shouldBeEqualToString("storage.getItem(undefined)", "6");
77 shouldBeEqualToString("storage.getItem('2')", "ppp");
78 shouldBeEqualToString("storage.getItem(2)", "ppp");
84 shouldBeEqualToString("storage.getItem(2)", "7");
86 shouldBeEqualToString("storage.getItem(2)", "8");
88 shouldBeEqualToString("storage.getItem(2)", "9");
95 shouldBeEqualToString("storage.getItem(k)", "hello");
111 shouldBeEqualToString("storage.getItem('foo3')", "lower3");
112 shouldBeEqualToString("storage.getItem('FOO3')", "UPPER3");
120 shouldBeNull("storage.getItem('length')");
125 shouldBeNull("storage.getItem('length')");
130 shouldBeNull("storage.getItem('length')");
135 shouldBeEqualToString("storage.getItem('length')", "0");
140 shouldBeNull("storage.getItem('length')");