Home
last modified time | relevance | path

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

12345678910>>...23

/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/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.java104 assertSame(a, proto.getOptionalString()); in testCaching()
105 assertSame(b, proto.getRepeatedString(0)); in testCaching()
106 assertSame(c, proto.getRepeatedString(1)); in testCaching()
113 assertSame(a, proto.getOptionalString()); in testCaching()
114 assertSame(b, proto.getRepeatedString(0)); in testCaching()
115 assertSame(c, proto.getRepeatedString(1)); in testCaching()
122 assertSame(optional, proto.getOptionalStringBytes()); in testNoStringCachingIfOnlyBytesAccessed()
123 assertSame(optional, proto.toBuilder().getOptionalStringBytes()); in testNoStringCachingIfOnlyBytesAccessed()
127 assertSame(repeated0, proto.getRepeatedStringBytes(0)); in testNoStringCachingIfOnlyBytesAccessed()
128 assertSame(repeated1, proto.getRepeatedStringBytes(1)); in testNoStringCachingIfOnlyBytesAccessed()
[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/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DIntentTest.java11 import static org.junit.Assert.assertSame;
38 assertSame(intent, intent.putExtra("foo", "bar")); in testStringExtra()
46 assertSame(intent, intent.putExtra("foo", cs)); in testCharSequenceExtra()
47 assertSame(cs, intent.getExtras().get("foo")); in testCharSequenceExtra()
53 assertSame(intent, intent.putExtra("foo", 2)); in testIntExtra()
61 assertSame(intent, intent.putExtra("foo", 2d)); in testDoubleExtra()
69 assertSame(intent, intent.putExtra("foo", 2f)); in testFloatExtra()
80 assertSame(intent, intent.putExtra("foo", array)); in testIntArrayExtra()
91 assertSame(intent, intent.putExtra("foo", array)); in testLongArrayExtra()
100 assertSame(intent, intent.putExtra("foo", serializable)); in testSerializableExtra()
[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.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.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.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/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/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 …]
/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/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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowIntentTest.java7 import static org.junit.Assert.assertSame;
53 assertSame(intent, intent.putExtra("foo", "bar")); in testStringExtra()
61 assertSame(intent, intent.putExtra("foo", cs)); in testCharSequenceExtra()
62 assertSame(cs, intent.getExtras().get("foo")); in testCharSequenceExtra()
68 assertSame(intent, intent.putExtra("foo", 2)); in testIntExtra()
76 assertSame(intent, intent.putExtra("foo", 2d)); in testDoubleExtra()
84 assertSame(intent, intent.putExtra("foo", 2f)); in testFloatExtra()
95 assertSame(intent, intent.putExtra("foo", array)); in testIntArrayExtra()
106 assertSame(intent, intent.putExtra("foo", array)); in testLongArrayExtra()
115 assertSame(intent, intent.putExtra("foo", serializable)); in testSerializableExtra()
[all …]
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletTest.java131 assertSame(request, servletRequest); in testRequestAndResponseBindings()
132 assertSame(request, injector.getInstance(ServletRequest.class)); in testRequestAndResponseBindings()
133 assertSame(request, injector.getInstance(HTTP_REQ_KEY)); in testRequestAndResponseBindings()
135 assertSame(response, servletResponse); in testRequestAndResponseBindings()
136 assertSame(response, injector.getInstance(ServletResponse.class)); in testRequestAndResponseBindings()
137 assertSame(response, injector.getInstance(HTTP_RESP_KEY)); in testRequestAndResponseBindings()
139 assertSame(servletRequest.getParameterMap(), injector.getInstance(REQ_PARAMS_KEY)); in testRequestAndResponseBindings()
178 assertSame(req, servletReqProvider.get()); in testRequestAndResponseBindings_wrappingFilter()
179 assertSame(req, reqProvider.get()); in testRequestAndResponseBindings_wrappingFilter()
181 assertSame(resp, servletRespProvider.get()); in testRequestAndResponseBindings_wrappingFilter()
[all …]
/external/mockftpserver/tags/2.0-rc1/src/test/java/org/mockftpserver/core/server/
DAbstractFtpServerTest.java50 assertSame("commandHandler1", commandHandler, ftpServer.getCommandHandler("AAA")); in testSetCommandHandlers()
51 assertSame("commandHandler2", commandHandler2, ftpServer.getCommandHandler("BBB")); in testSetCommandHandlers()
78 assertSame("commandHandler", commandHandler2, ftpServer.getCommandHandler("ZZZ")); in testSetCommandHandler()
114 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("XXX")); in testLowerCaseOrMixedCaseCommandNames()
115 assertSame("Zzz", commandHandler, ftpServer.getCommandHandler("Xxx")); in testLowerCaseOrMixedCaseCommandNames()
116 assertSame("zzz", commandHandler, ftpServer.getCommandHandler("xxx")); in testLowerCaseOrMixedCaseCommandNames()
119 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("YYY")); in testLowerCaseOrMixedCaseCommandNames()
120 assertSame("Zzz", commandHandler, ftpServer.getCommandHandler("Yyy")); in testLowerCaseOrMixedCaseCommandNames()
121 assertSame("zzz", commandHandler, ftpServer.getCommandHandler("yyy")); in testLowerCaseOrMixedCaseCommandNames()
124 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("ZZZ")); in testLowerCaseOrMixedCaseCommandNames()
[all …]
/external/mockftpserver/tags/2.3/src/test/java/org/mockftpserver/core/server/
DAbstractFtpServerTestCase.java52 assertSame("commandHandler1", commandHandler, ftpServer.getCommandHandler("AAA")); in testSetCommandHandlers()
53 assertSame("commandHandler2", commandHandler2, ftpServer.getCommandHandler("BBB")); in testSetCommandHandlers()
80 assertSame("commandHandler", commandHandler2, ftpServer.getCommandHandler("ZZZ")); in testSetCommandHandler()
122 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("XXX")); in testLowerCaseOrMixedCaseCommandNames()
123 assertSame("Zzz", commandHandler, ftpServer.getCommandHandler("Xxx")); in testLowerCaseOrMixedCaseCommandNames()
124 assertSame("zzz", commandHandler, ftpServer.getCommandHandler("xxx")); in testLowerCaseOrMixedCaseCommandNames()
127 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("YYY")); in testLowerCaseOrMixedCaseCommandNames()
128 assertSame("Zzz", commandHandler, ftpServer.getCommandHandler("Yyy")); in testLowerCaseOrMixedCaseCommandNames()
129 assertSame("zzz", commandHandler, ftpServer.getCommandHandler("yyy")); in testLowerCaseOrMixedCaseCommandNames()
132 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("ZZZ")); in testLowerCaseOrMixedCaseCommandNames()
[all …]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/core/server/
DAbstractFtpServerTest.java52 assertSame("commandHandler1", commandHandler, ftpServer.getCommandHandler("AAA")); in testSetCommandHandlers()
53 assertSame("commandHandler2", commandHandler2, ftpServer.getCommandHandler("BBB")); in testSetCommandHandlers()
80 assertSame("commandHandler", commandHandler2, ftpServer.getCommandHandler("ZZZ")); in testSetCommandHandler()
116 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("XXX")); in testLowerCaseOrMixedCaseCommandNames()
117 assertSame("Zzz", commandHandler, ftpServer.getCommandHandler("Xxx")); in testLowerCaseOrMixedCaseCommandNames()
118 assertSame("zzz", commandHandler, ftpServer.getCommandHandler("xxx")); in testLowerCaseOrMixedCaseCommandNames()
121 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("YYY")); in testLowerCaseOrMixedCaseCommandNames()
122 assertSame("Zzz", commandHandler, ftpServer.getCommandHandler("Yyy")); in testLowerCaseOrMixedCaseCommandNames()
123 assertSame("zzz", commandHandler, ftpServer.getCommandHandler("yyy")); in testLowerCaseOrMixedCaseCommandNames()
126 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("ZZZ")); in testLowerCaseOrMixedCaseCommandNames()
[all …]
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/core/server/
DAbstractFtpServerTest.java52 assertSame("commandHandler1", commandHandler, ftpServer.getCommandHandler("AAA")); in testSetCommandHandlers()
53 assertSame("commandHandler2", commandHandler2, ftpServer.getCommandHandler("BBB")); in testSetCommandHandlers()
80 assertSame("commandHandler", commandHandler2, ftpServer.getCommandHandler("ZZZ")); in testSetCommandHandler()
116 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("XXX")); in testLowerCaseOrMixedCaseCommandNames()
117 assertSame("Zzz", commandHandler, ftpServer.getCommandHandler("Xxx")); in testLowerCaseOrMixedCaseCommandNames()
118 assertSame("zzz", commandHandler, ftpServer.getCommandHandler("xxx")); in testLowerCaseOrMixedCaseCommandNames()
121 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("YYY")); in testLowerCaseOrMixedCaseCommandNames()
122 assertSame("Zzz", commandHandler, ftpServer.getCommandHandler("Yyy")); in testLowerCaseOrMixedCaseCommandNames()
123 assertSame("zzz", commandHandler, ftpServer.getCommandHandler("yyy")); in testLowerCaseOrMixedCaseCommandNames()
126 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("ZZZ")); in testLowerCaseOrMixedCaseCommandNames()
[all …]
/external/mockftpserver/tags/2.0.2/src/test/java/org/mockftpserver/core/server/
DAbstractFtpServerTest.java52 assertSame("commandHandler1", commandHandler, ftpServer.getCommandHandler("AAA")); in testSetCommandHandlers()
53 assertSame("commandHandler2", commandHandler2, ftpServer.getCommandHandler("BBB")); in testSetCommandHandlers()
80 assertSame("commandHandler", commandHandler2, ftpServer.getCommandHandler("ZZZ")); in testSetCommandHandler()
116 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("XXX")); in testLowerCaseOrMixedCaseCommandNames()
117 assertSame("Zzz", commandHandler, ftpServer.getCommandHandler("Xxx")); in testLowerCaseOrMixedCaseCommandNames()
118 assertSame("zzz", commandHandler, ftpServer.getCommandHandler("xxx")); in testLowerCaseOrMixedCaseCommandNames()
121 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("YYY")); in testLowerCaseOrMixedCaseCommandNames()
122 assertSame("Zzz", commandHandler, ftpServer.getCommandHandler("Yyy")); in testLowerCaseOrMixedCaseCommandNames()
123 assertSame("zzz", commandHandler, ftpServer.getCommandHandler("yyy")); in testLowerCaseOrMixedCaseCommandNames()
126 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("ZZZ")); in testLowerCaseOrMixedCaseCommandNames()
[all …]
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/server/
DAbstractFtpServerTestCase.java53 assertSame("commandHandler1", commandHandler, ftpServer.getCommandHandler("AAA")); in testSetCommandHandlers()
54 assertSame("commandHandler2", commandHandler2, ftpServer.getCommandHandler("BBB")); in testSetCommandHandlers()
81 assertSame("commandHandler", commandHandler2, ftpServer.getCommandHandler("ZZZ")); in testSetCommandHandler()
123 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("XXX")); in testLowerCaseOrMixedCaseCommandNames()
124 assertSame("Zzz", commandHandler, ftpServer.getCommandHandler("Xxx")); in testLowerCaseOrMixedCaseCommandNames()
125 assertSame("zzz", commandHandler, ftpServer.getCommandHandler("xxx")); in testLowerCaseOrMixedCaseCommandNames()
128 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("YYY")); in testLowerCaseOrMixedCaseCommandNames()
129 assertSame("Zzz", commandHandler, ftpServer.getCommandHandler("Yyy")); in testLowerCaseOrMixedCaseCommandNames()
130 assertSame("zzz", commandHandler, ftpServer.getCommandHandler("yyy")); in testLowerCaseOrMixedCaseCommandNames()
133 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("ZZZ")); in testLowerCaseOrMixedCaseCommandNames()
[all …]
/external/mockftpserver/tags/2.1/src/test/java/org/mockftpserver/core/server/
DAbstractFtpServerTest.java52 assertSame("commandHandler1", commandHandler, ftpServer.getCommandHandler("AAA")); in testSetCommandHandlers()
53 assertSame("commandHandler2", commandHandler2, ftpServer.getCommandHandler("BBB")); in testSetCommandHandlers()
80 assertSame("commandHandler", commandHandler2, ftpServer.getCommandHandler("ZZZ")); in testSetCommandHandler()
122 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("XXX")); in testLowerCaseOrMixedCaseCommandNames()
123 assertSame("Zzz", commandHandler, ftpServer.getCommandHandler("Xxx")); in testLowerCaseOrMixedCaseCommandNames()
124 assertSame("zzz", commandHandler, ftpServer.getCommandHandler("xxx")); in testLowerCaseOrMixedCaseCommandNames()
127 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("YYY")); in testLowerCaseOrMixedCaseCommandNames()
128 assertSame("Zzz", commandHandler, ftpServer.getCommandHandler("Yyy")); in testLowerCaseOrMixedCaseCommandNames()
129 assertSame("zzz", commandHandler, ftpServer.getCommandHandler("yyy")); in testLowerCaseOrMixedCaseCommandNames()
132 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("ZZZ")); in testLowerCaseOrMixedCaseCommandNames()
[all …]
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/core/server/
DAbstractFtpServerTestCase.java52 assertSame("commandHandler1", commandHandler, ftpServer.getCommandHandler("AAA")); in testSetCommandHandlers()
53 assertSame("commandHandler2", commandHandler2, ftpServer.getCommandHandler("BBB")); in testSetCommandHandlers()
80 assertSame("commandHandler", commandHandler2, ftpServer.getCommandHandler("ZZZ")); in testSetCommandHandler()
122 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("XXX")); in testLowerCaseOrMixedCaseCommandNames()
123 assertSame("Zzz", commandHandler, ftpServer.getCommandHandler("Xxx")); in testLowerCaseOrMixedCaseCommandNames()
124 assertSame("zzz", commandHandler, ftpServer.getCommandHandler("xxx")); in testLowerCaseOrMixedCaseCommandNames()
127 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("YYY")); in testLowerCaseOrMixedCaseCommandNames()
128 assertSame("Zzz", commandHandler, ftpServer.getCommandHandler("Yyy")); in testLowerCaseOrMixedCaseCommandNames()
129 assertSame("zzz", commandHandler, ftpServer.getCommandHandler("yyy")); in testLowerCaseOrMixedCaseCommandNames()
132 assertSame("ZZZ", commandHandler, ftpServer.getCommandHandler("ZZZ")); in testLowerCaseOrMixedCaseCommandNames()
[all …]

12345678910>>...23