Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 1,052 for verifyCn (0.26 seconds)

  1. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

            SuggestSettings settings = builder.build(client, id);
    
            assertNotNull(settings);
            // Verify that the settings object was created with the correct parameters
            // Note: We can't directly verify internal state of SuggestSettings without getters,
            // but we can verify it was created successfully
        }
    
        @Test
        public void testBuildWithCustomSettings() {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/ntlmssp/NtlmFlagsTest.java

    package jcifs.ntlmssp;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Test class for NtlmFlags, verifying the values of all defined constants.
     */
    public class NtlmFlagsTest {
    
        @Test
        void testNtlmNegotiateUnicode() {
            assertEquals(0x00000001, NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE, "NTLMSSP_NEGOTIATE_UNICODE should be 0x00000001");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

        @Test
        public void test_query_withNull() {
            updateLabelJob.query(null);
    
            // queryBuilder field is protected, we can't directly access it
            // But we can verify the job still executes properly
            String result = updateLabelJob.execute();
            assertNotNull(result);
            assertTrue(result.contains("documents"));
        }
    
        // Test constructor
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

        }
    
        // Test constructor
        @Test
        public void test_constructor_withValidParameters() {
            // Test normal construction
            assertNotNull(securityResourceProvider);
    
            // Verify fields are set correctly
            InvertibleCryptographer providedInvertible = securityResourceProvider.providePrimaryInvertibleCryptographer();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicInteger;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Security-focused test cases for BufferCache to verify buffer overflow protection.
     */
    public class BufferCacheSecurityTest {
    
        /**
         * Test that buffer allocation validates size to prevent overflow.
         */
        @Test
        public void testBufferSizeValidation() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrCloseHandleTest.java

            assertEquals(MsrpcSamrCloseHandle.DCERPC_FIRST_FRAG | MsrpcSamrCloseHandle.DCERPC_LAST_FRAG, msrpcSamrCloseHandle.getFlags(),
                    "flags should be DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG");
            // Verify that the super constructor was called with the correct handle.
            // This is implicitly tested by the object being created without error and
            // the fields set by the constructor being correct.
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            // Test that exception is serializable
            String message = "Serialization test";
            LdapOperationException exception = new LdapOperationException(message);
    
            // Verify the exception can be created (serialVersionUID is present)
            assertNotNull(exception);
        }
    
        @Test
        public void test_stackTrace() {
            // Test that stack trace is properly captured
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/entity/PingResponseTest.java

        @Test
        public void test_getStatus_returnsCorrectValue() {
            // Since we cannot easily create a real ClusterHealthResponse without a running cluster,
            // we'll test the class behavior through unit tests that verify the logic
            // The actual integration with ClusterHealthResponse is tested in integration tests
    
            // Test that the constructor and getters work with proper setup
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        }
    
        private static final long serialVersionUID = 0;
      }
    
      /*
       * This is somewhat of a weak test; we verify that all of the methods are
       * correct, but not that they're actually forwarding correctly. We also rely
       * on the other tests (e.g., SynchronizedSetTest) to verify that the
       * collection views are synchronized correctly.
       */
    
      public void testSize() {
        int unused = create().size();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/pac/PacSidAttributesTest.java

        }
    
        /**
         * Test method for {@link jcifs.pac.PacSidAttributes#PacSidAttributes(jcifs.smb.SID, int)}.
         */
        @Test
        void testConstructor() {
            // Verify that the id and attributes are correctly set by the constructor
            assertEquals(sidMock, pacSidAttributes.getId(), "The SID should match the one provided in the constructor.");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.6K bytes
    - Click Count (0)
Back to Top