Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 2,907 for xtest (0.02 sec)

  1. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            // Test getEnvironment returns the correct environment
            Hashtable<String, String> env = ldapUser.getEnvironment();
            assertSame(testEnv, env);
            assertEquals("test.value", env.get("test.key"));
    
            // Test with empty environment
            Hashtable<String, String> emptyEnv = new Hashtable<>();
            LdapUser user = new LdapUser(emptyEnv, "user");
            assertTrue(user.getEnvironment().isEmpty());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationEqualTester.java

    import org.junit.Ignore;
    
    /**
     * Basic reserialization test for collection types that must preserve {@code equals()} behavior when
     * reserialized. (Sets and Lists, but not bare Collections.)
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/HeadersChallengesTest.kt

    import assertk.assertions.isNull
    import okhttp3.internal.http.parseChallenges
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Test
    
    class HeadersChallengesTest {
      /** See https://github.com/square/okhttp/issues/2780.  */
      @Test fun testDigestChallengeWithStrictRfc2617Header() {
        val headers =
          Headers
            .Builder()
            .add(
              "WWW-Authenticate",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 16.8K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            assertEquals(0L, context.getMaxAccessCount());
        }
    
        /**
         * Test sessionId getter and setter
         */
        public void test_sessionId() {
            assertNull(crawlerContext.getSessionId());
    
            crawlerContext.setSessionId("test-session-001");
            assertEquals("test-session-001", crawlerContext.getSessionId());
    
            crawlerContext.setSessionId(null);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

            instance = new SmbComFindClose2(mockConfig, TEST_SID);
        }
    
        @Test
        void testConstructorAndToString() {
            String s = instance.toString();
            // toString includes the class name and the sid field
            assertTrue(s.startsWith("SmbComFindClose2["));
            assertTrue(s.contains("sid=" + TEST_SID));
        }
    
        @Test
        void testWriteParameterWordsWireFormatLittleEndian() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/NotifyResponseTest.java

            // Test interface implementation
            assertTrue(response instanceof NotifyResponse);
            assertTrue(response instanceof CommonServerMessageBlockResponse);
    
            // Test initial state
            List<FileNotifyInformation> notifications = response.getNotifyInformation();
            assertNotNull(notifications);
            assertTrue(notifications.isEmpty());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/NameServiceClientTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    class NameServiceClientTest {
    
        @Mock
        private NameServiceClient nameServiceClient;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testGetLocalHost() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

    import java.io.InputStream;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Test class for SocketInputStream using JUnit 5 and Mockito.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            assertEquals(21, ftpInfo.getPort());
            assertEquals("/", ftpInfo.getParent());
            assertEquals("test.txt", ftpInfo.getName());
    
            value = "ftp://123.123.123.123/aaa/../test.txt";
            ftpInfo = new FtpClient.FtpInfo(value, Constants.UTF_8);
            assertEquals("ftp://123.123.123.123/test.txt", ftpInfo.toUrl());
            assertEquals("123.123.123.123:21", ftpInfo.getCacheKey());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

    public class UriTypeTest extends UnitFessTestCase {
    
        // Test field with UriType annotation for WEB protocol
        @UriType(protocolType = ProtocolType.WEB)
        private String testFieldWeb;
    
        // Test field with UriType annotation for FILE protocol
        @UriType(protocolType = ProtocolType.FILE)
        private String testFieldFile;
    
        // Test field with custom message
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top