Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 2,760 for 2test (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            }
        }
    
        @Test
        @DisplayName("Test createResponse method")
        void testCreateResponse() {
            request = new Smb2SetInfoRequest(mockConfig);
    
            Smb2SetInfoResponse response = request.createResponse(mockContext, request);
    
            assertNotNull(response);
            verify(mockContext, times(1)).getConfig();
        }
    
        @Test
        @DisplayName("Test size method")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            mockRequest.setQueryString("query=test&SAStruts=value&method=execute");
            webApiRequest = new WebApiRequest(mockRequest, customPath);
    
            assertEquals(customPath, webApiRequest.getServletPath());
        }
    
        // Test wrapper functionality inheritance
        public void test_inheritedMethods_areProperlyDelegated() {
            final String customPath = "/api/v1/test";
            final String testHeader = "X-Test-Header";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isSameAs
    import java.util.concurrent.RejectedExecutionException
    import kotlin.test.assertFailsWith
    import okhttp3.TestLogHandler
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class TaskRunnerTest {
      private val taskFaker = TaskFaker()
    
      @RegisterExtension @JvmField
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 23K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/UUIDTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    @ExtendWith(MockitoExtension.class)
    @DisplayName("UUID Tests")
    class UUIDTest {
    
        // Test data for a valid UUID string
        private static final String VALID_UUID_STRING = "00112233-4455-6677-8899-AABBCCDDEEFF";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. src/archive/zip/writer_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	for i, test := range utf8Tests {
    		flags := r.File[i].Flags
    		if flags != test.flags {
    			t.Errorf("CreateHeader(name=%q comment=%q nonUTF8=%v): flags=%#x, want %#x", test.name, test.comment, test.nonUTF8, flags, test.flags)
    		}
    	}
    }
    
    func TestWriterTime(t *testing.T) {
    	var buf bytes.Buffer
    	h := &FileHeader{
    		Name:     "test.txt",
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

            // Test that ContainerNotAvailableException is an instance of FessSystemException
            ContainerNotAvailableException exception = new ContainerNotAvailableException("test");
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
        }
    
        public void test_serialVersionUID() {
            // Test that serialVersionUID is properly defined
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComBlankResponseTest.java

        /**
         * Test for the readParameterWordsWireFormat method.
         * It should always return 0.
         */
        @Test
        void testReadParameterWordsWireFormat() {
            assertEquals(0, response.readParameterWordsWireFormat(buffer, 0), "readParameterWordsWireFormat should return 0");
        }
    
        /**
         * Test for the readBytesWireFormat method.
         * It should always return 0.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/witness/WitnessEnumTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for witness protocol enumerations.
     */
    public class WitnessEnumTest {
    
        @Test
        void testWitnessServiceTypes() {
            assertEquals(4, WitnessServiceType.values().length);
    
            // Verify all expected types are present
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/JobHelperTest.java

            } catch (Exception e) {
                // Expected in test environment due to missing client
                assertTrue(e.getMessage().contains("client"));
            }
        }
    
        public void test_monitorTarget_expired_withEndTime() {
            JobLog jobLog = new JobLog();
            jobLog.setId("test-log-2");
            jobLog.setJobName("Test Job 2");
            jobLog.setEndTime(System.currentTimeMillis());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. docs/site-replication/run-replication-with-checksum-header.sh

    sleep 120
    
    # List the objects from replicated site
    echo "Objects from replicated site"
    ./mc ls minio2/test-bucket --insecure
    count1=$(./mc ls minio2/test-bucket/obj --insecure | wc -l)
    if [ "${count1}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/obj not replicated"
    	exit_1
    fi
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top