- Sort Score
- Result 10 results
- Languages All
Results 1961 - 1970 of 2,274 for junit4 (0.07 sec)
-
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
ListenableFuture<V> delegate, long time, TimeUnit unit, ScheduledExecutorService scheduledExecutor) { TimeoutFuture<V> result = new TimeoutFuture<>(delegate); Fire<V> fire = new Fire<>(result); result.timer = scheduledExecutor.schedule(fire, time, unit); delegate.addListener(fire, directExecutor()); return result; } /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
import com.google.common.testing.NullPointerTester; import com.google.common.testing.SerializableTester; import java.io.Serializable; import java.util.HashMap; import java.util.Map; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tests for {@link Functions}. * * @author Mike Bostock * @author Vlad Patryshev */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.concurrent.Callable; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ExecutionException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Test suite for {@link CacheBuilder}. TODO(cpovirk): merge into CacheBuilderTest? * * @author Jon Donovan */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 14.4K bytes - Viewed (0) -
guava-testlib/README.md
# Guava Testlib: Google Testing Libraries for Java Guava testlib is a set of Java classes for more convenient unit testing. ## Adding Guava Testlib to your build Guava testlib's Maven group ID is `com.google.guava` and its artifact ID is `guava-testlib`. To add a dependency on Guava testlib using Maven, use the following: ```xml <dependency> <groupId>com.google.guava</groupId> <artifactId>guava-testlib</artifactId>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 18:38:35 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.dict; import org.codelibs.fess.unit.UnitFessTestCase; public class DictionaryExceptionTest 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 - 6.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.dict.synonym; import org.codelibs.fess.unit.UnitFessTestCase; public class SynonymItemTest extends UnitFessTestCase { public void test_new1() { final SynonymItem synonymItem = new SynonymItem(1, new String[] { "a", "A" }, new String[] { "b", "B" });
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 5K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.validation; import org.codelibs.fess.unit.UnitFessTestCase; import org.lastaflute.core.message.UserMessages; import org.lastaflute.core.message.supplier.UserMessagesCreator; import org.lastaflute.web.servlet.request.RequestManager;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 2.7K 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/unit/TestSystemProperties.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.unit; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.Properties; import org.codelibs.core.misc.DynamicProperties; import org.slf4j.Logger;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 2.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)