Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 2,660 for Rtest (0.01 sec)

  1. 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)
  2. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

    import org.junit.After;
    import org.junit.Test;
    
    /**
     * Test class for ContentCache.
     * Tests memory-based and file-based content caching.
     */
    public class ContentCacheTest {
    
        private File tempFile;
    
        @After
        public void tearDown() {
            if (tempFile != null && tempFile.exists()) {
                tempFile.delete();
            }
        }
    
        @Test
        public void testMemoryBasedCacheConstructor() {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

    import org.codelibs.core.beans.converter.NumberConverter;
    import org.codelibs.core.exception.ConverterRuntimeException;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class CopyOptionsTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testIncludes() throws Exception {
            final CopyOptions option = new CopyOptions();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/HandlerTest.java

            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
        void testOpenConnection_HttpProtocol_ReturnsNtlmHttpURLConnection() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/EmptyIteratorTest.java

         */
        @Test
        public void testEmptyIterator() {
            final EmptyIterator<String> emptyIterator = new EmptyIterator<String>();
            assertThat(emptyIterator, is(notNullValue()));
        }
    
        /**
         * Test method for {@link org.codelibs.core.collection.EmptyIterator#remove()}
         * .
         */
        @Test
        public void testRemove() {
            exception.expect(ClUnsupportedOperationException.class);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

        // Test expiry setter with zero value (should not change)
        public void test_expiry_zeroValue() {
            long originalExpiry = purgeThumbnailJob.getExpiry();
            PurgeThumbnailJob result = purgeThumbnailJob.expiry(0);
    
            // Test method chaining
            assertSame(purgeThumbnailJob, result);
            // Test value was not changed
            assertEquals(originalExpiry, purgeThumbnailJob.getExpiry());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. cmd/erasure_test.go

    		}
    		if err != nil && !test.shouldFail {
    			t.Errorf("Test %d: test should pass but it failed: %v", i, err)
    		}
    
    		decoded := encoded
    		if !test.shouldFail {
    			if test.reconstructParity {
    				for j := range decoded {
    					if decoded[j] == nil {
    						t.Errorf("Test %d: failed to reconstruct shard %d", i, j)
    					}
    				}
    			} else {
    				for j := range decoded[:test.dataBlocks] {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.smb.SmbFile;
    
    class Trans2FindFirst2ResponseTest {
    
        private Trans2FindFirst2Response response;
    
        @BeforeEach
        void setUp() {
            response = new Trans2FindFirst2Response();
        }
    
        // Test cases for SmbFindFileBothDirectoryInfo inner class
        @Test
        void testSmbFindFileBothDirectoryInfo_Getters() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top