- Sort Score
- Num 10 results
- Language All
Results 651 - 660 of 806 for testCase (0.1 seconds)
-
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
import java.util.List; import java.util.regex.Pattern; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link Doubles}. * * @author Kevin Bourrillion */ @NullMarked @GwtCompatible public class DoublesTest extends TestCase { private static final double[] EMPTY = {}; private static final double[] ARRAY1 = {1.0};Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 30.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/InetAddressesTest.java
import java.net.UnknownHostException; import java.util.Enumeration; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link InetAddresses}. * * @author Erik Kline */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class InetAddressesTest extends TestCase { public void testNulls() { NullPointerTester tester = new NullPointerTester();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 36.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
import java.util.jar.Manifest; import java.util.logging.Logger; import java.util.zip.ZipEntry; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.junit.Test; /** Functional tests of {@link ClassPath}. */ @NullUnmarked public class ClassPathTest extends TestCase { private static final Logger log = Logger.getLogger(ClassPathTest.class.getName()); private static final File FILE = new File(".");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 25.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
import java.util.Random; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link Ints}. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked @SuppressWarnings("cast") // redundant casts are intentional and harmless public class IntsTest extends TestCase { private static final int[] EMPTY = {};Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
import java.util.concurrent.locks.ReentrantLock; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link Uninterruptibles}. * * @author Anthony Zana */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class UninterruptiblesTest extends TestCase { private static final String EXPECTED_TAKE = "expectedTake";Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
import java.util.stream.Collectors; import java.util.stream.Stream; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Unit tests for {@link ClassSanityTester}. * * @author Ben Yu */ @NullUnmarked public class ClassSanityTesterTest extends TestCase { private final ClassSanityTester tester = new ClassSanityTester();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 36.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
import java.util.regex.Pattern; import junit.framework.AssertionFailedError; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link Predicates}. * * @author Kevin Bourrillion */ @NullMarked @GwtCompatible public class PredicatesTest extends TestCase { private static final Predicate<@Nullable Integer> TRUE = Predicates.alwaysTrue();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 32.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/BooleansTest.java
import java.util.Comparator; import java.util.List; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link Booleans}. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public class BooleansTest extends TestCase { private static final boolean[] EMPTY = {};Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 25.3K bytes - Click Count (0) -
cmd/erasure-healing_test.go
}, // Add new cases as seen } for _, testCase := range testCases { t.Run(testCase.name, func(t *testing.T) { gotMeta, dangling := isObjectDangling(testCase.metaArr, testCase.errs, testCase.dataErrs) if !gotMeta.Equals(testCase.expectedMeta) { t.Errorf("Expected %#v, got %#v", testCase.expectedMeta, gotMeta) } if dangling != testCase.expectedDangling {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 48.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link MinMaxPriorityQueue}. * * @author Alexei Stolboushkin * @author Sverre Sundsdal */ @GwtCompatible @NullMarked public class MinMaxPriorityQueueTest extends TestCase {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (0)