- Sort Score
- Result 10 results
- Languages All
Results 711 - 720 of 2,094 for test1 (0.03 sec)
-
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/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) -
android/guava-testlib/src/com/google/common/testing/RelationshipTester.java
} // TODO(cpovirk): should we reject null items, since the tests already check null automatically? @CanIgnoreReturnValue public RelationshipTester<T> addRelatedGroup(Iterable<? extends T> group) { groups.add(ImmutableList.copyOf(group)); return this; } public void test() { for (int groupNumber = 0; groupNumber < groups.size(); groupNumber++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 25 11:57:12 UTC 2023 - 5.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
import java.util.SortedMap; import org.junit.Ignore; /** * A generic JUnit test which tests operations on a SortedMap. Can't be invoked directly; please see * {@code SortedMapTestSuiteBuilder}. * * @author Jesse Wilson * @author Louis Wasserman */ @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 Oct 30 16:15:19 UTC 2024 - 6.1K bytes - Viewed (0) -
cmd/handler-utils_test.go
} for i, test := range testCases { gotResource, err := getResource(test.p, test.host, test.domains) if err != nil { t.Fatal(err) } if gotResource != test.expectedResource { t.Fatalf("test %d: expected %s got %s", i+1, test.expectedResource, gotResource) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTransformValuesAsMapTest.java
*/ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Functions; import java.util.Collection; import java.util.Map; /** * Tests for Multimaps.transformValues().asMap(). * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault public class MultimapsTransformValuesAsMapTest extends AbstractMultimapAsMapImplementsMapTest {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RegularImmutableAsListTest.java
*/ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@link RegularImmutableAsList}. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault public class RegularImmutableAsListTest extends TestCase { /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 10:16:44 UTC 2024 - 1.4K bytes - Viewed (0)