- Sort Score
- Result 10 results
- Languages All
Results 2151 - 2160 of 4,609 for text (0.04 sec)
-
src/test/java/org/codelibs/core/io/CloseableUtilTest.java
import static org.junit.Assert.assertThat; import java.io.IOException; import java.io.OutputStream; import org.junit.Test; /** * @author shot */ public class CloseableUtilTest { /** * @throws Exception */ @Test public void testClose() throws Exception { final NotifyOutputStream out = new NotifyOutputStream(); CloseableUtil.close(out);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.2K bytes - Viewed (0) -
cmd/auth-handler_test.go
expectedResult bool }{ // Test case - 1. // Test case with query key "AWSAccessKeyId" set. {"", "", false}, // Test case - 2. {"AWSAccessKeyId", "", true}, // Test case - 3. {"X-Amz-Content-Sha256", "", false}, } for i, testCase := range testCases { // creating an input HTTP request. // Only the query parameters are relevant for this particular test.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15.4K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers_test.go
wantPodName: "foo-abc", wantNamespace: "test", }, { name: "Deployment/foo.istio-system", wantPodName: "foo-abc", wantNamespace: "istio-system", }, { name: "Deployment/foo", wantPodName: "foo-abc", wantNamespace: "test", }, } factory := cmdtesting.NewTestFactory().WithNamespace("test") ns := scheme.Codecs.WithoutConversion()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 09 18:17:49 UTC 2023 - 6.6K bytes - Viewed (0) -
cmd/batch-job-common-types_test.go
sizeFilter: BatchJobSizeFilter{ LowerBound: 1 << 20, }, want: true, }, } for i, test := range tests { t.Run(fmt.Sprintf("test-%d", i+1), func(t *testing.T) { if got := test.sizeFilter.InRange(test.objSize); got != test.want { t.Fatalf("Expected %v but got %v", test.want, got) } }) } } func TestBatchJobSizeValidate(t *testing.T) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 08 23:22:28 UTC 2024 - 3.3K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java
protected Version newVersion(String version) { return modelVersionParser.parseVersion(version); } @Test void testEmptyVersion() { assertOrder(X_EQ_Y, "0", ""); } @Test void testNumericOrdering() { assertOrder(X_LT_Y, "2", "10"); assertOrder(X_LT_Y, "1.2", "1.10"); assertOrder(X_LT_Y, "1.0.2", "1.0.10");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java
File testData = getTestFile(directory); FileUtils.deleteDirectory(testData); testData.mkdirs(); Artifact artifact = artifactFactory.createProjectArtifact("test", "test", "1.0"); artifact.setFile(new File(testData, "test-1.0.pom")); assertFalse(artifact.getFile().exists()); return artifact; } private Artifact createTestArtifact(String directory, String type) throws IOException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.4K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
Path test = Paths.get("src/test/projects/root-attribute"); assertEquals(test, new DefaultRootLocator().findRoot(test.resolve("child"))); } @Test public void testPropertiesInterpolation() throws Exception { FileSystem fs = Jimfs.newFileSystem(Configuration.windows()); Path mavenHome = fs.getPath("C:\\maven"); Files.createDirectories(mavenHome);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
*/ package com.google.common.graph; import static com.google.common.truth.Truth.assertThat; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; /** Tests for {@link ImmutableValueGraph} . */ @RunWith(JUnit4.class) public class ImmutableValueGraphTest { @Test public void immutableValueGraph() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jan 09 20:24:43 UTC 2020 - 6.4K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt
} /** No SNI for literal IPv6 addresses. */ @Test fun ipv6() { val recordedRequest = requestToHostnameViaProxy("2607:f8b0:400b:804::200e") assertThat(recordedRequest.requestUrl!!.host).isEqualTo("2607:f8b0:400b:804::200e") assertThat(recordedRequest.handshakeServerNames).isEmpty() } /** No SNI for literal IPv4 addresses. */ @Test fun ipv4() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.9K bytes - Viewed (0) -
cmd/signature-v2_test.go
} for i, test := range testCases { formValues := make(http.Header) formValues.Set("Awsaccesskeyid", test.accessKey) formValues.Set("Signature", test.signature) formValues.Set("Policy", test.policy) _, errCode := doesPolicySignatureV2Match(formValues) if errCode != test.errCode { t.Fatalf("(%d) expected to get %s, instead got %s", i+1, niceError(test.errCode), niceError(errCode)) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 14 10:08:40 UTC 2022 - 8K bytes - Viewed (0)