Repository: mina Updated Branches: refs/heads/2.0 f1efd2ae8 -> bf4b9e345
Fixed javadoc for DIRMINA-1052 Project: http://git-wip-us.apache.org/repos/asf/mina/repo Commit: http://git-wip-us.apache.org/repos/asf/mina/commit/bf4b9e34 Tree: http://git-wip-us.apache.org/repos/asf/mina/tree/bf4b9e34 Diff: http://git-wip-us.apache.org/repos/asf/mina/diff/bf4b9e34 Branch: refs/heads/2.0 Commit: bf4b9e345eece1154e0f5aefd34f99c3c67fb9c3 Parents: f1efd2a Author: Emmanuel Lécharny <elecha...@symas.com> Authored: Fri Oct 27 06:44:33 2017 +0200 Committer: Emmanuel Lécharny <elecha...@symas.com> Committed: Fri Oct 27 06:44:33 2017 +0200 ---------------------------------------------------------------------- .../test/java/org/apache/mina/core/buffer/IoBufferTest.java | 4 ++-- .../mina/filter/codec/DemuxingProtocolDecoderBugTest.java | 2 ++ .../apache/mina/filter/logging/LoadTestMdcInjectionFilter.java | 3 ++- .../java/org/apache/mina/filter/ssl/SslDIRMINA937Test.java | 2 ++ .../src/test/java/org/apache/mina/proxy/HttpAuthTest.java | 2 +- mina-core/src/test/java/org/apache/mina/proxy/NTLMTest.java | 6 ++++++ .../java/org/apache/mina/transport/AbstractConnectorTest.java | 2 ++ .../src/test/java/org/apache/mina/util/ExpiringMapTest.java | 2 +- 8 files changed, 18 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mina/blob/bf4b9e34/mina-core/src/test/java/org/apache/mina/core/buffer/IoBufferTest.java ---------------------------------------------------------------------- diff --git a/mina-core/src/test/java/org/apache/mina/core/buffer/IoBufferTest.java b/mina-core/src/test/java/org/apache/mina/core/buffer/IoBufferTest.java index 8b69078..4a926f5 100644 --- a/mina-core/src/test/java/org/apache/mina/core/buffer/IoBufferTest.java +++ b/mina-core/src/test/java/org/apache/mina/core/buffer/IoBufferTest.java @@ -426,8 +426,8 @@ public class IoBufferTest { } /** - * Test that we can't allocate a buffser with a negative value - * @throws Exception + * Test that we can't allocate a buffer with a negative value + * @throws Exception If allocation failed */ @Test(expected=IllegalArgumentException.class) public void testAllocateNegative() throws Exception { http://git-wip-us.apache.org/repos/asf/mina/blob/bf4b9e34/mina-core/src/test/java/org/apache/mina/filter/codec/DemuxingProtocolDecoderBugTest.java ---------------------------------------------------------------------- diff --git a/mina-core/src/test/java/org/apache/mina/filter/codec/DemuxingProtocolDecoderBugTest.java b/mina-core/src/test/java/org/apache/mina/filter/codec/DemuxingProtocolDecoderBugTest.java index e649e05..958b24e 100644 --- a/mina-core/src/test/java/org/apache/mina/filter/codec/DemuxingProtocolDecoderBugTest.java +++ b/mina-core/src/test/java/org/apache/mina/filter/codec/DemuxingProtocolDecoderBugTest.java @@ -96,6 +96,7 @@ public class DemuxingProtocolDecoderBugTest { /** * Test a decoding with fragmentation + * @throws Exception If the test failed */ @Test public void testFragmentedTransport() throws Exception { @@ -104,6 +105,7 @@ public class DemuxingProtocolDecoderBugTest { /** * Test a decoding without fragmentation + * @throws Exception If the test failed */ @Test public void testNonFragmentedTransport() throws Exception { http://git-wip-us.apache.org/repos/asf/mina/blob/bf4b9e34/mina-core/src/test/java/org/apache/mina/filter/logging/LoadTestMdcInjectionFilter.java ---------------------------------------------------------------------- diff --git a/mina-core/src/test/java/org/apache/mina/filter/logging/LoadTestMdcInjectionFilter.java b/mina-core/src/test/java/org/apache/mina/filter/logging/LoadTestMdcInjectionFilter.java index 1b9cf1f..b389cea 100644 --- a/mina-core/src/test/java/org/apache/mina/filter/logging/LoadTestMdcInjectionFilter.java +++ b/mina-core/src/test/java/org/apache/mina/filter/logging/LoadTestMdcInjectionFilter.java @@ -36,7 +36,8 @@ public class LoadTestMdcInjectionFilter { * The MdcInjectionFilterTest is unstable, it fails sporadically (and only on Windows ?) * This is a quick and dirty program to run the MdcInjectionFilterTest many times. * To be removed once we consider DIRMINA-784 to be fixed - * + * + * @param args Unused */ public static void main(String[] args) { TestRunner runner = new TestRunner(); http://git-wip-us.apache.org/repos/asf/mina/blob/bf4b9e34/mina-core/src/test/java/org/apache/mina/filter/ssl/SslDIRMINA937Test.java ---------------------------------------------------------------------- diff --git a/mina-core/src/test/java/org/apache/mina/filter/ssl/SslDIRMINA937Test.java b/mina-core/src/test/java/org/apache/mina/filter/ssl/SslDIRMINA937Test.java index 6b26341..2f62024 100644 --- a/mina-core/src/test/java/org/apache/mina/filter/ssl/SslDIRMINA937Test.java +++ b/mina-core/src/test/java/org/apache/mina/filter/ssl/SslDIRMINA937Test.java @@ -155,6 +155,8 @@ public class SslDIRMINA937Test { /** * Test is ignore as it will cause the build to fail + * + * @throws Exception If the test failed */ @Test @Ignore("This test is not yet fully functionnal, it servers as the basis for validating DIRMINA-937") http://git-wip-us.apache.org/repos/asf/mina/blob/bf4b9e34/mina-core/src/test/java/org/apache/mina/proxy/HttpAuthTest.java ---------------------------------------------------------------------- diff --git a/mina-core/src/test/java/org/apache/mina/proxy/HttpAuthTest.java b/mina-core/src/test/java/org/apache/mina/proxy/HttpAuthTest.java index 5d1c375..537a5ac 100644 --- a/mina-core/src/test/java/org/apache/mina/proxy/HttpAuthTest.java +++ b/mina-core/src/test/java/org/apache/mina/proxy/HttpAuthTest.java @@ -29,7 +29,7 @@ import org.apache.mina.proxy.handlers.http.digest.DigestUtilities; import org.junit.Test; /** - * HttpAuthTest.java - JUNIT tests of the HTTP Basic & Digest authentication mechanisms. + * HttpAuthTest.java - JUNIT tests of the HTTP Basic & Digest authentication mechanisms. * See <a href="http://www.ietf.org/rfc/rfc2617.txt">RFC 2617</a> . * * @author <a href="http://mina.apache.org">Apache MINA Project</a> http://git-wip-us.apache.org/repos/asf/mina/blob/bf4b9e34/mina-core/src/test/java/org/apache/mina/proxy/NTLMTest.java ---------------------------------------------------------------------- diff --git a/mina-core/src/test/java/org/apache/mina/proxy/NTLMTest.java b/mina-core/src/test/java/org/apache/mina/proxy/NTLMTest.java index cae3c49..d53889d 100644 --- a/mina-core/src/test/java/org/apache/mina/proxy/NTLMTest.java +++ b/mina-core/src/test/java/org/apache/mina/proxy/NTLMTest.java @@ -45,6 +45,8 @@ public class NTLMTest { /** * Tests bytes manipulations. + * + * @throws UnsupportedEncodingException If the encoding is not supported */ @Test public void testEncoding() throws UnsupportedEncodingException { @@ -108,6 +110,8 @@ public class NTLMTest { /** * Tests creating a type 3 message. * WARNING: Will silently fail if no MD4 digest provider is available. + * + * @throws Exception If the test failed */ @Test public void testType3Message() throws Exception { @@ -189,6 +193,8 @@ public class NTLMTest { /** * Tests response computing. * WARNING: Will silently fail if no MD4 digest provider is available. + * + * @throws Exception If the test failed */ @Test public void testResponses() throws Exception { http://git-wip-us.apache.org/repos/asf/mina/blob/bf4b9e34/mina-core/src/test/java/org/apache/mina/transport/AbstractConnectorTest.java ---------------------------------------------------------------------- diff --git a/mina-core/src/test/java/org/apache/mina/transport/AbstractConnectorTest.java b/mina-core/src/test/java/org/apache/mina/transport/AbstractConnectorTest.java index a377b51..35cb6a6 100644 --- a/mina-core/src/test/java/org/apache/mina/transport/AbstractConnectorTest.java +++ b/mina-core/src/test/java/org/apache/mina/transport/AbstractConnectorTest.java @@ -131,6 +131,8 @@ public abstract class AbstractConnectorTest { /** * Test to make sure the SessionCallback gets invoked before IoHandler.sessionCreated. + * + * @throws Exception is the test failed */ @Test public void testSessionCallbackInvocation() throws Exception { http://git-wip-us.apache.org/repos/asf/mina/blob/bf4b9e34/mina-core/src/test/java/org/apache/mina/util/ExpiringMapTest.java ---------------------------------------------------------------------- diff --git a/mina-core/src/test/java/org/apache/mina/util/ExpiringMapTest.java b/mina-core/src/test/java/org/apache/mina/util/ExpiringMapTest.java index 6d2c810..33f16bc 100644 --- a/mina-core/src/test/java/org/apache/mina/util/ExpiringMapTest.java +++ b/mina-core/src/test/java/org/apache/mina/util/ExpiringMapTest.java @@ -39,7 +39,7 @@ public class ExpiringMapTest { * the Expirer, then sleep long enough so that the * Expirer can clean up the map. * - * @throws java.lang.Exception + * @throws Exception If the setup failed */ @Before public void setUp() throws Exception {