- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 501 for TestCase (0.05 sec)
-
guava-tests/test/com/google/common/collect/UnmodifiableIteratorTest.java
import java.util.Iterator; import java.util.NoSuchElementException; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; /** * Tests for {@link UnmodifiableIterator}. * * @author Jared Levy */ @GwtCompatible @NullMarked public class UnmodifiableIteratorTest extends TestCase { @SuppressWarnings("DoNotCall") public void testRemove() { String[] array = {"a", "b", "c"};
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.7K bytes - Viewed (0) -
cmd/os-readdir_test.go
{10, 11, 10}, } for i, testCase := range testCases { dir := t.TempDir() for c := 1; c <= testCase.numFiles; c++ { err := os.WriteFile(filepath.Join(dir, fmt.Sprintf("%d", c)), []byte{}, os.ModePerm) if err != nil { os.RemoveAll(dir) t.Fatalf("Unable to create a file, %s", err) } } entries, err := readDirN(dir, testCase.n) if err != nil { os.RemoveAll(dir)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 7.5K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingListIteratorTest.java
import com.google.common.testing.ForwardingWrapperTester; import java.util.ListIterator; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@code ForwardingListIterator}. * * @author Robert Konigsberg */ @NullUnmarked public class ForwardingListIteratorTest extends TestCase { @SuppressWarnings("rawtypes") public void testForwarding() { new ForwardingWrapperTester()
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeParameterTest.java
import java.lang.reflect.Method; import java.lang.reflect.TypeVariable; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link TypeParameter}. * * @author Ben Yu */ @NullUnmarked public class TypeParameterTest extends TestCase { public <T> void testCaptureTypeParameter() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureDefaultAtomicHelperTest.java
*/ package com.google.common.util.concurrent; import static com.google.common.base.StandardSystemProperty.JAVA_SPECIFICATION_VERSION; import static com.google.common.truth.Truth.assertThat; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests that {@link AbstractFutureState} uses the expected {@code AtomicHelper} implementation. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 13:08:45 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/net/URLUtilTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.net; import java.io.File; import java.net.URL; import junit.framework.TestCase; /** * @author taichi * */ public class URLUtilTest extends TestCase { /** * @throws Exception */ public void testEncode() throws Exception { assertEquals("Program+Files", URLUtil.encode("Program Files", "UTF-8"));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.timer; import junit.framework.TestCase; /** * @author higa * */ public class TimeoutManagerTest extends TestCase { private int expiredCount; protected void setUp() throws Exception { expiredCount = 0; TimeoutManager.getInstance().clear(); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.1K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/StopwatchTest.java
import com.google.common.testing.FakeTicker; import java.time.Duration; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link Stopwatch}. * * @author Kevin Bourrillion */ @GwtCompatible @NullUnmarked public class StopwatchTest extends TestCase { private final FakeTicker ticker = new FakeTicker();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.1K bytes - Viewed (0)