- Sort Score
- Result 10 results
- Languages All
Results 711 - 720 of 2,799 for 2test (0.03 sec)
-
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
import java.util.concurrent.atomic.AtomicBoolean; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; import org.junit.After; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; /** * Unit test for {@link FinalizableReferenceQueue}. * * @author Bob Lee */ // - depends on details of GC and classloading // - .class files aren't available
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 8.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
import java.util.concurrent.atomic.AtomicBoolean; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; import org.junit.After; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; /** * Unit test for {@link FinalizableReferenceQueue}. * * @author Bob Lee */ // - depends on details of GC and classloading // - .class files aren't available
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/HandlerTest.java
return new Handler(ctx); } @Test @DisplayName("getDefaultPort returns SMB default port") void testGetDefaultPort() { // Arrange Handler handler = newHandler(); // Act & Assert assertEquals(SmbConstants.DEFAULT_PORT, handler.getDefaultPort(), "Default port should match SmbConstants"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
assertNotNull(encData.getUserAuthorizations()); // Assuming KerberosAuthData.parse is tested elsewhere and might return empty for this test case assertTrue(encData.getUserAuthorizations().isEmpty()); } /** * Test constructor with a malformed token. */ @Test void testConstructorMalformed() { byte[] malformedToken = new byte[] { 0x01, 0x02, 0x03, 0x04 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt
private var client = clientTestRule.newClient() @AfterEach internal fun tearDown() { factory.close() } @Test fun nonRetryableIOException() { val exception = IOException("Non-handshake exception") assertThat(retryTlsHandshake(exception)).isFalse() } @Test fun nonRetryableSSLHandshakeException() { val exception = SSLHandshakeException("Certificate handshake exception").apply {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ErrorToWarnRewritePolicyTest.java
String[] loggerNames = { "test.logger" }; ErrorToWarnRewritePolicy policy = new ErrorToWarnRewritePolicy(loggerNames); LogEvent event = Log4jLogEvent.newBuilder() .setLoggerName("test.logger") .setLevel(Level.ERROR) .setMessage(new SimpleMessage("test message")) .setLoggerFqcn("test.class") .setThreadName("test-thread")
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
verify(response).flushBuffer(); } /** * Test doGet with NTLM authentication for directory listing * This test verifies the authentication flow without actual network operations */ @Test void testDoGet_DirectoryListing() throws Exception { // Create a test-specific NetworkExplorer that mocks file operations networkExplorer = new NetworkExplorer() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/dict/stopwords/admin_dict_stopwords_details.jsp
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 7.2K bytes - Viewed (0) -
okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt
import java.util.concurrent.TimeUnit import kotlin.test.assertFailsWith import kotlin.time.Duration.Companion.seconds import kotlinx.coroutines.CancellationException import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.TimeoutCancellationException import kotlinx.coroutines.coroutineScope import kotlinx.coroutines.job import kotlinx.coroutines.supervisorScope import kotlinx.coroutines.test.runTest import kotlinx.coroutines.withContext
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
tags = PrunedTag.parse("a#test"); assertEquals(1, tags.length); assertEquals("PrunedTag [tag=a, id=test, css=null, attrName=null, attrValue=null]", tags[0].toString()); tags = PrunedTag.parse("a.test"); assertEquals(1, tags.length); assertEquals("PrunedTag [tag=a, id=null, css=test, attrName=null, attrValue=null]", tags[0].toString());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 21K bytes - Viewed (0)