Home
last modified time | relevance | path

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

12345678910>>...35

/external/protobuf/php/tests/
Darray_test.php23 $this->assertSame(MAX_INT32, $arr[0]);
25 $this->assertSame(MIN_INT32, $arr[1]);
28 $this->assertSame(1, $arr[2]);
30 $this->assertSame(MAX_INT32, $arr[3]);
32 $this->assertSame(MAX_INT32, $arr[4]);
35 $this->assertSame(2, $arr[5]);
37 $this->assertSame(3, $arr[6]);
39 $this->assertSame(MAX_INT32, $arr[7]);
45 $this->assertSame(0, $arr[$i]);
50 $this->assertSame(MAX_INT32, $arr[0]);
[all …]
Dphp_implementation_test.php37 $this->assertSame(1, $value);
42 $this->assertSame(-1, $value);
47 $this->assertSame(-1, $value);
57 $this->assertSame(1, $value);
62 $this->assertSame(-1, $value);
67 $this->assertSame(-1, $value);
116 $this->assertSame(0, $value);
120 $this->assertSame(-1, $value);
124 $this->assertSame(1, $value);
149 $this->assertSame(0x78563412, $value);
[all …]
Dwell_known_test.php64 $this->assertSame(
66 $this->assertSame("type.googleapis.com/foo.TestMessage",
69 $this->assertSame($any, $any->setValue($data));
70 $this->assertSame($data, $any->getValue());
80 $this->assertSame($data, $any->getValue());
81 $this->assertSame("type.googleapis.com/foo.TestMessage", $any->getTypeUrl());
124 $this->assertSame("a", $m->getName());
127 $this->assertSame(1, count($m->getMethods()));
130 $this->assertSame(1, count($m->getOptions()));
133 $this->assertSame("a", $m->getVersion());
[all …]
Ddescriptors_test.php79 $this->assertSame('Descriptors\TestDescriptorsMessage', $class);
82 $this->assertSame('descriptors.TestDescriptorsMessage', $desc->getFullName());
83 $this->assertSame($class, $desc->getClass());
86 $this->assertSame(7, $desc->getFieldCount());
89 $this->assertSame(1, $desc->getOneofDeclCount());
113 $this->assertSame('ZERO', $enumDescMap[0]);
114 $this->assertSame('ONE', $enumDescMap[1]);
116 $this->assertSame(2, $enumDesc->getValueCount());
132 $this->assertSame('optional_int32', $fieldDesc->getName());
133 $this->assertSame(1, $fieldDesc->getNumber());
[all …]
Dtest_base.php22 $this->assertSame(-42, $m->getOptionalInt32());
23 $this->assertSame(42, $m->getOptionalUint32());
24 $this->assertSame(-44, $m->getOptionalSint32());
25 $this->assertSame(46, $m->getOptionalFixed32());
26 $this->assertSame(-46, $m->getOptionalSfixed32());
27 $this->assertSame(1.5, $m->getOptionalFloat());
28 $this->assertSame(1.6, $m->getOptionalDouble());
29 $this->assertSame(true, $m->getOptionalBool());
30 $this->assertSame('a', $m->getOptionalString());
31 $this->assertSame('bbbb', $m->getOptionalBytes());
[all …]
Dencode_decode_test.php55 $this->assertSame("true", $m->serializeToJsonString());
69 $this->assertSame("1.5", $m->serializeToJsonString());
83 $this->assertSame("1.5", $m->serializeToJsonString());
97 $this->assertSame("1", $m->serializeToJsonString());
111 $this->assertSame("1", $m->serializeToJsonString());
146 $this->assertSame("a", $m->getValue());
153 $this->assertSame("\"a\"", $m->serializeToJsonString());
160 $this->assertSame("a", $m->getValue());
167 $this->assertSame("\"YQ==\"", $m->serializeToJsonString());
184 $this->assertSame(strlen($expected), strlen($m->serializeToJsonString()));
[all …]
Dmap_field_test.php21 $this->assertSame(MAX_INT32, $arr[MAX_INT32]);
23 $this->assertSame(MIN_INT32, $arr[MIN_INT32]);
34 $this->assertSame(1, $arr[1]);
35 $this->assertSame(2, $arr[2]);
37 $this->assertSame(MAX_INT32, $arr[MAX_INT32]);
39 $this->assertSame(MIN_INT32, $arr[MIN_INT32]);
49 $this->assertSame(2, $arr[2]);
51 $this->assertSame(3, $arr[3]);
53 $this->assertSame(MAX_INT32, $arr[MAX_INT32]);
68 $this->assertSame($key, $val);
[all …]
Dgenerated_class_test.php38 $this->assertSame(1, $m->getOptionalInt32());
51 $this->assertSame(MAX_INT32, $m->getOptionalInt32());
53 $this->assertSame(MIN_INT32, $m->getOptionalInt32());
57 $this->assertSame(1, $m->getOptionalInt32());
59 $this->assertSame(MAX_INT32, $m->getOptionalInt32());
61 $this->assertSame(MIN_INT32, $m->getOptionalInt32());
65 $this->assertSame(2, $m->getOptionalInt32());
67 $this->assertSame(3, $m->getOptionalInt32());
69 $this->assertSame(MAX_INT32, $m->getOptionalInt32());
71 $this->assertSame(MIN_INT32, $m->getOptionalInt32());
[all …]
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DLoggerTest.java110 assertSame(Logger.global, Logger.getLogger("global")); in testGlobalLogger()
111 assertSame(Logger.global, LogManager.getLogManager() in testGlobalLogger()
249 assertSame(log, Logger.getLogger("testGetLogger_Normal_ANewLogger")); in testGetLogger_Normal()
251 assertSame(log, LogManager.getLogManager().getLogger( in testGetLogger_Normal()
257 assertSame(Level.ALL, log.getLevel()); in testGetLogger_Normal()
282 assertSame(log, Logger in testGetLogger_InvalidLevel()
285 assertSame(log, LogManager.getLogManager().getLogger( in testGetLogger_InvalidLevel()
318 assertSame(log, LogManager.getLogManager().getLogger("")); in testGetLogger_Empty()
322 assertSame(Level.INFO, log.getLevel()); in testGetLogger_Empty()
354 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/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DLazyStringArrayListTest.java61 assertSame(STRING_A, list.get(0)); in testJustStrings()
62 assertSame(STRING_B, list.get(1)); in testJustStrings()
63 assertSame(STRING_C, list.get(2)); in testJustStrings()
66 assertSame(STRING_C, list.get(1)); in testJustStrings()
69 assertSame(STRING_A, list.get(0)); in testJustStrings()
70 assertSame(STRING_C, list.get(1)); in testJustStrings()
80 assertSame(BYTE_STRING_A, list.getByteString(0)); in testJustByteString()
81 assertSame(BYTE_STRING_B, list.getByteString(1)); in testJustByteString()
82 assertSame(BYTE_STRING_C, list.getByteString(2)); in testJustByteString()
85 assertSame(BYTE_STRING_A, list.getByteString(0)); in testJustByteString()
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DLazyStringArrayListTest.java64 assertSame(STRING_A, list.get(0)); in testJustStrings()
65 assertSame(STRING_B, list.get(1)); in testJustStrings()
66 assertSame(STRING_C, list.get(2)); in testJustStrings()
69 assertSame(STRING_C, list.get(1)); in testJustStrings()
72 assertSame(STRING_A, list.get(0)); in testJustStrings()
73 assertSame(STRING_C, list.get(1)); in testJustStrings()
80 assertSame(byteStringList.get(0), list.getByteString(0)); in testJustStrings()
81 assertSame(byteStringList.get(1), list.getByteString(1)); in testJustStrings()
91 assertSame(BYTE_STRING_A, list.getByteString(0)); in testJustByteString()
92 assertSame(BYTE_STRING_B, list.getByteString(1)); in testJustByteString()
[all …]
DLazyStringEndToEndTest.java99 assertSame(a, proto.getOptionalString()); in testCaching()
100 assertSame(b, proto.getRepeatedString(0)); in testCaching()
101 assertSame(c, proto.getRepeatedString(1)); in testCaching()
107 assertSame(a, proto.getOptionalString()); in testCaching()
108 assertSame(b, proto.getRepeatedString(0)); in testCaching()
109 assertSame(c, proto.getRepeatedString(1)); in testCaching()
115 assertSame(optional, proto.getOptionalStringBytes()); in testNoStringCachingIfOnlyBytesAccessed()
116 assertSame(optional, proto.toBuilder().getOptionalStringBytes()); in testNoStringCachingIfOnlyBytesAccessed()
120 assertSame(repeated0, proto.getRepeatedStringBytes(0)); in testNoStringCachingIfOnlyBytesAccessed()
121 assertSame(repeated1, proto.getRepeatedStringBytes(1)); in testNoStringCachingIfOnlyBytesAccessed()
[all …]
/external/grpc-grpc-java/context/src/test/java/io/grpc/
DPersistentHashArrayMappedTrieTest.java21 import static org.junit.Assert.assertSame;
41 assertSame(value2, ret.get(key, key.hashCode(), 0)); in leaf_replace()
43 assertSame(value1, leaf.get(key, key.hashCode(), 0)); in leaf_replace()
58 assertSame(value1, ret.get(key1, key1.hashCode(), 0)); in leaf_collision()
59 assertSame(value2, ret.get(key2, key2.hashCode(), 0)); in leaf_collision()
61 assertSame(value1, leaf.get(key1, key1.hashCode(), 0)); in leaf_collision()
62 assertSame(null, leaf.get(key2, key2.hashCode(), 0)); in leaf_collision()
77 assertSame(value1, ret.get(key1, key1.hashCode(), 0)); in leaf_insert()
78 assertSame(value2, ret.get(key2, key2.hashCode(), 0)); in leaf_insert()
80 assertSame(value1, leaf.get(key1, key1.hashCode(), 0)); in leaf_insert()
[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.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/1.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/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.3/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.0/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/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 …]
/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/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DThreadContextElementTest.kt23 assertSame(element, coroutineContext[MyElement]) in <lambda>()
24 assertSame(data, myThreadLocal.get()) in <lambda>()
26 assertSame(mainThread, Thread.currentThread()) in <lambda>()
27 assertSame(element, coroutineContext[MyElement]) in <lambda>()
28 assertSame(data, myThreadLocal.get()) in <lambda>()
31 assertSame(element, coroutineContext[MyElement]) in <lambda>()
32 assertSame(data, myThreadLocal.get()) in <lambda>()
48 assertSame(data, myThreadLocal.get()) in testUndispatched()
50 assertSame(data, myThreadLocal.get()) in testUndispatched()
64 assertSame(data, myThreadLocal.get()) in <lambda>()
[all …]

12345678910>>...35