Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for testOf1 (0.04 sec)

  1. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

      public void testOf0() {
        assertThat(ImmutableLongArray.of().asList()).isEmpty();
      }
    
      public void testOf1() {
        assertThat(ImmutableLongArray.of(0).asList()).containsExactly(0L);
      }
    
      public void testOf2() {
        assertThat(ImmutableLongArray.of(0, 1).asList()).containsExactly(0L, 1L).inOrder();
      }
    
      public void testOf3() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 14:49:24 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            value = "ftp://123.123.123.123:21/test1/test.txt";
            ftpInfo = new FtpClient.FtpInfo(value, Constants.UTF_8);
            assertEquals("ftp://123.123.123.123/test1/test.txt", ftpInfo.toUrl());
            assertEquals("123.123.123.123:21", ftpInfo.getCacheKey());
            assertEquals("123.123.123.123", ftpInfo.getHost());
            assertEquals(21, ftpInfo.getPort());
            assertEquals("/test1", ftpInfo.getParent());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/OptionalTest.java

      }
    
      public void testAbsent() {
        Optional<String> optionalName = Optional.absent();
        assertFalse(optionalName.isPresent());
      }
    
      public void testOf() {
        assertEquals("training", Optional.of("training").get());
      }
    
      public void testOf_null() {
        assertThrows(NullPointerException.class, () -> Optional.of(null));
      }
    
      public void testFromNullable() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

            assertTrue(responseData.getUrl().endsWith("test/text1.txt"));
            final String content = new String(InputStreamUtil.getBytes(responseData.getResponseBody()), "UTF-8");
            assertEquals("test1", content.trim());
        }
    
        public void test_doGet_file_with_space() throws Exception {
            final File file = ResourceUtil.getResourceAsFile("test/text 3.txt");
            String path = file.getAbsolutePath();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:59:28 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

                    .build())
            .addEqualityGroup(
                ImmutableListMultimap.<String, Integer>builder().put("bar", 2).put("foo", 3).build())
            .testEquals();
      }
    
      public void testOf() {
        assertMultimapEquals(ImmutableListMultimap.of("one", 1), "one", 1);
        assertMultimapEquals(ImmutableListMultimap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMultimapEquals(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        Matcher matcher = pattern.matcher(expected.getMessage());
        assertThat(matcher.matches()).isTrue();
        assertThat(matcher.group(1)).isNotEqualTo(matcher.group(2));
      }
    
      public void testOf() {
        assertMapEquals(ImmutableMap.of("one", 1), "one", 1);
        assertMapEquals(ImmutableMap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMapEquals(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.35.md

    - github.com/spf13/pflag: [v1.0.6 → v1.0.9](https://github.com/spf13/pflag/compare/v1.0.6...v1.0.9)
    - github.com/stretchr/testify: [v1.10.0 → v1.11.1](https://github.com/stretchr/testify/compare/v1.10.0...v1.11.1)
    - go.etcd.io/bbolt: v1.4.2 → v1.4.3
    - go.etcd.io/etcd/api/v3: v3.6.4 → v3.6.5
    - go.etcd.io/etcd/client/pkg/v3: v3.6.4 → v3.6.5
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Dec 17 13:01:55 UTC 2025
    - 228.5K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.33.md

    - github.com/rogpeppe/go-internal: [v1.12.0 → v1.13.1](https://github.com/rogpeppe/go-internal/compare/v1.12.0...v1.13.1)
    - github.com/stretchr/testify: [v1.9.0 → v1.10.0](https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0)
    - github.com/vishvananda/netlink: [b1ce50c → 62fb240](https://github.com/vishvananda/netlink/compare/b1ce50c...62fb240)
    - go.etcd.io/etcd/api/v3: v3.5.16 → v3.5.21
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Dec 10 01:15:24 UTC 2025
    - 334.8K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.31.md

    - github.com/stretchr/objx: [v0.5.0 → v0.5.2](https://github.com/stretchr/objx/compare/v0.5.0...v0.5.2)
    - github.com/stretchr/testify: [v1.8.4 → v1.9.0](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0)
    - go.etcd.io/bbolt: v1.3.8 → v1.3.9
    - go.etcd.io/etcd/api/v3: v3.5.10 → v3.5.14
    - go.etcd.io/etcd/client/pkg/v3: v3.5.10 → v3.5.14
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Nov 12 11:33:21 UTC 2025
    - 451.9K bytes
    - Viewed (0)
Back to top