Search Options

Results per page
Sort
Preferred Languages
Advance

Results 771 - 780 of 878 for testes (0.03 sec)

  1. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

    import com.google.errorprone.annotations.Keep;
    import java.util.Collection;
    import java.util.EnumSet;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for an {@link EnumMultiset}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @J2ktIncompatible // EnumMultiset
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/DialectVersionTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.EnumSource;
    
    /**
     * Test class for DialectVersion functionality
     */
    @DisplayName("DialectVersion Tests")
    class DialectVersionTest extends BaseTest {
    
        @Test
        @DisplayName("Should define all SMB dialect versions")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NetworkExplorerTest.java

            verify(response).flushBuffer();
        }
    
        /**
         * Test doGet with NTLM authentication for directory listing
         * This test verifies the authentication flow without actual network operations
         */
        @Test
        void testDoGet_DirectoryListing() throws Exception {
            // Create a test-specific NetworkExplorer that mocks file operations
            networkExplorer = new NetworkExplorer() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterables.java

      }
    
      /**
       * Removes, from an iterable, every element that satisfies the provided predicate.
       *
       * <p>Removals may or may not happen immediately as each element is tested against the predicate.
       * The behavior of this method is not specified if {@code predicate} is dependent on {@code
       * removeFrom}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

    import java.util.Collections;
    import java.util.Comparator;
    import java.util.Optional;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@code Comparators}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class ComparatorsTest extends TestCase {
      public void testLexicographical() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

    import java.lang.Thread.UncaughtExceptionHandler;
    import java.util.Locale;
    import java.util.concurrent.ThreadFactory;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for ThreadFactoryBuilder.
     *
     * @author Kurt Alfred Kluever
     * @author Martin Buchholz
     */
    @NullUnmarked
    public class ThreadFactoryBuilderTest extends TestCase {
      private final Runnable monitoredRunnable =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbSessionInternalTest.java

        // Happy path: transport is returned and verified
        @Test
        @DisplayName("getTransport returns mocked transport")
        void getTransport_happy() {
            when(session.getTransport()).thenReturn(transport);
            assertSame(transport, session.getTransport());
            verify(session).getTransport();
        }
    
        // Happy path: connect to logon share completes without exception
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacMacTest.java

    import javax.security.auth.kerberos.KerberosPrincipal;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the PacMac class.
     */
    class PacMacTest {
    
        private static final byte[] TEST_DATA = "test data".getBytes();
        private static final KerberosPrincipal TEST_PRINCIPAL = new KerberosPrincipal("test@REALM");
    
        /**
         * Test method for
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

            assertEquals(1.0, noneRatio, 0.001);
        }
    
        @Test
        @DisplayName("Test configuration limits")
        public void testConfigurationLimits() {
            assertTrue(compressionService.getMinCompressionSize() > 0);
            assertTrue(compressionService.getMaxCompressionSize() > compressionService.getMinCompressionSize());
        }
    
        @Test
        @DisplayName("Test algorithm names")
        public void testAlgorithmNames() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

     *
     * @param <InputT> the type of the individual inputs
     * @param <OutputT> the type of the output (i.e. this) future
     */
    @GwtCompatible
    @SuppressWarnings(
        // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
        "ShortCircuitBoolean")
    abstract class AggregateFuture<InputT extends @Nullable Object, OutputT extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top