Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 2,907 for xtest (0.01 sec)

  1. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsRecordCodecTest.kt

    import java.net.InetAddress
    import java.net.UnknownHostException
    import kotlin.test.assertFailsWith
    import okhttp3.dnsoverhttps.DnsRecordCodec.TYPE_A
    import okhttp3.dnsoverhttps.DnsRecordCodec.TYPE_AAAA
    import okhttp3.dnsoverhttps.DnsRecordCodec.decodeAnswers
    import okio.ByteString.Companion.decodeHex
    import org.junit.jupiter.api.Test
    
    class DnsRecordCodecTest {
      @Test
      fun testGoogleDotComEncoding() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu May 29 20:09:10 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NtlmHttpServletRequestTest.java

        void setUp() {
            // Create a new NtlmHttpServletRequest with mocked dependencies before each test
            ntlmRequest = new NtlmHttpServletRequest(mockRequest, mockPrincipal);
        }
    
        /**
         * Test method for {@link NtlmHttpServletRequest#getRemoteUser()}.
         * Verifies that the method returns the name of the principal.
         */
        @Test
        void testGetRemoteUser() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

        class CreateResponseTests {
    
            @Test
            @DisplayName("Should create correct response type")
            void testCreateResponse() {
                Smb2EchoResponse response = echoRequest.createResponse(mockContext, echoRequest);
    
                assertNotNull(response);
                assertInstanceOf(Smb2EchoResponse.class, response);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

        }
    
        @Test
        @DisplayName("Should create correct response")
        void testCreateResponse() {
            // When
            Smb2ChangeNotifyResponse response = request.createResponse(mockContext, request);
    
            // Then
            assertNotNull(response);
            assertTrue(response instanceof Smb2ChangeNotifyResponse);
        }
    
        @Test
        @DisplayName("Should calculate correct size")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

    import org.codelibs.fess.crawler.processor.ResponseProcessor;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * Test class for RuleManager interface.
     * Tests the contract and behavior of RuleManager implementations.
     */
    public class RuleManagerTest extends PlainTestCase {
    
        /**
         * Test implementation of RuleManager for testing purposes
         */
        public static class TestRuleManager implements RuleManager {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

            verify(handle, times(1)).release();
            verifyNoMoreInteractions(handle);
        }
    
        @Test
        @DisplayName("ensureDFSResolved(): no exception when underlying call succeeds")
        void ensureDFSResolved_success() throws Exception {
            // Arrange: default mock does nothing
    
            // Act: call method under test
            handle.ensureDFSResolved();
    
            // Assert: interaction happened and did not throw
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/util/MimeMapTest.java

                assertEquals(expectedMimeType, mimeMap.getMimeType(extension));
            }
    
            @Test
            @DisplayName("Should handle extensions with special characters")
            void testSpecialCharacterExtensions() throws IOException {
                // Test extensions that are definitely not in the map
                assertEquals("application/octet-stream", mimeMap.getMimeType("file.ext"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java

            super.tearDown();
        }
    
        public void test_getText_ooow() {
            InputStream in = ResourceUtil.getResourceAsStream("extractor/ooo/test.odt");
            Map<String, String> params = new HashMap<String, String>();
            params.put("resourceName", "test.odt");
            ExtractData extractData = jodExtractor.getText(in, params);
            String content = extractData.getContent();
            CloseableUtil.closeQuietly(in);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java

        }
    
        public void test_update() {
            // Test update method
            User user = createTestUser("testuser", "password123");
    
            ldapChain.update(user);
    
            assertEquals(user, testLdapManager.insertedUser);
            assertTrue(testLdapManager.insertCalled);
        }
    
        public void test_update_withNullUser() {
            // Test update with null user
            ldapChain.update(null);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacSidAttributesTest.java

        }
    
        /**
         * Test method for {@link jcifs.pac.PacSidAttributes#getId()}.
         */
        @Test
        void testGetId() {
            // Test the getId method
            assertEquals(sidMock, pacSidAttributes.getId(), "getId should return the correct SID.");
        }
    
        /**
         * Test method for {@link jcifs.pac.PacSidAttributes#getAttributes()}.
         */
        @Test
        void testGetAttributes() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top