- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 1,307 for assets (0.03 seconds)
-
mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.kt
* limitations under the License. */ package mockwebserver3.junit4 import assertk.assertThat import assertk.assertions.isTrue import java.net.ConnectException import java.util.concurrent.atomic.AtomicBoolean import org.junit.Assert.fail import org.junit.Test import org.junit.runner.Description import org.junit.runners.model.Statement class MockWebServerRuleTest {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
} // Ensures set(null) resets the buffer to empty and does not NPE @Test @DisplayName("set(null) resets to empty") void set_null_resetsToEmpty() { // Arrange SecurityBlob blob = new SecurityBlob(new byte[] { 1, 2, 3 }); // Act blob.set(null); // Assert assertNotNull(blob.get(), "get() should return non-null after set(null)");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java
import static com.google.common.base.Preconditions.checkNotNull; import static junit.framework.Assert.assertTrue; import java.io.Serializable; import java.util.Collection; import java.util.Set; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * {@link Set} implementation that asserts that a given lock is held whenever one of its methods is * called. */ @NullUnmarkedCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
ImmutableSortedSet<Integer> asSet = RANGE_SET_ONE.asSet(DiscreteDomain.integers()); assertEquals(expectedSet, asSet); assertThat(asSet).containsExactlyElementsIn(expectedSet).inOrder(); assertTrue(asSet.containsAll(expectedSet)); SerializableTester.reserializeAndAssert(asSet); } public void testAsSetHeadSet() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Jan 25 16:19:30 GMT 2025 - 21.7K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventRecorder.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.isCloseTo import assertk.assertions.isFalse import assertk.assertions.isInstanceOf import assertk.assertions.matchesPredicate import java.util.Deque import java.util.concurrent.ConcurrentLinkedDeque import java.util.concurrent.TimeUnit
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 4.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
import static java.util.Collections.singletonMap; import static java.util.Collections.sort; import static junit.framework.Assert.assertEquals; import static junit.framework.Assert.assertFalse; import static junit.framework.Assert.assertTrue; import static junit.framework.Assert.fail; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 10 23:13:45 GMT 2025 - 17.2K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java
sizeRemaining -= count; hashMultiset.add(value, count); linkedHashMultiset.add(value, count); treeMultiset.add(value, count); } // TODO(kevinb): convert to assert once benchmark tests enable asserts by default Preconditions.checkState(hashMultiset.size() == size); } @Benchmark int hashMultiset(int reps) { int sum = 0; for (int i = 0; i < reps; i++) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.7K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
*/ @file:Suppress( "CANNOT_OVERRIDE_INVISIBLE_MEMBER", "INVISIBLE_MEMBER", "INVISIBLE_REFERENCE", ) package okhttp3 import assertk.assertThat import assertk.assertions.isCloseTo import assertk.assertions.isFalse import assertk.assertions.isInstanceOf import assertk.assertions.matchesPredicate import java.util.Deque import java.util.concurrent.ConcurrentLinkedDeque import java.util.concurrent.TimeUnit
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri May 30 21:28:20 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
void testConnect() throws Exception { // Act ntlmConnection.connect(); // Assert verify(mockConnection).connect(); // Connection should be established after connect } /** * Test that disconnect() calls disconnect() on the underlying connection and resets state. */ @Test void testDisconnect() throws Exception { // Act
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.suggest; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.io.IOException; import java.io.InputStream; import java.nio.charset.StandardCharsets; import org.junit.Test; /**
Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 9.6K bytes - Click Count (0)