- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 998 for Unit (0.02 sec)
-
guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java
import java.util.concurrent.TimeUnit; import org.jspecify.annotations.Nullable; /** * A TimeLimiter implementation which actually does not attempt to limit time at all. This may be * desirable to use in some unit tests. More importantly, attempting to debug a call which is * time-limited would be extremely annoying, so this gives you a time-limiter you can easily swap in * for your real time-limiter while you're debugging. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.6K bytes - Viewed (0) -
CLAUDE.md
- Apache License 2.0 headers on all source files (updated to 2025) - Comprehensive Javadoc documentation required - Code coverage reporting with JaCoCo ## Test Coverage The project includes comprehensive unit tests for all core components: - `CurlTest`: Tests for static factory methods and basic HTTP operations - `CurlRequestTest`: Tests for request builder, headers, parameters, body content, SSL, proxies, timeouts
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoaderTest.java
import java.util.concurrent.Executor; import java.util.concurrent.Future; import java.util.concurrent.atomic.AtomicInteger; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link CacheLoader}. * * @author Charles Fry */ @NullUnmarked public class CacheLoaderTest extends TestCase { private static class QueuingExecutor implements Executor {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
package jcifs.smb1.smb1; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.Test; /** * Unit tests for the Trans2FindNext2 class. */ class Trans2FindNext2Test { /** * Verifies constructor initializes protocol fields and limits correctly. */ @Test void testConstructorInitializesFields() { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.smb.SmbFile; /** * Unit tests for DirectoryLeaseManager */ public class DirectoryLeaseManagerTest { @Mock private CIFSContext context; @Mock private Configuration config; @MockRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java
import java.net.InetAddress; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import jcifs.internal.witness.WitnessRegistration.WitnessRegistrationState; /** * Unit tests for WitnessRegistration class. */ public class WitnessRegistrationTest { private WitnessRegistration registration; private InetAddress serverAddress; @BeforeEachRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for NetworkInterfaceInfo */ @ExtendWith(MockitoExtension.class) class NetworkInterfaceInfoTest { private InetAddress testAddress; private InetAddress loopbackAddress; @BeforeEachRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 4.9K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java
import static java.util.Objects.nonNull; /** * Pseudo test to generate documentation fragment about supported CLI options. TODO such documentation generation code * should not be necessary as unit test but should be run during site generation (Velocity? Doxia macro?) */ @Deprecated class CLIManagerDocumentationTest { private static final String LS = System.lineSeparator();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/HashMultisetTest.java
import java.io.Serializable; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; /** * Unit test for {@link HashMultiset}. * * @author Kevin Bourrillion * @author Jared Levy */ @GwtCompatible @NullMarked public class HashMultisetTest extends TestCase { @J2ktIncompatibleRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/InternersTest.java
import com.google.common.testing.GcFinalization; import com.google.common.testing.NullPointerTester; import java.lang.ref.WeakReference; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link Interners}. * * @author Kevin Bourrillion */ @NullUnmarked public class InternersTest extends TestCase { public void testStrong_simplistic() { String canonical = "a";Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 17:02:07 UTC 2025 - 4.3K bytes - Viewed (0)