- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 618 for testcase (0.04 sec)
-
guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java
import java.util.Collections; import java.util.Iterator; import java.util.NoSuchElementException; import junit.framework.TestCase; /** * Unit test for {@link MinimalIterable}. * * @author Kevin Bourrillion */ @GwtCompatible public class MinimalIterableTest extends TestCase { public void testOf_empty() { Iterable<String> iterable = MinimalIterable.<String>of();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (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)) } } }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 5.6K bytes - Viewed (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 */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.3K bytes - Viewed (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 */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java
import java.util.ListIterator; import java.util.NoSuchElementException; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; /** * Tests for UnmodifiableListIterator. * * @author Louis Wasserman */ @GwtCompatible @NullMarked public class UnmodifiableListIteratorTest extends TestCase { @SuppressWarnings("DoNotCall") public void testRemove() { Iterator<String> iterator = create();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 2.8K bytes - Viewed (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) } }) }Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Sep 19 01:49:06 UTC 2025 - 4.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TablesTest.java
import com.google.common.testing.SerializableTester; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tests for {@link Tables}. * * @author Jared Levy */ @GwtCompatible @NullMarked public class TablesTest extends TestCase { @GwtIncompatible // SerializableTester public void testImmutableEntrySerialization() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java
import java.util.concurrent.Callable; import java.util.concurrent.TimeUnit; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link AbstractListeningExecutorService}. * * @author Colin Decker */ @NullUnmarked public class AbstractListeningExecutorServiceTest extends TestCase { public void testSubmit() throws Exception { /*Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
import javax.crypto.spec.SecretKeySpec; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; import sun.security.jca.ProviderList; import sun.security.jca.Providers; /** * Tests for the MacHashFunction. * * @author Kurt Alfred Kluever */ @NullUnmarked public class MacHashFunctionTest extends TestCase {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 13.8K bytes - Viewed (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 {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 24.1K bytes - Viewed (0)