- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 458 for testcase (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
compat/maven-embedder/src/examples/simple-project/src/test/java/org/apache/maven/embedder/AppTest.java
import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ public AppTest( String testName ) { super( testName ); } /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 14:10:21 GMT 2025 - 1.4K bytes - Click Count (0) -
internal/ioutil/ioutil_test.go
{bytes.NewBuffer([]byte("abc")), 3, ""}, {bytes.NewBuffer([]byte("abc")), 4, ""}, } for i, testCase := range testCases { r := NewSkipReader(testCase.src, testCase.skipLen) b, err := io.ReadAll(r) if err != nil { t.Errorf("Case %d: Unexpected err %v", i, err) } if string(b) != testCase.expected { t.Errorf("Case %d: Got wrong result: %v", i, string(b)) } } }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 5.6K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6Tests.java
package com.google.common.collect.testing; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Suite of tests for OpenJdk 6 tests. The existence of this class is a hack because the * suitebuilder won't pick up the suites directly in the other classes because they don't extend * TestCase. Ergh. * * @author Kevin Bourrillion */ @AndroidIncompatible // test-suite builders
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Jan 25 16:19:30 GMT 2025 - 1.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java
public String getName() { return super.getName() + '[' + suiteName + ']'; } /** * Asserts that the given object is non-null, with a better failure message than {@link * TestCase#assertNull(String, Object)}. * * <p>The {@link TestCase} version (which is from JUnit 3) produces a failure message that does * not include the value of the object. * * @since 33.4.0 */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractTester.java
public String getName() { return super.getName() + '[' + suiteName + ']'; } /** * Asserts that the given object is non-null, with a better failure message than {@link * TestCase#assertNull(String, Object)}. * * <p>The {@link TestCase} version (which is from JUnit 3) produces a failure message that does * not include the value of the object. * * @since 33.4.0 */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.3K bytes - Click Count (0) -
utils/utils_test.go
trimLen: -1, expected: []int{1, 2, 3}, }, } for _, testcase := range tests { t.Run(testcase.name, func(t *testing.T) { result := RTrimSlice(testcase.input, testcase.trimLen) if !AssertEqual(result, testcase.expected) { t.Errorf("RTrimSlice(%v, %d) = %v; want %v", testcase.input, testcase.trimLen, result, testcase.expected) } }) }Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 4.9K bytes - Click Count (0) -
cmd/object-api-utils_test.go
{"lalalallalallalalalallalallalala-thestring-size-is-greater-than-63", false}, } for i, testCase := range testCases { isValidBucketName := IsValidBucketName(testCase.bucketName) if testCase.shouldPass && !isValidBucketName { t.Errorf("Test case %d: Expected \"%s\" to be a valid bucket name", i+1, testCase.bucketName) } if !testCase.shouldPass && isValidBucketName {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 24.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ForwardingBlockingQueueTest.java
* limitations under the License. */ package com.google.common.util.concurrent; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Unit tests for {@link ForwardingBlockingQueue} */ @NullUnmarked public class ForwardingBlockingQueueTest extends TestCase { public void testForwarding() { ForwardingObjectTester.testForwardingObject(ForwardingBlockingQueue.class); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 973 bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ForwardingFutureTest.java
* limitations under the License. */ package com.google.common.util.concurrent; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Unit tests for {@link ForwardingFuture} */ @NullUnmarked public class ForwardingFutureTest extends TestCase { public void testForwarding() { ForwardingObjectTester.testForwardingObject(ForwardingFuture.class); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 952 bytes - Click Count (0) -
cmd/endpoint_contrib_test.go
} for _, testCase := range ipv4TestCases { globalDomainIPs = nil updateDomainIPs(testCase.endPoints) if !testCase.expectedResult.Equals(globalDomainIPs) { t.Fatalf("error: expected = %s, got = %s", testCase.expectedResult, globalDomainIPs) } }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Apr 30 15:50:39 GMT 2021 - 2.2K bytes - Click Count (0)