- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 2,185 for test0 (0.03 sec)
-
cmd/post-policy_test.go
} for i, test := range testCasesV2 { // initialize HTTP NewRecorder, this records any mutations to response writer inside the handler. rec := httptest.NewRecorder() req, perr := newPostRequestV2("", bucketName, "testobject", test.secretKey, test.formData) if perr != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 30.2K bytes - Viewed (0) -
cmd/generic-handlers_test.go
}, } func TestContainsReservedMetadata(t *testing.T) { for _, test := range containsReservedMetadataTests { test := test t.Run("", func(t *testing.T) { contains := containsReservedMetadata(test.header) if contains && !test.shouldFail { t.Errorf("contains reserved header but should not fail") } else if !contains && test.shouldFail { t.Errorf("does not contain reserved header but failed") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 5.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt
import okhttp3.internal.RecordingAuthenticator import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test // Most tests from URLConnectionTest class JavaNetAuthenticatorTest { private var authenticator = JavaNetAuthenticator() private val fakeDns = FakeDns() private val recordingAuthenticator = RecordingAuthenticator()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionEqualsTester.java
import com.google.common.collect.testing.AbstractCollectionTester; import org.junit.Ignore; /** * Tests {@link java.util.Collection#equals}. * * @author George van den Driessche */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class CollectionEqualsTester<E> extends AbstractCollectionTester<E> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/IoTestCase.java
import java.util.Set; import java.util.logging.Level; import java.util.logging.Logger; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Base test case class for I/O tests. * * @author Chris Nokleberg * @author Colin Decker */ public abstract class IoTestCase extends TestCase { private static final Logger logger = Logger.getLogger(IoTestCase.class.getName());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 31 12:36:13 UTC 2024 - 5.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests {@code putAll} operations on a map. Can't be invoked directly; * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Chris Povirk * @author Kevin Bourrillion */ @GwtCompatible(emulated = true) @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.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java
* * <p>If the order is non-deterministic, as with {@link java.util.HashSet}, this method can return * its input unmodified. Provided that the test suite is built without {@link * com.google.common.collect.testing.features.CollectionFeature#KNOWN_ORDER}, the tests will look * only at the returned contents without regard for order. */ Iterable<E> order(List<E> insertionOrder);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 2.4K bytes - Viewed (0) -
internal/bucket/encryption/bucket-sse-config_test.go
if tc.shouldPass && err != nil { t.Errorf("Test case %d: Expected to succeed but got %s", i+1, err) } if !tc.shouldPass { if err == nil || err != nil && err.Error() != tc.expectedErr.Error() { t.Errorf("Test case %d: Expected %s but got %s", i+1, tc.expectedErr, err) } continue } if tc.keyID != "" && tc.keyID != ssec.KeyID() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 16 18:28:30 UTC 2022 - 6.1K bytes - Viewed (0) -
tests/test_datastructures.py
assert response.status_code == 200, response.text assert response.json() == {"filename": "test.txt"} assert testing_file_store assert testing_file_store[0].file.closed # For UploadFile coverage, segments copied from Starlette tests @pytest.mark.anyio async def test_upload_file(): stream = io.BytesIO(b"data")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 18 12:36:40 UTC 2023 - 2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests {@code putAll} operations on a map. Can't be invoked directly; * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Chris Povirk * @author Kevin Bourrillion */ @GwtCompatible(emulated = true) @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.7K bytes - Viewed (0)