- Sort Score
- Result 10 results
- Languages All
Results 2831 - 2840 of 4,151 for text (0.09 sec)
-
native-image-tests/src/test/kotlin/okhttp3/nativeimage/PublicSuffixDatabaseTest.kt
*/ package okhttp3.nativeimage import assertk.assertThat import assertk.assertions.isEqualTo import okhttp3.HttpUrl.Companion.toHttpUrl import org.junit.jupiter.api.Test class PublicSuffixDatabaseTest { @Test fun testResourcesLoaded() { val url = "https://api.twitter.com".toHttpUrl() assertThat(url.topPrivateDomain()).isEqualTo("twitter.com") }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jul 04 08:15:11 UTC 2025 - 964 bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetRemoveTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests remove operations on a set. Can't be invoked directly; please * see {@link com.google.common.collect.testing.ListTestSuiteBuilder}. * * @author George van den Driessche */ @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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetRemoveTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests remove operations on a set. Can't be invoked directly; please * see {@link com.google.common.collect.testing.ListTestSuiteBuilder}. * * @author George van den Driessche */ @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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/installer/ArtifactInstallerTest.java
protected String component() { return "installer"; } @Test void testArtifactInstallation() throws Exception { sessionScope.enter(); try { sessionScope.seed(MavenSession.class, mock(MavenSession.class)); String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java
// Assert result is empty when all succeed assertEquals("", result); } // Test constructor public void test_constructor() { // Test that constructor creates instance without error PurgeLogJob job = new PurgeLogJob(); assertNotNull(job); } // Test multiple exceptions occur public void test_execute_multipleExceptions() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 32.5K bytes - Viewed (0) -
android-test-app/src/androidTest/kotlin/okhttp/android/testapp/PublicSuffixDatabaseTest.kt
import assertk.assertions.isEqualTo import okhttp3.HttpUrl.Companion.toHttpUrl import org.junit.Test /** * Run with "./gradlew :android-test-app:connectedCheck -PandroidBuild=true" and make sure ANDROID_SDK_ROOT is set. */ class PublicSuffixDatabaseTest { @Test fun testTopLevelDomain() { assertThat("https://www.google.com/robots.txt".toHttpUrl().topPrivateDomain()).isEqualTo("google.com") }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
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 @NullUnmarked public class CacheBuilderGwtTest extends TestCase {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-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpDateTest.kt
} @Test @Throws(Exception::class) fun format() { assertThat(Date(0L).toHttpDateString()).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT") assertThat(Date(1402057830000L).toHttpDateString()).isEqualTo("Fri, 06 Jun 2014 12:30:30 GMT") } @Test @Throws(Exception::class) fun parseNonStandardStrings() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/GraphMutationTest.java
@Test public void directedGraph() { testGraphMutation(GraphBuilder.directed()); } @Test public void undirectedGraph() { testGraphMutation(GraphBuilder.undirected()); } private static void testGraphMutation(GraphBuilder<? super Integer> graphBuilder) { Random gen = new Random(42); // Fixed seed so test results are deterministic.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.2K bytes - Viewed (0)