Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

        }
    
        public void test_hashCode() {
            // Test hashCode method
            StopwordsItem item1 = new StopwordsItem(1, "test");
            StopwordsItem item2 = new StopwordsItem(1, "test");
            StopwordsItem item3 = new StopwordsItem(2, "test");
            StopwordsItem item4 = new StopwordsItem(1, "different");
    
            // Same input should have same hashCode regardless of id
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

            // Test that the exception has serialVersionUID defined
            JobNotFoundException exception = new JobNotFoundException("test");
    
            // Simply verify the exception can be created without issues
            // The serialVersionUID is compile-time checked
            assertNotNull(exception);
        }
    
        public void test_stackTrace() {
            // Test that stack trace is properly captured
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            securityResourceProvider = new FessSecurityResourceProvider(invertibleCryptographer, oneWayCryptographer);
        }
    
        // Test constructor
        public void test_constructor_withValidParameters() {
            // Test normal construction
            assertNotNull(securityResourceProvider);
    
            // Verify fields are set correctly
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/curl/CurlResponseTest.java

    import org.codelibs.curl.io.ContentCache;
    import org.junit.Test;
    
    /**
     * Test class for CurlResponse.
     * Tests response handling, header operations, and content access.
     */
    public class CurlResponseTest {
    
        @Test
        public void testConstructor() {
            CurlResponse response = new CurlResponse();
            assertNotNull(response);
        }
    
        @Test
        public void testHttpStatusCode() {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top