Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 459 for Cases (0.84 sec)

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

        assertFalse(
            "after removeAll(e), a collection should not contain e even "
                + "if it initially contained e more than once.",
            getList().contains(duplicate));
      }
    
      // All other cases are covered by CollectionRemoveAllTester.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java

    import org.apache.maven.wagon.events.TransferListener;
    import org.apache.maven.wagon.providers.file.FileWagon;
    import org.apache.maven.wagon.resource.Resource;
    
    /**
     * Wagon used for test cases that annotate some methods. Note that this is not a thread-safe implementation.
     */
    public class TestFileWagon extends FileWagon {
        private TestTransferListener testTransferListener;
        private boolean insideGet;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/package-info.java

     *   <li>{@link StandardSystemProperty}
     *   <li>{@link Stopwatch}
     *   <li>{@link Throwables}
     *   <li>{@link Verify}
     * </ul>
     *
     * <h3>The rest</h3>
     *
     * This package also contains some classes with niche use cases (e.g., {@link Utf8} and {@link
     * Defaults}), as well as a number of classes that have been superseded by additions to the JDK.
     */
    @CheckReturnValue
    @NullMarked
    package com.google.common.base;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

    import com.google.common.eventbus.Subscribe;
    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    
    /**
     * Test cases for {@code EventBus} that must not be in the same package.
     *
     * @author Louis Wasserman
     */
    public class OutsideEventBusTest extends TestCase {
    
      /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbAuthExceptionTest.java

     * {@link SmbException#getStatusByCode(int)}.
     */
    @DisplayName("SmbAuthException Tests")
    class SmbAuthExceptionTest {
    
        /**
         * Provides a set of error codes covering normal, edge and unknown cases.
         */
        static Stream<Arguments> errorCodes() {
            return Stream.of(
                    // Known NT status code - NT_STATUS_UNSUCCESSFUL
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/NewCustomTableTest.java

    import com.google.common.base.Supplier;
    import java.util.LinkedHashMap;
    import java.util.Map;
    import java.util.TreeMap;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Test cases for {@link Tables#newCustomTable}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public class NewCustomTableTest extends AbstractTableTest<Character> {
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt

       * be received. The default implementation returns an empty response. Mischievous implementations
       * can return other values to test HTTP edge cases, such as unhappy socket policies or throttled
       * request bodies.
       */
      public open fun peek(): MockResponse = MockResponse()
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/query-params-str-validations.md

    {* ../../docs_src/query_params_str_validations/tutorial014_an_py310.py hl[10] *}
    
    ## Custom Validation { #custom-validation }
    
    There could be cases where you need to do some **custom validation** that can't be done with the parameters shown above.
    
    In those cases, you can use a **custom validator function** that is applied after the normal validation (e.g. after validating that the value is a `str`).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

    package jcifs.smb1.smb1;
    
    /**
     * Unit tests for {@link FileEntry}. The interface itself has no
     * implementation, so the tests exercise the contract via Mockito mocks.
     * Each method is exercised for normal inputs, extreme or edge cases, and
     * interaction verification.
     */
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.mockito.Mockito.mock;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. cmd/copy-part-range.go

    	}
    	return hrange, nil
    }
    
    // checkCopyPartRangeWithSize adds more check to the range string in case of
    // copy object part. This API requires having specific start and end  range values
    // e.g. 'bytes=3-10'. Other use cases will be rejected.
    func checkCopyPartRangeWithSize(rs *HTTPRangeSpec, resourceSize int64) (err error) {
    	if rs == nil {
    		return nil
    	}
    	if rs.IsSuffixLength || rs.Start >= resourceSize || rs.End >= resourceSize {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 18 03:27:04 UTC 2021
    - 2.5K bytes
    - Viewed (0)
Back to top