Home
last modified time | relevance | path

Searched refs:assertSame (Results 1 – 25 of 323) sorted by relevance

12345678910>>...13

/external/v8/test/mjsunit/compiler/
Dliterals-optimized.js45 assertSame(6, array.length);
46 assertSame(0, array[0]);
47 assertSame(a, array[1]);
48 assertSame(0, array[2]);
49 assertSame(b, array[3]);
50 assertSame(0, array[4]);
51 assertSame(c, array[5]);
61 assertSame(4, array.length);
62 assertSame(2, array[0].length);
63 assertSame(0, array[0][0]);
[all …]
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DLoggerTest.java108 assertSame(Logger.global, Logger.getLogger("global")); in testGlobalLogger()
109 assertSame(Logger.global, LogManager.getLogManager() in testGlobalLogger()
247 assertSame(log, Logger.getLogger("testGetLogger_Normal_ANewLogger")); in testGetLogger_Normal()
249 assertSame(log, LogManager.getLogManager().getLogger( in testGetLogger_Normal()
255 assertSame(Level.ALL, log.getLevel()); in testGetLogger_Normal()
280 assertSame(log, Logger in testGetLogger_InvalidLevel()
283 assertSame(log, LogManager.getLogManager().getLogger( in testGetLogger_InvalidLevel()
316 assertSame(log, LogManager.getLogManager().getLogger("")); in testGetLogger_Empty()
320 assertSame(Level.INFO, log.getLevel()); in testGetLogger_Empty()
352 assertSame(log.getParent(), pLog); in testGetLogger_WithParentNormal()
[all …]
DLevelTest.java112 assertSame(Level.SEVERE, Level.parse("SEVERE")); in testParse_PredefinedConstStrings()
113 assertSame(Level.WARNING, Level.parse("WARNING")); in testParse_PredefinedConstStrings()
114 assertSame(Level.INFO, Level.parse("INFO")); in testParse_PredefinedConstStrings()
115 assertSame(Level.CONFIG, Level.parse("CONFIG")); in testParse_PredefinedConstStrings()
116 assertSame(Level.FINE, Level.parse("FINE")); in testParse_PredefinedConstStrings()
117 assertSame(Level.FINER, Level.parse("FINER")); in testParse_PredefinedConstStrings()
118 assertSame(Level.FINEST, Level.parse("FINEST")); in testParse_PredefinedConstStrings()
119 assertSame(Level.OFF, Level.parse("OFF")); in testParse_PredefinedConstStrings()
120 assertSame(Level.ALL, Level.parse("ALL")); in testParse_PredefinedConstStrings()
151 assertSame(Level.SEVERE, Level.parse("SEVERE")); in testParse_PredefinedNumber()
[all …]
/external/v8/test/mjsunit/regress/
Dregress-1624.js37 assertSame(0, no_touch);
43 assertSame(0, no_touch);
49 assertSame(3, no_touch);
55 assertSame(4, no_touch);
63 assertSame(0, no_touch);
65 assertSame(0, no_touch);
73 assertSame(0, no_touch);
75 assertSame(0, no_touch);
83 assertSame(7, no_touch);
85 assertSame(0, no_touch);
[all …]
Dregress-1624-strict.js38 assertSame(0, no_touch);
44 assertSame(0, no_touch);
50 assertSame(0, no_touch);
56 assertSame(4, no_touch);
64 assertSame(0, no_touch);
66 assertSame(0, no_touch);
74 assertSame(0, no_touch);
76 assertSame(0, no_touch);
84 assertSame(0, no_touch);
86 assertSame(0, no_touch);
[all …]
Dregress-1530.js38 assertSame(f.prototype, x);
39 assertSame(f.prototype.foo, 'bar');
40 assertSame(new f().foo, 'bar');
41 assertSame(Object.getPrototypeOf(new f()), x);
42 assertSame(Object.getOwnPropertyDescriptor(f, 'prototype').value, x);
49 assertSame(f.prototype, y);
50 assertSame(f.prototype.foo, 'baz');
51 assertSame(new f().foo, 'baz');
52 assertSame(Object.getPrototypeOf(new f()), y);
53 assertSame(Object.getOwnPropertyDescriptor(f, 'prototype').value, y);
[all …]
/external/v8/test/mjsunit/harmony/
Dproxies-function.js74 assertSame(o, receiver)
77 assertSame(o, receiver)
80 assertSame(o, receiver)
83 assertSame(o, receiver)
86 assertSame(o, receiver)
89 assertSame(isStrict ? undefined : global_object, receiver)
92 assertSame(isStrict ? null : global_object, receiver)
95 assertSame(2, receiver.valueOf())
98 assertSame(o, receiver)
101 assertSame(isStrict ? null : global_object, receiver)
[all …]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DStringBuilderTest.java98 assertSame(sb, sb.append(true)); in test_appendZ()
101 assertSame(sb, sb.append(false)); in test_appendZ()
110 assertSame(sb, sb.append('a')); in test_appendC()
113 assertSame(sb, sb.append('b')); in test_appendC()
122 assertSame(sb, sb.append(new char[] { 'a', 'b' })); in test_append$C()
125 assertSame(sb, sb.append(new char[] { 'c', 'd' })); in test_append$C()
140 assertSame(sb, sb.append(new char[] { 'a', 'b' }, 0, 2)); in test_append$CII()
143 assertSame(sb, sb.append(new char[] { 'c', 'd' }, 0, 2)); in test_append$CII()
147 assertSame(sb, sb.append(new char[] { 'a', 'b', 'c', 'd' }, 0, 2)); in test_append$CII()
151 assertSame(sb, sb.append(new char[] { 'a', 'b', 'c', 'd' }, 2, 2)); in test_append$CII()
[all …]
/external/apache-harmony/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/
DPropertyChangeEventTest.java42 assertSame(src, event.getSource()); in testConstructor_Normal()
44 assertSame(oldValue, event.getOldValue()); in testConstructor_Normal()
45 assertSame(newValue, event.getNewValue()); in testConstructor_Normal()
56 assertSame(src, event.getSource()); in testConstructor_Null()
58 assertSame(null, event.getOldValue()); in testConstructor_Null()
59 assertSame(null, event.getNewValue()); in testConstructor_Null()
73 assertSame(src, event.getSource()); in testConstructor_NullProperty()
75 assertSame(oldValue, event.getOldValue()); in testConstructor_NullProperty()
76 assertSame(newValue, event.getNewValue()); in testConstructor_NullProperty()
107 assertSame(src, event.getSource()); in testSetPropagationId_Normal()
[all …]
/external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/
DCharsetEncoderTest.java93 assertSame(encoder, encoder.onMalformedInput(CodingErrorAction.IGNORE)); in testDefaultValue()
94 assertSame(encoder, encoder in testDefaultValue()
111 assertSame(encoder.charset(), cs); in testCharsetEncoderCharsetfloatfloat()
119 assertSame(encoder, encoder.onMalformedInput(CodingErrorAction.IGNORE)); in testCharsetEncoderCharsetfloatfloat()
120 assertSame(encoder, encoder in testCharsetEncoderCharsetfloatfloat()
125 assertSame(ec.charset(), cs); in testCharsetEncoderCharsetfloatfloat()
181 assertSame(ec.charset(), cs); in testCharsetEncoderCharsetfloatfloatbyteArray()
184 assertSame(ba, ec.replacement()); in testCharsetEncoderCharsetfloatfloatbyteArray()
271 assertSame(encoder, encoder.reset()); in testResetIllegalState()
273 assertSame(encoder, encoder.reset()); in testResetIllegalState()
[all …]
/external/webkit/LayoutTests/dom/xhtml/level3/core/
Dnodegetfeature04.js102 assertSame("coreUnspecifiedVersion",node,featureImpl);
104 assertSame("cOrEUnspecifiedVersion",node,featureImpl);
106 assertSame("PlusCoreUnspecifiedVersion",node,featureImpl);
110 assertSame("Core20",node,featureImpl);
112 assertSame("Core30",node,featureImpl);
119 assertSame("XMLUnspecified",node,featureImpl);
128 assertSame("SVGUnspecified",node,featureImpl);
137 assertSame("HTMLUnspecified",node,featureImpl);
146 assertSame("EventsUnspecified",node,featureImpl);
155 assertSame("LSUnspecified",node,featureImpl);
[all …]
Dnodegetfeature06.js102 assertSame("coreUnspecifiedVersion",node,featureImpl);
104 assertSame("cOrEUnspecifiedVersion",node,featureImpl);
106 assertSame("PlusCoreUnspecifiedVersion",node,featureImpl);
110 assertSame("Core20",node,featureImpl);
112 assertSame("Core30",node,featureImpl);
119 assertSame("XMLUnspecified",node,featureImpl);
128 assertSame("SVGUnspecified",node,featureImpl);
137 assertSame("HTMLUnspecified",node,featureImpl);
146 assertSame("EventsUnspecified",node,featureImpl);
155 assertSame("LSUnspecified",node,featureImpl);
[all …]
Dnodegetfeature08.js104 assertSame("coreUnspecifiedVersion",node,featureImpl);
106 assertSame("cOrEUnspecifiedVersion",node,featureImpl);
108 assertSame("PlusCoreUnspecifiedVersion",node,featureImpl);
112 assertSame("Core20",node,featureImpl);
114 assertSame("Core30",node,featureImpl);
121 assertSame("XMLUnspecified",node,featureImpl);
130 assertSame("SVGUnspecified",node,featureImpl);
139 assertSame("HTMLUnspecified",node,featureImpl);
148 assertSame("EventsUnspecified",node,featureImpl);
157 assertSame("LSUnspecified",node,featureImpl);
[all …]
Dnodegetfeature03.js103 assertSame("coreUnspecifiedVersion",node,featureImpl);
105 assertSame("cOrEUnspecifiedVersion",node,featureImpl);
107 assertSame("PlusCoreUnspecifiedVersion",node,featureImpl);
111 assertSame("Core20",node,featureImpl);
113 assertSame("Core30",node,featureImpl);
120 assertSame("XMLUnspecified",node,featureImpl);
129 assertSame("SVGUnspecified",node,featureImpl);
138 assertSame("HTMLUnspecified",node,featureImpl);
147 assertSame("EventsUnspecified",node,featureImpl);
156 assertSame("LSUnspecified",node,featureImpl);
[all …]
Dnodegetfeature09.js103 assertSame("coreUnspecifiedVersion",node,featureImpl);
105 assertSame("cOrEUnspecifiedVersion",node,featureImpl);
107 assertSame("PlusCoreUnspecifiedVersion",node,featureImpl);
111 assertSame("Core20",node,featureImpl);
113 assertSame("Core30",node,featureImpl);
120 assertSame("XMLUnspecified",node,featureImpl);
129 assertSame("SVGUnspecified",node,featureImpl);
138 assertSame("HTMLUnspecified",node,featureImpl);
147 assertSame("EventsUnspecified",node,featureImpl);
156 assertSame("LSUnspecified",node,featureImpl);
[all …]
Dnodegetfeature07.js102 assertSame("coreUnspecifiedVersion",node,featureImpl);
104 assertSame("cOrEUnspecifiedVersion",node,featureImpl);
106 assertSame("PlusCoreUnspecifiedVersion",node,featureImpl);
110 assertSame("Core20",node,featureImpl);
112 assertSame("Core30",node,featureImpl);
119 assertSame("XMLUnspecified",node,featureImpl);
128 assertSame("SVGUnspecified",node,featureImpl);
137 assertSame("HTMLUnspecified",node,featureImpl);
146 assertSame("EventsUnspecified",node,featureImpl);
155 assertSame("LSUnspecified",node,featureImpl);
[all …]
Dnodegetfeature02.js102 assertSame("coreUnspecifiedVersion",node,featureImpl);
104 assertSame("cOrEUnspecifiedVersion",node,featureImpl);
106 assertSame("PlusCoreUnspecifiedVersion",node,featureImpl);
110 assertSame("Core20",node,featureImpl);
112 assertSame("Core30",node,featureImpl);
119 assertSame("XMLUnspecified",node,featureImpl);
128 assertSame("SVGUnspecified",node,featureImpl);
137 assertSame("HTMLUnspecified",node,featureImpl);
146 assertSame("EventsUnspecified",node,featureImpl);
155 assertSame("LSUnspecified",node,featureImpl);
[all …]
Dnodegetfeature11.js102 assertSame("coreUnspecifiedVersion",node,featureImpl);
104 assertSame("cOrEUnspecifiedVersion",node,featureImpl);
106 assertSame("PlusCoreUnspecifiedVersion",node,featureImpl);
110 assertSame("Core20",node,featureImpl);
112 assertSame("Core30",node,featureImpl);
119 assertSame("XMLUnspecified",node,featureImpl);
128 assertSame("SVGUnspecified",node,featureImpl);
137 assertSame("HTMLUnspecified",node,featureImpl);
146 assertSame("EventsUnspecified",node,featureImpl);
155 assertSame("LSUnspecified",node,featureImpl);
[all …]
Dnodegetfeature05.js103 assertSame("coreUnspecifiedVersion",node,featureImpl);
105 assertSame("cOrEUnspecifiedVersion",node,featureImpl);
107 assertSame("PlusCoreUnspecifiedVersion",node,featureImpl);
111 assertSame("Core20",node,featureImpl);
113 assertSame("Core30",node,featureImpl);
120 assertSame("XMLUnspecified",node,featureImpl);
129 assertSame("SVGUnspecified",node,featureImpl);
138 assertSame("HTMLUnspecified",node,featureImpl);
147 assertSame("EventsUnspecified",node,featureImpl);
156 assertSame("LSUnspecified",node,featureImpl);
[all …]
Dnodegetfeature01.js102 assertSame("coreUnspecifiedVersion",node,featureImpl);
104 assertSame("cOrEUnspecifiedVersion",node,featureImpl);
106 assertSame("PlusCoreUnspecifiedVersion",node,featureImpl);
110 assertSame("Core20",node,featureImpl);
112 assertSame("Core30",node,featureImpl);
119 assertSame("XMLUnspecified",node,featureImpl);
128 assertSame("SVGUnspecified",node,featureImpl);
137 assertSame("HTMLUnspecified",node,featureImpl);
146 assertSame("EventsUnspecified",node,featureImpl);
155 assertSame("LSUnspecified",node,featureImpl);
[all …]
Dnodegetfeature13.js108 assertSame("coreUnspecifiedVersion",node,featureImpl);
110 assertSame("cOrEUnspecifiedVersion",node,featureImpl);
112 assertSame("PlusCoreUnspecifiedVersion",node,featureImpl);
116 assertSame("Core20",node,featureImpl);
118 assertSame("Core30",node,featureImpl);
125 assertSame("XMLUnspecified",node,featureImpl);
134 assertSame("SVGUnspecified",node,featureImpl);
143 assertSame("HTMLUnspecified",node,featureImpl);
152 assertSame("EventsUnspecified",node,featureImpl);
161 assertSame("LSUnspecified",node,featureImpl);
[all …]
Dnodegetfeature10.js107 assertSame("coreUnspecifiedVersion",node,featureImpl);
109 assertSame("cOrEUnspecifiedVersion",node,featureImpl);
111 assertSame("PlusCoreUnspecifiedVersion",node,featureImpl);
115 assertSame("Core20",node,featureImpl);
117 assertSame("Core30",node,featureImpl);
124 assertSame("XMLUnspecified",node,featureImpl);
133 assertSame("SVGUnspecified",node,featureImpl);
142 assertSame("HTMLUnspecified",node,featureImpl);
151 assertSame("EventsUnspecified",node,featureImpl);
160 assertSame("LSUnspecified",node,featureImpl);
[all …]
Dnodegetfeature12.js108 assertSame("coreUnspecifiedVersion",node,featureImpl);
110 assertSame("cOrEUnspecifiedVersion",node,featureImpl);
112 assertSame("PlusCoreUnspecifiedVersion",node,featureImpl);
116 assertSame("Core20",node,featureImpl);
118 assertSame("Core30",node,featureImpl);
125 assertSame("XMLUnspecified",node,featureImpl);
134 assertSame("SVGUnspecified",node,featureImpl);
143 assertSame("HTMLUnspecified",node,featureImpl);
152 assertSame("EventsUnspecified",node,featureImpl);
161 assertSame("LSUnspecified",node,featureImpl);
[all …]
/external/apache-harmony/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/
DPreferenceChangeEventTest.java46 assertSame(Preferences.userRoot(), event.getNode()); in testConstructorNullValue()
47 assertSame(Preferences.userRoot(), event.getSource()); in testConstructorNullValue()
52 assertSame(Preferences.userRoot(), event.getNode()); in testConstructorNullValue()
53 assertSame(Preferences.userRoot(), event.getSource()); in testConstructorNullValue()
58 assertSame(Preferences.userRoot(), event.getNode()); in testConstructorNullValue()
59 assertSame(Preferences.userRoot(), event.getSource()); in testConstructorNullValue()
64 assertSame(Preferences.userRoot(), event.getNode()); in testConstructorNullValue()
65 assertSame(Preferences.userRoot(), event.getSource()); in testConstructorNullValue()
73 assertSame(Preferences.userRoot(), event.getNode()); in testConstructor()
74 assertSame(Preferences.userRoot(), event.getSource()); in testConstructor()
/external/guava/guava-tests/test/com/google/common/cache/
DNullCacheTest.java50 assertSame(computed, cache.getUnchecked(key)); in testGet()
52 assertSame(key, notification.getKey()); in testGet()
53 assertSame(computed, notification.getValue()); in testGet()
54 assertSame(RemovalCause.SIZE, notification.getCause()); in testGet()
67 assertSame(computed, cache.getUnchecked(key)); in testGet_expireAfterWrite()
69 assertSame(key, notification.getKey()); in testGet_expireAfterWrite()
70 assertSame(computed, notification.getValue()); in testGet_expireAfterWrite()
71 assertSame(RemovalCause.SIZE, notification.getCause()); in testGet_expireAfterWrite()
84 assertSame(computed, cache.getUnchecked(key)); in testGet_expireAfterAccess()
86 assertSame(key, notification.getKey()); in testGet_expireAfterAccess()
[all …]

12345678910>>...13