Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 184 for verified (0.04 sec)

  1. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

     * and that the toString method returns the expected format.
     */
    class DfsReferralTest {
    
        /**
         * Tests the default constructor of the DfsReferral class.
         * It verifies that a new DfsReferral object is initialized with its 'next'
         * property pointing to itself.
         */
        @Test
        void testDefaultConstructor() {
            // Given
            DfsReferral referral = new DfsReferral();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

    import java.nio.charset.StandardCharsets;
    
    import org.junit.jupiter.api.Test;
    
    class AvTargetNameTest {
    
        /**
         * Test constructor with raw bytes.
         * Verifies that the AvPair type is correctly set and raw bytes are stored.
         */
        @Test
        void testConstructorWithRawBytes() {
            byte[] rawBytes = "TEST_TARGET_NAME".getBytes(StandardCharsets.UTF_16LE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java

            }
        }
    
        @BeforeEach
        void setUp() {
            ndrObject = new ConcreteNdrObject();
        }
    
        /**
         * Test case for the encode method.
         * Verifies that the encode method of a concrete implementation is called
         * and interacts with the NdrBuffer as expected.
         * @throws NdrException if encoding fails.
         */
        @Test
        void testEncode() throws NdrException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/HandlerTest.java

                }
            };
    
            handlers.put("http", httpHandler);
            handlers.put("https", httpsHandler);
        }
    
        @Test
        void testGetDefaultPort() {
            // This test verifies that the handler returns the correct default HTTP port.
            assertEquals(Handler.DEFAULT_HTTP_PORT, handler.getDefaultPort(), "Default port should be 80 for HTTP.");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NtlmHttpServletRequestTest.java

            ntlmRequest = new NtlmHttpServletRequest(mockRequest, mockPrincipal);
        }
    
        /**
         * Test method for {@link NtlmHttpServletRequest#getRemoteUser()}.
         * Verifies that the method returns the name of the principal.
         */
        @Test
        void testGetRemoteUser() {
            // Arrange: Define the expected user name from the principal
            String expectedUserName = "testUser";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

        }
      }
    
      /**
       * Skips coalescing when hostname verifier is overridden since the intention of the hostname
       * verification is a black box.
       */
      @Test
      fun skipsWhenHostnameVerifierUsed() {
        val verifier = HostnameVerifier { name: String?, session: SSLSession? -> true }
        client = client.newBuilder().hostnameVerifier(verifier).build()
        server.enqueue(MockResponse())
        server.enqueue(MockResponse())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

            // This test verifies that the class can be instantiated and has the serial version UID
            ServletException servletException = new ServletException("Serialization test");
            ServletRuntimeException runtimeException = new ServletRuntimeException(servletException);
    
            // The fact that we can create the instance verifies the serialVersionUID is defined
            assertNotNull(runtimeException);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/mail/CrawlerPostcardTest.java

            assertFalse(false);
            assertNotNull("test");
            assertEquals(1, 1);
        }
    
        // Test placeholder for future implementation
        public void test_placeholder() {
            // This test verifies the test class can be instantiated and run
            String testValue = "test";
            assertNotNull(testValue);
            assertEquals("test", testValue);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          nullableValueEntry.setValue(null);
          fail("setValue on unmodifiable Map.Entry succeeded");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      /**
       * Verifies that an Iterator is unmodifiable.
       *
       * <p>This test only works with iterators that iterate over a finite set.
       */
      public static void assertIteratorIsUnmodifiable(Iterator<?> iterator) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/api/BaseApiManagerTest.java

            assertFalse(false);
            assertNotNull("test");
            assertEquals(1, 1);
        }
    
        // Test placeholder for future implementation
        public void test_placeholder() {
            // This test verifies the test class can be instantiated and run
            String testValue = "test";
            assertNotNull(testValue);
            assertEquals("test", testValue);
        }
    
        // Additional test for coverage
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top