- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 309 for testMask (0.2 sec)
-
guava-tests/test/com/google/common/collect/FluentIterableTest.java
} } public void testLast_emptyList() { List<String> list = Collections.emptyList(); assertThat(FluentIterable.from(list).last()).isAbsent(); } public void testLast_sortedSet() { SortedSet<String> sortedSet = ImmutableSortedSet.of("b", "c", "a"); assertThat(FluentIterable.from(sortedSet).last()).hasValue("c"); } public void testLast_emptySortedSet() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 18:35:19 GMT 2024 - 31.1K 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 */ /*
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 12.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ContiguousSetTest.java
import java.util.Collection; import java.util.Set; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * @author Gregory Kick */ @GwtCompatible(emulated = true) public class ContiguousSetTest extends TestCase { private static final DiscreteDomain<Integer> NOT_EQUAL_TO_INTEGERS = new DiscreteDomain<Integer>() { @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 19.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
import java.util.Collection; import java.util.Set; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * @author Gregory Kick */ @GwtCompatible(emulated = true) public class ContiguousSetTest extends TestCase { private static final DiscreteDomain<Integer> NOT_EQUAL_TO_INTEGERS = new DiscreteDomain<Integer>() { @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 19.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
} } public void testLast_emptyList() { List<String> list = Collections.emptyList(); assertThat(FluentIterable.from(list).last()).isAbsent(); } public void testLast_sortedSet() { SortedSet<String> sortedSet = ImmutableSortedSet.of("b", "c", "a"); assertThat(FluentIterable.from(sortedSet).last()).hasValue("c"); } public void testLast_emptySortedSet() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jun 06 17:32:08 GMT 2023 - 30.6K bytes - Viewed (0) -
android/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 */ /*
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 12.4K bytes - Viewed (0) -
cmd/bucket-lifecycle-handlers_test.go
}, ) { for i, testCase := range testCases { // initialize httptest Recorder, this records any mutations to response writer inside the handler. rec := httptest.NewRecorder() // construct HTTP request req, err := newTestSignedRequestV4(testCase.method, getBucketLifecycleURL("", testCase.bucketName), int64(len(testCase.body)), bytes.NewReader(testCase.body), testCase.accessKey, testCase.secretKey, nil)
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Jun 13 20:52:33 GMT 2023 - 11.2K bytes - Viewed (0) -
cmd/signature-v4-utils_test.go
if testCase.inputHeaderKey != "" { q.Add(testCase.inputHeaderKey, testCase.inputHeaderValue) } inputReq.URL.RawQuery = q.Encode() } else if testCase.inputHeaderKey != "" { inputReq.Header.Set(testCase.inputHeaderKey, testCase.inputHeaderValue) } inputReq.ParseForm() actualResult := skipContentSha256Cksum(inputReq) if testCase.expectedResult != actualResult {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Apr 05 21:26:41 GMT 2024 - 14.3K bytes - Viewed (0) -
cmd/auth-handler_test.go
} // Validates all testcases. for i, testCase := range testCases { s3Error := isReqAuthenticated(ctx, testCase.req, globalSite.Region, serviceS3) if s3Error != testCase.s3Error { if _, err := io.ReadAll(testCase.req.Body); toAPIErrorCode(ctx, err) != testCase.s3Error { t.Fatalf("Test %d: Unexpected S3 error: want %d - got %d (got after reading request %s)", i, testCase.s3Error, s3Error, toAPIError(ctx, err).Code) } }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 15.4K 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 {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Jan 30 20:43:25 GMT 2024 - 11.4K bytes - Viewed (0)