- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 1,844 for test2 (0.03 sec)
-
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* </ul> * * <p>In all cases, if {@code C} needs custom logic for testing nulls, you can add an explicit * {@code testNulls()} test in the corresponding {@code CTest} class, and {@code C} will be * excluded from the automated null tests performed by this method. */ @Test public void testNulls() throws Exception { for (Class<?> classToTest : findClassesToTest(loadClassesInPackage(), NULL_TEST_METHOD_NAMES)) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:43:49 UTC 2024 - 17.9K bytes - Viewed (0) -
cmd/object-api-utils_test.go
snappyStartOffset: 0, }, } for i, test := range testCases { startOffset, snappyStartOffset, firstPart, _, _ := getCompressedOffsets(test.objInfo, test.offset, nil) if startOffset != test.startOffset { t.Errorf("Test %d - expected startOffset %d but received %d", i, test.startOffset, startOffset) } if snappyStartOffset != test.snappyStartOffset { t.Errorf("Test %d - expected snappyOffset %d but received %d",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 24.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
return FluentIterable.from(ImmutableList.<Number>of()); } /* * The following tests demonstrate the shortcomings of or() and test that the casting workaround * mentioned in the method Javadoc does in fact compile. */ @SuppressWarnings("unused") // compilation test public void testSampleCodeError1() { Optional<Integer> optionalInt = getSomeOptionalInt();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 10.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
// in our test environment, which foils the purpose of this test, so we disable the logic for // our test by setting a static field. We are changing the field in the parallel version of FRQ // and each test creates its own one of those, so there is no test interference here. Class<?> sepFrqSystemLoaderC =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 13.3K bytes - Viewed (0) -
internal/bucket/lifecycle/filter_test.go
}, { filter: fiLtAndGt, objSize: 100*humanize.MiByte + 1, want: false, }, } for i, test := range tests { t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) { if got := test.filter.BySize(test.objSize); got != test.want { t.Fatalf("Expected %v but got %v", test.want, got) } }) } } func TestTestTags(t *testing.T) { noTags := Filter{ set: true,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 27 00:01:20 UTC 2024 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/PACTest.java
import org.junit.Assert; import org.junit.Test; import jcifs.pac.PACDecodingException; import jcifs.pac.PacMac; import jcifs.util.Hexdump; /** * @author mbechler * */ @SuppressWarnings ( { "nls", "javadoc", "restriction" } ) public class PACTest { @Test public void testNFold () { // rfc3961 test vectors verifyNfold(64, "012345", "be072631276b1955");
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Oct 01 12:01:17 UTC 2023 - 22.3K bytes - Viewed (0) -
cmd/bucket-handlers_test.go
credentials auth.Credentials, t *testing.T, ) { // test cases with sample input and expected output. testCases := []struct { bucketName string accessKey string secretKey string // expected Response. expectedRespStatus int locationResponse []byte errorResponse APIErrorResponse shouldPass bool }{ // Test case - 1. // Tests for authenticated request and proper response. {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 39.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImplTest.java
assertContentType("text/x-csrc", "extractor/program/test.c", "test.c"); assertContentType("text/x-c++src", "extractor/program/test.cpp", "test.cpp"); assertContentType("text/x-chdr", "extractor/program/test.h", "test.h"); assertContentType("text/x-c++hdr", "extractor/program/test.hpp", "test.hpp"); assertContentType("text/x-java-source", "extractor/program/test.java", "test.java");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 11.6K bytes - Viewed (0) -
utils/utils_test.go
} for _, test := range assertEqualTests { t.Run(test.name, func(t *testing.T) { if out := AssertEqual(test.src, test.dst); test.out != out { t.Errorf("AssertEqual(%v, %v) want: %t, got: %t", test.src, test.dst, test.out, out) } }) } } func TestToString(t *testing.T) { tests := []struct { name string in interface{} out string
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.9K bytes - Viewed (0) -
cmd/encryption-v1_test.go
} func TestDecryptObjectInfo(t *testing.T) { for i, test := range decryptObjectMetaTests { if encrypted, err := DecryptObjectInfo(&test.info, test.request); err != test.expErr { t.Errorf("Test %d: Decryption returned wrong error code: got %d , want %d", i, err, test.expErr) } else if _, enc := crypto.IsEncrypted(test.info.UserDefined); encrypted && enc != encrypted { t.Errorf("Test %d: Decryption thinks object is encrypted but it is not", i)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Sep 24 04:17:08 UTC 2022 - 19.9K bytes - Viewed (0)