- Sort Score
- Result 10 results
- Languages All
Results 1761 - 1770 of 1,918 for testng (0.1 sec)
-
guava/src/com/google/common/collect/Range.java
* this range. */ public boolean containsAll(Iterable<? extends C> values) { if (Iterables.isEmpty(values)) { return true; } // this optimizes testing equality of two range-backed sets if (values instanceof SortedSet) { SortedSet<? extends C> set = (SortedSet<? extends C>) values; Comparator<?> comparator = set.comparator();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 27.8K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
initialize the response cache. * New: Fold `MockWebServerRule` into `MockWebServer`. This makes it easier to write JUnit tests with `MockWebServer`. The `MockWebServer` library now depends on JUnit, though it continues to work with all testing frameworks. * Fix: `FormEncodingBuilder` is now consistent with browsers in which characters it escapes. Previously we weren’t percent-encoding commas,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 26.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
import com.google.common.testing.FakeTicker; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.concurrent.Callable; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ExecutionException; import junit.framework.TestCase; /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 14.4K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
} @Test fun portImplicitlyStarts() { assertThat(server.port).isGreaterThan(0) } @Test fun hostnameImplicitlyStarts() { assertThat(server.hostName).isNotNull() } @Test fun toProxyAddressImplicitlyStarts() { assertThat(server.toProxyAddress()).isNotNull() } @Test fun differentInstancesGetDifferentPorts() { val other = MockWebServer()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.9K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
} @Test fun portImplicitlyStarts() { assertThat(server.port).isGreaterThan(0) } @Test fun hostnameImplicitlyStarts() { assertThat(server.hostName).isNotNull() } @Test fun toProxyAddressImplicitlyStarts() { assertThat(server.toProxyAddress()).isNotNull() } @Test fun differentInstancesGetDifferentPorts() { val other = MockWebServer()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.5K bytes - Viewed (0) -
cmd/server_test.go
suite.TearDownSuite(c) } func TestServerSuite(t *testing.T) { testCases := []*TestSuiteCommon{ // Init and run test on ErasureSD backend with signature v4. {serverType: "ErasureSD", signer: signerV4}, // Init and run test on ErasureSD backend with signature v2. {serverType: "ErasureSD", signer: signerV2}, // Init and run test on ErasureSD backend, with tls enabled.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 116.3K bytes - Viewed (0) -
guava/src/com/google/common/math/LongMath.java
long sqrtFloor = guess - ((x < guessSquared) ? 1 : 0); long halfSquare = sqrtFloor * sqrtFloor + sqrtFloor; /* * We wish to test whether or not x <= (sqrtFloor + 0.5)^2 = halfSquare + 0.25. Since both x * and halfSquare are integers, this is equivalent to testing whether or not x <= * halfSquare. (We have to deal with overflow, though.) *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 09 16:39:37 UTC 2024 - 45.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt
import okhttp3.HttpUrl.Companion.toHttpUrlOrNull import okhttp3.testing.PlatformRule import org.junit.jupiter.api.Test @Suppress("HttpUrlsUsage") // Don't warn if we should be using https://. open class HttpUrlJvmTest { val platform = PlatformRule() /** This one's ugly: the HttpUrl's host is non-empty, but the URI's host is null. */ @Test fun hostContainsOnlyStrippedCharacters() { val url = "http://>/".toHttpUrl()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.9K bytes - Viewed (0) -
guava/src/com/google/common/io/TempFileCreator.java
* * <p>This lets us test the effects of different values of the {@code user.name} system property * without needing a separate VM or classloader. */ @IgnoreJRERequirement // used only when Path is available (and only from tests) @VisibleForTesting static void testMakingUserPermissionsFromScratch() throws IOException { // All we're testing is whether it throws.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 06 17:11:11 UTC 2023 - 12.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Floats.java
* @since 21.0 */ public static float constrainToRange(float value, float min, float max) { // avoid auto-boxing by not using Preconditions.checkArgument(); see Guava issue 3984 // Reject NaN by testing for the good case (min <= max) instead of the bad (min > max). if (min <= max) { return Math.min(Math.max(value, min), max); } throw new IllegalArgumentException(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:52:18 UTC 2024 - 25.8K bytes - Viewed (0)