/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.4.5.js | 62 var item = 0; 65 array[item++] = new TestCase( SECTION, "var MYVAR; --MYVAR", NaN, eval("var MYVAR; --MYVAR") ); 66 array[item++] = new TestCase( SECTION, "var MYVAR= void 0; --MYVAR", NaN, eval("var MYVAR=void 0; --MYVAR") ); 67 array[item++] = new TestCase( SECTION, "var MYVAR=null; --MYVAR", -1, eval("var MYVAR=null; --MYVAR") ); 68 array[item++] = new TestCase( SECTION, "var MYVAR=true; --MYVAR", 0, eval("var MYVAR=true; --MYVAR") ); 69 array[item++] = new TestCase( SECTION, "var MYVAR=false; --MYVAR", -1, eval("var MYVAR=false; --MYVAR") ); 74 array[item++] = new TestCase( SECTION, "var MYVAR=Number.POSITIVE_INFINITY;--MYVAR", Number.POSITIVE_INFINITY, eval("var MYVAR=Number.POSITIVE_INFINITY;--MYVAR") ); 75 array[item++] = new TestCase( SECTION, "var MYVAR=Number.NEGATIVE_INFINITY;--MYVAR", Number.NEGATIVE_INFINITY, eval("var MYVAR=Number.NEGATIVE_INFINITY;--MYVAR") ); 76 array[item++] = new TestCase( SECTION, "var MYVAR=Number.NaN;--MYVAR", Number.NaN, eval("var MYVAR=Number.NaN;--MYVAR") ); 80 array[item++] = new TestCase( SECTION, "var MYVAR=Number.POSITIVE_INFINITY;--MYVAR;MYVAR", Number.POSITIVE (…) [all...] |
11.1.1.js | 39 var item = 0; variable 45 testcases[item++] = new TestCase( SECTION, 50 testcases[item++] = new TestCase( SECTION, 57 testcases[item++] = new TestCase( SECTION, 64 testcases[item++] = new TestCase( SECTION, 71 testcases[item++] = new TestCase( SECTION, 76 testcases[item++] = new TestCase( SECTION, 81 testcases[item++] = new TestCase( SECTION, 86 testcases[item++] = new TestCase( SECTION, 92 testcases[item++] = new TestCase( SECTION [all...] |
11.12-1.js | 59 var item = 0; 61 array[item++] = new TestCase( SECTION, "true ? 'PASSED' : 'FAILED'", "PASSED", (true?"PASSED":"FAILED")); 62 array[item++] = new TestCase( SECTION, "false ? 'FAILED' : 'PASSED'", "PASSED", (false?"FAILED":"PASSED")); 64 array[item++] = new TestCase( SECTION, "1 ? 'PASSED' : 'FAILED'", "PASSED", (true?"PASSED":"FAILED")); 65 array[item++] = new TestCase( SECTION, "0 ? 'FAILED' : 'PASSED'", "PASSED", (false?"FAILED":"PASSED")); 66 array[item++] = new TestCase( SECTION, "-1 ? 'PASSED' : 'FAILED'", "PASSED", (true?"PASSED":"FAILED")); 68 array[item++] = new TestCase( SECTION, "NaN ? 'FAILED' : 'PASSED'", "PASSED", (Number.NaN?"FAILED":"PASSED")); 70 array[item++] = new TestCase( SECTION, "var VAR = true ? , : 'FAILED'", "PASSED", (VAR = true ? "PASSED" : "FAILED") );
|
11.13.2-2.js | 56 var item = 0; 60 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 /= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 /= VAR2") ); 61 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 /= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 /= VAR2; VAR1") ); 62 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=0; VAR1 /= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=0; VAR1 /= VAR2") ); 63 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=0; VAR1 /= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=0; VAR1 /= VAR2; VAR1") ); 64 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2=NaN; VAR1 /= VAR2", Number.NaN, eval("VAR1 = 0; VAR2=Number.NaN; VAR1 /= VAR2") ); 65 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2=NaN; VAR1 /= VAR2; VAR1", Number.NaN, eval("VAR1 = 0; VAR2=Number.NaN; VAR1 /= VAR2; VAR1") ); 68 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2=1; VAR1 /= VAR2", 0, eval("VAR1 = 0; VAR2=1; VAR1 /= VAR2") ); 69 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2=1; VAR1 /= VAR2;VAR1", 0, eval("VAR1 = 0; VAR2=1; VAR1 /= VAR2;VAR1") ); 71 array[item++] = new TestCase( SECTION, "VAR1 = 0xFF; VAR2 = 0xA, VAR1 /= VAR2", 25.5, eval("VAR1 = 0X (…) [all...] |
11.13.js | 59 var item = 0; 61 array[item++] = new TestCase( SECTION, "true ? 'PASSED' : 'FAILED'", "PASSED", (true?"PASSED":"FAILED")); 62 array[item++] = new TestCase( SECTION, "false ? 'FAILED' : 'PASSED'", "PASSED", (false?"FAILED":"PASSED")); 64 array[item++] = new TestCase( SECTION, "1 ? 'PASSED' : 'FAILED'", "PASSED", (true?"PASSED":"FAILED")); 65 array[item++] = new TestCase( SECTION, "0 ? 'FAILED' : 'PASSED'", "PASSED", (false?"FAILED":"PASSED")); 66 array[item++] = new TestCase( SECTION, "-1 ? 'PASSED' : 'FAILED'", "PASSED", (true?"PASSED":"FAILED")); 68 array[item++] = new TestCase( SECTION, "NaN ? 'FAILED' : 'PASSED'", "PASSED", (Number.NaN?"FAILED":"PASSED")); 70 array[item++] = new TestCase( SECTION, "var VAR = true ? , : 'FAILED'", "PASSED", (VAR = true ? "PASSED" : "FAILED") );
|
11.5.3.js | 80 var item = 0; 84 array[item++] = new TestCase( SECTION, "Number.NaN % Number.NaN", Number.NaN, Number.NaN % Number.NaN ); 85 array[item++] = new TestCase( SECTION, "Number.NaN % 1", Number.NaN, Number.NaN % 1 ); 86 array[item++] = new TestCase( SECTION, "1 % Number.NaN", Number.NaN, 1 % Number.NaN ); 88 array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY % Number.NaN", Number.NaN, Number.POSITIVE_INFINITY % Number.NaN ); 89 array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY % Number.NaN", Number.NaN, Number.NEGATIVE_INFINITY % Number.NaN ); 94 array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY % Number.NEGATIVE_INFINITY", Number.NaN, Number.NEGATIVE_INFINITY % Number.NEGATIVE_INFINITY ); 95 array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY % Number.NEGATIVE_INFINITY", Number.NaN, Number.POSITIVE_INFINITY % Number.NEGATIVE_INFINITY ); 96 array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY % Number.POSITIVE_INFINITY", Number.NaN, Number.NEGATIVE_INFINITY % Number.POSITIVE_INFINITY ); 97 array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY % Number.POSITIVE_INFINITY", Number.Na (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/ |
15.4-1.js | 46 var item = 0; 48 array[item++] = new TestCase( SECTION, 53 array[item++] = new TestCase( SECTION, 58 array[item++] = new TestCase( SECTION, 63 array[item++] = new TestCase( SECTION, 69 array[item++] = new TestCase( SECTION, 74 array[item++] = new TestCase( SECTION, 80 array[item++] = new TestCase( SECTION, 85 array[item++] = new TestCase( SECTION, 92 array[item++] = new TestCase( SECTION [all...] |
15.4.2.1-2.js | 76 for ( item = 0; item < TEST_LENGTH; item++ ) { 77 array[item] = new TestCase( SECTION, "["+item+"]", item, TEST_ARRAY[item] ); 80 array[item++ ] = new TestCase( SECTION, "new Array( ["+TEST_LENGTH+" arguments] ) +''", ARGUMENTS, TEST_ARRAY +"" );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/TypeConversion/ |
9.3.1-2.js | 68 var item = 0; 72 array[item++] = new TestCase( SECTION, "Number(00)", 0, Number("00")); 73 array[item++] = new TestCase( SECTION, "Number(01)", 1, Number("01")); 74 array[item++] = new TestCase( SECTION, "Number(02)", 2, Number("02")); 75 array[item++] = new TestCase( SECTION, "Number(03)", 3, Number("03")); 76 array[item++] = new TestCase( SECTION, "Number(04)", 4, Number("04")); 77 array[item++] = new TestCase( SECTION, "Number(05)", 5, Number("05")); 78 array[item++] = new TestCase( SECTION, "Number(06)", 6, Number("06")); 79 array[item++] = new TestCase( SECTION, "Number(07)", 7, Number("07")); 80 array[item++] = new TestCase( SECTION, "Number(010)", 10, Number("010")) [all...] |
9.9-1.js | 53 var item = 0; 55 array[item++] = new TestCase( SECTION, "Object(true).valueOf()", true, (Object(true)).valueOf() ); 56 array[item++] = new TestCase( SECTION, "typeof Object(true)", "object", typeof Object(true) ); 57 array[item++] = new TestCase( SECTION, "(Object(true)).__proto__", Boolean.prototype, (Object(true)).__proto__ ); 59 array[item++] = new TestCase( SECTION, "Object(false).valueOf()", false, (Object(false)).valueOf() ); 60 array[item++] = new TestCase( SECTION, "typeof Object(false)", "object", typeof Object(false) ); 61 array[item++] = new TestCase( SECTION, "(Object(true)).__proto__", Boolean.prototype, (Object(true)).__proto__ ); 63 array[item++] = new TestCase( SECTION, "Object(0).valueOf()", 0, (Object(0)).valueOf() ); 64 array[item++] = new TestCase( SECTION, "typeof Object(0)", "object", typeof Object(0) ); 65 array[item++] = new TestCase( SECTION, "(Object(0)).__proto__", Number.prototype, (Object(0)).__prot (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Boolean/ |
15.6.4.3-1.js | 48 var item = 0; 50 array[item++] = new TestCase( SECTION, "new Boolean(1)", true, (new Boolean(1)).valueOf() ); 52 array[item++] = new TestCase( SECTION, "new Boolean(0)", false, (new Boolean(0)).valueOf() ); 53 array[item++] = new TestCase( SECTION, "new Boolean(-1)", true, (new Boolean(-1)).valueOf() ); 54 array[item++] = new TestCase( SECTION, "new Boolean('1')", true, (new Boolean("1")).valueOf() ); 55 array[item++] = new TestCase( SECTION, "new Boolean('0')", true, (new Boolean("0")).valueOf() ); 56 array[item++] = new TestCase( SECTION, "new Boolean(true)", true, (new Boolean(true)).valueOf() ); 57 array[item++] = new TestCase( SECTION, "new Boolean(false)", false, (new Boolean(false)).valueOf() ); 58 array[item++] = new TestCase( SECTION, "new Boolean('true')", true, (new Boolean("true")).valueOf() ); 59 array[item++] = new TestCase( SECTION, "new Boolean('false')", true, (new Boolean('false')).valueOf() ) [all...] |
15.6.4.3.js | 38 var item = 0; 40 array[item++] = new TestCase( "15.8.6.4", "new Boolean(1)", true, (new Boolean(1)).valueOf() ); 42 array[item++] = new TestCase( "15.8.6.4", "new Boolean(0)", false, (new Boolean(0)).valueOf() ); 43 array[item++] = new TestCase( "15.8.6.4", "new Boolean(-1)", true, (new Boolean(-1)).valueOf() ); 44 array[item++] = new TestCase( "15.8.6.4", "new Boolean('1')", true, (new Boolean("1")).valueOf() ); 45 array[item++] = new TestCase( "15.8.6.4", "new Boolean('0')", true, (new Boolean("0")).valueOf() ); 46 array[item++] = new TestCase( "15.8.6.4", "new Boolean(true)", true, (new Boolean(true)).valueOf() ); 47 array[item++] = new TestCase( "15.8.6.4", "new Boolean(false)", false, (new Boolean(false)).valueOf() ); 48 array[item++] = new TestCase( "15.8.6.4", "new Boolean('true')", true, (new Boolean("true")).valueOf() ); 49 array[item++] = new TestCase( "15.8.6.4", "new Boolean('false')", true, (new Boolean('false')).valueOf() (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/GlobalObject/ |
15.1.2.1-1.js | 46 var item = 0; 48 array[item++] = new TestCase( SECTION, "eval.length", 1, eval.length ); 49 array[item++] = new TestCase( SECTION, "delete eval.length", false, delete eval.length ); 50 array[item++] = new TestCase( SECTION, "var PROPS = ''; for ( p in eval ) { PROPS += p }; PROPS", "", eval("var PROPS = ''; for ( p in eval ) { PROPS += p }; PROPS") ); 51 array[item++] = new TestCase( SECTION, "eval.length = null; eval.length", 1, eval( "eval.length = null; eval.length") ); 52 // array[item++] = new TestCase( SECTION, "eval.__proto__", Function.prototype, eval.__proto__ ); 56 array[item++] = new TestCase( SECTION, "eval()", void 0, eval() ); 57 array[item++] = new TestCase( SECTION, "eval(void 0)", void 0, eval( void 0) ); 58 array[item++] = new TestCase( SECTION, "eval(null)", null, eval( null ) ); 59 array[item++] = new TestCase( SECTION, "eval(true)", true, (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.9-1.js | 64 var item = 0; 66 array[item++] = new TestCase( SECTION, "String.prototype.substring.length", 2, String.prototype.substring.length ); 67 array[item++] = new TestCase( SECTION, "delete String.prototype.substring.length", false, delete String.prototype.substring.length ); 68 array[item++] = new TestCase( SECTION, "delete String.prototype.substring.length; String.prototype.substring.length", 2, eval("delete String.prototype.substring.length; String.prototype.substring.length") ); 74 array[item++] = new TestCase( SECTION, 79 array[item++] = new TestCase( SECTION, 85 array[item++] = new TestCase( SECTION, 90 array[item++] = new TestCase( SECTION, 96 array[item++] = new TestCase( SECTION, 102 array[item++] = new TestCase( SECTION [all...] |
15.5.2.js | 55 var item = 0; 57 array[item++] = new TestCase( SECTION, "typeof new String('string primitive')", "object", typeof new String('string primitive') ); 58 array[item++] = new TestCase( SECTION, "var TESTSTRING = new String('string primitive'); TESTSTRING.toString=Object.prototype.toString;TESTSTRING.toString()", "[object String]", eval("var TESTSTRING = new String('string primitive'); TESTSTRING.toString=Object.prototype.toString;TESTSTRING.toString()") ); 59 array[item++] = new TestCase( SECTION, "(new String('string primitive')).valueOf()", 'string primitive', (new String('string primitive')).valueOf() ); 60 array[item++] = new TestCase( SECTION, "(new String('string primitive')).substring", String.prototype.substring, (new String('string primitive')).substring ); 62 array[item++] = new TestCase( SECTION, "typeof new String(void 0)", "object", typeof new String(void 0) ); 63 array[item++] = new TestCase( SECTION, "var TESTSTRING = new String(void 0); TESTSTRING.toString=Object.prototype.toString;TESTSTRING.toString()", "[object String]", eval("var TESTSTRING = new String(void 0); TESTSTRING.toString=Object.prototype.toString;TESTSTRING.toString()") ); 64 array[item++] = new TestCase( SECTION, "(new String(void 0)).valueOf()", "undefined", (new String(void 0)).valueOf() ); 65 array[item++] = new TestCase( SECTION, "(new String(void 0)).toString", String.prototype.toString, (new String(void 0)).toString ); 67 array[item++] = new TestCase( SECTION, "typeof new String(null)", "object", typeof new St (…) [all...] |
15.5.4.5-2.js | 67 var item = 0; 71 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(0)", 0x0074, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(0)") ); 72 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(1)", 0x0072, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(1)") ); 73 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(2)", 0x0075, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(2)") ); 74 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(3)", 0x0065, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(3)") ); 75 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(4)", Number.NaN, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(4)") ); 76 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(-1)", Number.NaN, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(-1)") ); 78 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(true)", 0x0072, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(true)") ); 79 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(false)", 0x0074, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(false)") ); 81 array[item++] = new TestCase( SECTION, "x = new String(); x.charCodeAt(0)", Number.NaN, eval("x=ne (…) [all...] |
/external/harfbuzz/src/ |
harfbuzz-tibetan.c | 103 static HB_Bool tibetan_shape_syllable(HB_Bool openType, HB_ShaperItem *item, HB_Bool invalid) 106 const HB_UChar16 *str = item->string + item->item.pos; 107 int len = item->item.length; 109 const int availableGlyphs = item->num_glyphs; 114 if (item->num_glyphs < item->item.length + 4) [all...] |
/external/harfbuzz_ng/src/hb-old/ |
harfbuzz-tibetan.c | 103 static HB_Bool tibetan_shape_syllable(HB_Bool openType, HB_ShaperItem *item, HB_Bool invalid) 106 const HB_UChar16 *str = item->string + item->item.pos; 107 int len = item->item.length; 109 const int availableGlyphs = item->num_glyphs; 114 if (item->num_glyphs < item->item.length + 4) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ObjectObjects/ |
15.2.1.1.js | 61 var item = 0; 65 array[item++] = new TestCase( SECTION, "Object(null).valueOf()", NULL_OBJECT, (NULL_OBJECT).valueOf() ); 66 array[item++] = new TestCase( SECTION, "typeof Object(null)", "object", typeof (Object(null)) ); 67 array[item++] = new TestCase( SECTION, "Object(null).__proto__", Object.prototype, (Object(null)).__proto__ ); 71 array[item++] = new TestCase( SECTION, "Object(void 0).valueOf()", UNDEFINED_OBJECT, (UNDEFINED_OBJECT).valueOf() ); 72 array[item++] = new TestCase( SECTION, "typeof Object(void 0)", "object", typeof (Object(void 0)) ); 73 array[item++] = new TestCase( SECTION, "Object(void 0).__proto__", Object.prototype, (Object(void 0)).__proto__ ); 75 array[item++] = new TestCase( SECTION, "Object(true).valueOf()", true, (Object(true)).valueOf() ); 76 array[item++] = new TestCase( SECTION, "typeof Object(true)", "object", typeof Object(true) ); 77 array[item++] = new TestCase( SECTION, "var MYOB = Object(true); MYOB.toString = Object.prototype.toString; M (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/ |
15.8.2.13.js | 44 var item = 0; 46 array[item++] = new TestCase( SECTION, "Math.pow.length", 2, Math.pow.length ); 48 array[item++] = new TestCase( SECTION, "Math.pow()", Number.NaN, Math.pow() ); 49 array[item++] = new TestCase( SECTION, "Math.pow(null, null)", 1, Math.pow(null,null) ); 50 array[item++] = new TestCase( SECTION, "Math.pow(void 0, void 0)", Number.NaN, Math.pow(void 0, void 0)); 51 array[item++] = new TestCase( SECTION, "Math.pow(true, false)", 1, Math.pow(true, false) ); 52 array[item++] = new TestCase( SECTION, "Math.pow(false,true)", 0, Math.pow(false,true) ); 53 array[item++] = new TestCase( SECTION, "Math.pow('2','32')", 4294967296, Math.pow('2','32') ); 55 array[item++] = new TestCase( SECTION, "Math.pow(1,NaN)", Number.NaN, Math.pow(1,Number.NaN) ); 56 array[item++] = new TestCase( SECTION, "Math.pow(0,NaN)", Number.NaN, Math.p (…) [all...] |
15.8.2.17.js | 48 var item = 0; 50 array[item++] = new TestCase( SECTION, "Math.sqrt.length", 1, Math.sqrt.length ); 52 array[item++] = new TestCase( SECTION, "Math.sqrt()", Number.NaN, Math.sqrt() ); 53 array[item++] = new TestCase( SECTION, "Math.sqrt(void 0)", Number.NaN, Math.sqrt(void 0) ); 54 array[item++] = new TestCase( SECTION, "Math.sqrt(null)", 0, Math.sqrt(null) ); 55 array[item++] = new TestCase( SECTION, "Math.sqrt(true)", 1, Math.sqrt(1) ); 56 array[item++] = new TestCase( SECTION, "Math.sqrt(false)", 0, Math.sqrt(false) ); 57 array[item++] = new TestCase( SECTION, "Math.sqrt('225')", 15, Math.sqrt('225') ); 59 array[item++] = new TestCase( SECTION, "Math.sqrt(NaN)", Number.NaN, Math.sqrt(Number.NaN) ); 60 array[item++] = new TestCase( SECTION, "Math.sqrt(-Infinity)", Number.NaN, Math.sqrt(Number.NEGATIVE_INF (…) [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
MenuCompat.java | 35 public static boolean setShowAsAction(MenuItem item, int actionEnum) { 36 return MenuItemCompat.setShowAsAction(item, actionEnum);
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
EqualsTester.java | 61 * <li>"{@code [group }<i>i</i>{@code , item }<i>j</i>{@code ]}" refers to the 62 * <i>j</i><sup>th</sup> item in the <i>i</i><sup>th</sup> equality group, 100 @Override public void assertRelated(Object item, Object related) { 101 assertEquals("$ITEM must be equal to $RELATED", item, related); 102 int itemHash = item.hashCode(); 104 assertEquals("the hash (" + itemHash + ") of $ITEM must be equal to the hash (" 108 @Override public void assertUnrelated(Object item, Object unrelated) { 111 assertTrue("$ITEM must be unequal to $UNRELATED", !Objects.equal(item, unrelated)) [all...] |
/external/hamcrest/src/org/hamcrest/ |
Matcher.java | 24 * Evaluates the matcher for argument <var>item</var>. 31 * @param item the object against which the matcher is evaluated. 32 * @return <code>true</code> if <var>item</var> matches, otherwise <code>false</code>. 36 boolean matches(Object item);
|
/external/smack/src/org/jivesoftware/smackx/ |
OfflineMessageHeader.java | 50 public OfflineMessageHeader(DiscoverItems.Item item) { 52 user = item.getEntityID(); 53 jid = item.getName(); 54 stamp = item.getNode();
|