- Sort Score
- Num 10 results
- Language All
Results 1791 - 1800 of 2,277 for Tests (0.08 seconds)
-
android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java
import java.util.Map.Entry; import java.util.Set; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; /** * Tests for {@code EnumBiMap}. * * @author Mike Bostock * @author Jared Levy */ @J2ktIncompatible // EnumBimap @GwtCompatible @NullMarked public class EnumBiMapTest extends TestCase { private enum Currency {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
import jcifs.internal.CommonServerMessageBlockRequest; import jcifs.internal.NotifyResponse; import jcifs.internal.smb1.trans.nt.NtTransNotifyChange; import jcifs.internal.smb2.notify.Smb2ChangeNotifyRequest; /** * Tests for SmbWatchHandleImpl focusing on behavior and interactions. */ @ExtendWith(MockitoExtension.class) class SmbWatchHandleImplTest { @Mock SmbFileHandleImpl handle; @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@link JdkVersionProfileActivator}. * */ @Deprecated class JdkVersionProfileActivatorTest extends AbstractProfileActivatorTest<JdkVersionProfileActivator> { @Override @BeforeEachCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 9.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
import java.util.concurrent.TimeUnit; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Generated tests for {@link Monitor}. * * <p>This test class generates all of its own test cases in the {@link #suite()} method. Every * {@code enterXxx}, {@code tryEnterXxx}, and {@code waitForXxx} method of the {@code Monitor} classCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt
client = client .newBuilder() // Since this test knowingly leaks a connection, avoid using the default shared connection // pool, which should remain clean for subsequent tests. .connectionPool(ConnectionPool()) .addNetworkInterceptor( Interceptor { chain: Interceptor.Chain? -> val response = chain!!.proceed(Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.3K bytes - Click Count (1) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java
import junit.framework.Test; import junit.framework.TestSuite; /** * Generates a test suite covering the {@link Set} implementations in the {@link java.util} package. * Can be subclassed to specify tests that should be suppressed. * * @author Kevin Bourrillion */ @GwtIncompatible public class TestsForSetsInJavaUtil { public static Test suite() { return new TestsForSetsInJavaUtil().allTests(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 15K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
import java.util.ArrayList; import java.util.List; import java.util.Objects; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tests for {@link Closer}. * * @author Colin Decker */ @NullUnmarked public class CloserTest extends TestCase { private TestSuppressor suppressor; @Override protected void setUp() throws Exception {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 11.9K bytes - Click Count (0) -
docs/smb3-features/04-directory-leasing-design.md
entry.invalidate(); } invalidateChildren(child); // Recursive } } } } ``` ## 8. Testing Strategy ### 8.1 Unit Tests ```java @Test public void testDirectoryCacheEntry() { DirectoryCacheEntry entry = new DirectoryCacheEntry( "/test/dir", new Smb2LeaseKey(), DirectoryCacheScope.IMMEDIATE_CHILDREN);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 36.2K bytes - Click Count (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
} private boolean isRdmaAvailable() { return new DisniRdmaProvider().isAvailable() || new JxioRdmaProvider().isAvailable(); } ``` ## 7. Testing Strategy ### 7.1 Unit Tests ```java @Test public void testRdmaProviderSelection() { RdmaProvider provider = RdmaProviderFactory.createProvider("auto"); assertNotNull(provider); assertTrue(provider.isAvailable()); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 35.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashCodeTest.java
import com.google.common.testing.ClassSanityTester; import java.util.Arrays; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Unit tests for {@link HashCode}. * * @author Dimitris Andreou * @author Kurt Alfred Kluever */ @NullUnmarked public class HashCodeTest extends TestCase { // note: asInt(), asLong() are in little endianCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 13.2K bytes - Click Count (0)