- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 656 for testCases (0.12 sec)
-
android/guava-tests/test/com/google/common/escape/CharEscaperBuilderTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.escape; import junit.framework.TestCase; public class CharEscaperBuilderTest extends TestCase { public void testAddEscapes() { char[] cs = {'a', 'b', 'c'}; CharEscaperBuilder builder = new CharEscaperBuilder().addEscapes(cs, "Z"); Escaper escaper = builder.toEscaper();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 15 20:25:06 UTC 2018 - 975 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java
import java.util.Map; import java.util.Map.Entry; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test of {@link MutableClassToInstanceMap}. * * @author Kevin Bourrillion */ public class MutableClassToInstanceMapTest extends TestCase { public static Test suite() { TestSuite suite = new TestSuite();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/InputStreamUtilTest.java
*/ package org.codelibs.core.io; import java.io.InputStream; import junit.framework.TestCase; import org.codelibs.core.lang.StringUtil; /** * @author higa * */ public class InputStreamUtilTest extends TestCase { /** * @throws Exception */ public void testGetBytes() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java
import java.util.concurrent.CancellationException; import java.util.concurrent.ExecutionException; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** Unit tests for {@link Futures#getDone}. */ @GwtCompatible public class FuturesGetDoneTest extends TestCase { public void testSuccessful() throws ExecutionException { assertThat(getDone(immediateFuture("a"))).isEqualTo("a"); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 2.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ServiceTest.java
import static com.google.common.util.concurrent.Service.State.TERMINATED; import java.util.Locale; import junit.framework.TestCase; /** Unit tests for {@link Service} */ public class ServiceTest extends TestCase { /** Assert on the comparison ordering of the State enum since we guarantee it. */ public void testStateOrdering() { // List every valid (direct) state transition.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/RemovalNotificationTest.java
*/ package com.google.common.cache; import com.google.common.testing.EqualsTester; import junit.framework.TestCase; /** * Unit tests of {@link RemovalNotification}. * * @author Ben Yu */ public class RemovalNotificationTest extends TestCase { public void testEquals() { new EqualsTester() .addEqualityGroup(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/IntegerConversionUtilTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.convert; import junit.framework.TestCase; /** * @author higa * */ public class IntegerConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToInteger() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractBiMapTest.java
package com.google.common.collect; import java.util.IdentityHashMap; import java.util.Iterator; import java.util.Map.Entry; import junit.framework.TestCase; /** * Tests for {@code AbstractBiMap}. * * @author Mike Bostock */ public class AbstractBiMapTest extends TestCase { // The next two tests verify that map entries are not accessed after they're // removed, since IdentityHashMap throws an exception when that occurs.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu May 14 14:52:51 UTC 2020 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java
import com.google.common.testing.NullPointerTester; import java.util.concurrent.atomic.AtomicReferenceArray; import junit.framework.TestCase; /** * Unit test for {@link Atomics}. * * @author Kurt Alfred Kluever */ public class AtomicsTest extends TestCase { private static final Object OBJECT = new Object(); public void testNewReference() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java
import static com.google.common.truth.Truth.assertWithMessage; import com.google.common.annotations.GwtIncompatible; import junit.framework.TestCase; /** * Tests for {@link StandardSystemProperty}. * * @author Kurt Alfred Kluever */ @GwtIncompatible public class StandardSystemPropertyTest extends TestCase { public void testGetKeyMatchesString() { for (StandardSystemProperty property : StandardSystemProperty.values()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 10 08:40:05 UTC 2023 - 2.4K bytes - Viewed (0)