Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 818 for throws (0.15 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/project/DynamicLookupRoutine.java

    /**
     * Encapsulates the implementations of the common ways to interact with a {@link DynamicObject}.
     */
    public interface DynamicLookupRoutine {
        @Nullable Object property(DynamicObject receiver, String propertyName) throws MissingPropertyException;
        @Nullable Object findProperty(DynamicObject receiver, String propertyName);
        void setProperty(DynamicObject receiver, String name, @Nullable Object value);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 09:49:31 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/Jsr330ConstructorSelector.java

        }
    
        @Override
        public <T> ClassGenerator.GeneratedConstructor<? extends T> forType(final Class<T> type) throws UnsupportedOperationException {
            CachedConstructor constructor = constructorCache.get(type, () -> {
                try {
                    validateType(type);
                    ClassGenerator.GeneratedClass<?> implClass = classGenerator.generate(type);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 07:52:37 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/UnsupportedWithConfigurationCacheRule.groovy

            private final String reason
    
            SkippingRuleStatement(String reason) {
                this.reason = reason
            }
    
            @Override
            void evaluate() throws Throwable {
                assumeTrue("Test does not support configuration cache: $reason", false)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 08:57:52 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiBackedGradleExecuter.groovy

            super(distribution, testDirectoryProvider)
        }
    
        void withToolingApiJvmArgs(String... args) {
            jvmArgs.addAll(args.toList())
        }
    
        @Override
        void assertCanExecute() throws AssertionError {
        }
    
        @Override
        protected ExecutionResult doRun() {
            def output = new ByteArrayOutputStream()
            def error = new ByteArrayOutputStream()
            def args = allArgs
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r27/TestLauncherCrossVersionSpec.groovy

            }
            then:
            e = thrown(TestExecutionException)
            normaliseLineSeparators(e.cause.message) == """No matching tests found in any candidate test task.
        Requested tests:
            Test method util.TestUtil.someUtilMethod()"""
        }
    
        @TargetGradleVersion(">=3.0 <8.4")
        def "throws exception with meaningful error message on failing tests"() {
            setup:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       */
      @Test
      public void testNulls() throws Exception {
        for (Class<?> classToTest : findClassesToTest(loadClassesInPackage(), NULL_TEST_METHOD_NAMES)) {
          try {
            tester.doTestNulls(classToTest, visibility);
          } catch (Throwable e) {
            throw sanityError(classToTest, NULL_TEST_METHOD_NAMES, "nulls test", e);
          }
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MapsTest.java

        }
      }
    
      public void testToStringImplWithNullKeys() throws Exception {
        Map<@Nullable String, String> hashmap = Maps.newHashMap();
        hashmap.put("foo", "bar");
        hashmap.put(null, "baz");
    
        assertEquals(hashmap.toString(), Maps.toStringImpl(hashmap));
      }
    
      public void testToStringImplWithNullValues() throws Exception {
        Map<String, @Nullable String> hashmap = Maps.newHashMap();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/ManifestUtil.java

                }
                return classpathEntry.split(" ");
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
        /*
         * The manifest if this is a jar file and has a manifest, null otherwise.
         */
        private static Manifest findManifest(File possibleJarFile) throws IOException {
            if (!possibleJarFile.exists() || !possibleJarFile.isFile()) {
                return null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultDynamicLookupRoutine.java

    import javax.annotation.Nullable;
    import java.util.Map;
    
    public class DefaultDynamicLookupRoutine implements DynamicLookupRoutine {
        @Override
        public Object property(DynamicObject receiver, String propertyName) throws MissingPropertyException {
            return receiver.getProperty(propertyName);
        }
    
        @Override
        public @Nullable Object findProperty(DynamicObject receiver, String propertyName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 09:49:31 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       */
      @Test
      public void testNulls() throws Exception {
        for (Class<?> classToTest : findClassesToTest(loadClassesInPackage(), NULL_TEST_METHOD_NAMES)) {
          try {
            tester.doTestNulls(classToTest, visibility);
          } catch (Throwable e) {
            throw sanityError(classToTest, NULL_TEST_METHOD_NAMES, "nulls test", e);
          }
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top