Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 1,595 for Tests (0.02 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

    import java.util.AbstractSet;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code removeAll} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author George van den Driessche
     * @author Chris Povirk
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. 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 Serializable
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 19:11:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutAllTester.java

     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListMultimapPutAllTester<K, V> extends AbstractListMultimapTester<K, V> {
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllAddsAtEndInOrder() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java

     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultimapKeysTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @CollectionSize.Require(SEVERAL)
      public void testKeys() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/witness/WitnessEnumTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for witness protocol enumerations.
     */
    public class WitnessEnumTest {
    
        @Test
        void testWitnessServiceTypes() {
            assertEquals(4, WitnessServiceType.values().length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.util.Date;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for the SmbComQueryInformationResponse class.
     */
    public class SmbComQueryInformationResponseTest {
    
        private SmbComQueryInformationResponse response;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.MockitoAnnotations;
    
    /**
     * Unit tests for the {@link TransWaitNamedPipe} transaction.
     * The transaction is package private, so the test class lives in the
     * same package to access its fields.
     */
    public class TransWaitNamedPipeTest {
    
        @BeforeEach
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

         */
        @Override
        public synchronized void mark(final int readlimit) {
            fileInputStream.mark(readlimit);
        }
    
        /**
         * Tests if this input stream supports the mark and reset methods.
         * This method delegates to {@link FileInputStream#markSupported()}.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code retainAll} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtStatus;
    
    /**
     * Tests for Smb2SessionSetupResponse decoding and behavior.
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("Smb2SessionSetupResponse Tests")
    @MockitoSettings(strictness = Strictness.LENIENT)
    class Smb2SessionSetupResponseTest extends BaseTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top