- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for TestCase (0.08 sec)
-
android/guava-tests/test/com/google/common/html/HtmlEscapersTest.java
import com.google.common.annotations.GwtCompatible; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for the {@link HtmlEscapers} class. * * @author David Beaumont */ @GwtCompatible @NullUnmarked public class HtmlEscapersTest extends TestCase { public void testHtmlEscaper() throws Exception { assertEquals("xxx", htmlEscaper().escape("xxx"));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 22:03:28 UTC 2025 - 2.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
import java.util.Locale; import junit.framework.TestCase; /** * Since annotations have some reusability issues that force copy and paste all over the place, it's * worth having a test to ensure that all our Feature enums have their annotations correctly set up. * * @author George van den Driessche */ public class FeatureEnumTest extends TestCase {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
*/ public void threadAssertFalse(boolean b) { try { assertFalse(b); } catch (AssertionFailedError t) { threadRecordFailure(t); throw t; } } /** * Just like assertNull(x), but additionally recording (using threadRecordFailure) any * AssertionFailedError thrown, so that the current testcase will fail. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 37.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/InternersTest.java
import com.google.common.testing.NullPointerTester; import java.lang.ref.WeakReference; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link Interners}. * * @author Kevin Bourrillion */ @NullUnmarked public class InternersTest extends TestCase { public void testStrong_simplistic() { String canonical = "a"; String not = new String("a");Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 17:02:07 UTC 2025 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/html/HtmlEscapersTest.java
import com.google.common.annotations.GwtCompatible; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for the {@link HtmlEscapers} class. * * @author David Beaumont */ @GwtCompatible @NullUnmarked public class HtmlEscapersTest extends TestCase { public void testHtmlEscaper() throws Exception { assertEquals("xxx", htmlEscaper().escape("xxx"));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 22:03:28 UTC 2025 - 2.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Test case for {@link ListenableFutureTask}. * * @author Sven Mawson */ @NullUnmarked public class ListenableFutureTaskTest extends TestCase { private ExecutorService exec; protected final CountDownLatch runLatch = new CountDownLatch(1);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java
import com.google.common.testing.NullPointerTester; import java.util.Set; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link Primitives}. * * @author Kevin Bourrillion */ @GwtCompatible @NullUnmarked public class PrimitivesTest extends TestCase { public void testIsWrapperType() { assertThat(Primitives.isWrapperType(Void.class)).isTrue();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
import java.util.Locale; import java.util.concurrent.ThreadFactory; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for ThreadFactoryBuilder. * * @author Kurt Alfred Kluever * @author Martin Buchholz */ @NullUnmarked public class ThreadFactoryBuilderTest extends TestCase { private final Runnable monitoredRunnable = new Runnable() { @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 7.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EnumsTest.java
import java.net.URLClassLoader; import java.util.HashSet; import java.util.Set; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link Enums}. * * @author Steve McKay */ @GwtIncompatible @J2ktIncompatible @NullUnmarked public class EnumsTest extends TestCase { private enum TestEnum { CHEETO, HONDA, POODLE, }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 8.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
import com.google.common.testing.SerializableTester; import java.math.BigInteger; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@code UnsignedLong}. * * @author Louis Wasserman */ @GwtCompatible @NullUnmarked public class UnsignedLongTest extends TestCase { private static final ImmutableSet<Long> TEST_LONGS;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 10.4K bytes - Viewed (0)