- Sort Score
- Result 10 results
- Languages All
Results 701 - 710 of 2,093 for test0 (0.03 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/SetAddAllTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests addAll operations on a set. Can't be invoked directly; please * see {@link com.google.common.collect.testing.SetTestSuiteBuilder}. * * @author Kevin Bourrillion */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractBiMapTest.java
import java.util.IdentityHashMap; import java.util.Iterator; import java.util.Map.Entry; import junit.framework.TestCase; /** * Tests for {@code AbstractBiMap}. * * @author Mike Bostock */ public class AbstractBiMapTest extends TestCase { // The next two tests verify that map entries are not accessed after they're // removed, since IdentityHashMap throws an exception when that occurs.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu May 14 14:52:51 UTC 2020 - 2.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java
* limitations under the License. */ package com.google.common.collect.testing.testers; import com.google.common.annotations.GwtCompatible; /** Exception classes for use in tests. */ @GwtCompatible final class TestExceptions { static class SomeError extends Error {} static class SomeCheckedException extends Exception {} static class SomeOtherCheckedException extends Exception {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 1.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
ImmutableList.of(2, 4), ImmutableList.of(1, 2, 3, 5, 6, 8, 9)); /* * We have a whole series of abstract test classes that "stack", so e.g. the tests for filtered * NavigableSets inherit the tests for filtered Iterables, Collections, Sets, and SortedSets. The * actual implementation tests are further down. */ public abstract static class AbstractFilteredIterableTest<C extends Iterable<Integer>>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
* @return Whether the part is valid */ private static boolean validatePart(String part, boolean isFinalPart) { // These tests could be collapsed into one big boolean expression, but // they have been left as independent tests for clarity. if (part.length() < 1 || part.length() > MAX_DOMAIN_PART_LENGTH) { return false; } /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 05 20:47:23 UTC 2024 - 28K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* remove()}, {@code set()}, and {@code add()} calls */ protected void verify(List<E> elements) {} /** Executes the test. */ @SuppressWarnings("CatchingUnchecked") // sneaky checked exception public final void test() { try { recurse(0); } catch (Exception e) { // sneaky checked exception throw new RuntimeException(Arrays.toString(stimuli), e); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests {@code addAll(Collection)} operations on a list. Can't be * invoked directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}. * * @author Chris Povirk */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/UrlEscapersTest.java
import static com.google.common.net.UrlEscapers.urlPathSegmentEscaper; import com.google.common.annotations.GwtCompatible; import com.google.common.escape.UnicodeEscaper; import junit.framework.TestCase; /** * Tests for the {@link UrlEscapers} class. * * @author David Beaumont */ @GwtCompatible public class UrlEscapersTest extends TestCase { public void testUrlFormParameterEscaper() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 17:53:22 UTC 2024 - 2.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/html/HtmlEscapersTest.java
assertEquals("test << 1", htmlEscaper().escape("test << 1")); assertEquals("test >> 1", htmlEscaper().escape("test >> 1")); assertEquals("<tab>", htmlEscaper().escape("<tab>")); // Test simple escape of '&'. assertEquals("foo&bar", htmlEscaper().escape("foo&bar")); // If the string contains no escapes, it should return the arg.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests {@link Map#compute}. Can't be invoked directly; please see * {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @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 - 7.2K bytes - Viewed (0)