- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 2,775 for Rtest (0.03 sec)
-
okhttp/src/test/java/okhttp3/CertificatePinnerKotlinTest.kt
import org.junit.jupiter.api.Test class CertificatePinnerKotlinTest { @Test fun successfulCheckSha1Pin() { val certificatePinner = CertificatePinner.Builder() .add("example.com", "sha1/" + certA1.certificate.sha1Hash().base64()) .build() certificatePinner.check("example.com", listOf(certA1.certificate)) } @Test fun successfulFindMatchingPins() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt
import assertk.assertions.isEqualTo import assertk.assertions.isGreaterThan import assertk.assertions.isLessThan import kotlin.test.assertEquals import kotlin.test.assertFailsWith import okio.Buffer import okio.FileSystem import okio.Path.Companion.toPath import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test /** Confirm we get the expected table whether we build it from the .txt file or compact that. */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.9K bytes - Viewed (0) -
.gitmodules
[submodule "okhttp-hpacktests/src/test/resources/hpack-test-case"] path = okhttp-hpacktests/src/test/resources/hpack-test-case
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Dec 10 09:33:37 UTC 2022 - 182 bytes - Viewed (0) -
internal/crypto/sse_test.go
}, ExpectedErr: ErrMissingCustomerKeyMD5, }, } func TestSSECUnsealObjectKey(t *testing.T) { for i, test := range ssecUnsealObjectKeyTests { if _, err := SSEC.UnsealObjectKey(test.Headers, test.Metadata, test.Bucket, test.Object); err != test.ExpectedErr { t.Errorf("Test %d: got: %v - want: %v", i, err, test.ExpectedErr) } } } var sseCopyUnsealObjectKeyTests = []struct { Headers http.Header
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 8.4K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/common/admin/crud/header.jsp
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%> <h3 class="card-title"> <c:if test="${crudMode == null}"> <la:message key="labels.crud_title_list" /> </c:if> <c:if test="${crudMode == 1}"> <la:message key="labels.crud_title_create" /> </c:if> <c:if test="${crudMode == 2}"> <la:message key="labels.crud_title_edit" /> </c:if> <c:if test="${crudMode == 3}"> <la:message key="labels.crud_title_delete" /> </c:if>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Feb 07 10:28:50 UTC 2020 - 1K bytes - Viewed (0) -
internal/config/crypto_test.go
if err != nil { t.Fatalf("Failed to create KMS: %v", err) } for i, test := range encryptDecryptTests { ciphertext, err := Encrypt(KMS, bytes.NewReader(test.Data), test.Context) if err != nil { t.Fatalf("Test %d: failed to encrypt stream: %v", i, err) } data, err := io.ReadAll(ciphertext) if err != nil { t.Fatalf("Test %d: failed to encrypt stream: %v", i, err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 3.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/InterceptorTest.kt
assertThat(recordedRequest.method).isEqualTo("POST") assertThat(recordedRequest.body.readUtf8()).isEqualTo("abc") } @Test fun applicationInterceptorsRewriteRequestToServer() { rewriteRequestToServer(false) } @Test fun networkInterceptorsRewriteRequestToServer() { rewriteRequestToServer(true) } private fun rewriteRequestToServer(network: Boolean) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 27.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java
import org.codelibs.core.beans.impl.sub.MogeBeanFactory; import org.codelibs.core.exception.IllegalPropertyRuntimeException; import org.junit.Test; /** * @author higa * */ public class PropertyDescImplTest { /** * @throws Exception */ @Test public void testSetValue() throws Exception { final MyBean myBean = new MyBean();
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt
import javax.net.ssl.X509TrustManager import kotlin.test.assertFailsWith import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import okhttp3.CertificatePinner.Companion.pin import okhttp3.testing.PlatformRule import okhttp3.tls.HandshakeCertificates import okhttp3.tls.HeldCertificate import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 18.7K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/route_test.go
"os" "path" "testing" "istio.io/istio/pilot/test/util" "istio.io/istio/pkg/test/util/assert" ) func TestDescribeRouteDomains(t *testing.T) { tests := []struct { desc string domains []string expected string }{ { desc: "test zero domain", domains: []string{}, expected: "", }, { desc: "test only one domain", domains: []string{"example.com"},
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 29 12:37:14 UTC 2023 - 2.8K bytes - Viewed (0)