- Sort Score
- Result 10 results
- Languages All
Results 841 - 850 of 1,698 for tests (0.03 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java
import java.util.List; import java.util.NavigableSet; import java.util.Set; import java.util.SortedSet; import junit.framework.TestSuite; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests a NavigableSet * implementation. */ @GwtIncompatible public final class NavigableSetTestSuiteBuilder<E> extends SortedSetTestSuiteBuilder<E> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import java.lang.reflect.Field; import org.junit.jupiter.api.Test; /** * Tests for SmbComWrite command - SMB write operations */ public class SmbComWriteTest { /** * Helper method to get private field value using reflection */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.MockedStatic; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.smb1.UniAddress; /** * Very small test suite that exercises the most important state-changing * behaviour of {@link SmbSession}. The tests use Mockito to stub theRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
assertEquals(start1, start2, "Start time should remain constant"); assertNotNull(start1, "Start time should not be null"); } @Nested @DisplayName("Time consistency tests") class TimeConsistencyTests { @Test @DisplayName("Current time should be after start time") void testCurrentTimeAfterStart() { Instant now = MonotonicClock.now();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 15 06:28:29 UTC 2025 - 5.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashingTest.java
import java.util.Locale; import java.util.Random; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link Hashing}. * * <p>TODO(b/33919189): Migrate repeated testing methods to {@link HashTestUtils} and tweak unit * tests to reference them from there. * * @author Dimitris Andreou * @author Kurt Alfred Kluever */ @NullUnmarkedRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 26.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
} catch (IllegalArgumentException | UnsupportedOperationException expected) { } } // TODO: test adding element of wrong type /** * Returns {@link Method} instances for the {@code setCount()} tests that assume multisets support * duplicates so that the test of {@code Multisets.forSet()} can suppress them. */ @J2ktIncompatible @GwtIncompatible // reflection
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmServletTest.java
} /** * Test the init method when CIFSException occurs. * Verifies that configuration properties are properly validated during initialization. */ @Test void testInitWithCIFSException() { // Test with valid configuration - should initialize successfully Map<String, String> validParams = new HashMap<>();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiData.kt
package okhttp3 import kotlinx.serialization.Serializable import kotlinx.serialization.decodeFromString import kotlinx.serialization.json.Json /** * A test from the [Web Platform To ASCII](https://github.com/web-platform-tests/wpt/blob/master/url/resources/toascii.json). * * Each test is a line of the file `toascii.json`. */ @Serializable class WebPlatformToAsciiData { var input: String? = null var output: String? = null
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java
import com.google.common.base.Function; import com.google.common.base.Functions; import java.util.HashMap; import java.util.Map; import org.jspecify.annotations.NullMarked; /** * Tests for {@link Maps#transformValues(Map, Function)}. * * @author Isaac Shum */ @GwtCompatible @NullMarked public class MapsTransformValuesTest extends AbstractMapsTransformValuesTest { @OverrideRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/StringCatcher.java
import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * A simple EventSubscriber mock that records Strings. * * <p>For testing fun, also includes a landmine method that EventBus tests are required not * to call ({@link #methodWithoutAnnotation(String)}). * * @author Cliff Biffle */ @NullUnmarked public class StringCatcher { private final List<String> events = new ArrayList<>();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 1.4K bytes - Viewed (0)