Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 157 of 157 for BAZ (0.03 sec)

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

        assertThrows(
            IllegalArgumentException.class, () -> FluentIterable.from(asList("a", "b", "c")).skip(-1));
      }
    
      public void testLimit() {
        Iterable<String> iterable = Lists.newArrayList("foo", "bar", "baz");
        FluentIterable<String> limited = FluentIterable.from(iterable).limit(2);
    
        assertEquals(ImmutableList.of("foo", "bar"), Lists.newArrayList(limited));
        assertCanIterateAgain(limited);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheTest.kt

        val request3 = Request.Builder().url(server.url("/baz")).build()
        val response3 = client.newCall(request3).execute()
        assertThat(response3.body.string()).isEqualTo("DEF")
        val recordedRequest3 = server.takeRequest()
        assertThat(recordedRequest3.requestLine).isEqualTo("GET /baz HTTP/1.1")
        assertThat(recordedRequest3.sequenceNumber).isEqualTo(2)
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        list = newArrayList("yam", "bam", "jam", "ham");
        assertEquals("[yam, bam, jam, ham]", Iterables.toString(list));
      }
    
      public void testLimit() {
        Iterable<String> iterable = newArrayList("foo", "bar", "baz");
        Iterable<String> limited = Iterables.limit(iterable, 2);
    
        List<String> expected = ImmutableList.of("foo", "bar");
        List<String> actual = newArrayList(limited);
        assertEquals(expected, actual);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. internal/s3select/select_test.go

    			},
    		},
    	}
    
    	csvData := []byte(`one,two,three
    -1,foo,true
    ,bar,false
    2.5,baz,true
    `)
    
    	for i, testCase := range testTable {
    		t.Run(fmt.Sprint(i), func(t *testing.T) {
    			s3Select, err := NewS3Select(bytes.NewReader(testCase.requestXML))
    			if err != nil {
    				t.Fatal(err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        assertContent("ABCDEFGHIJKLMNOPQR", getResponse(newRequest("/foo")))
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
        assertContent("ABCDEFGHIJKLMNOPQR", getResponse(newRequest("/bar?baz=quux")))
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(1)
        assertContent("ABCDEFGHIJKLMNOPQR", getResponse(newRequest("/z")))
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(2)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertEquals(2, loader.getCount());
      }
    
      public void testValues() {
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        map.put("foo", "bar");
        map.put("baz", "bar");
        map.put("quux", "quux");
        assertFalse(map.values() instanceof Set);
        assertTrue(map.values().removeAll(ImmutableSet.of("bar")));
        assertEquals(1, map.size());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertEquals(2, loader.getCount());
      }
    
      public void testValues() {
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        map.put("foo", "bar");
        map.put("baz", "bar");
        map.put("quux", "quux");
        assertFalse(map.values() instanceof Set);
        assertTrue(map.values().removeAll(ImmutableSet.of("bar")));
        assertEquals(1, map.size());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
Back to top