- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 639 for testParse (0.14 sec)
-
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 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 05 21:26:41 UTC 2024 - 14.3K bytes - Viewed (0) -
cmd/erasure-metadata-utils_test.go
// Validates list of all the testcases for returning valid errors. for i, testCase := range testCases { gotErr := reduceReadQuorumErrs(context.Background(), testCase.errs, testCase.ignoredErrs, 5) if gotErr != testCase.err { t.Errorf("Test %d : expected %s, got %s", i+1, testCase.err, gotErr) } gotNewErr := reduceWriteQuorumErrs(context.Background(), testCase.errs, testCase.ignoredErrs, 6) if gotNewErr != errErasureWriteQuorum {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 7.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/jar/JarFileUtilTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.jar; import java.io.File; import java.net.URL; import junit.framework.TestCase; /** * @author koichik */ public class JarFileUtilTest extends TestCase { /** * @throws Exception */ public void testToJarFilePath() throws Exception { final File f = new File("/Program Files/foo.jar");
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.misc; import junit.framework.TestCase; /** * @author higa * */ public class Base64UtilTest extends TestCase { private static final String ORIGINAL = "how now brown cow\r\n"; private static final byte[] BINARY_DATA = ORIGINAL.getBytes();
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/xml/DomUtilTest.java
*/ package org.codelibs.core.xml; import javax.xml.parsers.DocumentBuilder; import junit.framework.TestCase; import org.codelibs.core.io.ResourceUtil; import org.w3c.dom.Document; import org.w3c.dom.Element; /** * @author higa * */ public class DomUtilTest extends TestCase { /** * @throws Exception */ public void testGetContentsAsStream() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/DefaultsTest.java
import static com.google.common.truth.Truth.assertThat; import com.google.common.annotations.GwtIncompatible; import junit.framework.TestCase; /** * Unit test for {@link Defaults}. * * @author Jige Yu */ @GwtIncompatible public class DefaultsTest extends TestCase { public void testGetDefaultValue() { assertEquals(false, Defaults.defaultValue(boolean.class).booleanValue());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 03 18:10:55 UTC 2024 - 1.6K bytes - Viewed (0) -
cmd/object-api-deleteobject_test.go
[]string{"object0"}, }, } for i, testCase := range testCases { err := obj.MakeBucket(context.Background(), testCase.bucketName, MakeBucketOptions{}) if err != nil { t.Fatalf("%s : %s", instanceType, err.Error()) } for _, object := range testCase.objectToUploads { md5Bytes := md5.Sum([]byte(object.content))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 4.1K bytes - Viewed (0) -
cmd/api-utils_test.go
{"_user", "url", "_user"}, {"firstname.lastname", "url", "firstname.lastname"}, } for i, testCase := range testCases { t.Run(fmt.Sprintf("Test%d", i+1), func(t *testing.T) { outputText := s3EncodeName(testCase.inputText, testCase.encodingType) if testCase.expectedOutput != outputText { t.Errorf("Expected `%s`, got `%s`", testCase.expectedOutput, outputText) } }) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/TraverserUtilTest.java
assertThat(set.contains(TraverserUtilTest.class.getName()), is(true)); assertThat(set.contains(TestCase.class.getName()), is(not(true))); } /** * @throws Exception */ @Test public void testFromClass_JarFile() throws Exception { final Traverser traverser = TraversalUtil.getTraverser(TestCase.class); assertThat(traverser, is(notNullValue()));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6.4K bytes - Viewed (0) -
cmd/admin-handlers-users-race_test.go
newTestSuiteIAM(bt, true), ) } for i, testCase := range testCases { etcdStr := "" if testCase.withEtcdBackend { etcdStr = " (with etcd backend)" } t.Run( fmt.Sprintf("Test: %d, ServerType: %s%s", i+1, testCase.serverType, etcdStr), func(t *testing.T) { runAllIAMConcurrencyTests(testCase, &check{t, testCase.serverType}) }, ) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 28 09:06:25 UTC 2024 - 4K bytes - Viewed (0)