- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 2,775 for Rtest (0.03 sec)
-
cmd/encryption-v1_test.go
} func TestDecryptObjectInfo(t *testing.T) { for i, test := range decryptObjectMetaTests { if encrypted, err := DecryptObjectInfo(&test.info, test.request); err != test.expErr { t.Errorf("Test %d: Decryption returned wrong error code: got %d , want %d", i, err, test.expErr) } else if _, enc := crypto.IsEncrypted(test.info.UserDefined); encrypted && enc != encrypted { t.Errorf("Test %d: Decryption thinks object is encrypted but it is not", i)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Sep 24 04:17:08 UTC 2022 - 19.9K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java
() -> listener.transferStarted(event(session, resource, TransferEvent.EventType.STARTED))); } @Test void handlesAbsentTransferSource() throws InterruptedException, TransferCancelledException { TransferResource resource = new TransferResource(null, null, "http://maven.org/test/test-resource", null, null); RepositorySystemSession session = Mockito.mock(RepositorySystemSession.class);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
internal/crypto/header_test.go
_, got := IsRequested(test.Header) if Requested(test.Header) != got { // Test if result matches. t.Errorf("Requested mismatch, want %v, got %v", Requested(test.Header), got) } got = got && S3.IsRequested(test.Header) if got != test.Expected { t.Errorf("SSE-S3: Test %d: Wanted %v but got %v", i, test.Expected, got) } } for i, test := range ssecIsRequestedTests { _, got := IsRequested(test.Header)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 13 14:52:15 UTC 2022 - 21.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/AddressTest.kt
import okhttp3.internal.http.RecordingProxySelector import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Test class AddressTest { private val factory = TestValueFactory().apply { uriHost = "example.com" uriPort = 80 } @AfterEach fun tearDown() { factory.close() } @Test fun equalsAndHashcode() { val a = factory.newAddress() val b = factory.newAddress()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/text/TokenizerTest.java
*/ package org.codelibs.core.text; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import org.junit.Test; /** * @author higa * */ public class TokenizerTest { /** * @throws Exception */ @Test public void testEOF() throws Exception { final Tokenizer tokenizer = new Tokenizer("");
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ScmTest.java
} @Test void testEqualsNullSafe() { assertFalse(new Scm().equals(null)); new Scm().equals(new Scm()); } @Test void testEqualsIdentity() { Scm thing = new Scm(); assertTrue(thing.equals(thing)); } @Test void testToStringNullSafe() { assertNotNull(new Scm().toString()); } public void testToStringNotNonsense() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
import org.junit.jupiter.api.Disabled import org.junit.jupiter.api.Test internal class DerTest { @Test fun `decode tag and length`() { val buffer = Buffer() .writeByte(0b00011110) .writeByte(0b10000001) .writeByte(0b11001001) val derReader = DerReader(buffer) derReader.read("test") { header -> assertThat(header.tagClass).isEqualTo(DerHeader.TAG_CLASS_UNIVERSAL)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 31.7K bytes - Viewed (0) -
cmd/erasure-heal_test.go
} func TestErasureHeal(t *testing.T) { for i, test := range erasureHealTests { if test.offDisks < test.badStaleDisks { // test case sanity check t.Fatalf("Test %d: Bad test case - number of stale drives cannot be less than number of badstale drives", i) } // create some test data setup, err := newErasureTestSetup(t, test.dataBlocks, test.disks-test.dataBlocks, test.blocksize) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 7.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
} /** * This test checks an implementation dependent feature. It tests that the method {@code addEdge} * will silently add the missing nodes to the graph, then add the edge connecting them. We are not * using the proxy methods here as we want to test {@code addEdge} when the end-points are not * elements of the graph. */ @Test public void addEdge_nodesNotInGraph() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 21.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersTest.kt
package okhttp3 import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isNotEqualTo import kotlin.test.Test import kotlin.test.assertFailsWith import okhttp3.Headers.Companion.headersOf import okhttp3.Headers.Companion.toHeaders class HeadersTest { @Test fun ofTrims() { val headers = headersOf("\t User-Agent \n", " \r OkHttp ") assertThat(headers.name(0)).isEqualTo("User-Agent")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.6K bytes - Viewed (0)