Commit Graph

356 Commits

Author SHA1 Message Date
Trustin Lee
d1bafbc65f * Fixed a problem where 'Expires' cookie attribute is misinterpreted
* CookieEncoder now uses Cookie.getVersion() to determine the cookie version instead of constructor parameter
2009-03-13 14:45:43 +00:00
Trustin Lee
32ddc4541d Updated author tags 2009-03-13 13:57:24 +00:00
Trustin Lee
f04003abbe CookieEncoder / CookieDecoder should not urlencode/urldecode attributes except for the value 2009-03-13 13:53:53 +00:00
Trustin Lee
0da3fcbe51 Fixed a bug where CookieEncoder generates a cookie with 'version=2' 2009-03-13 12:59:29 +00:00
Trustin Lee
1912bfc81d Fixed test failures 2009-03-13 12:42:03 +00:00
Trustin Lee
b796a1d97b * Renamed Cookie.portList to Cookie.ports and its type from int[] to Set<Integer>
* Renamed CookieHeaderNames.PORTLIST to CookieHeaderNames.PORT
2009-03-13 12:32:47 +00:00
Andy Taylor
b8f03d60e4 added cookie v1 and v2 decoding support 2009-03-13 11:58:29 +00:00
Andy Taylor
395d57b6eb added cookie v1 and v2 encoding support 2009-03-13 10:12:51 +00:00
Trustin Lee
bd184cc665 Renamed TestOptions to TestUtil 2009-03-12 00:42:41 +00:00
Trustin Lee
ebdfec8ec0 Reduced the number of InetAddress.getLocalHost() calls in test cases 2009-03-12 00:14:17 +00:00
Trustin Lee
ebe5ad3ef2 JUnit should ignore TestOptions 2009-03-09 19:16:59 +00:00
Trustin Lee
ddd756b276 Better option handling 2009-03-09 19:07:11 +00:00
Trustin Lee
e6cc8fb5eb Printed a warning message when timing tests are disabled 2009-03-09 19:05:59 +00:00
Trustin Lee
a5a7181615 Renamed TimingTestUtil to TestOptions 2009-03-09 19:04:35 +00:00
Trustin Lee
0a72ffeacd Added an option to exclude timing tests 2009-03-09 19:03:48 +00:00
Trustin Lee
019f5f0292 Fixed a problem where *SocketServerBootstrapTest fails when an O/S doesn't allow modifying the buffer size. 2009-03-05 15:33:14 +00:00
Trustin Lee
ae22b0aaa1 Fixed failing tests 2009-02-21 19:34:22 +00:00
Trustin Lee
121c88d7e2 * Removed TimeBasedUuidGenerator
* Fixed a bug where DefaultChannelGroup doesn't recognize the new Integer ID
2009-02-16 12:02:06 +00:00
Trustin Lee
c4b1e5a011 * Renamed ExecutorShutdownUtil to ExecutorUtil
* Added ExternalResourceUtil
2009-01-19 05:23:41 +00:00
Trustin Lee
e9b841757a * Replaced duplicate executor shutdown code with ExecutorShutdownUtil.shutdown()
* Applied the same workaround which was applied to ExecutorShutdownUtil.shutdown() to NioProviderMetadata
2009-01-02 16:57:15 +00:00
Trustin Lee
22b3885fe5 Automatic code cleanup 2008-12-08 08:24:48 +00:00
Trustin Lee
43de025c7c More accurate client shutdown time test 2008-12-06 14:47:55 +00:00
Trustin Lee
0830444fc8 Resolved issue: NETTY-84 Replace ChannelFactory.getExternalResource() with ChannelFactory.releaseExternalResources() 2008-11-28 11:18:21 +00:00
Trustin Lee
96c98f636a Simplified some test code using ChannelFactoryResource.release() 2008-11-26 10:22:55 +00:00
Trustin Lee
5c494dd045 More precise shutdown time test 2008-11-25 02:57:04 +00:00
Trustin Lee
c979563dcd Trying to figure out who is failing NioServerSocketShutdownTimeTest .. 2008-11-20 11:50:01 +00:00
Trustin Lee
0e3679e919 Fixed a problem where AbstractSocketSslEchoTest doesn't close all channels when a connection attempt fails. 2008-11-16 16:25:08 +00:00
Trustin Lee
feac0d6a3d Fixed a problem where AbstractSocketSslEchoTest doesn't close all channels when handshake fails. 2008-11-16 16:22:27 +00:00
Trustin Lee
9aec8119cb Used logger instead of syserr 2008-11-16 13:34:24 +00:00
Trustin Lee
4cd9105eeb Made sure all exceptions are printed (2nd try) 2008-11-16 13:30:42 +00:00
Trustin Lee
ea94ea850b Fixed a problem where not all exceptions are logged immediately in AbstractSocketSslEchoTest 2008-11-16 11:43:44 +00:00
Trustin Lee
c848b8cc58 Fixed incorrect timing test due to slow MD5 algorithm initialization 2008-11-16 11:22:40 +00:00
Trustin Lee
b3f39c1bb3 Additional debug information in AbstractSocketSslEchoTest 2008-11-16 10:33:00 +00:00
Trustin Lee
09ef8e8964 Comment clean up as advised 2008-11-14 07:45:53 +00:00
Trustin Lee
c5a211e07a Used ExpectedError instead of Exception to tell that the failure is expected obviously 2008-11-08 11:59:23 +00:00
Trustin Lee
288c693f62 Code cleanup 2008-11-07 08:27:28 +00:00
Trustin Lee
fcc0087eb2 Reverted temporary code which was mistakenly checked in 2008-11-07 08:25:52 +00:00
Trustin Lee
87dd4adbc7 Adjusted regression test duration 2008-11-07 08:24:58 +00:00
Trustin Lee
7fe42c4c4f Increased test timeout to avoid Hudson false alarm 2008-11-07 02:43:27 +00:00
Trustin Lee
b50cc2b025 Removed an unused import 2008-11-07 01:50:51 +00:00
Trustin Lee
79fe2324c9 Fixed RejectedExecutionException in the OIO-OIO SSL echo test 2008-11-06 16:21:35 +00:00
Trustin Lee
7db3eacbb4 Potential fix for OIO-OIO SSL echo test 2008-11-06 15:56:05 +00:00
Trustin Lee
dddf14f79a Fixed a bug: NETTY-56 (The ChannFuture returned by SslHandler.handshake() is not completed when the associated Channel is closed during handshake.) 2008-10-03 02:53:57 +00:00
Trustin Lee
b14b4c8714 Incorrect option name 2008-09-10 12:24:58 +00:00
Trustin Lee
20bbd3e38f Workaround for blocking I/O transport write-write dead lock 2008-09-10 12:01:28 +00:00
Trustin Lee
d39fd30f09 Suppressed more warnings 2008-09-06 09:34:40 +00:00
Trustin Lee
beb0fb0d6f * Added DummyHandler for testing
* Suppressed unnecessary warning messages
2008-09-06 09:30:20 +00:00
Trustin Lee
ef6404ae0c Fixed ClosedChannelException in various integration tests 2008-09-05 02:07:10 +00:00
Trustin Lee
e1709c8e4b * Added another test case that checks shutdown time
* Optimized the hex dump table generation in ChannelBuffers
2008-09-05 00:57:22 +00:00
Trustin Lee
a056b9af63 * Fixed randomly failing ChannelBuffers.compareTo test
* Used shutdownNow instead of shutdown to shorten the test running time
* Added a test case that checks shutdown time
2008-09-05 00:01:33 +00:00
Trustin Lee
500f972367 Missing empty line between methods 2008-09-04 12:38:17 +00:00
Trustin Lee
79499476c1 * Added ReadOnlyChannelBufferTest
* Added ReadOnlyChannelBuffer.toByteBuffers
2008-09-04 12:37:37 +00:00
Trustin Lee
d9a37093e2 More test cases and trivial fixes 2008-09-04 11:53:44 +00:00
Trustin Lee
1d1e88397e Fixed a potential race condition in AbstractSocketStringEchoTest 2008-09-04 11:29:22 +00:00
Trustin Lee
486eff6378 Suppressed a warning log caused by AbstractSocketServerBootstrapTest 2008-09-04 11:25:16 +00:00
Trustin Lee
79743b0528 Tiny micro optimization on test data generation 2008-08-29 00:26:54 +00:00
Trustin Lee
8da05713fe Fixed issue: NETTY-40 (SslHandler dead lock on Oio-Oio communication)
* More fine-grained lock acquisition
2008-08-29 00:23:47 +00:00
Trustin Lee
506b7aeb05 Package renaming... (forgot to add 'codec') 2008-08-28 12:31:39 +00:00
Trustin Lee
e03ce3e661 Decreased the test loop count 2008-08-28 12:15:38 +00:00
Trustin Lee
7d1ec11787 * Fixed issue: NETTY-36 DelimiterBasedFrameDecoder can choose a wrong delimiter when more than one delimiter are specified.
* A bunch of integration tests (78% test coverage)
2008-08-28 11:36:26 +00:00
Trustin Lee
605ac3d35a * Improved socket echo integration test to check the state more strictly.
* Fixed issue NETTY-35 (ChannelFuture returned by Channel.close() is not notified if SslHandler is in the pipeline.)
2008-08-28 09:07:34 +00:00
Trustin Lee
ddbabc98ef Integration tests (echo test) 2008-08-27 13:14:28 +00:00
Trustin Lee
4144017b75 * Fixed a bug where CompositeChannelBuffer.order() returns a wrong order
* Fixed a bug where ChannelBuffer.wrappedBuffer() can generate a non-EMPTY_BUFFER when the buffer is actually empty
2008-08-27 12:21:04 +00:00
Trustin Lee
7741934601 More test cases.. 2008-08-27 07:17:41 +00:00
Trustin Lee
deb5760801 Added a test case for ChannelBufferIndexFinder 2008-08-27 05:45:45 +00:00
Trustin Lee
98f533db96 Improved Client/ServerBootstrapTest to run with both oio and nio socket transport 2008-08-26 16:09:00 +00:00
Trustin Lee
94831112ee More test cases 2008-08-26 15:57:21 +00:00
Trustin Lee
2878a47222 Added author and version tags 2008-08-26 15:39:34 +00:00
Trustin Lee
a7c181072e Fixed issue: NETTY-33 (CompositeChannelBuffer.copy() does not respect the byte order.)
* More test cases..
2008-08-26 15:37:08 +00:00
Trustin Lee
6f34eca0b6 More test cases 2008-08-26 14:15:10 +00:00
Trustin Lee
3b69dd7ddb Fixed issue: NETTY-32 (ChannelBuffer.duplicate() sometimes doesn't copy all properties) 2008-08-26 11:08:55 +00:00
Trustin Lee
a57e21aee7 More test cases 2008-08-26 10:54:42 +00:00
Trustin Lee
834b373a96 Fixed issue: NETTY-31 (ChannelBuffers.equals() fails to compare the buffers with different endianness)
* Same fix to compareTo
2008-08-26 10:52:21 +00:00
Trustin Lee
f4165b10e9 Fixed issue: NETTY-31 (ChannelBuffers.equals() fails to compare the buffers with different endianness)
* Made sure to swap the order if the two buffers have different orders
2008-08-26 10:35:36 +00:00
Trustin Lee
48929afd60 Fixed a bug where DuplicateChannelBufferTest doesn't test DuplicateChannelBuffer 2008-08-26 07:39:39 +00:00
Trustin Lee
57551914af * More tests
* Fixed bulk transfer bugs in the CompositeChannelBuffer
2008-08-26 07:30:41 +00:00
Trustin Lee
8f3799c02e * More tests
* Fixed bugs related with bulk byte transfer
2008-08-26 07:12:04 +00:00
Trustin Lee
6801298956 More test coverage 2008-08-26 05:43:41 +00:00
Trustin Lee
1ae5312777 Fixed compilation errors in JDK 1.6 and 1.5 - was using 1.7 :-( 2008-08-25 13:02:02 +00:00
Trustin Lee
db1ee35228 Can't reproduce anymore (!?) 2008-08-25 12:51:54 +00:00
Trustin Lee
e5f1639f24 * JdkLogger passes null method name now - it's allowed in the specification explicitly.
* Better failure tracking in ServerBootStrapTest (still not sure if it's reproduceable)
2008-08-25 12:46:33 +00:00
Trustin Lee
10bc616b4b Fixed issue: NETTY-30 (JDK Logging is slow.)
* Used logp instead of log
2008-08-25 12:06:27 +00:00
Trustin Lee
a4edbd444e * Added SucceededChannelFutureTest
* Added FailedChannelFutureTest
2008-08-25 11:35:12 +00:00
Trustin Lee
e2262e135a * Forgot to update the pom.xml
* Added CompleteChannelFutureTest
2008-08-25 11:27:30 +00:00
Trustin Lee
a8c5f840bd Fixed a problem where an executor shuts down too early 2008-08-25 11:12:06 +00:00
Trustin Lee
9dabeb4e47 Added test cases for the logging package 2008-08-25 11:02:30 +00:00
Trustin Lee
f22f07ec51 More test coverage 2008-08-25 10:17:17 +00:00
Trustin Lee
6ff5a87d01 * Removed SilentLoggerFactory which is not so useful
* Added ClientBootstrapTest
* Added ServerBootstrapTest
* Fixed a unexpected behavior when null localAddress or remoteAddress is specified
2008-08-25 08:44:35 +00:00
Trustin Lee
3dbe973735 * Simplified the SecurityManager implementation in DebugUtilTest
* Added ThreadRenamingRunnableTest
2008-08-25 06:05:21 +00:00
Trustin Lee
4d55da5c7e Added StackTraceSimplifierTest 2008-08-25 05:48:45 +00:00
Trustin Lee
60f08c5d9f Added SwitchableInputStreamTest 2008-08-25 05:26:54 +00:00
Trustin Lee
1194ac0f39 Added MapBackedSetTest 2008-08-25 05:15:33 +00:00
Trustin Lee
7b8d483044 Added ImmediateExecutorTest 2008-08-25 04:58:35 +00:00
Trustin Lee
1a5ccaf98d Added DebugUtilTest 2008-08-25 04:53:52 +00:00
Trustin Lee
ca249684a6 * Renamed ConvertUtil to ConversionUtil
* Added ConversionUtilTest
2008-08-25 04:42:18 +00:00
Trustin Lee
c84b1bc139 * Added MapUtilTest
* Added SilentLoggerFactory for a testing purpose
2008-08-25 04:31:44 +00:00
Trustin Lee
d2c157d32d Added one more minimal test case to TimeBasedUuidGeneratorTest 2008-08-25 04:01:07 +00:00
Trustin Lee
6b995456fe Added a test case for TimeBasedUuidGenerator 2008-08-25 03:58:01 +00:00
Trustin Lee
c95b219a56 * Extracted Bootstrap.isOrderedMap into util.MapUtil
* More test coverage for Bootstrap
2008-08-25 03:38:13 +00:00
Trustin Lee
bd51f12fb7 More test cases for Bootstrap 2008-08-18 03:01:24 +00:00
Trustin Lee
a421f94909 A couple more test cases for Bootstrap 2008-08-18 02:54:03 +00:00
Trustin Lee
82f4d193b1 Added test cases for Bootstrap 2008-08-18 02:46:41 +00:00
Trustin Lee
19fcbac575 Added unsigned integer access methods 2008-08-10 00:52:59 +00:00
Trustin Lee
0202a01cf1 * Changed all package names to org.jboss.netty.*
* Added .classpath, .project and target to svn:ignore
2008-08-08 01:40:10 +00:00
Trustin Lee
1bc79ea2a4 * Updated all license headers
* Added missing license headers
* Updated mailing list address and my e-mail address
2008-08-08 01:27:24 +00:00
Trustin Lee
aef2ab453a Initial import. Needs to:
* rename packages
* update license information
2008-08-08 00:37:18 +00:00