- Sort Score
- Num 10 results
- Language All
Results 711 - 720 of 753 for testLast (0.04 seconds)
-
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/primitives/LongsTest.java
import java.util.Comparator; import java.util.List; import java.util.Random; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link Longs}. * * @author Kevin Bourrillion */ @NullMarked @GwtCompatible public class LongsTest extends TestCase { private static final long[] EMPTY = {}; private static final long[] ARRAY1 = {1L};Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 28.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
import java.util.Comparator; import java.util.List; import java.util.Random; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link Shorts}. * * @author Kevin Bourrillion */ @NullMarked @GwtCompatible public class ShortsTest extends TestCase { private static final short[] EMPTY = {}; private static final short[] ARRAY1 = {(short) 1};Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 27.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
import java.math.RoundingMode; import java.util.EnumSet; import java.util.Random; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for LongMath. * * @author Louis Wasserman */ @GwtCompatible @NullUnmarked public class LongMathTest extends TestCase { @SuppressWarnings("ConstantOverflow") public void testMaxSignedPowerOfTwo() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 30 14:15:36 GMT 2025 - 31.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
import java.util.concurrent.ExecutorService; import java.util.concurrent.Future; import java.util.concurrent.RejectedExecutionException; import java.util.concurrent.atomic.AtomicReference; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link ClosingFuture}. Subclasses exercise either the {@link * ClosingFuture#finishToFuture()} or {@linkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
src/test/java/jcifs/context/BaseContextTest.java
// Given Configuration configWithCreds = mock(Configuration.class); when(configWithCreds.getDefaultUsername()).thenReturn("testuser"); when(configWithCreds.getDefaultPassword()).thenReturn("testpass"); when(configWithCreds.getDefaultDomain()).thenReturn("TESTDOMAIN"); when(configWithCreds.getBufferCacheSize()).thenReturn(16); when(configWithCreds.getMaximumBufferSize()).thenReturn(65536);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
SmbTransportImpl mockTransport = Mockito.mock(SmbTransportImpl.class); Mockito.when(mockTransport.acquire()).thenReturn(mockTransport); SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport); int threadCount = 10; int operationsPerThread = 200; ExecutorService executor = Executors.newFixedThreadPool(threadCount);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.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 Floats}. * * @author Kevin Bourrillion */ @NullMarked @GwtCompatible public class FloatsTest extends TestCase { private static final float[] EMPTY = {}; private static final float[] ARRAY1 = {1.0f};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) -
android/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) -
android/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)