Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 3,275 for Test (0.03 sec)

  1. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.CsvSource;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.MockedStatic;
    
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test suite for DfsReferralRequestBuffer
     */
    class DfsReferralRequestBufferTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/score/ScoreBoosterTest.java

            super.tearDown();
        }
    
        // Basic test to verify test framework is working
        public void test_basicAssertion() {
            assertTrue(true);
            assertFalse(false);
            assertNotNull("test");
            assertEquals(1, 1);
        }
    
        // Test placeholder for future implementation
        public void test_placeholder() {
            // This test verifies the test class can be instantiated and run
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/opensearch/query/StoredLtrQueryBuilderTest.java

            super.tearDown();
        }
    
        // Basic test to verify test framework is working
        public void test_basicAssertion() {
            assertTrue(true);
            assertFalse(false);
            assertNotNull("test");
            assertEquals(1, 1);
        }
    
        // Test placeholder for future implementation
        public void test_placeholder() {
            // This test verifies the test class can be instantiated and run
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

        }
    
        // Test with whitespace-only Origin header
        public void test_doFilter_whitespaceOriginHeader() throws IOException, ServletException {
            mockRequest.setHeader("Origin", "   ");
    
            corsFilter.doFilter(mockRequest, mockResponse, mockFilterChain);
    
            assertTrue(mockFilterChain.wasDoFilterCalled());
            assertFalse(corsHandlerFactory.wasGetCalled());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java

                return username;
            }
    
            public String getPassword() {
                return password;
            }
        }
    
        // Test getLoginCredential method
        public void test_getLoginCredential_returnsValidCredential() {
            // Setup test credential
            TestLoginCredential expectedCredential = new TestLoginCredential("testuser", "testpass");
            authenticator.setLoginCredential(expectedCredential);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (1)
  6. cmd/xl-storage_test.go

    			t.Errorf("Test %d: Expected error %v but got none.", i, test.expError)
    		case err == nil && n != int64(test.length):
    			t.Errorf("Test %d: %d bytes were expected, but %d were written", i, test.length, n)
    		case err == nil && !bytes.Equal(data[test.offset:test.offset+test.length], buffer):
    			t.Errorf("Test %d: Expected bytes: %v, but got: %v", i, data[test.offset:test.offset+test.length], buffer)
    		case err != nil && err != test.expError:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ResolverTypeTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the {@link ResolverType} enum.
     * This class ensures that the enum constants are defined as expected.
     */
    class ResolverTypeTest {
    
        /**
         * Tests that all expected enum constants exist.
         */
        @Test
        void testEnumConstants() {
            // Verify that each enum constant exists and can be referenced
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

            remoteInterface = new NetworkInterfaceInfo(remoteAddr, 1000);
    
            channelInfo = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface);
        }
    
        @Test
        void testConstructor() {
            assertEquals("test-channel", channelInfo.getChannelId());
            assertEquals(mockTransport, channelInfo.getTransport());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/exception/SUnsupportedOperationExceptionTest.java

    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class SUnsupportedOperationExceptionTest {
    
        /**
         * Test method for
         * {@link org.codelibs.core.exception.ClUnsupportedOperationException#SUnsupportedOperationException()}
         * .
         */
        @Test
        public void testSUnsupportedOperationException() {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    import org.junit.jupiter.api.Test;
    
    class AvChannelBindingsTest {
    
        /**
         * Test that the constructor correctly initializes with a valid channel binding hash.
         */
        @Test
        void testConstructorWithValidHash() {
            byte[] testHash = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top