- Sort Score
- Result 10 results
- Languages All
Results 551 - 560 of 618 for testcase (0.71 sec)
-
android/guava-tests/test/com/google/common/io/AppendableWriterTest.java
import java.io.Writer; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link AppendableWriter}. * * @author Alan Green */ @NullUnmarked public class AppendableWriterTest extends IoTestCase { /** Helper class for testing behavior with Flushable and Closeable targets. */ private static class SpyAppendable implements Appendable, Flushable, Closeable { boolean flushed; boolean closed;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 3.3K bytes - Viewed (0) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.9K bytes - Viewed (1) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Aug 16 18:28:30 UTC 2022 - 6.1K bytes - Viewed (0) -
internal/bucket/object/lock/lock_test.go
) func TestParseMode(t *testing.T) { testCases := []struct { value string expectedMode RetMode }{ { value: "governance", expectedMode: RetGovernance, }, { value: "complIAnce", expectedMode: RetCompliance, }, { value: "gce", expectedMode: "", }, } for _, tc := range testCases { if parseRetMode(tc.value) != tc.expectedMode {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 18.4K bytes - Viewed (0) -
internal/bucket/replication/rule_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package replication import ( "bytes" "fmt" "testing" ) func TestMetadataReplicate(t *testing.T) { testCases := []struct { inputConfig string opts ObjectOpts expectedResult bool }{ // case 1 - rule with replica modification enabled; not a replica {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.6K bytes - Viewed (0) -
.teamcity/src/main/kotlin/util/RerunFlakyTest.kt
id(id) val testJvmVendorParameter = "testJavaVendor" val testJvmVersionParameter = "testJavaVersion" val testTaskParameterName = "testTask" val testNameParameterName = "testName" val testTaskOptionsParameterName = "testTaskOptions" applyDefaultSettings(os, arch, buildJvm = BuildToolBuildJvm, timeout = 0)
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Feb 19 08:02:04 UTC 2025 - 5.1K bytes - Viewed (0) -
src/archive/tar/writer_test.go
} testReadFrom struct { // ReadFrom(testFile{ops}) == (wantCnt, wantErr) ops fileOps wantCnt int64 wantErr error } testClose struct { // Close() == wantErr wantErr error } testFnc any // testHeader | testWrite | testReadFrom | testClose ) vectors := []struct { file string // Optional filename of expected output obscured bool // Whether file is obscured tests []testFncRegistered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Mon Dec 15 16:34:13 UTC 2025 - 40.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
private TestCreateContextRequest testRequest; private byte[] testName; private byte[] testBuffer; @BeforeEach void setUp() { testName = "CREATE_REQUEST_TEST".getBytes(StandardCharsets.UTF_8); testRequest = new TestCreateContextRequest(testName); testBuffer = new byte[256]; } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java
*/ @Test void testConstructorWithValidHash() { byte[] testHash = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; AvChannelBindings avChannelBindings = new AvChannelBindings(testHash); assertEquals(AvPair.MsvAvChannelBindings, avChannelBindings.getType(), "Type should be MsvAvChannelBindings"); assertArrayEquals(testHash, avChannelBindings.getRaw(), "Value should match the provided hash"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/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 Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 5.7K bytes - Viewed (0)