- Sort Score
- Result 10 results
- Languages All
Results 2721 - 2730 of 3,475 for 1final (0.13 sec)
-
guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Tests for {@link ListenerCallQueue}. */ @NullUnmarked public class ListenerCallQueueTest extends TestCase { private static final ListenerCallQueue.Event<Object> THROWING_EVENT = new ListenerCallQueue.Event<Object>() { @Override public void call(Object object) { throw new RuntimeException(); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 8.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
IllegalStateException expected = assertThrows(IllegalStateException.class, () -> checkState(false, FORMAT, 5)); verifyComplexMessage(expected); } private static final String NON_NULL_STRING = "foo"; public void testCheckNotNull_simple_success() { String result = checkNotNull(NON_NULL_STRING); assertSame(NON_NULL_STRING, result); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
IllegalStateException expected = assertThrows(IllegalStateException.class, () -> checkState(false, FORMAT, 5)); verifyComplexMessage(expected); } private static final String NON_NULL_STRING = "foo"; public void testCheckNotNull_simple_success() { String result = checkNotNull(NON_NULL_STRING); assertSame(NON_NULL_STRING, result); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
private NtlmSsp ntlmSsp; // A sample challenge array private final byte[] challenge = new byte[] { 0x01, 0x23, 0x45, 0x67, (byte) 0x89, (byte) 0xab, (byte) 0xcd, (byte) 0xef }; // Base64 encoded Type 1 message: NTLMSSP, Type 1, flags=0x00088207 // Domain="DOMAIN", Workstation="WORKSTATION" private final String type1MessageBase64 = "TlRMTVNTUAABAAAABzIAAAYABgArAAAACwALACAAAABET01BSU5XT1JLU1RBVElPTg==";Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (1) -
mockwebserver-junit4/README.md
``` testImplementation("com.squareup.okhttp3:mockwebserver3-junit4:5.1.0") ``` Then in tests annotated `@org.junit.Test`, you may declare a field with the `@Rule` annotation: ``` @Rule public final MockWebServerRule serverRule = new MockWebServerRule(); ``` The `serverRule` field has a `server` field. It is an instance of `MockWebServer`. That instance will be shut down automatically after the test runs.Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 19:32:33 UTC 2025 - 706 bytes - Viewed (0) -
src/test/java/org/codelibs/fess/test/net/protocol/xxx1/Handler.java
import java.io.IOException; import java.net.URL; import java.net.URLConnection; import java.net.URLStreamHandler; public class Handler extends URLStreamHandler { public static final String PROTOCOL_TYPE = "web"; @Override protected URLConnection openConnection(URL u) throws IOException { return null; }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 1006 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
* @author Martin Buchholz */ @NullUnmarked public class ThreadFactoryBuilderTest extends TestCase { private final Runnable monitoredRunnable = new Runnable() { @Override public void run() { completed = true; } }; private static final UncaughtExceptionHandler UNCAUGHT_EXCEPTION_HANDLER = new UncaughtExceptionHandler() { @OverrideRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 7.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractTable.java
} Set<Cell<R, C, V>> createCellSet() { return new CellSet(); } abstract Iterator<Table.Cell<R, C, V>> cellIterator(); @WeakOuter private final class CellSet extends AbstractSet<Cell<R, C, V>> { @Override public boolean contains(@Nullable Object o) { if (o instanceof Cell) { Cell<?, ?, ?> cell = (Cell<?, ?, ?>) o;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EnumHashBiMap.java
* "https://github.com/google/guava/wiki/NewCollectionTypesExplained#bimap">{@code BiMap}</a>. * * @author Mike Bostock * @since 2.0 */ @GwtCompatible @J2ktIncompatible public final class EnumHashBiMap<K extends Enum<K>, V extends @Nullable Object> extends AbstractBiMap<K, V> { transient Class<K> keyTypeOrObjectUnderJ2cl; /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
import javax.security.auth.kerberos.KerberosPrincipal; import org.junit.jupiter.api.Test; /** * Tests for the PacMac class. */ class PacMacTest { private static final byte[] TEST_DATA = "test data".getBytes(); private static final KerberosPrincipal TEST_PRINCIPAL = new KerberosPrincipal("test@REALM"); /** * Test method forRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0)