- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 371 for testTask (0.04 sec)
-
cmd/endpoint-ellipses_test.go
gotIndexes, err := getSetIndexes(testCase.args, testCase.totalSizes, testCase.envOverride, argPatterns) if err != nil && testCase.success { t.Errorf("Expected success but failed instead %s", err) } if err == nil && !testCase.success { t.Errorf("Expected failure but passed instead") } if !reflect.DeepEqual(testCase.indexes, gotIndexes) { t.Errorf("Expected %v, got %v", testCase.indexes, gotIndexes) } })
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 15.1K bytes - Viewed (0) -
cmd/common-main_test.go
t.Error(errors.New("expected error, found success")) } if len(ekvs) != len(testCase.expectedEkvs) { t.Errorf("expected %v keys, got %v keys", len(testCase.expectedEkvs), len(ekvs)) } if !reflect.DeepEqual(ekvs, testCase.expectedEkvs) { t.Errorf("expected %v, got %v", testCase.expectedEkvs, ekvs) } }) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3.7K bytes - Viewed (0) -
cmd/object-handlers_test.go
getPutObjectURL("", testCase.bucketName, testCase.objectName), int64(testCase.dataLen), testCase.chunkSize, bytes.NewReader(testCase.data), testCase.accessKey, testCase.secretKey) case testCase.contentEncoding == "": req, err = newTestStreamingSignedRequest(http.MethodPut, getPutObjectURL("", testCase.bucketName, testCase.objectName), int64(testCase.dataLen), testCase.chunkSize, bytes.NewReader(testCase.data),
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 163.1K bytes - Viewed (0) -
cmd/streaming-signature-v4_test.go
} } } // Test parsing s3 chunk extension. func TestParseS3ChunkExtension(t *testing.T) { type testCase struct { buf []byte chunkSize []byte chunkSign []byte } tests := []testCase{ // Test - 1 valid case. { []byte("10000;chunk-signature=ad80c730a21e5b8d04586a2213dd63b9a0e99e0e2307b0ade35a65485a288648"), []byte("10000"),
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.7K bytes - Viewed (0) -
cmd/signature-v4_test.go
"Policy": []string{"policy"}, }, expected: ErrNone, }, } // Run each test case individually. for i, testCase := range testCases { _, code := doesPolicySignatureMatch(testCase.form) if code != testCase.expected { t.Errorf("(%d) expected to get %s, instead got %s", i, niceError(testCase.expected), niceError(code)) } } } func TestDoesPresignedSignatureMatch(t *testing.T) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/BigIntegerConversionUtilTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.convert; import junit.framework.TestCase; /** * @author higa * */ public class BigIntegerConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToBigIntegerForEmptyString() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 960 bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/ShortConversionUtilTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.convert; import junit.framework.TestCase; /** * @author higa * */ public class ShortConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToShort() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ModifierUtilTest.java
package org.codelibs.core.lang; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.HashMap; import java.util.Map; import junit.framework.TestCase; /** * @author shot */ public class ModifierUtilTest extends TestCase { /** * @throws Exception */ public void testIsPublic() throws Exception { final Field f = Hoge.class.getDeclaredField("s");
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/xml/SAXParserFactoryUtilTest.java
import junit.framework.TestCase; import org.codelibs.core.io.ResourceUtil; import org.xml.sax.Attributes; import org.xml.sax.InputSource; import org.xml.sax.SAXException; import org.xml.sax.helpers.DefaultHandler; /** * {@link SAXParserFactoryUtil}のテストです。 * * @author koichik */ public class SAXParserFactoryUtilTest extends TestCase { boolean included; /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java
*/ package org.codelibs.core.convert; import java.text.DecimalFormatSymbols; import java.util.Locale; import junit.framework.TestCase; import org.codelibs.core.misc.LocaleUtil; /** * @author shot * */ public class NumberConversionUtilTest extends TestCase { /** * @throws Exception */ public void testConvertNumber_byte() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 3.2K bytes - Viewed (0)