Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 140 for containsExactly (0.17 sec)

  1. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

            PosixFileAttributes attributes =
                java.nio.file.Files.getFileAttributeView(file.toPath(), PosixFileAttributeView.class)
                    .readAttributes();
            assertThat(attributes.permissions()).containsExactly(OWNER_READ, OWNER_WRITE);
          }
        }
        out.close();
    
        // Check that source returns the right data
        assertTrue(Arrays.equals(data, source.read()));
    
        // Make sure that reset deleted the file
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertThat(tail).containsExactly("c", "A", "B", "C").inOrder();
      }
    
      public void testSkip_structurallyModifiedSkipSomeList() throws Exception {
        List<String> list = newArrayList("a", "b", "c");
        Iterable<String> tail = skip(list, 1);
        list.subList(1, 3).clear();
        list.addAll(0, newArrayList("A", "B", "C"));
        assertThat(tail).containsExactly("B", "C", "a").inOrder();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ListsTest.java

      }
    
      public void testCartesianProduct_binary1x2() {
        assertThat(cartesianProduct(list(1), list(2, 3)))
            .containsExactly(list(1, 2), list(1, 3))
            .inOrder();
      }
    
      public void testCartesianProduct_binary2x2() {
        assertThat(cartesianProduct(list(1, 2), list(3, 4)))
            .containsExactly(list(1, 3), list(1, 4), list(2, 3), list(2, 4))
            .inOrder();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import assertk.assertions.isSameAs
    import assertk.assertions.isTrue
    import kotlin.test.Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        ImmutableSet<String> set =
            ImmutableSet.of("a", "b", "c", "c", "c", "c", "b", "b", "a", "a", "c", "c", "c", "a");
        assertThat(set).containsExactly("a", "b", "c").inOrder();
      }
    
      @GwtIncompatible("Builder impl")
      public void testBuilderForceCopy() {
        ImmutableSet.Builder<Integer> builder = ImmutableSet.builder();
        builder.add(-1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        map.put("foo", 2);
        map.put("bar", 3);
        List<Integer> foos = map.get("foo");
        Collection<Integer> values = map.values();
        assertEquals(asList(1, 2), foos);
        assertThat(values).containsExactly(1, 2, 3).inOrder();
        map.clear();
        assertEquals(emptyList(), foos);
        assertThat(values).isEmpty();
        assertEquals("[]", map.entries().toString());
        assertEquals("{}", map.toString());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

        multiset.add("b", 1);
        multiset.add("c", 2);
    
        List<String> actualValues = new ArrayList<>();
        multiset.spliterator().forEachRemaining(actualValues::add);
        assertThat(multiset).containsExactly("a", "a", "a", "b", "c", "c").inOrder();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.all
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import assertk.assertions.prop
    import java.io.IOException
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top