Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 2,907 for xtest (0.02 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

        private sid_t mockSidT;
    
        private MsrpcLookupSids lookupSids;
        private jcifs.SID[] testSids;
    
        @BeforeEach
        void setUp() {
            // Setup is minimal - mocks are configured per test as needed
        }
    
        @Test
        void constructor_shouldInitializeWithValidParameters() {
            // Arrange
            jcifs.SID mockSid1 = mock(jcifs.SID.class);
            jcifs.SID mockSid2 = mock(jcifs.SID.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            assertTrue(result.contains("pipeName=null"));
        }
    
        @ParameterizedTest
        @NullAndEmptySource
        @ValueSource(strings = { "\\PIPE\\test", "testpipe", "\\\\server\\pipe\\test", " ", "pipe with spaces" })
        @DisplayName("toString should handle various pipe names")
        void testToStringWithVariousPipeNames(String pipeName) {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

            // in test environments, we test that the method exists and can be invoked
            // without throwing unexpected exceptions
            try {
                // Create a new instance to ensure clean state
                SystemMonitorTarget testTarget = new SystemMonitorTarget();
    
                // Try to call the expired method
                // Note: This method may fail in test environments due to system dependencies
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

          ),
        )
      }
    
      @Test
      fun readSingleByteInt() {
        assertThat(newReader(byteStream()).readInt(10, 31)).isEqualTo(10)
        assertThat(newReader(byteStream()).readInt(0xe0 or 10, 31)).isEqualTo(10)
      }
    
      @Test
      fun readMultibyteInt() {
        assertThat(newReader(byteStream(154, 10)).readInt(31, 31)).isEqualTo(1337)
      }
    
      @Test
      fun writeSingleByteInt() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

        }
    
        @Test
        @DisplayName("Test prepare method with valid request")
        void testPrepareWithValidRequest() {
            // Given
            doNothing().when(response).prepare(request);
    
            // When
            response.prepare(request);
    
            // Then
            verify(response).prepare(request);
        }
    
        @Test
        @DisplayName("Test prepare method with null request")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

            final TestListener testListener = new TestListener();
            client.setCrawlerClient(testClient);
            client.setRequestListener(testListener);
            final String url = "http://test.com/";
            final ResponseData response = client.execute(RequestDataBuilder.newRequestData().get().url(url).build());
            assertEquals(1, testListener.startCount);
            assertEquals(1, testListener.requestCount);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

    import junit.framework.Test;
    import junit.framework.TestSuite;
    
    /**
     * Generates a test suite covering the {@link List} implementations in the {@link java.util}
     * package. Can be subclassed to specify tests that should be suppressed.
     *
     * @author Kevin Bourrillion
     */
    @GwtIncompatible
    public class TestsForListsInJavaUtil {
      public static Test suite() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            assertEquals(16, hash.length);
        }
    
        // Test unescape method
        @ParameterizedTest
        @CsvSource({ "'test%20string', 'test string'", "'test%25string', 'test%string'", "'test', 'test'", "'' , ''" })
        void testUnescape(String input, String expected) throws Exception {
            assertEquals(expected, NtlmPasswordAuthentication.unescape(input));
        }
    
        // Test getAnsiHash always returns 24 bytes regardless of lmCompatibility
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                assertEquals("Test IO Exception", thrown.getMessage());
            }
        }
    
        @Nested
        @DisplayName("Send/Receive Tests")
        class SendReceiveTests {
    
            @Test
            @DisplayName("Should handle basic send/receive fragment methods")
            void testSendReceiveFragmentMethods() throws IOException {
                // Given: Test handle with configured return values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            // Test interface method
            byte level = mockFileInfo.getFileInformationLevel();
            assertEquals(FileInformation.FILE_BASIC_INFO, level);
    
            // Verify interaction
            verify(mockFileInfo).getFileInformationLevel();
        }
    
        /**
         * Test FileInformation as Decodable
         */
        @Test
        @DisplayName("Test FileInformation decode method")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top