Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 671 - 680 of 2,194 for Rtest (0.03 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt

    import java.nio.charset.StandardCharsets
    import kotlin.test.assertFailsWith
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.MediaType.Companion.toMediaTypeOrNull
    import okhttp3.RequestBody.Companion.toRequestBody
    import okio.Buffer
    import okio.BufferedSink
    import okio.utf8Size
    import org.junit.jupiter.api.Test
    
    class MultipartBodyTest {
      @Test
      fun onePartRequired() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 67.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

            assertEquals("-X777", values[4]);
            assertEquals("-X999", values[5]);
        }
    
        @Test
        public void test_getJavaVersion_edgeCases() {
            // Test with null java.version property
            System.clearProperty("java.version");
            assertEquals(8, JvmUtil.getJavaVersion());
    
            // Test with empty string
            System.setProperty("java.version", "");
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  4. gradle/libs.versions.toml

    kotlin-stdlib-osgi = { module = "org.jetbrains.kotlin:kotlin-osgi-bundle", version.ref = "kotlin" }
    kotlin-test-annotations = { module = "org.jetbrains.kotlin:kotlin-test-annotations-common", version.ref = "kotlin" }
    kotlin-test-common = { module = "org.jetbrains.kotlin:kotlin-test-common", version.ref = "kotlin" }
    kotlin-test-junit = { module = "org.jetbrains.kotlin:kotlin-test-junit", version.ref = "kotlin" }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 31 22:01:48 GMT 2026
    - 12K bytes
    - Click Count (0)
  5. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

    import okio.Path.Companion.toPath
    import okio.fakefilesystem.FakeFileSystem
    import org.junit.jupiter.api.Assertions.fail
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    @Tag("Slowish")
    class DnsOverHttpsTest {
      @RegisterExtension
      val platform = PlatformRule()
    
      @StartStop
      private val server = MockWebServer()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItemTest.java

     */
    package org.codelibs.fess.dict.stemmeroverride;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    public class StemmerOverrideItemTest extends UnitFessTestCase {
    
        @Test
        public void test_new1() {
            final StemmerOverrideItem stemmerOverrideItem = new StemmerOverrideItem(1, "aaa", "a");
            assertEquals(1, stemmerOverrideItem.getId());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationEqualTester.java

    import org.junit.Ignore;
    
    /**
     * Basic reserialization test for collection types that must preserve {@code equals()} behavior when
     * reserialized. (Sets and Lists, but not bare Collections.)
     *
     * @author Louis Wasserman
     */
    @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.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationEqualTester.java

    import org.junit.Ignore;
    
    /**
     * Basic reserialization test for collection types that must preserve {@code equals()} behavior when
     * reserialized. (Sets and Lists, but not bare Collections.)
     *
     * @author Louis Wasserman
     */
    @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.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/core/beans/converter/TimestampConverterTest.java

    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class TimestampConverterTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final TimestampConverter converter = new TimestampConverter("yyyy/MM/dd HH:mm:ss");
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            // Test write(byte[], int, int) method
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            byte[] data = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
            cos.write(data, 2, 3); // Write bytes at index 2, 3, 4
            assertTrue(cos.isInMemory());
            cos.close();
        }
    
        @Test
        public void testWriteWithOffsetAndLengthExceedingThreshold() throws IOException {
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 11.7K bytes
    - Click Count (0)
Back to Top