Commit Graph

356 Commits

Author SHA1 Message Date
Chavdar Botev
f93e356003 fix for issue 113 2011-12-10 14:58:27 -08:00
Trustin Lee
2231c31f9f Fix license headers / Remove JBoss.org style 2011-12-09 14:16:33 +09:00
Trustin Lee
683d678c17 Remove @author and @version / Remove COPYRIGHT.txt
* The new copyright header replaces @author
* COPYRIGHT.txt is irrelevant to us now.
2011-12-09 13:44:53 +09:00
Trustin Lee
f9b879e73f http://jboss.org/netty/ to http://netty.io/ 2011-12-09 12:47:26 +09:00
norman
9424c26caf Merge pull request #75 to the 3.2 branch. Also remove @override
annotation for interface implementation to make it possible to compile
and use with java5
2011-11-23 15:07:02 +01:00
Trustin Lee
0da39901c8 Consistent fail-fast property
* DelimiterBasedFrameDecoder and LengthFieldBasedFrameDecoder must
expose the fail-fast option consistently
* Renamed failImmediatelyOnTooLongFrame to failFast
2011-11-22 18:39:11 +09:00
norman
852e0a1ed8 Revert "Revert "Adjust to current master""
This reverts commit 91ea9028f4.
2011-11-11 08:38:10 +01:00
norman
91ea9028f4 Revert "Adjust to current master"
This reverts commit 16792a22be.
2011-11-11 08:36:12 +01:00
norman
16792a22be Adjust to current master 2011-11-10 09:28:07 +01:00
norman
6231030f2b Add failImmediatelyOnTooLongFrame option to DelimiterBasedFrameDecoder
and LengthFieldBasedFrameDecoder
2011-11-10 09:03:56 +01:00
Trustin Lee
b0d0502413 Added a TooLongFrameException recovery test for DelimiterBasedFrameDecoder 2011-08-19 11:11:16 +09:00
Trustin Lee
3effb0d1b0 NETTY-435 LengthFieldBasedFrameDecoder fails to recover from TooLongFrameException
* Fixed a bug where TooLongFrameException is not raised immediately when the large frame was fully decoded at the first attempt
* Fixed a bug where LengthFieldBasedFrameDecoder does not reset its state completely after raising TooLongFrameException
2011-08-19 11:05:24 +09:00
Trustin Lee
5cdcc67086 NETTY-419 ObjectEncoder/ObjectDecoder fails with NPE when deserializing the java.lang.Class instance of an interface type
* Fixed a bug where deserializing an interface class fails due to wrong lookup.
* Implemented class lookup caching
2011-08-02 08:25:26 +09:00
Trustin Lee
2d35bf2155 NETTY-425 ChannelBuffers.compare does not handle unsigned bytes correctly
* Fixed a bug where signed comparison is made where unsigned comparison is expected
2011-08-01 04:28:29 +09:00
nibin
bc8b92e1f7 * Fixed the bug in CookieEncoder if there are no cookie's set while
calling encode(). Without the fix, it ended up in calling the
exception "java.lang.StringIndexOutOfBoundsException".
* Also added test case to verify the patch

Change-Id: Ib96425e07ab50be027ade7be0748cceb6438a586

Conflicts:

	src/test/java/org/jboss/netty/handler/codec/http/CookieEncoderTest.java
