Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 158 for containsExactly (0.25 sec)

  1. guava-tests/test/com/google/common/base/ThrowablesTest.java

        assertThat(lazyStackTrace(e)).containsExactly((Object[]) originalStackTrace).inOrder();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // lazyStackTrace
      private void doTestLazyStackTraceFallback() {
        assertFalse(lazyStackTraceIsLazy());
    
        Exception e = new Exception();
    
        assertThat(lazyStackTrace(e)).containsExactly((Object[]) e.getStackTrace()).inOrder();
    
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        makeUnmodifiable(types)
            .containsExactly(
                TypeToken.of(Interface1.class), TypeToken.of(Class1.class), TypeToken.of(Object.class));
        assertSubtypeFirst(types);
        makeUnmodifiable(types.interfaces()).containsExactly(TypeToken.of(Interface1.class));
        makeUnmodifiable(types.classes())
            .containsExactly(TypeToken.of(Class1.class), TypeToken.of(Object.class))
            .inOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

                java.nio.file.Files.getFileAttributeView(temp.toPath(), PosixFileAttributeView.class)
                    .readAttributes();
            assertThat(attributes.permissions())
                .containsExactly(OWNER_READ, OWNER_WRITE, OWNER_EXECUTE);
          }
        } finally {
          assertThat(temp.delete()).isTrue();
        }
      }
    
      public void testBogusSystemPropertiesUsername() {
        if (isAndroid()) {
          /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

                .add("g", "h", "i", "j")
                .build();
        assertThat(set).containsExactly("a", "b", "c", "d", "e", "f", "g", "h", "i", "j").inOrder();
      }
    
      public void testReuseBuilderWithNonDuplicateElements() {
        ImmutableSet.Builder<String> builder = this.<String>builder().add("a").add("b");
        assertThat(builder.build()).containsExactly("a", "b").inOrder();
        builder.add("c", "d");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        ImmutableMap<String, String> map = ImmutableMap.copyOf(entryList);
        assertThat(map).containsExactly("a", "1", "b", "2").inOrder();
        entryList.get(0).setValue("3");
        assertThat(map).containsExactly("a", "1", "b", "2").inOrder();
      }
    
      public void testBuilderPutAllEntryList() {
        List<Entry<String, String>> entryList =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

        table.put("foo", 3, 'a');
        table.put("foo", 12, 'b');
        table.put("bar", 5, 'c');
        table.put("cat", 8, 'd');
        assertThat(table.rowKeySet()).containsExactly("foo", "cat", "bar").inOrder();
        assertThat(table.row("foo").keySet()).containsExactly(12, 3).inOrder();
      }
    
      public void testCreateCopy() {
        TreeBasedTable<String, Integer, Character> original =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/InterceptorTest.kt

            .build()
        val response = client.newCall(request).execute()
        assertThat(response.headers("Response-Interceptor"))
          .containsExactly("Cupcake", "Donut")
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.headers.values("Request-Interceptor"))
          .containsExactly("Android", "Bob")
      }
    
      @Test
      fun asyncApplicationInterceptors() {
        asyncInterceptors(false)
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  8. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.sse.internal
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import java.util.concurrent.TimeUnit
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import okhttp3.OkHttpClientTestRule
    import okhttp3.RecordingEventListener
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isSameAs
    import assertk.assertions.isTrue
    import java.io.IOException
    import java.net.InetAddress
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/DuplexTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import java.io.IOException
    import java.net.HttpURLConnection
    import java.net.ProtocolException
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top