Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for teststring2 (0.22 sec)

  1. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

      }
    
      public void testChar() {
        TestHasher hasher = new TestHasher();
        hasher.putChar((char) 0x0201);
        hasher.assertBytes(new byte[] {1, 2});
      }
    
      public void testString() {
        Random random = new Random();
        for (int i = 0; i < 100; i++) {
          byte[] bytes = new byte[64];
          random.nextBytes(bytes);
          String s = new String(bytes, UTF_16LE); // so all random strings are valid
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. pkg/config/schema/resource/schema_test.go

    	}
    
    	s := Builder{
    		Kind:         "Empty",
    		ProtoPackage: "github.com/gogo/protobuf/types",
    		Proto:        "google.protobuf.Empty",
    	}.MustBuild()
    
    	_ = s.MustNewInstance()
    }
    
    func TestString(t *testing.T) {
    	g := NewWithT(t)
    
    	s := Builder{
    		Kind:         "Empty",
    		Plural:       "Empties",
    		ProtoPackage: "github.com/gogo/protobuf/types",
    		Proto:        "google.protobuf.Empty",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/typeProvider/FirIdeDependentAnalysisSourceModuleAnalysisApiGetSuperTypesTestGenerated.java

      @TestMetadata("star.kt")
      public void testStar() {
        runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/star.kt");
      }
    
      @Test
      @TestMetadata("string.kt")
      public void testString() {
        runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/string.kt");
      }
    
      @Test
      @TestMetadata("typeParameter.kt")
      public void testTypeParameter() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

      static TestSuite tests(String name, ByteSinkFactory factory) {
        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          String desc = entry.getKey();
          TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc);
          suite.addTest(stringSuite);
        }
        return suite;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 4K bytes
    - Viewed (0)
  5. analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/components/typeProvider/FirStandaloneNormalAnalysisSourceModuleAnalysisApiGetSuperTypesTestGenerated.java

      @TestMetadata("star.kt")
      public void testStar() {
        runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/star.kt");
      }
    
      @Test
      @TestMetadata("string.kt")
      public void testString() {
        runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/string.kt");
      }
    
      @Test
      @TestMetadata("typeParameter.kt")
      public void testTypeParameter() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/typeProvider/FirIdeNormalAnalysisSourceModuleAnalysisApiGetSuperTypesTestGenerated.java

      @TestMetadata("star.kt")
      public void testStar() {
        runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/star.kt");
      }
    
      @Test
      @TestMetadata("string.kt")
      public void testString() {
        runTest("analysis/analysis-api/testData/components/typeInfoProvider/superTypes/string.kt");
      }
    
      @Test
      @TestMetadata("typeParameter.kt")
      public void testTypeParameter() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java

            map.remove("data1");
            assertFalse(docBoostMatcher.match(map));
    
            map.put("data2", 5);
            assertFalse(docBoostMatcher.match(map));
        }
    
        public void test_string() {
            final DocBoostMatcher docBoostMatcher = new DocBoostMatcher();
            docBoostMatcher.setBoostExpression("10");
            docBoostMatcher.setMatchExpression("data1 != null && data1.matches(\"test\")");
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharSinkTester.java

      static TestSuite tests(String name, CharSinkFactory factory) {
        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          String desc = entry.getKey();
          TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc);
          suite.addTest(stringSuite);
        }
        return suite;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 4K bytes
    - Viewed (0)
  9. pkg/config/labels/instance_test.go

    		got.subsetOf = c.left.SubsetOf(c.right)
    		got.selected = c.left.Match(c.right)
    		if got != c.expected {
    			t.Errorf("%v.SubsetOf(%v) got %v, expected %v", c.left, c.right, got, c.expected)
    		}
    	}
    }
    
    func TestString(t *testing.T) {
    	cases := []struct {
    		input    labels.Instance
    		expected string
    	}{
    		{
    			input:    nil,
    			expected: "",
    		},
    		{
    			input:    labels.Instance{},
    			expected: "",
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 16 06:54:36 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CharSourceTester.java

      static TestSuite tests(String name, CharSourceFactory factory, boolean testAsByteSource) {
        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          if (testAsByteSource) {
            suite.addTest(
                suiteForBytes(
                    factory, entry.getValue().getBytes(Charsets.UTF_8), name, entry.getKey(), true));
          } else {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 6.8K bytes
    - Viewed (0)
Back to top