- Sort Score
- Result 10 results
- Languages All
Results 3101 - 3110 of 4,609 for text (0.03 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests {@link Map#replace(Object, Object)}. Can't be invoked directly; * please see {@link com.google.common.collect.testing.ConcurrentMapTestSuiteBuilder}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4K bytes - Viewed (0) -
docs_src/async_tests/test_main.py
import pytest from httpx import ASGITransport, AsyncClient from .main import app @pytest.mark.anyio async def test_root(): async with AsyncClient( transport=ASGITransport(app=app), base_url="http://test" ) as ac: response = await ac.get("/") assert response.status_code == 200
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 30 16:00:41 UTC 2024 - 360 bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
* next task will wait for any running callable (or pending {@code Future} returned by an * {@code AsyncCallable}) to complete, without interrupting it (and without calling {@code * cancel} on the {@code Future}). So beware: <i>Even if you cancel every preceding {@code * Future} returned by this class, the next task may still have to wait.</i>.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 01 21:46:34 UTC 2024 - 22.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
protected void finalize() { finalizerRan.countDown(); } }); // Don't copy this into your own test! // Use e.g. awaitClear or await(CountDownLatch) instead. GcFinalization.awaitFullGc(); // If this test turns out to be flaky, add a second call to awaitFullGc() // GcFinalization.awaitFullGc(); assertEquals(0, finalizerRan.getCount());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 7.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java
import java.util.Comparator; import java.util.List; import java.util.Set; import java.util.SortedSet; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.checkerframework.checker.nullness.qual.Nullable; /** * Unit test for {@link TreeMultiset}. * * @author Neal Kanodia */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 12.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
Iterator<String> keyIterator = keys.iterator(); keyIterator.next(); keyIterator.remove(); assertFalse(underlying.containsKey("c")); Collection<String> values = map.values(); values.remove("4"); assertFalse(underlying.containsKey("d")); Iterator<String> valueIterator = values.iterator(); valueIterator.next(); valueIterator.remove(); assertFalse(underlying.containsKey("e"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9.4K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret_test.go
"istio.io/istio/pkg/config/schema/gvk" "istio.io/istio/pkg/config/schema/gvr" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/kube/multicluster" "istio.io/istio/pkg/test" "istio.io/istio/pkg/test/env" "istio.io/istio/pkg/test/util/assert" ) var ( kubeSystemNamespaceUID = types.UID("54643f96-eca0-11e9-bb97-42010a80000a") kubeSystemNamespace = &v1.Namespace{ ObjectMeta: metav1.ObjectMeta{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/EmptyIterator.java
*/ @Override public boolean hasNext () { return false; } /** * {@inheritDoc} * * @see java.util.Iterator#next() */ @Override public SmbResource next () { return null; } /** * {@inheritDoc} * * @see jcifs.CloseableIterator#close() */ @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Oct 16 10:32:35 UTC 2018 - 1.5K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/validation/hard-coded-system-path.xml
<version>0.1</version> <dependencies> <dependency> <groupId>test</groupId> <artifactId>a</artifactId> <version>0.2</version> <scope>system</scope> <systemPath>should-use-variables-and-not-hard-code-this-path</systemPath> </dependency> <dependency> <groupId>test</groupId> <artifactId>b</artifactId> <version>0.1</version> <scope>system</scope>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.4K bytes - Viewed (0) -
mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.kt
import assertk.assertions.isTrue import java.net.ConnectException import java.util.concurrent.atomic.AtomicBoolean import org.junit.Assert.fail import org.junit.Test import org.junit.runner.Description import org.junit.runners.model.Statement class MockWebServerRuleTest { @Test fun statementStartsAndStops() { val rule = MockWebServerRule() val called = AtomicBoolean() val statement: Statement = rule.apply(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.5K bytes - Viewed (0)