- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 140 for containsExactly (0.08 sec)
-
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.6K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 9.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
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() { @OverrideRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 25.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
w.println("hello"); w.println(""); w.println(" world "); w.println(""); w.close(); Files.readLines(temp, UTF_8, collect); assertThat(collect.getResult()).containsExactly("hello", "", " world ", "").inOrder(); LineProcessor<List<String>> collectNonEmptyLines = new LineProcessor<List<String>>() { final List<String> collector = new ArrayList<>();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
List<Byte> list = Bytes.asList(array); list.set(0, (byte) 2); assertThat(array).isEqualTo(new byte[] {(byte) 2, (byte) 1}); array[1] = (byte) 3; assertThat(list).containsExactly((byte) 2, (byte) 3).inOrder(); } public void testAsList_toArray_roundTrip() { byte[] array = {(byte) 0, (byte) 1, (byte) 2}; List<Byte> list = Bytes.asList(array);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http2 import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.isEqualTo import assertk.assertions.isNull import java.io.IOException import java.util.Arrays import kotlin.test.assertFailsWith import okhttp3.TestUtil.headerEntries import okio.Buffer
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 38.6K bytes - Viewed (0) -
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(); } public void testCreation_arrayOfArray() { String[] array = new String[] {"a"}; Set<String[]> set = ImmutableSet.<String[]>of(array);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
List<Character> list = Chars.asList(array); list.set(0, (char) 2); assertThat(array).isEqualTo(new char[] {(char) 2, (char) 1}); array[1] = (char) 3; assertThat(list).containsExactly((char) 2, (char) 3).inOrder(); } public void testAsList_toArray_roundTrip() { char[] array = {(char) 0, (char) 1, (char) 2}; List<Character> list = Chars.asList(array);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
double[] array = {0.0, 1.0}; List<Double> list = Doubles.asList(array); list.set(0, 2.0); assertThat(array).isEqualTo(new double[] {2.0, 1.0}); array[1] = 3.0; assertThat(list).containsExactly(2.0, 3.0).inOrder(); } public void testAsList_toArray_roundTrip() { double[] array = {0.0, 1.0, 2.0}; List<Double> list = Doubles.asList(array); double[] newArray = Doubles.toArray(list);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
int[] array = {(int) 0, (int) 1}; List<Integer> list = Ints.asList(array); list.set(0, (int) 2); assertThat(array).isEqualTo(new int[] {(int) 2, (int) 1}); array[1] = (int) 3; assertThat(list).containsExactly((int) 2, (int) 3).inOrder(); } public void testAsList_toArray_roundTrip() { int[] array = {(int) 0, (int) 1, (int) 2}; List<Integer> list = Ints.asList(array);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0)