Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 298 for hedged (3.13 sec)

  1. src/test/java/jcifs/smb1/util/MimeMapTest.java

            void testVariousDefaultValues(String defaultValue) throws IOException {
                assertEquals(defaultValue, mimeMap.getMimeType("notinmap", defaultValue));
            }
        }
    
        @Nested
        @DisplayName("Edge cases and special scenarios")
        class EdgeCases {
    
            @Test
            @DisplayName("Should handle multiple extensions for same mime type")
            void testMultipleExtensionsForSameMimeType() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/https/HandlerTest.java

                // Then
                assertEquals(443, httpsPort);
                assertEquals(80, httpPort);
                assertNotEquals(httpsPort, httpPort);
            }
        }
    
        @Nested
        @DisplayName("Edge Cases")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle reflection access to protected method")
            void testProtectedMethodAccess() throws Exception {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            assertEquals(8, serverData.encryptionKey.length);
            assertEquals(16, serverData.guid.length);
        }
    
        /**
         * Test edge cases for numeric fields
         */
        @Test
        @DisplayName("Test edge cases for numeric fields")
        public void testNumericFieldsEdgeCases() {
            // Test maximum values for int fields
            serverData.sflags2 = Integer.MAX_VALUE;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

                // Test that it can be thrown as IOException
                assertThrows(IOException.class, () -> {
                    throw exception;
                });
            }
        }
    
        @Nested
        @DisplayName("Edge Cases")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle very long messages")
            void testVeryLongMessage() {
                StringBuilder longMessage = new StringBuilder();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                fail("setObject should handle different object types: " + e.getMessage());
            }
        }
    
        public void test_error_handling_edge_cases() {
            // Test error handling with edge cases
            try {
                // Test with extreme status codes
                WebApiUtil.setError(-1, "Negative status code");
                WebApiUtil.setError(0, "Zero status code");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            assertFalse(Arrays.equals(signingKey1, signingKey2),
                    "Different preauth values should produce different derived keys for SMB 3.1.1");
        }
    
        @Test
        @DisplayName("Should handle edge case with all zero session key")
        void testDeriveKeys_AllZeroSessionKey() {
            // Given
            byte[] zeroSessionKey = new byte[16]; // All zeros
            int dialect = Smb2Constants.SMB2_DIALECT_0311;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DosErrorTest.java

            // Act
            int actual = findNtStatusOrMinusOne(dosCode);
    
            // Assert
            assertEquals(expectedNtStatus, actual, "Mapping must match table entry");
        }
    
        @Test
        @DisplayName("Edge: zero DOS code maps to zero NTSTATUS")
        void zeroCodeMapsToZero() {
            // Act
            int actual = findNtStatusOrMinusOne(0x00000000);
    
            // Assert
            assertEquals(0x00000000, actual);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                assertNotNull(response1);
                assertNotNull(response2);
                assertNotSame(response1, response2);
            }
        }
    
        @Nested
        @DisplayName("Edge Cases")
        class EdgeCases {
    
            @Test
            @DisplayName("Should handle buffer boundary conditions")
            void testBufferBoundaryConditions() {
                // Minimum size buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/AsciiTest.java

        // may change and break assumptions in this test [*]. This is not a bug in the implementation of
        // Ascii.equalsIgnoreCase(), but it is a signal that its documentation may need updating as
        // regards edge cases.
    
        // The Unicode point {@code 00df} is the lowercase form of sharp-S (ß), whose uppercase is "SS".
        assertEquals("PASSWORD", "pa\u00dfword".toUpperCase()); // [*]
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/AsciiTest.java

        // may change and break assumptions in this test [*]. This is not a bug in the implementation of
        // Ascii.equalsIgnoreCase(), but it is a signal that its documentation may need updating as
        // regards edge cases.
    
        // The Unicode point {@code 00df} is the lowercase form of sharp-S (ß), whose uppercase is "SS".
        assertEquals("PASSWORD", "pa\u00dfword".toUpperCase()); // [*]
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top