- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 1,497 for Unit (0.07 seconds)
-
guava-tests/test/com/google/common/net/HostSpecifierTest.java
import org.jspecify.annotations.NullUnmarked; /** * {@link TestCase} for {@link HostSpecifier}. This is a relatively cursory test, as HostSpecifier * is a thin wrapper around {@link InetAddresses} and {@link InternetDomainName}; the unit tests for * those classes explore numerous corner cases. The intent here is to confirm that everything is * wired up properly. * * @author Craig Berry */ @NullUnmarked @GwtIncompatible @J2ktIncompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 3.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyTest.kt
override fun source(): BufferedSource { val source = Buffer().writeUtf8("hello") return object : ForwardingSource(source) { @Throws(IOException::class) override fun close(): Unit = throw IOException("Broken!") }.buffer() } } assertThat(body.source().readUtf8()).isEqualTo("hello") body.close() } @Test fun unicodeText() {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.9K bytes - Click Count (0) -
docs/tls/README.md
``` # X.509 Certificate options # # DN options # The organization of the subject. organization = "Example Inc." # The organizational unit of the subject. #unit = "sleeping dept." # The state of the certificate owner. state = "Example" # The country of the subject. Two letter code. country = "EX" # The common name of the certificate owner.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 8.6K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import junit.framework.AssertionFailedError; import junit.framework.TestCase; /** * Unit test for {@link Helpers}. * * @author Chris Povirk */ @GwtCompatible public class HelpersTest extends TestCase { public void testNullsBeforeB() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 09 19:16:24 GMT 2026 - 4.4K bytes - Click Count (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 { @J2ktIncompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 4.6K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import junit.framework.AssertionFailedError; import junit.framework.TestCase; /** * Unit test for {@link Helpers}. * * @author Chris Povirk */ @GwtCompatible public class HelpersTest extends TestCase { public void testNullsBeforeB() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 09 19:16:24 GMT 2026 - 4.4K bytes - Click Count (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; @BeforeEachCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 5.1K bytes - Click Count (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();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.1K bytes - Click Count (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 {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 3.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java
import java.util.ArrayList; import java.util.List; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; /** * Unit test for {@link LinkedHashMultiset}. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public class LinkedHashMultisetTest extends TestCase { @J2ktIncompatible @GwtIncompatible // suiteCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 4.6K bytes - Click Count (0)