- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 659 for testHash (0.05 sec)
-
internal/event/name_test.go
} for i, testCase := range testCases { data, err := json.Marshal(testCase.name) expectErr := (err != nil) if expectErr != testCase.expectErr { t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr) } if !testCase.expectErr { if !reflect.DeepEqual(data, testCase.expectedData) { t.Fatalf("test %v: data: expected: %v, got: %v", i+1, string(testCase.expectedData), string(data))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 7.4K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
import java.util.Locale; import junit.framework.TestCase; /** * Since annotations have some reusability issues that force copy and paste all over the place, it's * worth having a test to ensure that all our Feature enums have their annotations correctly set up. * * @author George van den Driessche */ public class FeatureEnumTest extends TestCase {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:09:00 UTC 2024 - 4.3K bytes - Viewed (0) -
cmd/storage-rest_test.go
} result := make([]byte, 100) for i, testCase := range testCases { result = result[testCase.offset:3] _, err := storage.ReadFile(context.Background(), testCase.volumeName, testCase.objectName, testCase.offset, result, nil) expectErr := (err != nil) if expectErr != testCase.expectErr { t.Fatalf("case %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr) } if !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) -
internal/event/rulesmap_test.go
{rulesMapCase3, rulesMapToAddCase3, expectedResultCase3}, } for i, testCase := range testCases { testCase.rulesMap.Add(testCase.rulesMapToAdd) if !reflect.DeepEqual(testCase.rulesMap, testCase.expectedResult) { t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.expectedResult, testCase.rulesMap) } } } func TestRulesMapRemove(t *testing.T) { rulesMapCase1 := make(RulesMap)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jan 05 18:43:06 UTC 2024 - 6.8K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
resultV, err = obj.ListObjectVersions(context.Background(), testCase.bucketName, testCase.prefix, testCase.marker, "", testCase.delimiter, testCase.maxKeys) } else { t.Log("ListObjects, bucket:", testCase.bucketName, "prefix:", testCase.prefix, "marker:", testCase.marker, "delimiter:", testCase.delimiter, "maxkeys:", testCase.maxKeys)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 11:07:40 UTC 2024 - 73.1K bytes - Viewed (0) -
internal/event/arn_test.go
} for i, testCase := range testCases { arn := &ARN{} err := xml.Unmarshal(testCase.data, &arn) expectErr := (err != nil) if expectErr != testCase.expectErr { t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr) } if !testCase.expectErr { if *arn != *testCase.expectedARN { t.Fatalf("test %v: data: expected: %v, got: %v", i+1, testCase.expectedARN, arn) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 3.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CloseablesTest.java
import java.io.Reader; import junit.framework.TestCase; /** * Unit tests for {@link Closeables}. * * <p>Checks proper closing behavior, and ensures that IOExceptions on Closeable.close() are not * propagated out from the {@link Closeables#close} method if {@code swallowException} is true. * * @author Michael Lancaster */ public class CloseablesTest extends TestCase { private Closeable mockCloseable;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java
import java.nio.file.attribute.PosixFileAttributes; import junit.framework.TestCase; /** * Unit test for {@link Files#createTempDir}. * * @author Chris Nokleberg */ @SuppressWarnings("deprecation") // tests of a deprecated method public class FilesCreateTempDirTest extends TestCase { public void testCreateTempDir() throws IOException { if (JAVA_IO_TMPDIR.value().equals("/sdcard")) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 06 17:11:11 UTC 2023 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.NavigableSet; import java.util.NoSuchElementException; import java.util.Set; import java.util.SortedSet; import junit.framework.TestCase; /** * Class that contains nested abstract tests for filtered collection views, along with their * implementation helpers. * * @author Louis Wasserman */ /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13K bytes - Viewed (0) -
cmd/erasure-sets_test.go
func BenchmarkCrcHash(b *testing.B) { cases := []struct { key int }{ {16}, {64}, {128}, {256}, {512}, {1024}, } for _, testCase := range cases { testCase := testCase key := randString(testCase.key) b.Run("", func(b *testing.B) { b.SetBytes(1024) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { crcHashMod(key, 16) } }) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 12 07:21:56 UTC 2024 - 6.9K bytes - Viewed (0)