- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for TestIsEmpty (0.15 sec)
-
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/BNDSmokeTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 11.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTester.java
@Override public OutputStream openStream() throws IOException { return out; } }); assertExpectedBytes(out.toByteArray()); } public void testIsEmpty() throws IOException { assertEquals(expected.length == 0, source.isEmpty()); } public void testSize() throws IOException { assertEquals(expected.length, source.size()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 8.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTester.java
assertEquals(expectedLines.get(0), source.readFirstLine()); } } public void testReadLines_toList() throws IOException { assertExpectedLines(source.readLines()); } public void testIsEmpty() throws IOException { assertEquals(expected.isEmpty(), source.isEmpty()); } public void testLength() throws IOException { assertEquals(expected.length(), source.length()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 6.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
assertNull(table.get("bar", 3)); assertNull(table.get("cat", 1)); assertNull(table.get("foo", null)); assertNull(table.get(null, 1)); assertNull(table.get(null, null)); } public void testIsEmpty() { assertTrue(table.isEmpty()); table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertFalse(table.isEmpty()); } public void testSize() { assertSize(0);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 04 16:54:11 UTC 2024 - 6.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
assertThat(list.size(), is(1)); list.removeFirst(); assertThat(list.size(), is(0)); } /** * @throws Exception */ @Test public void testIsEmpty() throws Exception { assertThat(list.isEmpty(), is(true)); list.addLast("1"); assertThat(list.isEmpty(), is(not(true))); } /** * @throws Exception */
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 8.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
final String[] newArray = ArrayUtil.remove(array, "444"); assertThat(newArray, is(sameInstance(array))); } /** * */ @Test public void testIsEmpty() { assertTrue(ArrayUtil.isEmpty((Object[]) null)); assertTrue(ArrayUtil.isEmpty(new Object[] {})); assertFalse(ArrayUtil.isEmpty(new Object[] { "" }));
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
assertFalse(StringUtil.isNumber("01234abcdef")); assertFalse(StringUtil.isNumber("abcdef01234")); } /** * */ @Test public void testIsEmpty() { assertTrue(StringUtil.isEmpty(null)); assertTrue(StringUtil.isEmpty("")); assertFalse(StringUtil.isEmpty(" ")); } /** * */ @Test
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 12K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
assertThat(map.size(), equalTo(3)); map.put("3", "test3"); assertThat(map.size(), equalTo(4)); } /** * @throws Exception */ @Test public void testIsEmpty() throws Exception { assertThat(map.isEmpty(), is(not(true))); map.clear(); assertThat(map.isEmpty(), is(true)); } /** * @throws Exception */ @Test
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.7K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/bitmask/bitmask_test.go
mask, _ := NewBitMask(tc.mask...) mask.Fill() if mask.String() != string(tc.filledMask) { t.Errorf("Expected mask to be %v, got %v", tc.filledMask, mask) } } } func TestIsEmpty(t *testing.T) { tcases := []struct { name string mask []int expectedEmpty bool }{ { name: "Check if mask 00 is empty", mask: nil,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 09:45:09 UTC 2022 - 16.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).length()).isEqualTo(0); assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 2).length()).isEqualTo(1); } public void testIsEmpty() { assertThat(ImmutableDoubleArray.of().isEmpty()).isTrue(); assertThat(ImmutableDoubleArray.of(0).isEmpty()).isFalse(); assertThat(ImmutableDoubleArray.of(0, 1, 3).isEmpty()).isFalse();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 06 15:23:21 UTC 2023 - 20K bytes - Viewed (0)