Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 2,660 for 1test (0.02 sec)

  1. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.CsvSource;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.internal.AllocInfo;
    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. cmd/bucket-replication-utils_test.go

    			t.Errorf("Test%d (%s): Internal replication status  got %s , want %s", i+1, test.name, repStatusStr, test.expectedReplicationStatusInternal)
    		}
    		if repStatus := rinfos.ReplicationStatus(); repStatus != test.expectedReplicationStatus {
    			t.Errorf("Test%d (%s): ReplicationStatus  got %s , want %s", i+1, test.name, repStatus, test.expectedReplicationStatus)
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        }
    
        // Test command string construction edge cases
        public void test_command_string_edge_cases() throws Exception {
            // Test with commands containing special characters
            final List<String> specialCommands = Arrays.asList("echo \"test with quotes\"", "echo 'test with single quotes'",
                    "echo test with spaces", "echo test&with&ampersand", "echo test|with|pipe");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt

    package okhttp3
    
    import java.util.Locale
    import kotlin.test.assertEquals
    import kotlin.test.assertNull
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.internal.platform.Platform.Companion.isAndroid
    import org.junit.jupiter.api.Test
    
    class MediaTypeJvmTest : MediaTypeGetTest() {
      override fun MediaType.charsetName(): String? = this.charset()?.name()
    
      @Test fun testCharsetNameIsDoubleQuotedAndSingleQuotedAndroid() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

        }
    
        @Test
        @DisplayName("Test buffer boundary conditions")
        void testBufferBoundaryConditions() {
            trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            // Test with minimal buffer size
            byte[] minBuffer = new byte[2];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbPipeResourceTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the SmbPipeResource interface.
     * This test class primarily verifies the constant values defined in the interface.
     */
    class SmbPipeResourceTest {
    
        /**
         * Test if the PIPE_TYPE_RDONLY constant has the correct value.
         */
        @Test
        void testPipeTypeRdonly() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

            assertEquals("", basePath);
    
            basePath = virtualHostHelper.getVirtualHostBasePath(null, new HtmlNext("/test"));
            assertEquals("", basePath);
    
            basePath = virtualHostHelper.getVirtualHostBasePath("  ", new HtmlNext("/test"));
            assertEquals("", basePath); // StringUtil.isBlank considers whitespace as blank
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            @Test
            public void testGetName() throws MalformedURLException {
                // Test file name extraction
                assertEquals("file.txt", new SmbFile("smb1://server/share/file.txt").getName());
                // Test directory name extraction (should include trailing slash)
                assertEquals("dir/", new SmbFile("smb1://server/share/dir/").getName());
                // Test share name extraction
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

                // Expected in test environment due to OpenSearch XContent setup
                assertTrue(e.getCause() instanceof IOException);
            }
        }
    
        public void test_scroll_callbackHandling() {
            // This test verifies the scroll method exists and handles callbacks properly
            // Note: In a real test environment, this would require proper SearchEngineClient setup
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

        }
    
        /**
         * Test validation of excessive buffer sizes to prevent resource exhaustion.
         */
        @Test
        public void testExcessiveBufferSizes() {
            byte[] buffer = createBasicNegotiateResponseBuffer();
    
            // Test excessive maxTransactSize (> 16MB)
            SMBUtil.writeInt4(20 * 1024 * 1024, buffer, 28); // 20MB
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top