- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 637 for assertValue (0.31 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
InterruptibleFuture future = new InterruptibleFuture(); assertTrue(future.cancel(false)); assertTrue(future.isCancelled()); assertTrue(future.isDone()); assertFalse(future.wasInterrupted()); assertFalse(future.interruptTaskWasCalled); CancellationException e = assertThrows(CancellationException.class, () -> future.get()); assertThat(e).hasCauseThat().isNull(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 46.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java
package jcifs.smb1.smb1; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
@MapFeature.Require(SUPPORTS_PUT) public void testPutAllEmptyCollectionOnAbsentKey() { assertFalse(multimap().putAll(k3(), Collections.emptyList())); expectUnchanged(); } @MapFeature.Require(SUPPORTS_PUT) public void testPutAllEmptyIterableOnAbsentKey() { assertFalse(multimap().putAll(k3(), Collections::emptyIterator)); expectUnchanged(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
package jcifs.internal.smb2.tree; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
Collection<String> c = of("a", "b", "c"); assertFalse(c.containsAll(of("a", "b", "c", "d"))); assertFalse(c.containsAll(of("a", "d"))); assertTrue(c.containsAll(of("a", "c"))); assertTrue(c.containsAll(of("a", "b", "c"))); } public void testEquals_sameType() { Collection<String> c = of("a", "b", "c"); assertTrue(c.equals(of("a", "b", "c"))); assertFalse(c.equals(of("a", "b", "d"))); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
} } void expectRemoveZero(SortedMultiset<E> multiset, Entry<E> entry) { assertEquals(0, multiset.remove(entry.getElement(), entry.getCount())); assertFalse(multiset.remove(entry.getElement())); assertFalse(multiset.elementSet().remove(entry.getElement())); } void expectSetCountFailure(SortedMultiset<E> multiset, Entry<E> entry) { try {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 20:14:36 UTC 2024 - 26K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
try { assertEquals(x, ZERO.setBit(BigIntegerMath.log2(x, UNNECESSARY))); assertTrue(isPowerOf2); } catch (ArithmeticException e) { assertFalse(isPowerOf2); } } } public void testLog2HalfUp() { for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) { int result = BigIntegerMath.log2(x, HALF_UP);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Nov 19 01:35:24 UTC 2025 - 27.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapIsEmptyTester.java
public void testIsEmpty_yes() { assertTrue("isEmpty() should return true", getMap().isEmpty()); } @CollectionSize.Require(absent = ZERO) public void testIsEmpty_no() { assertFalse("isEmpty() should return false", getMap().isEmpty()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionIsEmptyTester.java
public void testIsEmpty_yes() { assertTrue("isEmpty() should return true", collection.isEmpty()); } @CollectionSize.Require(absent = ZERO) public void testIsEmpty_no() { assertFalse("isEmpty() should return false", collection.isEmpty()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/config/MultiChannelConfigurationTest.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.config; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.Properties; import org.junit.jupiter.api.Test; import jcifs.CIFSException; /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.3K bytes - Viewed (0)