- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 608 for testDate (0.09 sec)
-
okhttp/src/test/java/okhttp3/HeadersJvmTest.kt
} @Test fun setDate() { val expected = Date(1000) val headers = Headers.Builder() .add("testDate", Date(0L)) .set("testDate", expected) .build() assertThat(headers["testDate"]).isEqualTo("Thu, 01 Jan 1970 00:00:01 GMT") assertThat(headers.getDate("testDate")).isEqualTo(expected) } @Test fun setInstant() { val expected = Instant.ofEpochMilli(1000L) val headers =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.6K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
template: ports: grpc: 3550 http: 8080 serviceAccount: test ` ) type testcase struct { description string expectedException bool args []string expectedOutput string namespace string } func TestWorkloadGroupCreate(t *testing.T) { cases := []testcase{ { description: "Invalid command args - missing service name and namespace",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 20:04:20 UTC 2024 - 14.6K bytes - Viewed (0) -
cmd/storage-rest_test.go
{"foo", "\n\tnewline \t % $ & * ^ # @ \n", testData, false, true}, } for i, testCase := range testCases { if testCase.ignoreIfWindows && runtime.GOOS == "windows" { continue } err := storage.AppendFile(context.Background(), testCase.volumeName, testCase.objectName, testCase.data) expectErr := (err != nil) if expectErr != testCase.expectErr {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 22 07:04:48 UTC 2024 - 11.5K bytes - Viewed (0) -
cmd/server-main_test.go
expectedErr: true, }, { config: "testdata/config/invalid-types.yaml", expectedErr: true, }, { config: "testdata/config/invalid-disks.yaml", expectedErr: true, }, } { testcase := testcase t.Run(testcase.config, func(t *testing.T) { sctx := &serverCtxt{} err := mergeServerCtxtFromConfigFile(testcase.config, sctx)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Dec 07 09:33:56 UTC 2023 - 3.1K bytes - Viewed (0) -
internal/s3select/select_test.go
if !reflect.DeepEqual(gotS, testCase.wantResult) { t.Errorf("received response does not match with expected reply. Query: %s\ngot: %s\nwant:%s", testCase.query, gotS, testCase.wantResult) } }) t.Run("simd-"+testCase.name, func(t *testing.T) { if !simdjson.SupportedCPU() { t.Skip("No CPU support") } testReq := testCase.requestXML if len(testReq) == 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 23 07:19:11 UTC 2023 - 76.2K bytes - Viewed (0) -
compat/maven-embedder/src/examples/simple-project/src/test/java/org/apache/maven/embedder/AppTest.java
import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ public AppTest( String testName ) { super( testName ); } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 651 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
} URL testFileUrl = IoTestCase.class.getResource("testdata/i18n.txt"); if (testFileUrl == null) { throw new RuntimeException("unable to locate testdata directory"); } if (testFileUrl.getProtocol().equals("file")) { try { File testFile = new File(testFileUrl.toURI()); testDir = testFile.getParentFile(); // the testdata directory } catch (Exception ignore) {
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-tests/test/com/google/common/io/IoTestCase.java
} URL testFileUrl = IoTestCase.class.getResource("testdata/i18n.txt"); if (testFileUrl == null) { throw new RuntimeException("unable to locate testdata directory"); } if (testFileUrl.getProtocol().equals("file")) { try { File testFile = new File(testFileUrl.toURI()); testDir = testFile.getParentFile(); // the testdata directory } catch (Exception ignore) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 31 12:36:13 UTC 2024 - 5.6K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject_test.go
" --valuesFile testdata/inject-values.yaml", " "), GoldenFilename: "testdata/deployment/hello.yaml.injected", }, { // case 4 with only iop files Args: strings.Split( "--operatorFileName testdata/istio-operator.yaml"+ " --injectConfigFile testdata/inject-config-iop.yaml -f testdata/deployment/hello.yaml", " "), GoldenFilename: "testdata/deployment/hello.yaml.iop.injected",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 3.4K bytes - Viewed (0) -
istioctl/pkg/authz/authz_test.go
) func TestAuthz(t *testing.T) { cases := []testutil.TestCase{ { Args: []string{"-f fake.yaml"}, ExpectedOutput: "Error: failed to get config dump from file fake.yaml: open fake.yaml: no such file or directory\n", WantException: true, }, { Args: []string{"-f", "testdata/configdump.yaml"}, ExpectedOutput: `ACTION AuthorizationPolicy RULES
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jun 21 14:20:23 UTC 2023 - 1.4K bytes - Viewed (0)