Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 2,660 for Rtest (1.47 sec)

  1. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

            testHost.setRegularName("www.test.com");
            testHost.setDuplicateHostName("test.com");
            testList.add(testHost);
    
            helper.setDuplicateHostList(testList);
    
            assertEquals(testList, helper.duplicateHostList);
            assertEquals(1, helper.duplicateHostList.size());
            assertEquals("www.test.com", helper.duplicateHostList.get(0).getRegularName());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

        }
    
        @Test
        void testGetVersionReturnsResolvedVersionOnSnapshot() {
            assertEquals(snapshotResolvedVersion, snapshotArtifact.getVersion());
    
            // this is FOUL!
            //        snapshotArtifact.isSnapshot();
    
            assertEquals(snapshotSpecVersion, snapshotArtifact.getBaseVersion());
        }
    
        @Test
        void testGetDependencyConflictId() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

        }
    
        /**
         * Test iterator with no filter - all elements should be returned.
         */
        @Test
        void testIteratorWithoutFilter() {
            // Given
            when(mockDelegate.hasNext()).thenReturn(true, true, true, false);
            when(mockDelegate.next()).thenReturn(mockFileEntry1, mockFileEntry2, mockFileEntry3);
    
            // Create a simple test iterator that returns mocked resources
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            assertEquals(0L, info.getSize());
        }
    
        @Test
        @DisplayName("Test size method returns correct buffer size")
        void testSize() {
            assertEquals(40, fileBasicInfo.size());
        }
    
        @Test
        @DisplayName("Test encode method")
        void testEncode() throws SMBProtocolDecodingException {
            // Create instance with test values
            FileBasicInfo info =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbTreeTest.java

        private SmbTree mockWrappedTree;
    
        /**
         * Setup method executed before each test.
         */
        @BeforeEach
        void setUp() {
            // Common setup if needed
        }
    
        /**
         * Test for unwrap() method with matching type.
         * Verifies that unwrap returns the correct instance when the type matches.
         */
        @Test
        void testUnwrap_withMatchingType() {
            // Create a custom SmbTree type for testing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

    import org.junit.jupiter.api.Disabled;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Test the default artifact collector.
     *
     */
    @PlexusTest
    @Deprecated
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 42.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            response = new NetServerEnum2Response(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor with configuration")
        void testConstructor() {
            assertNotNull(response);
            // Response is successfully created with configuration
            assertTrue(response instanceof NetServerEnum2Response);
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat returns 0")
        void testWriteSetupWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

        }
    
        @Test
        void testConstructor_maxValue() {
            // Test with the maximum byte value
            NdrSmall ndrSmall = new NdrSmall(255);
            assertEquals(255, ndrSmall.value, "Value should be initialized correctly for max byte value.");
        }
    
        @Test
        void testConstructor_zeroValue() {
            // Test with zero value
            NdrSmall ndrSmall = new NdrSmall(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

                    throw new RuntimeException("Test exception");
                }
            };
            ComponentUtil.register(exceptionClient, "searchEngineClient");
    
            String result = updateLabelJob.execute();
            assertNotNull(result);
            assertTrue(result.contains("Test exception"));
            assertFalse(result.contains("docs"));
        }
    
        // Test query() method
        public void test_query() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CertificateChainCleanerTest.kt

    import java.security.cert.Certificate
    import javax.net.ssl.SSLPeerUnverifiedException
    import kotlin.test.assertFailsWith
    import okhttp3.internal.tls.CertificateChainCleaner.Companion.get
    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.HeldCertificate
    import org.junit.jupiter.api.Test
    
    class CertificateChainCleanerTest {
      @Test
      fun equalsFromCertificate() {
        val rootA =
          HeldCertificate
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 9.5K bytes
    - Viewed (1)
Back to top