Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for testNext (0.06 sec)

  1. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            assertFalse(concreteResponse.isVerifyFailed());
    
            // Test exception handling
            assertNull(concreteResponse.getException());
            Exception testEx = new RuntimeException("Test");
            concreteResponse.exception(testEx);
            assertEquals(testEx, concreteResponse.getException());
    
            // Test expiration
            assertNull(concreteResponse.getExpiration());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

            assertThat(map.containsKey("one"), is(true));
            assertThat(map.containsKey("onex"), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
            assertThat(map.get("ONE"), is("1"));
            assertThat(map.get("One"), is("1"));
            assertThat(map.get("hoge"), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            assertThat(WildcardType.class.isInstance(GenericsUtil.getElementTypeOfList(t3)), is(true));
        }
    
        /**
         * @throws Exception
         */
        public void testSet() throws Exception {
            final Method m1 = SetType.class.getMethod("setOfString");
            final Type t1 = m1.getGenericReturnType();
            assertThat(GenericsUtil.isTypeOf(t1, Set.class), is(true));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            assertThat(map.indexOf(null), is(0));
            assertThat(map.indexOf("test3"), is(-1));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
            assertThat(map.get("1"), is("test"));
            assertThat(map.get(null), is(nullValue()));
            assertThat(map.get("test3"), is(nullValue()));
            assertThat(map.getAt(0), is(nullValue()));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            }
    
            @Test
            @DisplayName("Test read string length without termination throws exception")
            void testReadStringLengthNoTermination() {
                byte[] buffer = "TestTest".getBytes();
    
                assertThrows(RuntimeCIFSException.class, () -> {
                    testBlock.readStringLength(buffer, 0, 3);
                });
            }
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top