Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 140 for containsExactly (1.49 sec)

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

        Multiset<String> ms2 = HashMultiset.create(asList("b", "c"));
        assertThat(sum(ms1, ms2)).containsExactly("a", "a", "b", "b", "c");
      }
    
      public void testSumEmptyNonempty() {
        Multiset<String> ms1 = HashMultiset.create();
        Multiset<String> ms2 = HashMultiset.create(asList("a", "b", "a"));
        assertThat(sum(ms1, ms2)).containsExactly("a", "b", "a");
      }
    
      public void testSumNonemptyEmpty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java

        assertThat(dispatchedSubscribers).containsExactly(i1, i2, i3, s1, s1, s1, s1, s2, s2, s2, s2);
      }
    
      public void testImmediateDispatcher() {
        dispatcher = Dispatcher.immediate();
        dispatcher.dispatch(1, integerSubscribers.iterator());
    
        assertThat(dispatchedSubscribers)
            .containsExactly(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            .containsExactly(fullpath("base/relative.jar"));
      }
    
      public void testGetClassPathFromManifest_trailingBlanks() throws IOException {
        File jarFile = new File("base/some.jar");
        Manifest manifest = manifestClasspath("relative.jar ");
        assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest))
            .containsExactly(fullpath("base/relative.jar"));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 23K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        // 6 expires
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(8, 0, 1, 2, 5, 7, 9);
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(8, 0, 1, 2, 5, 7, 9);
    
        // 8 expires
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(0, 1, 2, 5, 7, 9);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  5. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

            ),
          ),
        ).containsExactly(
          Mapping(0x0000, 0x002e, TYPE_VALID, ByteString.EMPTY),
        )
      }
    
      @Test fun withSectionStartsSplits() {
        assertThat(
          withoutSectionSpans(
            listOf(
              Mapping(0x40000, 0x40180, TYPE_DISALLOWED, ByteString.EMPTY),
            ),
          ),
        ).containsExactly(
          Mapping(0x40000, 0x4007f, TYPE_DISALLOWED, ByteString.EMPTY),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/HeadersChallengesTest.kt

          Challenge("Digest", mapOf()),
          Challenge("Basic", mapOf("realm" to "my\\\"realm")),
        )
      }
    
      @Test fun commaInQuotedStringAndBeforeFirstChallenge() {
        val headers =
          Headers
            .Builder()
            .add("WWW-Authenticate", ",Digest,,,, Basic ,,,realm=\"my, realm,\"")
            .build()
        assertThat(headers.parseChallenges("WWW-Authenticate")).containsExactly(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 16.8K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/internal/http/RecordingProxySelector.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package okhttp3.internal.http
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import java.io.IOException
    import java.net.InetSocketAddress
    import java.net.Proxy
    import java.net.ProxySelector
    import java.net.SocketAddress
    import java.net.URI
    import okhttp3.internal.format
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/HashBiMapTest.java

        assertThat(map.entrySet())
            .containsExactly(immutableEntry("foo", 1), immutableEntry("quux", 3))
            .inOrder();
      }
    
      public void testInsertionOrderAfterRemoveLast() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("quux", 3);
    
        map.remove("quux");
        assertThat(map.entrySet())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt

        assertThat(handshakeEnabledCipherSuites).containsExactly(
          *socketOrderedByDefaults.toTypedArray(),
        )
      }
    
      @Test
      fun advertisedOrderInRestricted() {
        assertThat(ConnectionSpec.RESTRICTED_TLS.cipherSuites!!).containsExactly(
          TLS_AES_128_GCM_SHA256,
          TLS_AES_256_GCM_SHA384,
          TLS_CHACHA20_POLY1305_SHA256,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      public void testOf_headSet() {
        SortedSet<String> set = of("e", "f", "b", "d", "c");
        assertTrue(set.headSet("e") instanceof ImmutableSortedSet);
        assertThat(set.headSet("e")).containsExactly("b", "c", "d").inOrder();
        assertThat(set.headSet("g")).containsExactly("b", "c", "d", "e", "f").inOrder();
        assertSame(this.<String>of(), set.headSet("a"));
        assertSame(this.<String>of(), set.headSet("b"));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
Back to top