Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1181 - 1190 of 3,196 for test (0.04 sec)

  1. src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java

    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.HashMap;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class CollectionsUtilTest {
    
        /**
         * Test method for
         * {@link org.codelibs.core.collection.CollectionsUtil#isEmpty(java.util.Collection)}
         * .
         */
        @Test
        public void testIsEmptyCollectionOfQ() {
            Collection<String> c = null;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

            assertEquals("-X999", values[5]);
        }
    
        public void test_getJavaVersion_edgeCases() {
            // Test with null java.version property
            System.clearProperty("java.version");
            assertEquals(8, JvmUtil.getJavaVersion());
    
            // Test with empty string
            System.setProperty("java.version", "");
            try {
                JvmUtil.getJavaVersion();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. cmd/http-tracer_test.go

    		},
    		{
    			"?x=y&a=b",
    			"?x=y&a=b",
    		},
    	}
    	for i, test := range testCases {
    		gotQuery := redactLDAPPwd(test.query)
    		if gotQuery != test.expectedQuery {
    			t.Fatalf("test %d: expected %s got %s", i+1, test.expectedQuery, gotQuery)
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt

     * limitations under the License.
     */
    package okhttp3.internal
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import kotlin.test.Test
    
    class HostnamesTest {
      @Test
      fun canonicalizeInetAddressNotMapped() {
        val addressA = decodeIpv6("::1")!!
        assertThat(canonicalizeInetAddress(addressA)).isEqualTo(addressA)
    
        val addressB = byteArrayOf(127, 0, 0, 1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

        }
    
        @Test
        void testRegistrationIdUniqueness() throws Exception {
            WitnessRegistration registration2 =
                    new WitnessRegistration("\\\\server\\share2", InetAddress.getByName("192.168.1.101"), WitnessServiceType.CLUSTER_WITNESS);
    
            assertNotEquals(registration.getRegistrationId(), registration2.getRegistrationId());
        }
    
        @Test
        void testFlagsModification() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

            try {
                // Test null vs null
                assertTrue(auth1.equals(new NtlmPasswordAuthenticator("domain", "user", (String) null)));
    
                // Test null vs empty
                assertFalse(auth1.equals(auth2));
    
                // Test null vs password
                assertFalse(auth1.equals(auth3));
    
                // Test empty vs password
                assertFalse(auth2.equals(auth3));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbSessionInternalTest.java

        // Happy path: transport is returned and verified
        @Test
        @DisplayName("getTransport returns mocked transport")
        void getTransport_happy() {
            when(session.getTransport()).thenReturn(transport);
            assertSame(transport, session.getTransport());
            verify(session).getTransport();
        }
    
        // Happy path: connect to logon share completes without exception
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/keymatch/admin_keymatch.jsp

                                <div class="collapse <c:if test="${!empty term || !empty query}">show</c:if>" id="listSearchForm">
                                    <la:form action="/admin/keymatch/">
                                        <div class="form-group row">
                                            <label for="term" class="col-sm-2 text-sm-right col-form-label"><la:message
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Mar 31 05:47:05 UTC 2020
    - 7.4K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/relatedcontent/admin_relatedcontent.jsp

                                <div class="collapse <c:if test="${!empty term || !empty content}">show</c:if>" id="listSearchForm">
                                    <la:form action="/admin/relatedcontent/">
                                        <div class="form-group row">
                                            <label for="term" class="col-sm-2 text-sm-right col-form-label"><la:message
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Mar 31 05:47:05 UTC 2020
    - 7.4K bytes
    - Viewed (0)
  10. okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt

    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    @Tag("Slow")
    class OsgiTest {
      private lateinit var testResourceDir: Path
      private lateinit var workspaceDir: Path
    
      @BeforeEach
      fun setUp() {
        testResourceDir = "./build/resources/test/okhttp3/osgi".toPath()
        workspaceDir = testResourceDir / "workspace"
    
        // Ensure we start from scratch.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top