Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 40 for testApp (0.16 sec)

  1. guava-tests/test/com/google/common/collect/StreamsTest.java

        withIndex.close();
    
        assertThat(doubleStreamCloseCount.get()).isEqualTo(1);
      }
    
      public void testZip() {
        assertThat(Streams.zip(Stream.of("a", "b", "c"), Stream.of(1, 2, 3), (a, b) -> a + ":" + b))
            .containsExactly("a:1", "b:2", "c:3")
            .inOrder();
      }
    
      public void testZip_closeIsPropagated() {
        AtomicInteger lettersCloseCount = new AtomicInteger();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
  2. istioctl/pkg/metrics/metrics_test.go

    	metricCmd := Cmd(ctx)
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.Args, " ")), func(t *testing.T) {
    			testutil.VerifyOutput(t, metricCmd, c)
    		})
    	}
    }
    
    func TestAPI(t *testing.T) {
    	_, _ = prometheusAPI(fmt.Sprintf("http://localhost:%d", 1234))
    }
    
    var _ promv1.API = mockPromAPI{}
    
    func TestPrintMetrics(t *testing.T) {
    	mockProm := mockPromAPI{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 25 02:07:44 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            assertThat(WildcardType.class.isInstance(GenericsUtil.getElementTypeOfSet(t3)), is(true));
        }
    
        /**
         * @throws Exception
         */
        public void testMap() throws Exception {
            final Method m1 = MapType.class.getMethod("mapOfStringToObject");
            final Type t1 = m1.getGenericReturnType();
            assertThat(GenericsUtil.isTypeOf(t1, Map.class), is(true));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/JoinerTest.java

        Joiner j = Joiner.on("x").useForNull("y");
        try {
          j = j.useForNull("y");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      public void testMap() {
        MapJoiner j = Joiner.on(';').withKeyValueSeparator(':');
        assertEquals("", j.join(ImmutableMap.of()));
        assertEquals(":", j.join(ImmutableMap.of("", "")));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/JoinerTest.java

        Joiner j = Joiner.on("x").useForNull("y");
        try {
          j = j.useForNull("y");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      public void testMap() {
        MapJoiner j = Joiner.on(';').withKeyValueSeparator(':');
        assertEquals("", j.join(ImmutableMap.of()));
        assertEquals(":", j.join(ImmutableMap.of("", "")));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  6. cmd/utils_test.go

    		keyvalues := restQueries(test.keys...)
    		for j := range keyvalues {
    			if keyvalues[j] != test.keyvalues[j] {
    				t.Fatalf("test %d: keyvalues[%d] does not match", i+1, j)
    			}
    		}
    	}
    }
    
    func TestLCP(t *testing.T) {
    	testCases := []struct {
    		prefixes     []string
    		commonPrefix string
    	}{
    		{[]string{"", ""}, ""},
    		{[]string{"a", "b"}, ""},
    		{[]string{"a", "a"}, "a"},
    		{[]string{"a/", "a/"}, "a/"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertFreshInstance(new TypeToken<Collection<String>>() {});
      }
    
      public void testIterable() {
        assertFreshInstance(new TypeToken<Iterable<String>>() {});
      }
    
      public void testMap() {
        assertFreshInstance(new TypeToken<Map<String, ?>>() {});
      }
    
      public void testHashMap() {
        assertFreshInstance(new TypeToken<HashMap<String, ?>>() {});
      }
    
      public void testLinkedHashMap() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 18.4K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertFreshInstance(new TypeToken<Collection<String>>() {});
      }
    
      public void testIterable() {
        assertFreshInstance(new TypeToken<Iterable<String>>() {});
      }
    
      public void testMap() {
        assertFreshInstance(new TypeToken<Map<String, ?>>() {});
      }
    
      public void testHashMap() {
        assertFreshInstance(new TypeToken<HashMap<String, ?>>() {});
      }
    
      public void testLinkedHashMap() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 17.2K bytes
    - Viewed (0)
  9. src/bytes/bytes_test.go

    	const step = 13
    	if r >= 'a' && r <= 'z' {
    		return ((r - 'a' + step) % 26) + 'a'
    	}
    	if r >= 'A' && r <= 'Z' {
    		return ((r - 'A' + step) % 26) + 'A'
    	}
    	return r
    }
    
    func TestMap(t *testing.T) {
    	// Run a couple of awful growth/shrinkage tests
    	a := tenRunes('a')
    
    	// 1.  Grow. This triggers two reallocations in Map.
    	maxRune := func(r rune) rune { return unicode.MaxRune }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.8.md

    * MountPath should be absolute ([#48815](https://github.com/kubernetes/kubernetes/pull/48815), [@dixudx](https://github.com/dixudx))
    * Updated comments of func in testapi. ([#48407](https://github.com/kubernetes/kubernetes/pull/48407), [@k82cn](https://github.com/k82cn))
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Tue Feb 20 15:45:02 GMT 2024
    - 312.2K bytes
    - Viewed (1)
Back to top