Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 821 for throws (0.17 sec)

  1. android/guava/src/com/google/common/base/Function.java

       *       Objects.equal}{@code (a, b)} implies that {@code Objects.equal(function.apply(a),
       *       function.apply(b))}.
       * </ul>
       *
       * @throws NullPointerException if {@code input} is null and this function does not accept null
       *     arguments
       */
      @ParametricNullness
      T apply(@ParametricNullness F input);
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java

            final Lifecycle lifecycle = getLifeCycleById("wrapper");
            assertThat(lifecycle.getId(), is("wrapper"));
            assertThat(lifecycle.getPhases(), hasSize(1));
        }
    
        @Test
        void testCustomLifecycle() throws ComponentLookupException {
            List<Lifecycle> myLifecycles = new ArrayList<>();
            Lifecycle myLifecycle =
                    new Lifecycle("etl", Arrays.asList("extract", "transform", "load"), Collections.emptyMap());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DefaultDaemonConnectorTest.groovy

        def javaHome = new File("tmp")
        def connectTimeoutSecs = 1
        def daemonCounter = 0
    
        class OutgoingConnectorStub implements OutgoingConnector {
            ConnectCompletion connect(Address address) throws ConnectException {
                def connection = [:] as RemoteConnection
                // unsure why I can't add this as property in the map-mock above
                connection.metaClass.num = address.num
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesConflictResolutionIntegrationTest.groovy

        @RequiredFeature(feature = GradleMetadataResolveRunner.GRADLE_METADATA, value = "true")
        def "reasonable error message when a user rule throws an exception (#rule)"() {
            given:
            repository {
                'org:testA:1.0' {
                    variant('runtime') {
                        capability('org', 'testA', '1.0')
                        capability('cap')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 07:37:10 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheFactory.java

            } else {
                if (!lockOptions.equals(dirCacheReference.lockOptions)) {
                    throw new IllegalStateException(String.format("Cache '%s' is already open with different lock options.", cacheDir));
                }
                if (!properties.equals(dirCacheReference.properties)) {
                    throw new IllegalStateException(String.format("Cache '%s' is already open with different properties.", cacheDir));
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 15:54:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

                ImmutableMultimap.of(1, "a", 2, "b"), ImmutableMultimap.of(2, "b", 1, "a"))
            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableMultimap.class);
        tester.ignore(ImmutableListMultimap.class.getMethod("get", Object.class));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/internal/service/scopes/DefaultGradleUserHomeScopeServiceRegistryTest.groovy

            final File homeDir;
            boolean closed
    
            SomeHomeDirService(File homeDir) {
                this.homeDir = homeDir
            }
    
            @Override
            void close() throws IOException {
                closed = true
            }
        }
    
        class HomeDirServiceProvider implements ServiceRegistrationProvider {
            @Provides
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactHashSet.java

      }
    
      @J2ktIncompatible
      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        stream.writeInt(size());
        for (E e : this) {
          stream.writeObject(e);
        }
      }
    
      @SuppressWarnings("unchecked")
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestFramework.java

        public TestNGOptions getOptions() {
            return options;
        }
    
        @Override
        public TestNGDetector getDetector() {
            return detector;
        }
    
        @Override
        public void close() throws IOException {
            // Clear expensive state from the test framework to avoid holding on to memory
            // This should probably be a part of the test task and managed there.
            detector = null;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/BaseBuildScanPluginCheckInFixture.groovy

                                    void writeExternal(ObjectOutput out) {
                                        throw new IOException("can't be serialized")
                                    }
    
                                    void readExternal(ObjectInput input) throws IOException, ClassNotFoundException {
                                        throw new IOException("can't be serialized")
                                    }
                                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top