- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 700 for IsEmpty (0.3 sec)
-
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
FactoryMethodReturnsNullException { if (cls.isEnum()) { return; } List<? extends Invokable<?, ?>> factories = Lists.reverse(getFactories(TypeToken.of(cls))); if (factories.isEmpty()) { return; } int numberOfParameters = factories.get(0).getParameters().size(); List<ParameterNotInstantiableException> paramErrors = new ArrayList<>();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
// Execute List<FileNotifyInformation> result = watchHandle.watch(); // Verify assertNotNull(result); assertTrue(result.isEmpty()); verify(watchHandle, times(1)).watch(); } /** * Test watch() method throwing CIFSException */ @Test void testWatchThrowsCIFSException() throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
*/ @Test public void testClass() throws Exception { final Map<TypeVariable<?>, Type> map = GenericsUtil.getTypeVariableMap(Foo.class); assertThat(map, is(notNullValue())); assertThat(map.isEmpty(), is(false)); assertThat(map.get(Foo.class.getTypeParameters()[0]), is(sameClass(Object.class))); } /** * @throws Exception */ public void testGenericMethod() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 11.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt
* limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.containsExactlyInAnyOrder import assertk.assertions.isEmpty import assertk.assertions.isEqualTo import assertk.assertions.isFalse import assertk.assertions.isNull import assertk.assertions.isTrue import java.util.concurrent.CopyOnWriteArraySet import javax.net.ssl.SSLSocket
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 14.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3).iterator()).read()); assertFalse(CharSource.concat(c1, c2, c3).isEmpty()); CharSource emptyConcat = CharSource.concat(CharSource.empty(), CharSource.empty()); assertTrue(emptyConcat.isEmpty()); } public void testConcat_infiniteIterable() throws IOException { CharSource source = CharSource.wrap("abcd");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
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 public void testContainsValue() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 10.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
} @Override public @Nullable V get(@Nullable Object key) { return RegularImmutableMap.get(key, keyTable, mask); } @Override ImmutableSet<Entry<K, V>> createEntrySet() { return isEmpty() ? ImmutableSet.<Entry<K, V>>of() : new ImmutableMapEntrySet.RegularEntrySet<K, V>(this, entries); } @Override ImmutableSet<K> createKeySet() { return new ImmutableMapKeySet<>(this);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
} public void testIsEmpty() { Iterable<String> emptyList = emptyList(); assertTrue(Iterables.isEmpty(emptyList)); Iterable<String> singletonList = singletonList("foo"); assertFalse(Iterables.isEmpty(singletonList)); } public void testSkip_simple() { Collection<String> set = ImmutableSet.of("a", "b", "c", "d", "e");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PythonJobTest.java
assertSame(pythonJob, result); assertEquals("test.py", pythonJob.filename); } // Test single argument addition public void test_arg() { assertTrue(pythonJob.argList.isEmpty()); PythonJob result = pythonJob.arg("arg1"); assertSame(pythonJob, result); assertEquals(1, pythonJob.argList.size()); assertEquals("arg1", pythonJob.argList.get(0));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 22.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DisposableUtil.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0)