Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2761 - 2770 of 3,670 for throwIf (0.05 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolverTest.java

     */
    @Deprecated
    class FarthestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        FarthestConflictResolverTest() throws Exception {
            super("farthest");
        }
    
        // tests ------------------------------------------------------------------
    
        /**
         * Tests that <code>a:2.0</code> wins in the scenario:
         * <pre>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolverTest.java

     */
    @Deprecated
    class NearestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        NearestConflictResolverTest() throws Exception {
            super("nearest");
        }
    
        // tests ------------------------------------------------------------------
    
        /**
         * Tests that <code>a:1.0</code> wins in the scenario:
         * <pre>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolverTest.java

     */
    @Deprecated
    class OldestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        OldestConflictResolverTest() throws Exception {
            super("oldest");
        }
    
        // tests ------------------------------------------------------------------
    
        /**
         * Tests that <code>a:1.0</code> wins in the scenario:
         * <pre>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testRemove_unsupportedNotPresent() {
        try {
          assertFalse(
              "remove(notPresent) should return false or throw UnsupportedOperationException",
              collection.remove(e3()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
        expectMissing(e3());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 11 21:04:02 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java

            // try {
            //     int accessFlags = convertAccessFlags(access);
            //     memoryRegister = endpoint.registerMemory(buffer, accessFlags).execute().free();
            // } catch (Exception e) {
            //     throw new RuntimeException("Failed to register memory region", e);
            // }
    
            this.memoryRegister = new Object(); // Placeholder
    
            log.debug("DiSNI memory region registered, size: {}", buffer.remaining());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
       * @param collection the presumed-immutable collection
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

     *
     * @author Colin Decker
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class AbstractListeningExecutorServiceTest extends TestCase {
    
      public void testSubmit() throws Exception {
        /*
         * Mostly just tests that TrustedListenableFutureTask are created and run; tests for
         * TrustedListenableFutureTask should ensure that listeners are called correctly.
         */
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

     *
     * @author Colin Decker
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class AbstractListeningExecutorServiceTest extends TestCase {
    
      public void testSubmit() throws Exception {
        /*
         * Mostly just tests that TrustedListenableFutureTask are created and run; tests for
         * TrustedListenableFutureTask should ensure that listeners are called correctly.
         */
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/DosFileFilter.java

         * support filtering by all attributes (e.g. even though ATTR_DIRECTORY was
         * specified the server may still return objects that are not directories).
         */
        @Override
        public boolean accept(final SmbFile file) throws SmbException {
            return (file.getAttributes() & attributes) != 0;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactory.java

         * Creates a new {@link DependencyCoordinates} object from the request.
         *
         * @param request the request containing the various data
         * @return a new {@link DependencyCoordinates} object
         *
         * @throws IllegalArgumentException if {@code request} is null or
         *         if {@code request.getSession()} is null or invalid
         */
        @Nonnull
        DependencyCoordinates create(@Nonnull DependencyCoordinatesFactoryRequest request);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Aug 27 21:13:34 GMT 2024
    - 3.4K bytes
    - Click Count (0)
Back to Top