Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 158 for containsExactly (0.19 sec)

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

        assertEquals("Iterators.consumingIterator(...)", consumingIterator.toString());
    
        assertThat(list).containsExactly("a", "b").inOrder();
    
        assertTrue(consumingIterator.hasNext());
        assertThat(list).containsExactly("a", "b").inOrder();
        assertEquals("a", consumingIterator.next());
        assertThat(list).contains("b");
    
        assertTrue(consumingIterator.hasNext());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

            ImmutableRangeMap.<Integer, Integer>builder().put(rangeTwo, 6);
    
        ImmutableRangeMap<Integer, Integer> rangeMap = zis.combine(zat).build();
    
        assertThat(rangeMap.asMapOfRanges().entrySet())
            .containsExactly(Maps.immutableEntry(rangeOne, 1), Maps.immutableEntry(rangeTwo, 6))
            .inOrder();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

        graph.putEdgeValue(2, 1, "2-1");
        graph.putEdgeValue(2, 3, "2-3");
        graph.putEdgeValue(1, 2, "1-2");
    
        assertThat(graph.incidentEdges(2))
            .containsExactly(
                EndpointPair.ordered(2, 1), EndpointPair.ordered(2, 3), EndpointPair.ordered(1, 2))
            .inOrder();
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals("Iterators.consumingIterator(...)", consumingIterator.toString());
    
        assertThat(list).containsExactly("a", "b").inOrder();
    
        assertTrue(consumingIterator.hasNext());
        assertThat(list).containsExactly("a", "b").inOrder();
        assertEquals("a", consumingIterator.next());
        assertThat(list).contains("b");
    
        assertTrue(consumingIterator.hasNext());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

      }
    
      public void testColumnSetPartialOverlap() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 2, 'c', "bar", 3, 'd');
        assertThat(table.columnKeySet()).containsExactly(1, 2, 3);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerInstance() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 2, 'c', "bar", 3, 'd');
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.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.hasMessage
    import assertk.assertions.isEqualTo
    import java.io.IOException
    import java.net.UnknownServiceException
    import kotlin.test.assertFailsWith
    import okhttp3.FakeRoutePlanner
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        graph.putEdgeValue(2, 1, "2-1");
        graph.putEdgeValue(2, 3, "2-3");
        graph.putEdgeValue(1, 2, "1-2");
    
        assertThat(graph.incidentEdges(2))
            .containsExactly(
                EndpointPair.ordered(2, 1), EndpointPair.ordered(2, 3), EndpointPair.ordered(1, 2))
            .inOrder();
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 06 18:35:19 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

      }
    
      public void testColumnSetPartialOverlap() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 2, 'c', "bar", 3, 'd');
        assertThat(table.columnKeySet()).containsExactly(1, 2, 3);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerInstance() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 2, 'c', "bar", 3, 'd');
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        final ServiceManager manager = new ServiceManager(asList(a));
        manager.startAsync();
        manager.stopAsync();
        manager.awaitStopped(10, MILLISECONDS);
        assertThat(manager.servicesByState().keySet()).containsExactly(Service.State.TERMINATED);
      }
    
      public void testNotifyStoppedAfterFailure() throws TimeoutException {
        Service a =
            new AbstractService() {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top