- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 1,698 for tests (0.08 sec)
-
src/test/java/jcifs/smb1/smb1/SmbAuthExceptionTest.java
import java.util.stream.Stream; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; /** * Tests for {@link SmbAuthException}. * * These tests exercise the constructor and the mapping logic of * {@link SmbException#getMessageByCode(int)} andRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
/** * Returns an OkHttpClient for tests to use as a starting point. * * The returned client installs a default event listener that gathers debug information. This will * be logged if the test fails. * * This client is also configured to be slightly more deterministic, returning a single IP
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 10.5K bytes - Viewed (0) -
utils/utils_test.go
} for _, test := range assertEqualTests { t.Run(test.name, func(t *testing.T) { if out := AssertEqual(test.src, test.dst); test.out != out { t.Errorf("AssertEqual(%v, %v) want: %t, got: %t", test.src, test.dst, test.out, out) } }) } } func TestToString(t *testing.T) { tests := []struct { name string in interface{} out stringRegistered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java
* JUnit constructs the instances. * * <p>This class is emulated in GWT. * * @param <G> the type of the test generator required by this tester. An instance of G should * somehow provide an instance of the class under test, plus any other information required to * parameterize the test. * @author George van den Driessche */ @GwtCompatible @NullMarked public class AbstractTester<G> extends TestCase {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.3K bytes - Viewed (0) -
src/cmd/asm/internal/asm/pseudo_test.go
for _, cat := range testcats { for _, test := range cat.tests { parser.allowABI = cat.allowABI parser.errorCount = 0 parser.lineNum++ if !parser.pseudo(test.pseudo, tokenize(test.operands)) { t.Fatalf("Wrong pseudo-instruction: %s", test.pseudo) } errorLine := buf.String() if test.expected != errorLine { t.Errorf("Unexpected error %q; expected %q", errorLine, test.expected) } buf.Reset() } }Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 3.1K bytes - Viewed (0) -
.teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt
description = "The java version to run the performance tests, e.g. 8/11/17", ) select( "testJavaVendor", JvmVendor.OPENJDK.name.lowercase(), display = ParameterDisplay.PROMPT, description = "The java vendor to run the performance tests", options = JvmVendor.values().map { it.displayName to it.name.lowercase() },Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Wed Feb 12 09:12:03 UTC 2025 - 5.5K bytes - Viewed (0) -
mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/StartStop.kt
import mockwebserver3.junit5.internal.StartStopExtension import org.junit.jupiter.api.extension.ExtendWith /** * Runs MockWebServer for the duration of a test method or test class. * * In Java JUnit 5 tests (ie. tests annotated `@org.junit.jupiter.api.Test`), use this by defining a * field with the `@StartStop` annotation: * * ```java * @StartStop public final MockWebServer server = new MockWebServer(); * ``` *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jun 19 11:44:16 UTC 2025 - 1.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java
long k1 = 0x0f0e0d0c0b0a0908L; assertEquals(0xa129ca6149be45e5L, Hashing.sipHash24(k0, k1).hashBytes(message).asLong()); } // From https://github.com/BrandonHaynes/siphash-csharp/blob/master/tests/Tests.cs public void testKnownValues() { assertSip(new byte[] {}, 0x726fdb47dd0e0e31L); assertSip(new byte[] {0x61}, 0x2ba3e8e9a71148caL); assertSip(new byte[1000000], 0x28205108397aa742L);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.7K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 5.9K bytes - Viewed (0) -
fuzzing/fuzzingserver-test.sh
exit 1 fi trap 'kill $(jobs -pr)' SIGINT SIGTERM EXIT set -ex wstest -m fuzzingserver -s fuzzingserver-config.json & sleep 2 # wait for wstest to start java -jar target/okhttp-tests-*-jar-with-dependencies.jar jq '.[] as $in | $in | keys[] | . + " " + $in[.].behavior' target/fuzzingserver-report/index.json > target/fuzzingserver-actual.txt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Mar 26 02:01:32 UTC 2019 - 673 bytes - Viewed (0)