- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 708 for testDate (0.09 sec)
-
android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java
import com.google.common.testing.NullPointerTester; import java.util.Set; import junit.framework.TestCase; /** * Unit test for {@link Primitives}. * * @author Kevin Bourrillion */ @GwtCompatible(emulated = true) public class PrimitivesTest extends TestCase { public void testIsWrapperType() { assertThat(Primitives.isWrapperType(Void.class)).isTrue();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/VerifyTest.java
import com.google.common.annotations.J2ktIncompatible; import junit.framework.AssertionFailedError; import junit.framework.TestCase; /** Unit test for {@link com.google.common.base.Verify}. */ @GwtCompatible(emulated = true) public class VerifyTest extends TestCase { public void testVerify_simple_success() { verify(true); } public void testVerify_simple_failure() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 3.2K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/RelationshipTesterTest.java
*/ package com.google.common.testing; import com.google.common.testing.RelationshipTester.ItemReporter; import junit.framework.TestCase; /** * Tests for {@link RelationshipTester}. * * @author Ben Yu */ public class RelationshipTesterTest extends TestCase { public void testNulls() { new ClassSanityTester() .setDefault(ItemReporter.class, new ItemReporter())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Sep 15 13:47:32 UTC 2016 - 1K bytes - Viewed (0) -
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: Mon Dec 04 17:37:03 UTC 2017 - 975 bytes - Viewed (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; /** * Unit tests for {@link Runnables}. * * @author Olivier Pernet */ @GwtCompatible public class RunnablesTest extends TestCase { public void testDoNothingRunnableIsSingleton() { assertSame(Runnables.doNothing(), Runnables.doNothing()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Sep 15 13:47:32 UTC 2016 - 986 bytes - Viewed (0) -
android/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/primitives/ShortArrayAsListTest.java
import java.util.List; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Test suite covering {@link Shorts#asList(short[])}. * * @author Kevin Bourrillion */ @GwtCompatible(emulated = true) public class ShortArrayAsListTest extends TestCase { private static List<Short> asList(Short[] values) { short[] temp = new short[values.length];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/MathPreconditionsTest.java
import com.google.common.annotations.GwtCompatible; import java.math.BigInteger; import java.math.RoundingMode; import junit.framework.TestCase; /** * Unit tests for {@link MathPreconditions}. * * @author Ben Yu */ @GwtCompatible public class MathPreconditionsTest extends TestCase { public void testCheckPositive_zeroInt() { assertThrows(IllegalArgumentException.class, () -> MathPreconditions.checkPositive("int", 0));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java
import java.util.List; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Test suite covering {@link Chars#asList(char[])}. * * @author Kevin Bourrillion */ @GwtCompatible(emulated = true) public class CharArrayAsListTest extends TestCase { private static List<Character> asList(Character[] values) { char[] temp = new char[values.length];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@code Synchronized#map}. * * @author Mike Bostock */ public class SynchronizedMapTest extends TestCase { public final Object mutex = new Object[0]; // something Serializable protected <K, V> Map<K, V> create() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:23:04 UTC 2024 - 5.8K bytes - Viewed (0)