- Sort Score
- Result 10 results
- Languages All
Results 931 - 940 of 1,610 for tests (0.03 sec)
-
android/guava-tests/test/com/google/common/io/FlushablesTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import java.io.Flushable; import java.io.IOException; import junit.framework.TestCase; /** * Unit tests for {@link Flushables}. * * <p>Checks proper flushing behavior, and ensures that IOExceptions on Flushable.flush() are not * propagated out from the {@link Flushables#flush} method if {@code swallowException} is true. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java
* com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Louis Wasserman */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MapRemoveEntryTester<K, V> extends AbstractMapTester<K, V> { @MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapTestSuiteBuilder.java
import java.util.EnumSet; import java.util.List; import java.util.Map.Entry; import java.util.Set; import junit.framework.TestSuite; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code * SortedSetMultimap} implementation. * * @author Louis Wasserman */ @GwtIncompatible public class SortedSetMultimapTestSuiteBuilder<K, V>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * A TimeLimiter implementation which actually does not attempt to limit time at all. This may be * desirable to use in some unit tests. More importantly, attempting to debug a call which is * time-limited would be extremely annoying, so this gives you a time-limiter you can easily swap in * for your real time-limiter while you're debugging. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTest.java
import static org.junit.Assert.assertThrows; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.OutputStream; import java.util.EnumSet; /** * Tests for the default implementations of {@code ByteSink} methods. * * @author Colin Decker */ public class ByteSinkTest extends IoTestCase { private final byte[] bytes = newPreFilledByteArray(10000);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.7K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/DefaultTypeProvider.java
new DefaultType( Type.TEST_JAR, Language.JAVA_FAMILY, "jar", "tests", false, JavaPathType.CLASSES, JavaPathType.PATCH_MODULE),
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
tests/test_tutorial/test_request_form_models/test_tutorial002_an_py39.py
import pytest from fastapi.testclient import TestClient from tests.utils import needs_py39, needs_pydanticv2 @pytest.fixture(name="client") def get_client(): from docs_src.request_form_models.tutorial002_an_py39 import app client = TestClient(app) return client @needs_pydanticv2 @needs_py39 def test_post_body_form(client: TestClient):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 06 17:31:18 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
import java.util.concurrent.Executor; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import javax.annotation.concurrent.GuardedBy; import junit.framework.TestCase; /** Tests for {@link AbstractFuture} with the cancellation cause system property set */ @AndroidIncompatible // custom classloading public class AbstractFutureCancellationCauseTest extends TestCase {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 6.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java
String PACKAGE = "package"; String VERIFY = "verify"; String UNIT_TEST = "unit-test"; String TEST_SOURCES = "test-sources"; String TEST_RESOURCES = "test-resources"; String TEST_COMPILE = "test-compile"; String TEST = "test"; String INTEGRATION_TEST = "integration-test"; String INSTALL = "install"; String DEPLOY = "deploy"; String CLEAN = "clean";
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Sep 24 07:54:24 UTC 2024 - 5.3K bytes - Viewed (0) -
buildscripts/verify-healing.sh
return 1 fi for ((i = 0; i < 20; i++)); do test -f ${WORK_DIR}/$1/1/.minio.sys/format.json v1=$? nextInES=$(($1 + 1)) && [ $nextInES -gt 3 ] && nextInES=1 foundFiles1=$(find ${WORK_DIR}/$1/1/ | grep -v .minio.sys | grep xl.meta | wc -l) foundFiles2=$(find ${WORK_DIR}/$nextInES/1/ | grep -v .minio.sys | grep xl.meta | wc -l) test $foundFiles1 -eq $foundFiles2 v2=$? [ $v1 == 0 -a $v2 == 0 ] && return 0
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 4K bytes - Viewed (0)