- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 508 for testCases (0.05 seconds)
-
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"));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 05 22:03:28 GMT 2025 - 2.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/AbstractCacheTest.java
import java.util.List; import java.util.concurrent.atomic.AtomicReference; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link AbstractCache}. * * @author Charles Fry */ @NullUnmarked public class AbstractCacheTest extends TestCase { public void testGetIfPresent() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 6.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java
import java.util.function.IntConsumer; import java.util.stream.IntStream; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Test Java8 map.compute in concurrent cache context. */ @NullUnmarked public class LocalCacheMapComputeTest extends TestCase { final int count = 10000; final String delimiter = "-"; final String key = "key"; Cache<String, String> cache;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
import java.util.Map; import java.util.Map.Entry; import java.util.Set; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tests for {@code Synchronized#map}. * * @author Mike Bostock */ @NullUnmarked public class SynchronizedMapTest extends TestCase { public final Object mutex = new Object[0]; // something SerializableCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 28 19:11:14 GMT 2025 - 5.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
import java.net.URLClassLoader; import java.util.Set; import java.util.concurrent.atomic.AtomicIntegerFieldUpdater; import java.util.concurrent.atomic.AtomicReferenceFieldUpdater; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; /** * Tests our AtomicHelper fallback strategy in AggregateFutureState. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/ObjectsTest.java
import com.google.common.testing.NullPointerTester; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link Objects}. * * @author Laurence Gonsalves */ @GwtCompatible @NullUnmarked public class ObjectsTest extends TestCase { @SuppressWarnings({ "ObjectEqualsForPrimitives", // test of a trivial callCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java
import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link ForwardingConcurrentMap}. * * @author Jared Levy */ @NullUnmarked public class ForwardingConcurrentMapTest extends TestCase { private static class TestMap extends ForwardingConcurrentMap<String, Integer> {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 2.5K bytes - Click Count (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();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 3K bytes - Click Count (0) -
cmd/sftp-server_test.go
return &MockConnMeta{username: username} } func TestSFTPAuthentication(t *testing.T) { for i, testCase := range iamTestSuites { t.Run( fmt.Sprintf("Test: %d, ServerType: %s", i+1, testCase.ServerTypeDescription), func(t *testing.T) { c := &check{t, testCase.serverType} suite := testCase suite.SetUpSuite(c) suite.SFTPServiceAccountLogin(c) suite.SFTPInvalidServiceAccountPassword(c)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Feb 27 18:43:32 GMT 2025 - 9.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/RunnablesTest.java
package com.google.common.util.concurrent; import com.google.common.annotations.GwtCompatible; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link Runnables}. * * @author Olivier Pernet */ @GwtCompatible @NullUnmarked public class RunnablesTest extends TestCase { public void testDoNothingRunnableIsSingleton() { assertSame(Runnables.doNothing(), Runnables.doNothing());Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1K bytes - Click Count (0)