- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 791 for units (0.05 sec)
-
guava-tests/test/com/google/common/collect/FilteredMultimapTest.java
import com.google.common.base.Predicate; import java.util.Map.Entry; import java.util.Objects; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link Multimaps} filtering methods. * * @author Jared Levy */ @GwtIncompatible // nottested @NullUnmarked public class FilteredMultimapTest extends TestCase {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 3.1K bytes - Viewed (0) -
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; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link FakeTimeLimiter}. * * @author Jens Nyman */ @NullUnmarked public class FakeTimeLimiterTest extends TestCase { private static final int DELAY_MS = 50;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.exception; import org.codelibs.fess.unit.UnitFessTestCase; public class FessSystemExceptionTest extends UnitFessTestCase { public void test_constructor_withMessage() { // Test constructor with message only
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/JobHelperTest.java
import org.codelibs.fess.opensearch.config.exbhv.JobLogBhv; import org.codelibs.fess.opensearch.config.exentity.JobLog; import org.codelibs.fess.opensearch.config.exentity.ScheduledJob; import org.codelibs.fess.unit.UnitFessTestCase; import org.codelibs.fess.util.ComponentUtil; import org.lastaflute.job.LaCron; public class JobHelperTest extends UnitFessTestCase { private JobHelper jobHelper; @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.taglib; import java.util.Date; import org.codelibs.fess.unit.UnitFessTestCase; public class FessFunctionsTest extends UnitFessTestCase { public void test_formatNumber() { assertEquals("0", FessFunctions.formatNumber(0, "###,###"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 5.9K 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 6.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
Future<V> future, Class<X> exceptionClass, long timeout, TimeUnit unit) throws X { // TODO(cpovirk): benchmark a version of this method that accepts a GetCheckedTypeValidator bestGetCheckedTypeValidator().validateClass(exceptionClass); try { return future.get(timeout, unit); } catch (InterruptedException e) { currentThread().interrupt();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 11.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* * <p>The delegate future is interrupted and cancelled if it times out. * * @param delegate The future to delegate to. * @param time when to time out the future * @param unit the time unit of the time parameter * @param scheduledExecutor The executor service to enforce the timeout. * @since 19.0 */ @J2ktIncompatible @GwtIncompatible // java.util.concurrent.ScheduledExecutorService
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java
import java.util.Hashtable; import java.util.List; import java.util.concurrent.atomic.AtomicBoolean; import org.codelibs.fess.helper.SystemHelper; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.unit.UnitFessTestCase; import org.codelibs.fess.util.ComponentUtil; public class LdapManagerTest extends UnitFessTestCase { @Override public void setUp() throws Exception { super.setUp();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 5.2K bytes - Viewed (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() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.9K bytes - Viewed (0)