Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 1,595 for Tests (0.02 sec)

  1. src/test/java/jcifs/smb/FileEntryTest.java

                return fileIndex;
            }
        }
    
        // Functional helpers for concise parameterized tests
        private interface IntGetter {
            int apply(FileEntry e);
        }
    
        private interface LongGetter {
            long apply(FileEntry e);
        }
    
        // --- Mockito-based interaction tests ---
    
        @Test
        @DisplayName("Mocked FileEntry returns stubbed values and verifies interactions")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

    class Smb2LockTest {
    
        private Smb2Lock lock;
        private byte[] buffer;
    
        @BeforeEach
        void setUp() {
            buffer = new byte[128];
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create lock with valid parameters")
            void testConstructorWithValidParameters() {
                long offset = 1024L;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.ResourceFilter;
    import jcifs.SmbConstants;
    import jcifs.SmbResource;
    import jcifs.SmbResourceLocator;
    import jcifs.context.SingletonContext;
    
    /**
     * Tests for NetServerFileEntryAdapterIterator.
     *
     * Intent: Validate iteration behavior, filtering, invalid inputs handling,
     * and delegation to the underlying iterator.
     */
    @ExtendWith(MockitoExtension.class)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. docs/de/docs/project-generation.md

    * **Alembic**-Migrationen.
    * **CORS** (Cross Origin Resource Sharing).
    * **Celery**-Worker, welche Modelle und Code aus dem Rest des Backends selektiv importieren und verwenden können.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java

    /**
     * A generic JUnit test which tests {@link Map#forEach}. Can't be invoked directly; please see
     * {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @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")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java

    import java.lang.reflect.Method;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    import junit.framework.Test;
    
    /**
     * Tests the {@link Map} implementations of {@link java.util}, suppressing tests that trip known
     * bugs in OpenJDK 6 or higher.
     *
     * @author Kevin Bourrillion
     */
    // TODO(cpovirk): consider renaming this class in light of our now running it under newer JDKs.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

    import com.google.common.collect.testing.features.MapFeature;
    import java.lang.reflect.Method;
    import java.util.List;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests creation (typically through a constructor or static factory
     * method) of a map. Can't be invoked directly; please see {@link
     * com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Chris Povirk
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.SmbConstants;
    import jcifs.internal.smb1.ServerMessageBlock;
    
    /**
     * Unit tests for {@link SmbComNTCreateAndX}.  The tests exercise the
     * constructor’s flag handling, response creation and simple accessors.
     *
     * <p>All tests run in the same package as the class under test so that
     * package‑private members are visible if required.
     */
    @ExtendWith(MockitoExtension.class)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code get} operations on a map. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Kevin Bourrillion
     * @author Chris Povirk
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java

    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * Tests {@link java.util.Map#hashCode}.
     *
     * @author George van den Driessche
     * @author Chris Povirk
     */
    @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")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top