- Sort Score
- Result 10 results
- Languages All
Results 661 - 670 of 690 for testCase (0.07 sec)
-
cmd/admin-handlers_test.go
t.Errorf("Expected %s, got %s", globalMinioDefaultRegion, results.Region) } } // TestToAdminAPIErrCode - test for toAdminAPIErrCode helper function. func TestToAdminAPIErrCode(t *testing.T) { testCases := []struct { err error expectedAPIErr APIErrorCode }{ // 1. Server not in quorum. { err: errErasureWriteQuorum, expectedAPIErr: ErrAdminConfigNoQuorum, },
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 13.9K bytes - Viewed (0) -
internal/bucket/encryption/bucket-sse-config_test.go
}, Rules: []Rule{ { DefaultEncryptionAction: EncryptionAction{ Algorithm: AWSKms, MasterKeyID: "arn:aws:kms:my-minio-key", }, }, }, } testCases := []struct { inputXML string keyID string expectedErr error shouldPass bool expectedConfig *BucketSSEConfig }{ // 1. Valid XML SSE-S3 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 16 18:28:30 UTC 2022 - 6.1K bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts
implementation(project(":internal-architecture-testing")) } } targets { all { testTask.configure { testClassesDirs += sharedArchTestClasses.filter { it.isDirectory } classpath += sourceSets["main"].output.classesDirs
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jul 03 16:00:02 UTC 2024 - 3K bytes - Viewed (0) -
cmd/xl-storage_windows_test.go
package cmd import ( "bytes" "context" "fmt" "testing" ) // Test if various paths work as expected when converted to UNC form func TestUNCPaths(t *testing.T) { testCases := []struct { objName string pass bool }{ {"/abcdef", true}, {"/a/b/c/d/e/f/g", true}, {string(bytes.Repeat([]byte("界"), 85)), true}, // Each path component must be <= 255 bytes long.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Nov 29 06:35:16 UTC 2023 - 2.8K bytes - Viewed (0) -
cmd/xl-storage-format-v2_test.go
// Subsequently deleting fileInfos[6].versionID should return fileInfos[6].dataDir since there are no other object versions sharing this data dir. count := len(testCases) for i := 4; i < len(testCases); i++ { tc := testCases[i] dataDir, err := xl.DeleteVersion(fileInfos[i]) failOnErr(count+1, err) if dataDir != tc.expectedDataDir { t.Fatalf("Expected %s but got %s", tc.expectedDataDir, dataDir) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Mar 08 17:50:48 UTC 2024 - 36.4K bytes - Viewed (0) -
internal/bucket/lifecycle/filter_test.go
"testing" "github.com/dustin/go-humanize" ) // TestUnsupportedFilters checks if parsing Filter xml with // unsupported elements returns appropriate errors func TestUnsupportedFilters(t *testing.T) { testCases := []struct { inputXML string expectedErr error }{ { // Filter with And tags inputXML: ` <Filter> <And> <Prefix>key-prefix</Prefix> </And> </Filter>`,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 27 00:01:20 UTC 2024 - 7.2K bytes - Viewed (0) -
internal/bucket/versioning/versioning_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package versioning import ( "encoding/xml" "strings" "testing" ) func TestParseConfig(t *testing.T) { testcases := []struct { input string err error excludedPrefixes []string excludeFolders bool }{ { input: `<VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun May 08 05:06:44 UTC 2022 - 8.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java
FtpAuthentication auth = new FtpAuthentication(); auth.setServer("hostname"); auth.setPort(21); auth.setUsername("testuser"); auth.setPassword("testpass"); assertTrue(auth.matches("ftp://hostname:21/test/aaa.html")); assertTrue(auth.matches("ftp://hostname/test/aaa.html")); assertTrue(auth.matches("ftp://hostname:21/test"));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java
assertEquals(a, sortedSet.last()); } @CollectionSize.Require(SEVERAL) public void testFirst() { assertEquals(a, sortedSet.first()); } @CollectionSize.Require(SEVERAL) public void testLast() { assertEquals(c, sortedSet.last()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.2K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java
assertActivation(false, profile, newContext(null, newProperties("linux", "3.1.0", "amd64"))); } @Test void testName() { Profile profile = newProfile(ActivationOS.newBuilder().name("windows")); assertActivation(false, profile, newContext(null, newProperties("linux", "6.5.0-1014-aws", "amd64")));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.2K bytes - Viewed (0)