2011-07-29 13:09:33 +09:00
Daniel Bevenius
66566a1acd Added a timeout for the UdpClient so that the test cannot hang.
I noticed the build "hanging/halting" on the test when running the cobertura code coverage Eclipse plugin.
2011-04-18 16:57:17 +09:00
Trustin Lee
e395aacbd4 Imported the 3.2 branch from Netty SVN repository 2010-11-12 00:28:17 +09:00
Trustin Lee
4399c1e90b Removed nagging compiler warnings introduced by Eclipse Helios 2010-10-19 06:00:42 +00:00
Trustin Lee
d68c5160ed Added parentId to ThreadNamingRunnable 2010-08-25 02:31:00 +00:00
Trustin Lee
9d89ad0837 * Resolved issue: NETTY-336 Fine-grained control over thread renaming
** Redefined ThreadNameDeterminer
* Improved caching in AbstractChannel.toString()
* Improved overall OIO thread naming (thread ID number is a large number which doesn't look good though.  will fix it later)
2010-06-30 09:17:08 +00:00
Trustin Lee
5518344bc3 NETTY-335 Remove deprecated elements 2010-06-30 05:48:23 +00:00
Trustin Lee
f88108e876 Fixed a bug: NETTY-329 ChannelBuffer.slice(index, length) returns a slice with wrong reader/writerIndex
* HeapChannelBuffer.slice(index, length) and ByteBufferBackedChannelBuffer.slice(index, length) should update indexes when they created a slice using duplicate()
* Added relevant test cases
2010-06-21 07:00:03 +00:00
Trustin Lee
cbe26db0e4 Replaced email with homepage url 2010-06-14 11:07:44 +00:00
Trustin Lee
2571564eb2 * Updated the author tag
* Added svn:keywords property
2010-06-14 11:06:45 +00:00
Trustin Lee
800fcd0ca2 More tests 2010-06-14 11:03:14 +00:00
Trustin Lee
6d0fb256c6 Fixed issue: NETTY-325 (QueryStringDecoder doesn't properly handle missing query string values and other corner cases)
* Rewrote QueryStringDecoder based on Benoit's work
* Added a test case for QueryStringDecoder
2010-06-14 10:57:48 +00:00
Trustin Lee
5edc4e16aa * StaticChannelPipeline's constructor should stop when a null is encountered
* Added a test case for StaticChannelPipeline
2010-05-06 07:00:52 +00:00
Trustin Lee
b134bfb974 Comment 2010-05-04 01:48:52 +00:00
Trustin Lee
8c490ed6e5 Wrong inception year 2010-05-04 01:47:43 +00:00
Trustin Lee
d4049710bb * Fixed dangling HTTP header entries in the linked list
* Added a test case
2010-05-04 01:46:15 +00:00
Trustin Lee
901b1f099a * Deprecated ChannelPipelineCoverage (Will be replaced with something I will introduce later)
* Revised JavaDoc so that a user can learn how to manage handler states
* Revised JavaDoc about using ExecutionHandler
2010-02-01 11:46:09 +00:00
Trustin Lee
829114c37f Organized imports 2010-02-01 06:25:23 +00:00
Trustin Lee
3362114248 * Replaced e-mail addresses into homepage/blog URL anywhere possible
* Added Amit to COPYRIGHT.txt
2010-01-26 09:04:19 +00:00
Trustin Lee
d87d81e398 Removed TestUtil.timingTestEnabled because it's not used in the CI servers 2010-01-26 03:02:34 +00:00
Trustin Lee
eeb4e8f7b1 Potential fix for failing timing tests 2010-01-26 02:57:41 +00:00
Trustin Lee
7b6fb53fc1 Use yield instead of sleep 2010-01-25 13:09:31 +00:00
Trustin Lee
5a897af28d Resolved issue: NETTY-278 ChannelBuffer.bytesBefore() as an alternative to indexOf()
* Added various bytesBefore() methods to ChannelBuffer
* Deprecated the methods that could be replaced by bytesBefore()
2010-01-20 05:55:16 +00:00
Trustin Lee
fe73de3497 Fixed a failing test 2010-01-15 07:12:07 +00:00
Trustin Lee
57bdb3a4a5 Related issue: NETTY-257 Add the getters and setters for a String and a char[] to ChannelBuffer
* Reverted the previous addition of get/readString(...)
2010-01-15 05:28:17 +00:00
Trustin Lee
238bdc90b8 Fixed failing test 2010-01-14 12:24:59 +00:00
Trustin Lee
4ba7ae3749 Merged MapUtil to Bootstrap 2010-01-14 12:19:49 +00:00
Trustin Lee
a36ea0f3a4 Moved SwitchableInputStream and its test class to org.jboss.netty.handler.codec.serialization because it's used only there. 2010-01-14 12:15:04 +00:00
Trustin Lee
4d9b3346c5 Moved ImmediateExecutor and its test class to org.jboss.netty.handler.ssl because it's used only there. Actually there was another unrelated reference, so I simply forked. 2010-01-14 12:04:11 +00:00
Trustin Lee
23943ac256 Moved MapUtil and its test class to org.jboss.netty.bootstrap because it's used only there 2010-01-14 11:58:50 +00:00
Trustin Lee
0dbea6f162 * SecureChatServerHandler should use ChannelGroup where possible
* Moved MapBackedSet and its test class to org.jboss.netty.util becuase it's used only there
2010-01-14 11:56:38 +00:00
Trustin Lee
55b0bc2c2c Related issue: NETTY-257 Add the getters and setters for a String and a char[] to ChannelBuffer
* Added getString() and readString()
* Renamed toString(int, int, Charset) to getString(...)
* Removed some toString() methods which were added in the previous alpha releases - I will add an alternative method later
2010-01-14 11:44:11 +00:00
Trustin Lee
33766a1f4f Removed the deprecated tests 2009-12-29 05:54:38 +00:00
Trustin Lee
24b59bbfa9 Resolved issue: NETTY-268 (Use Charset instead of String to represent a character set.)
* Replaced String charsetName with Charset
* Added o.j.n.util.CharsetUtil
2009-12-29 05:52:00 +00:00
Trustin Lee
578def7a9b Fixed issue: NETTY-260 ZlibEncoder.close() and SslHandler.handshake/close() methods do not require a parameter
* SslHandler implements LifeCycleAwareChannelHandler to retrieve its context
* SslHandler.handshake() and close() do not need an argument anymore
* Deprecated the old methods
2009-12-17 08:44:38 +00:00
Trustin Lee
4649d57097 More strict testing 2009-11-19 10:09:40 +00:00
Trustin Lee
abe2a88d60 Resolved issue: NETTY-255 (Make CookieDecoder more robust)
* Modified CookieDecoder not to recognize commas and semicolons as attribute separators if it's impossible to decode the next entry.
* Added a test case for decoding Google Analytics cookie which raised this issue initially
2009-11-19 09:46:30 +00:00
Trustin Lee
9e44dbada5 Resolved issue: NETTY-254 Do not do lazy-initialization in dynamic buffer
* No lazy initialization anymore for DynamicChannelBuffer - it just causes confusion to users!
2009-11-19 08:38:46 +00:00
Trustin Lee
902ab48820 * Rewrote FrameDecoder by utilizing the latest improvement in CompositeChannelBuffer
** A user doesn't need to make a copy of the cumulative buffer anymore.
*** Modified all FrameDecoder subtypes to use slice() instead of readBytes()
* Reduced the maximum length of the random writes in AbstractSocketFixedLengthEchoTest to increase the probability of composite buffer occurances
2009-11-17 15:11:31 +00:00
Trustin Lee
20798ee429 This test case cannot reproduce the problem - removing 2009-10-27 04:11:43 +00:00
Trustin Lee
d0890c1af0 Wrong author 2009-10-27 01:18:45 +00:00
Trustin Lee
c079291012 Added a test case that makes sure the workaround for the 'spinning selector' bug works. 2009-10-27 01:18:17 +00:00
Trustin Lee
8eba49c0cd Resolved issue: NETTY-203 Encoding frames as Google Protocol Buffer base 128 varints (32-bit)
* Applied Tomasz's patch
* Renamed ProtobufVariant32FieldPrepender to ProtobufVariant32LengthFieldPrepender
* Code cleanup
2009-10-14 06:27:53 +00:00
Trustin Lee
eca6033456 Updated author information. I want to get messages about Netty in my gmail account. 2009-10-14 05:46:40 +00:00
Trustin Lee
42df101341 Added missing header 2009-10-14 05:34:18 +00:00
Trustin Lee
ca4c32df68 * Merged Frederic's 'aggregate' branch
* Refactored Frederic's test cases
* Code clean up
2009-10-13 07:54:18 +00:00
Trustin Lee
b11ef6ca9b Relicensed to Apache License v2 2009-08-28 07:15:49 +00:00
Trustin Lee
1509f64db1 Relaxed assertion in discardReadBytes test 2009-08-28 05:53:16 +00:00
Trustin Lee
d842533135 Fixed a failing test 2009-08-21 04:29:48 +00:00
Trustin Lee
c861adf6e0 Fixed a test failure where OioSocketServerBootstrapTest blocks indefinitely 2009-08-19 09:26:01 +00:00
Trustin Lee
f59f480fb7 Code clean up 2009-07-14 05:28:07 +00:00
Trustin Lee
caf0a97ba3 Fixed license headers 2009-06-19 17:48:17 +00:00
Trustin Lee
70e90fc85e Fixed issue: NETTY-176 toByteBuffer() and slice() sometimes do not respect byte order
* Added tests to make sure all ChannelBuffer implementations are fixed
* Fixed the byte order problem in HeapChannelBuffer
2009-06-17 08:08:11 +00:00
Daniel Bevenius
40bf0a63f1 Unittest and javadoc. 2009-06-13 11:30:02 +00:00
Trustin Lee
0067371e24 Organized imports 2009-06-12 02:53:26 +00:00
Trustin Lee
899b16678f * Merged recent changes in the trunk to the NIO UDP transport
* Other miscellaneous modifications like typo fix
2009-06-11 06:10:46 +00:00
Trustin Lee
3473135c7b Updated @author tags 2009-06-11 05:03:53 +00:00
Trustin Lee
d202db83f0 Updated license headers 2009-06-11 05:00:48 +00:00
Daniel Bevenius
c01e997a45 Added some javadocs and removed unsed code and excessive comments. 2009-06-11 04:33:07 +00:00
Trustin Lee
effbe32fdb Merged Daniel's NIO UDP transport into trunk - needs more review and cleanup but looks OK in general 2009-06-11 00:48:49 +00:00
Trustin Lee
734a5a46d4 Fixed issue: NETTY-172 Let user choose the I/O thread names
* Added ThreadNameDeterminer
* Moved ThreadRenamingRunnable from org.jboss.netty.util.internal to org.jboss.netty.util because it should be accessible by user
2009-06-10 08:56:37 +00:00
Trustin Lee
ffe2831502 Fixed issue: NETTY-162 directBuffer cannot create buffer with LITTLE_ENDIAN endianness
* Added test case for little endian direct buffer
* Fixed a problem where the sliced buffer's endianness is not set
2009-05-30 06:50:09 +00:00
Trustin Lee
1f6591feb2 Suppressed error log which occurs only in Windows on connection attempt failure, because it can mislead the developer to think there's a bug in the test / impl 2009-05-22 05:41:47 +00:00
Trustin Lee
58ef4d1cc2 More timing tolerance to CookieDecoderTest 2009-04-21 03:32:11 +00:00
Trustin Lee
69ac7d174c Replaced the usage of SimpleChannelHandler with SimpleChannelUpstreamHandler whereever possible 2009-04-17 07:33:32 +00:00
Trustin Lee
5a67c13279 A newline between methods 2009-04-16 05:09:51 +00:00
Trustin Lee
f61412c828 More tolerance in CookieEncoderTest 2009-04-16 05:09:03 +00:00
Trustin Lee
9252f449bd Better diagnosis message for AbstractSocketSslEchoTest 2009-04-15 13:50:06 +00:00
Trustin Lee
8c172a5a1d More diagnosis message for AbstractSocketSslEchoTest 2009-04-15 13:45:05 +00:00
Trustin Lee
e3fc229b03 A test case for NETTY-142 ReplayingDecoder calls decodeLast with unreplayable buffer 2009-04-08 07:24:14 +00:00
Trustin Lee
ec0b3fe3f2 * Moved internal utility classes to org.jboss.netty.util.internal
* Made org.jboss.netty.util public
* Moved ObjectSizeEstimator and its implementation to org.jboss.netty.util
2009-04-03 07:41:54 +00:00
Trustin Lee
0aa5803632 0.9 sec -> 1.0 sec 2009-03-22 15:10:13 +00:00
Trustin Lee
acf7a9d46f Made sure the sleeping Runnable in ImmediateExecutorTest sleeps more than 1 sec 2009-03-22 15:09:40 +00:00
Trustin Lee
a5ab271dc7 Deprecated CompatibleObjectDecoder 2009-03-16 07:52:19 +00:00
Trustin Lee
880241366b Removed unnecessary System.out.println 2009-03-16 04:38:43 +00:00
Trustin Lee
c4269c1697 Changed ImmediateExecutorTest to use nanoTime 2009-03-16 03:59:31 +00:00
Trustin Lee
701d8a8aaa Made sure the encoded cookie conforms to the RFC 2009-03-14 13:35:10 +00:00
Trustin Lee
eaca45eb8a * Reimplemented CookieDecoder to understand quoted-strings 2009-03-14 13:13:28 +00:00
Trustin Lee
3e2bf2e163 A little bit more tolerance 2009-03-13 17:09:31 +00:00
Trustin Lee
f78ac1f29a A little bit more tolerance 2009-03-13 17:08:25 +00:00
Trustin Lee
e4c283fb89 Avoid timing errors 2009-03-13 16:43:39 +00:00
Trustin Lee
9e0e310ffe * Improved CookieDecoder to be more tolerant
* Added a test case for comma delimited cookies
2009-03-13 16:33:49 +00:00
Trustin Lee
dc61906620 Fixed test failures 2009-03-13 15:53:52 +00:00
Trustin Lee
3e6f638449 Removed the unnecessary last semicolon 2009-03-13 15:48:23 +00:00
Trustin Lee
efd5af9313 Brought back the encode() method of CookieEncoder 2009-03-13 15:46:41 +00:00
Trustin Lee
b6cfc24127 Handles client-side cookie much better now 2009-03-13 15:29:54 +00:00
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