Home
last modified time | relevance | path

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

12345678910>>...27

/external/v8/test/mjsunit/es6/
Dclasses-subclass-arrays.js11 assertSame(Stack.prototype, s1.__proto__);
13 assertSame(0, s1.length);
15 assertSame(1, s1.length);
16 assertSame('xyz', s1[0]);
18 assertSame(2, s1.length);
19 assertSame('xyz', s1[0]);
20 assertSame(42, s1[1]);
25 assertSame(Stack.prototype, s2.__proto__);
27 assertSame(10, s2.length);
28 assertSame(undefined, s2[0]);
[all …]
Dtypedarray.js34 assertSame(expectedByteLength, ab.byteLength);
56 assertSame(0, ab.byteLength);
65 assertSame(1024, ab.byteLength);
79 assertSame(expectedResultLen, slice.byteLength);
82 assertSame(0xCA, a2[i]);
89 assertSame(512, ab1.byteLength);
125 assertSame(elementSize, constr.BYTES_PER_ELEMENT);
134 assertSame(elementSize, a0.BYTES_PER_ELEMENT);
135 assertSame(30, a0.length);
136 assertSame(30*elementSize, a0.byteLength);
[all …]
Dclasses-experimental.js61 assertSame(a + b, this.prp);
62 assertSame(undefined, this.prp1);
69 assertSame(3, b.prp);
73 assertSame(1, s.prp);
74 assertSame(undefined, s.prp1);
95 assertSame(3, s2.prp);
98 assertSame(3, s3.prp);
135 assertSame(obj, this);
146 assertSame(obj, this);
157 assertSame(obj, this);
[all …]
Diterator-prototype.js8 assertSame(Object.prototype, Object.getPrototypeOf(iteratorPrototype));
10 assertSame(0, Object.getOwnPropertyNames(iteratorPrototype).length);
11 assertSame(1, Object.getOwnPropertySymbols(iteratorPrototype).length);
12 assertSame(Symbol.iterator,
21 assertSame('function', typeof iteratorFunction);
22 assertSame(0, iteratorFunction.length);
23 assertSame('[Symbol.iterator]', iteratorFunction.name);
26 assertSame(obj, iteratorFunction.call(obj));
27 assertSame(iteratorPrototype, iteratorPrototype[Symbol.iterator]());
32 assertSame(iteratorPrototype, mapIteratorPrototype.__proto__);
[all …]
/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-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-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-1530.js38 assertSame(f.prototype, a);
39 assertSame(f.prototype.foo, 'bar');
40 assertSame(new f().foo, 'bar');
41 assertSame(Object.getPrototypeOf(new f()), a);
42 assertSame(Object.getOwnPropertyDescriptor(f, 'prototype').value, a);
50 assertSame(f.prototype, b);
51 assertSame(f.prototype.foo, 'baz');
52 assertSame(new f().foo, 'baz');
53 assertSame(Object.getPrototypeOf(new f()), b);
54 assertSame(Object.getOwnPropertyDescriptor(f, 'prototype').value, b);
[all …]
Dregress-123512.js40 assertSame(1, f(1));
41 assertSame(2, f(2));
43 assertSame(3, f(3));
48 assertSame(4, f(4));
49 assertSame(5, f(5));
51 assertSame(6, f(6));
65 assertSame(3, g(1, 2));
66 assertSame(5, g(2, 3));
68 assertSame(7, g(3, 4));
74 assertSame(3, g(1, 2));
[all …]
Dregress-447756.js9 assertSame(Infinity, 1 / a.length);
10 assertSame(Infinity, 1 / a.byteLength);
13 assertSame(Infinity, 1 / ab.byteLength);
16 assertSame(Infinity, 1 / a1.length);
17 assertSame(Infinity, 1 / a1.byteLength);
18 assertSame(Infinity, 1 / a1.byteOffset);
33 assertSame(Infinity, 1 / a.length);
34 assertSame(Infinity, 1 / a.byteLength);
37 assertSame(Infinity, 1 / ab.byteLength);
40 assertSame(Infinity, 1 / a1.length);
[all …]
Dregress-crbug-163530.js37 assertSame(0, arguments.length);
42 assertSame(0, arguments.length);
47 assertSame(0, object.a());
48 assertSame(0, object.a());
50 assertSame(0, object.a());
52 assertSame(0, object.a());
64 assertSame(0, arguments.length);
69 assertSame(8, arguments.length);
74 assertSame(8, object.a());
75 assertSame(8, object.a());
[all …]
/external/protobuf/java/src/test/java/com/google/protobuf/
DLazyStringArrayListTest.java60 assertSame(STRING_A, list.get(0)); in testJustStrings()
61 assertSame(STRING_B, list.get(1)); in testJustStrings()
62 assertSame(STRING_C, list.get(2)); in testJustStrings()
65 assertSame(STRING_C, list.get(1)); in testJustStrings()
68 assertSame(STRING_A, list.get(0)); in testJustStrings()
69 assertSame(STRING_C, list.get(1)); in testJustStrings()
76 assertSame(byteStringList.get(0), list.getByteString(0)); in testJustStrings()
77 assertSame(byteStringList.get(1), list.getByteString(1)); in testJustStrings()
87 assertSame(BYTE_STRING_A, list.getByteString(0)); in testJustByteString()
88 assertSame(BYTE_STRING_B, list.getByteString(1)); in testJustByteString()
[all …]
/external/v8/test/mjsunit/harmony/
Ddestructuring.js40 assertSame(0, x0);
41 assertSame(1, z1);
42 assertSame(0, x1);
75 assertSame(0, x0);
76 assertSame(1, z1);
77 assertSame(0, x1);
106 assertSame(0, x0);
107 assertSame(1, z1);
108 assertSame(5, x1);
143 assertSame(0, x0);
[all …]
Dsharedarraybuffer.js35 assertSame(expectedByteLength, sab.byteLength);
57 assertSame(0, sab.byteLength);
66 assertSame(1024, sab.byteLength);
91 assertSame(elementSize, constr.BYTES_PER_ELEMENT);
102 assertSame(elementSize, a0.BYTES_PER_ELEMENT);
103 assertSame(30, a0.length);
104 assertSame(30*elementSize, a0.byteLength);
105 assertSame(0, a0.byteOffset);
106 assertSame(30*elementSize, a0.buffer.byteLength);
109 assertSame(sab, aOverBufferLen0.buffer);
[all …]
Dproxies-set-prototype-of.js12 assertSame(Object.getPrototypeOf(proxy), target.__proto__ );
19 assertSame(proxy, Object.setPrototypeOf(proxy, prototype));
20 assertSame(prototype, Object.getPrototypeOf(proxy));
21 assertSame(prototype, Object.getPrototypeOf(target));
24 assertSame(pair.proxy, Object.setPrototypeOf(pair.proxy, prototype));
25 assertSame(prototype, Object.getPrototypeOf(pair.proxy));
54 assertSame(Object.setPrototypeOf(proxy, {a:5}), proxy);
55 assertSame(target, seen_target);
65 assertSame(Object.getPrototypeOf(proxy2), target.__proto__ );
68 assertSame(proxy2, Object.setPrototypeOf(proxy2, prototype));
[all …]
/external/v8/test/mjsunit/harmony/regress/
Dregress-2225.js33 assertSame('x', key);
40 assertSame(undefined, Object.prototype.__lookupGetter__.call(proxy, 'foo'));
41 assertSame(undefined, Object.prototype.__lookupSetter__.call(proxy, 'bar'));
42 assertSame(undefined, Object.prototype.__lookupGetter__.call(proxy, '123'));
43 assertSame(undefined, Object.prototype.__lookupSetter__.call(proxy, '456'));
47 assertSame(undefined, Object.prototype.__lookupGetter__.call(object, 'foo'));
48 assertSame(undefined, Object.prototype.__lookupSetter__.call(object, 'bar'));
49 assertSame(undefined, Object.prototype.__lookupGetter__.call(object, '123'));
50 assertSame(undefined, Object.prototype.__lookupSetter__.call(object, '456'));
58 assertSame(42, instance.x);
[all …]
/external/v8/test/mjsunit/
Dcontextual-calls.js57 assertSame(globals[0], Realm.shared.results[0]);
58 assertSame(undefined, Realm.shared.results[1]);
59 assertSame(globals[i], Realm.shared.results[2]);
60 assertSame(globals[i], Realm.shared.results[3]);
66 assertSame(globals[0], Realm.eval(realms[i],'return_this.apply()')) ;
67 assertSame(undefined, Realm.eval(realms[i],'return_this_strict.apply()'));
68 assertSame(globals[0], Realm.eval(realms[i],'return_this.apply(null)')) ;
69 assertSame(null, Realm.eval(realms[i],'return_this_strict.apply(null)'));
71 assertSame(globals[0], Realm.eval(realms[i],'return_this.call()')) ;
72 assertSame(undefined, Realm.eval(realms[i],'return_this_strict.call()'));
[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/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/
DStubFtpServerTest.java59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers()
60assertSame("commandHandler2", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("B… in testSetCommandHandlers()
62assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers()
86assertSame("commandHandler", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("ZZ… in testSetCommandHandler_NotReplyTextBundleAware()
95 assertSame("commandHandler", commandHandler, stubFtpServer.getCommandHandler("ZZZ")); in testSetCommandHandler_NullReplyTextBundle()
96assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandler_NullReplyTextBundle()
144 assertSame("ZZZ", commandHandler, stubFtpServer.getCommandHandler("XXX")); in testLowerCaseOrMixedCaseCommandNames()
145 assertSame("Zzz", commandHandler, stubFtpServer.getCommandHandler("Xxx")); in testLowerCaseOrMixedCaseCommandNames()
146 assertSame("zzz", commandHandler, stubFtpServer.getCommandHandler("xxx")); in testLowerCaseOrMixedCaseCommandNames()
149 assertSame("ZZZ", commandHandler, stubFtpServer.getCommandHandler("YYY")); in testLowerCaseOrMixedCaseCommandNames()
[all …]
/external/mockftpserver/tags/1.2.1/src/test/java/org/mockftpserver/stub/
DStubFtpServerTest.java59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers()
60assertSame("commandHandler2", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("B… in testSetCommandHandlers()
62assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers()
86assertSame("commandHandler", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("ZZ… in testSetCommandHandler_NotReplyTextBundleAware()
95 assertSame("commandHandler", commandHandler, stubFtpServer.getCommandHandler("ZZZ")); in testSetCommandHandler_NullReplyTextBundle()
96assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandler_NullReplyTextBundle()
144 assertSame("ZZZ", commandHandler, stubFtpServer.getCommandHandler("XXX")); in testLowerCaseOrMixedCaseCommandNames()
145 assertSame("Zzz", commandHandler, stubFtpServer.getCommandHandler("Xxx")); in testLowerCaseOrMixedCaseCommandNames()
146 assertSame("zzz", commandHandler, stubFtpServer.getCommandHandler("xxx")); in testLowerCaseOrMixedCaseCommandNames()
149 assertSame("ZZZ", commandHandler, stubFtpServer.getCommandHandler("YYY")); in testLowerCaseOrMixedCaseCommandNames()
[all …]
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/stub/
DStubFtpServerTest.java59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers()
60assertSame("commandHandler2", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("B… in testSetCommandHandlers()
62assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers()
86assertSame("commandHandler", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("ZZ… in testSetCommandHandler_NotReplyTextBundleAware()
95 assertSame("commandHandler", commandHandler, stubFtpServer.getCommandHandler("ZZZ")); in testSetCommandHandler_NullReplyTextBundle()
96assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandler_NullReplyTextBundle()
144 assertSame("ZZZ", commandHandler, stubFtpServer.getCommandHandler("XXX")); in testLowerCaseOrMixedCaseCommandNames()
145 assertSame("Zzz", commandHandler, stubFtpServer.getCommandHandler("Xxx")); in testLowerCaseOrMixedCaseCommandNames()
146 assertSame("zzz", commandHandler, stubFtpServer.getCommandHandler("xxx")); in testLowerCaseOrMixedCaseCommandNames()
149 assertSame("ZZZ", commandHandler, stubFtpServer.getCommandHandler("YYY")); in testLowerCaseOrMixedCaseCommandNames()
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/stub/
DStubFtpServerTest.java59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers()
60assertSame("commandHandler2", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("B… in testSetCommandHandlers()
62assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers()
86assertSame("commandHandler", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("ZZ… in testSetCommandHandler_NotReplyTextBundleAware()
95 assertSame("commandHandler", commandHandler, stubFtpServer.getCommandHandler("ZZZ")); in testSetCommandHandler_NullReplyTextBundle()
96assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandler_NullReplyTextBundle()
144 assertSame("ZZZ", commandHandler, stubFtpServer.getCommandHandler("XXX")); in testLowerCaseOrMixedCaseCommandNames()
145 assertSame("Zzz", commandHandler, stubFtpServer.getCommandHandler("Xxx")); in testLowerCaseOrMixedCaseCommandNames()
146 assertSame("zzz", commandHandler, stubFtpServer.getCommandHandler("xxx")); in testLowerCaseOrMixedCaseCommandNames()
149 assertSame("ZZZ", commandHandler, stubFtpServer.getCommandHandler("YYY")); in testLowerCaseOrMixedCaseCommandNames()
[all …]
/external/mockftpserver/tags/1.2.4/src/test/java/org/mockftpserver/stub/
DStubFtpServerTest.java59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers()
60assertSame("commandHandler2", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("B… in testSetCommandHandlers()
62assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers()
86assertSame("commandHandler", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("ZZ… in testSetCommandHandler_NotReplyTextBundleAware()
95 assertSame("commandHandler", commandHandler, stubFtpServer.getCommandHandler("ZZZ")); in testSetCommandHandler_NullReplyTextBundle()
96assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandler_NullReplyTextBundle()
144 assertSame("ZZZ", commandHandler, stubFtpServer.getCommandHandler("XXX")); in testLowerCaseOrMixedCaseCommandNames()
145 assertSame("Zzz", commandHandler, stubFtpServer.getCommandHandler("Xxx")); in testLowerCaseOrMixedCaseCommandNames()
146 assertSame("zzz", commandHandler, stubFtpServer.getCommandHandler("xxx")); in testLowerCaseOrMixedCaseCommandNames()
149 assertSame("ZZZ", commandHandler, stubFtpServer.getCommandHandler("YYY")); in testLowerCaseOrMixedCaseCommandNames()
[all …]

12345678910>>...27