Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 3,275 for Test (0.09 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

    class CookieTest {
      val url = "https://example.com/".toHttpUrl()
    
      @Test fun simpleCookie() {
        val cookie = parse(url, "SID=31d4d96e407aad42")
        assertThat(cookie.toString()).isEqualTo("SID=31d4d96e407aad42; path=/")
      }
    
      @Test fun noEqualsSign() {
        assertThat(parse(url, "foo")).isNull()
        assertThat(parse(url, "foo; Path=/")).isNull()
      }
    
      @Test fun emptyName() {
        assertThat(parse(url, "=b")).isNull()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/jcifs/util/ByteEncodableTest.java

        }
    
        @Test
        void testEncodeWithOffset() {
            // Test encoding with a destination offset
            byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 };
            ByteEncodable encodable = new ByteEncodable(data, 0, 3);
            byte[] dest = new byte[5]; // {0,0,0,0,0}
            dest[0] = (byte) 0xFF; // Add some initial data to dest
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K 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. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top