- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 1,022 for Unit (0.03 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
import static org.junit.Assert.assertThrows; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import junit.framework.TestCase; /** * Unit test for {@link FakeTimeLimiter}. * * @author Jens Nyman */ public class FakeTimeLimiterTest extends TestCase { private static final int DELAY_MS = 50; private static final String RETURN_VALUE = "abc";
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt
import java.net.InetAddress import java.net.InetSocketAddress import java.net.Proxy import java.util.concurrent.TimeUnit class ClientRuleEventListener( val delegate: EventListener = NONE, var logger: (String) -> Unit, ) : EventListener(), EventListener.Factory { private var startNs: Long? = null override fun create(call: Call): EventListener = this override fun callStart(call: Call) { startNs = System.nanoTime()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt
* * https://github.com/oracle/graal/issues/3008 */ @JvmStatic fun Throwable.assertSuppressed(block: (List<@JvmSuppressWildcards Throwable>) -> Unit) { if (isGraalVmImage) return block(suppressed.toList()) } @JvmStatic fun threadFactory(name: String): ThreadFactory { return object : ThreadFactory { private var nextId = 1
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 4.3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java
import com.google.common.base.Predicates; import com.google.common.collect.ImmutableList; import java.util.Arrays; import java.util.List; import junit.framework.TestCase; /** * Unit tests for {@link AbstractPackageSanityTests}. * * @author Ben Yu */ public class AbstractPackageSanityTestsTest extends TestCase { /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 21:37:55 UTC 2019 - 5.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; import java.util.ArrayList; import java.util.List; import org.codelibs.fess.exception.InvalidAccessTokenException; import org.codelibs.fess.unit.UnitFessTestCase; import org.dbflute.utflute.mocklet.MockletHttpServletRequest; public class AccessTokenHelperTest extends UnitFessTestCase { protected static final int NUM = 20;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt
println(message.message + " (skipped output)") } else -> println(message) } } fun enableJsseDebugLogging(debugHandler: (JsseDebugMessage) -> Unit = this::quietDebug): Closeable { System.setProperty("javax.net.debug", "") return OkHttpDebugLogging.enable( "javax.net.ssl", object : Handler() { override fun publish(record: LogRecord) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
*/ package com.google.common.testing; import java.util.logging.Level; import java.util.logging.LogRecord; import java.util.logging.Logger; import junit.framework.TestCase; /** * Unit test for {@link TestLogHandler}. * * @author kevinb */ public class TestLogHandlerTest extends TestCase { private TestLogHandler handler; private TearDownStack stack = new TearDownStack(); @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/OsddHelperTest.java
import java.io.InputStream; import java.io.OutputStream; import org.codelibs.core.io.InputStreamUtil; import org.codelibs.fess.Constants; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.unit.UnitFessTestCase; import org.codelibs.fess.util.ComponentUtil; import org.lastaflute.web.response.StreamResponse; import org.lastaflute.web.servlet.request.stream.WrittenStreamOut;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceTest.java
import static com.google.common.util.concurrent.Service.State.STOPPING; import static com.google.common.util.concurrent.Service.State.TERMINATED; import java.util.Locale; import junit.framework.TestCase; /** Unit tests for {@link Service} */ public class ServiceTest extends TestCase { /** Assert on the comparison ordering of the State enum since we guarantee it. */ public void testStateOrdering() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java
import org.codelibs.fess.exception.JobProcessingException; import org.codelibs.fess.script.AbstractScriptEngine; import org.codelibs.fess.script.ScriptEngineFactory; import org.codelibs.fess.unit.UnitFessTestCase; import org.codelibs.fess.util.ComponentUtil; import org.lastaflute.di.core.factory.SingletonLaContainerFactory; import groovy.lang.Binding; import groovy.lang.GroovyClassLoader;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.1K bytes - Viewed (0)