Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 1,595 for Tests (0.02 sec)

  1. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        putEdge(N1, N1);
        assertThat(graph.outDegree(N1)).isEqualTo(2);
        putEdge(N2, N1);
        assertThat(graph.outDegree(N1)).isEqualTo(3);
      }
    
      // Stable order tests
    
      // Note: Stable order means that the ordering doesn't change between iterations and versions.
      // Ideally, the ordering in test should never be updated.
      @Test
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

        SmbResource parent;
        @Mock
        SmbResourceLocator locator;
        @Mock
        Configuration config;
    
        private static boolean handlerRegistered = false;
    
        // Register SMB URL handler once for all tests
        @BeforeAll
        static void registerSmbHandler() {
            if (!handlerRegistered) {
                try {
                    // Try to register the handler factory
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbCopyUtilTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.SmbConstants;
    
    @ExtendWith(MockitoExtension.class)
    public class SmbCopyUtilTest {
    
        // --- Tests for openCopyTargetFile ---
    
        @ParameterizedTest
        @ValueSource(booleans = { true, false })
        @DisplayName("openCopyTargetFile sets correct access flags depending on alsoRead")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java

    import java.util.concurrent.ExecutionException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /** Unit tests for {@link Futures#getDone}. */
    @GwtCompatible
    @NullUnmarked
    public class FuturesGetDoneTest extends TestCase {
      public void testSuccessful() throws ExecutionException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

            assertEquals(expectedTimestamp, avTimestamp.getTimestamp());
        }
    
        /**
         * Test getTimestamp method with a negative timestamp (though timestamps are usually positive).
         * This tests the underlying SMBUtil.readInt8 behavior.
         */
        @Test
        public void testGetTimestampNegative() {
            long expectedTimestamp = -1L; // Represents all bits set to 1 for an 8-byte long
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt

    import com.fasterxml.jackson.module.kotlin.registerKotlinModule
    import java.io.File
    
    val ignoredSubprojects =
        listOf(
            "soak", // soak test
            "distributions-integ-tests", // build distribution testing
            "architecture-test", // sanity check
        )
    
    interface GradleSubprojectProvider {
        val subprojects: List<GradleSubproject>
    
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

    import java.util.Map.Entry;
    import java.util.Set;
    import org.junit.Ignore;
    
    /**
     * Tests for {@link Multimap#asMap}.
     *
     * @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 Nov 14 23:40:07 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. cmd/erasure_test.go

    			}
    		}
    	}
    }
    
    // Setup for erasureCreateFile and erasureReadFile tests.
    type erasureTestSetup struct {
    	dataBlocks   int
    	parityBlocks int
    	blockSize    int64
    	diskPaths    []string
    	disks        []StorageAPI
    }
    
    // Returns an initialized setup for erasure tests.
    func newErasureTestSetup(tb testing.TB, dataBlocks int, parityBlocks int, blockSize int64) (*erasureTestSetup, error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableCollectionTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@code ImmutableCollection}.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ImmutableCollectionTest extends TestCase {
      public void testCapacityExpansion() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacGroupTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.mockito.Mockito.mock;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.smb.SID;
    
    /**
     * Tests for the {@link PacGroup} class.
     */
    class PacGroupTest {
    
        private SID mockSid;
        private PacGroup pacGroup;
        private final int attributes = 42;
    
        @BeforeEach
        void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top