Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2111 - 2120 of 4,151 for text (0.04 sec)

  1. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

            assertEquals(value, msg.getFlags(), "getFlags should return the value set");
        }
    
        @Test
        @DisplayName("setFlag true sets the bit")
        void testSetFlagTrue() {
            msg.setFlag(0x4, true);
            assertTrue(msg.getFlag(0x4), "Bit should be set after setFlag(true)");
        }
    
        @Test
        @DisplayName("setFlag false clears the bit")
        void testSetFlagFalse() {
            msg.setFlag(0x4, true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    class DcerpcExceptionTest {
    
        /**
         * Test constructor DcerpcException(int error) with a known error code.
         */
        @Test
        void testConstructorWithError_knownCode() {
            int errorCode = DcerpcError.DCERPC_FAULT_ACCESS_DENIED;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verifyNoInteractions;
    
    import java.lang.reflect.Field;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.NullSource;
    import org.junit.jupiter.params.provider.ValueSource;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author taedium
     */
    public class ResourceTraversalTest {
    
        private static int count = 0;
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            count = 0;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachFile() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code retainAll} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            Map<String, String> paramMap;
    
            // Test with whitespace around keys and values
            value = "  key1  =  value1  \n  key2=value2\n";
            paramMap = ParameterUtil.parse(value);
            assertEquals(2, paramMap.size());
            assertEquals("value1", paramMap.get("key1"));
            assertEquals("value2", paramMap.get("key2"));
    
            // Test with empty lines and mixed whitespace
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/ASN1UtilTest.java

    import org.bouncycastle.asn1.DLSequence;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the {@link ASN1Util} class.
     */
    class ASN1UtilTest {
    
        // --- as(Class, Object) ---
    
        @Test
        void testAs_Object_Success() throws PACDecodingException {
            // Test successful casting
            String expected = "test string";
            Object obj = expected;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

     *
     * @param <C> the type of the container
     * @param <E> the type of the container's contents
     * @author George van den Driessche
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/transport/Transport.java

                while (curResp != null) {
                    this.response_map.remove(curResp.getMid());
                    final Request next = curReq.getNext();
                    if (next == null) {
                        break;
                    }
                    curReq = next;
                    curResp = next.getResponse();
                }
            }
        }
    
        /**
         * Sends a request and manages the response handling.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

            testData.add(createRelatedQuery("test", new String[] { "initial" }, ""));
            mockBhv.setTestData(testData);
    
            relatedQueryHelper.load();
            String[] results = relatedQueryHelper.getRelatedQueries("test");
            assertEquals("initial", results[0]);
    
            // Update test data
            testData.clear();
            testData.add(createRelatedQuery("test", new String[] { "updated" }, ""));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16.3K bytes
    - Viewed (0)
Back to top