Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2251 - 2260 of 4,609 for text (0.04 sec)

  1. okhttp/src/test/java/okhttp3/internal/idn/PunycodeTest.kt

     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    import kotlin.test.Test
    import kotlin.test.assertEquals
    import kotlin.test.assertNull
    
    class PunycodeTest {
      /** https://datatracker.ietf.org/doc/html/rfc3492#section-7.1 */
      @Test fun rfc3492Samples() {
        // (A) Arabic (Egyptian)
        testEncodeDecode(
          unicode = "ليهمابتكلموشعربي؟",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

          .isEqualTo("squareup.com")
      }
    
      @Test
      fun fragmentNonAscii() {
        val url = "http://host/#Σ".toHttpUrl()
        assertThat(url.toUri().toString()).isEqualTo("http://host/#Σ")
      }
    
      @Test
      fun fragmentPercentEncodedNonAscii() {
        val url = "http://host/#%C2%80".toHttpUrl()
        assertThat(url.toUri().toString()).isEqualTo("http://host/#%C2%80")
      }
    
      @Test
      fun fragmentPercentEncodedPartialCodePoint() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. internal/event/name_test.go

    		data, err := xml.Marshal(testCase.name)
    		expectErr := (err != nil)
    
    		if expectErr != testCase.expectErr {
    			t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr)
    		}
    
    		if !testCase.expectErr {
    			if !reflect.DeepEqual(data, testCase.expectedData) {
    				t.Fatalf("test %v: data: expected: %v, got: %v", i+1, string(testCase.expectedData), string(data))
    			}
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

        @interface NotTesterAnnotation {
          ExampleFeature[] value() default {};
    
          ExampleFeature[] absent() default {};
        }
      }
    
      public void testTestFeatureEnums() {
        // Haha! Let's test our own test rig!
        assertGoodFeatureEnum(ExampleFeature.class);
      }
    
      public void testAddImpliedFeatures_returnsSameSetInstance() {
        Set<Feature<?>> features = newHashSet(FOO);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/resources/inheritance-repo/t10/p0/pom.xml

      </organization>
    
      <dependencyManagement>
    
        <dependencies>
    
          <dependency>
            <groupId>maven-test</groupId>
            <artifactId>t10-a</artifactId>
            <version>1.0</version>
            <scope>test</scope>
          </dependency>
    
          <dependency>
            <groupId>maven-test</groupId>
            <artifactId>t10-b</artifactId>
            <version>1.0</version>
            <scope>runtime</scope>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 878 bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/resources/inheritance-repo/t06/p0/pom.xml

        <dependencies>
          <dependency>
            <groupId>maven-test</groupId>
            <artifactId>t06-a</artifactId>
            <version>1.0</version>
          </dependency>
          <dependency>
            <groupId>maven-test</groupId>
            <artifactId>t06-b</artifactId>
            <version>1.1</version>
          </dependency>
          <dependency>
            <groupId>maven-test</groupId>
            <artifactId>t06-c</artifactId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 992 bytes
    - Viewed (0)
  7. cmd/os-readdir_test.go

    		}
    	}
    }
    
    // Represents data type for all the test results.
    type result struct {
    	dir     string
    	entries []string
    }
    
    // Test to read empty directory.
    func setupTestReadDirEmpty(t *testing.T) (testResults []result) {
    	// Add empty entry slice for this test directory.
    	testResults = append(testResults, result{t.TempDir(), []string{}})
    	return testResults
    }
    
    // Test to read non-empty directory with only files.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        equalObject2 = new ValidTestObject(1, 2);
        notEqualObject1 = new ValidTestObject(0, 2);
      }
    
      /** Test null reference yields error */
      public void testAddNullReference() {
        assertThrows(NullPointerException.class, () -> equalsTester.addEqualityGroup((Object) null));
      }
    
      /** Test equalObjects after adding multiple instances at once with a null */
      public void testAddTwoEqualObjectsAtOnceWithNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

    import assertk.assertions.isNull
    import assertk.assertions.isSameAs
    import assertk.assertions.isTrue
    import kotlin.test.Test
    import kotlin.test.assertFailsWith
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.RequestBody.Companion.toRequestBody
    
    class RequestCommonTest {
      @Test
      fun constructorNormal() {
        val url = "https://example.com/".toHttpUrl()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.hamcrest.MatcherAssert.assertThat;
    import static org.hamcrest.Matchers.contains;
    import static org.hamcrest.Matchers.is;
    
    /**
     * MavenMerger is based on same instances, subclasses should override KeyComputer per type
     *
     *
     */
    class MavenMergerTest {
        private MavenMerger mavenMerger = new MavenMerger();
    
        @Test
        void mergeArtifactId() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top