Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 3,275 for Test (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. docs/iam/opa.md

    export MINIO_ROOT_PASSWORD=minio123
    minio server /mnt/data
    ```
    
    ### 5. Test with a regular IAM user
    
    Ensure that `mc` is installed and the configured with the above server with the alias `myminio`.
    
    ```sh
    # 1. Create a bucket and a user, and upload a file. These operations will succeed.
    mc mb myminio/test
    mc admin user add myminio foo foobar123
    mc cp /etc/issue myminio/test/
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeImplTest.java

        }
    
        // Test case for the constructor of SmbTreeImpl
        @Test
        void testSmbTreeImplConstructor() {
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            assertNotNull(tree);
            assertEquals("SHARE", tree.getShare());
            assertEquals("A:", tree.getService());
        }
    
        // Test case for the matches method
        @Test
        void testMatches() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/entity/FacetInfoTest.java

            super.tearDown();
        }
    
        // Test default constructor
        public void test_constructor() {
            FacetInfo info = new FacetInfo();
            assertNull(info.field);
            assertNull(info.query);
            assertNull(info.size);
            assertNull(info.minDocCount);
            assertNull(info.sort);
            assertNull(info.missing);
        }
    
        // Test init method with various configurations
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java

            assertEquals("test", mpqb.value()); // Should be lowercase
        }
    
        public void test_convertPrefixQuery_withUppercasePrefix_lowercaseDisabled() throws Exception {
            queryCommand.setLowercaseWildcard(false);
    
            QueryContext context = new QueryContext("test", false);
            PrefixQuery prefixQuery = new PrefixQuery(new Term("title", "TEST"));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/config/SecurityConfigurationTest.java

    import static org.junit.Assert.assertTrue;
    
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    import jcifs.CIFSException;
    import jcifs.DialectVersion;
    
    /**
     * Security configuration tests
     *
     * Verifies that default security settings are properly configured
     * according to SMB security best practices.
     */
    @RunWith(JUnit4.class)
    public class SecurityConfigurationTest {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

            assertEquals(0, response.serverFid);
        }
    
        @Test
        void testSetFid() {
            response.fid = 123;
            assertEquals(123, response.fid);
        }
    
        @Test
        void testSetFileAttributes() {
            response.fileAttributes = 0x20; // ATTR_ARCHIVE
            assertEquals(0x20, response.fileAttributes);
        }
    
        @Test
        void testSetLastWriteTime() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. 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)
  9. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

        }
    
        @Test
        public void testCustomFailureDetection() throws CIFSException {
            // Create a fresh circuit breaker for this test to avoid state pollution
            SmbCircuitBreaker customCb = new SmbCircuitBreaker("custom-test", 3, 2, 1000, 3);
    
            try {
                // Test that without custom predicate, all failures count
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        }
    
        // Test process with available generator
        public void test_process_availableGenerator() throws IOException {
            // Skip this test as it requires container components
            // The process method needs actual ThumbnailQueueBhv and other components
            assertTrue(true);
        }
    
        // Test process with unavailable generator
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
Back to top