Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,749 for getname (0.11 sec)

  1. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/resolve/DefaultLibraryResolver.java

                    if (flavor != null && !flavor.getName().equals(candidate.getFlavor().getName())) {
                        continue;
                    }
                    if (platform != null && !platform.getName().equals(candidate.getTargetPlatform().getName())) {
                        continue;
                    }
                    if (buildType != null && !buildType.getName().equals(candidate.getBuildType().getName())) {
                        continue;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/RelevantMethods.java

                if (method.getName().equals("configure")) {
                    if (!method.getReturnType().equals(Void.TYPE)) {
                        throw new ServiceValidationException(String.format("Method %s.%s() must return void.", type.getName(), method.getName()));
                    }
                    add(configurers, method);
                } else if (method.getName().startsWith("create") || method.getName().startsWith("decorate")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:53:25 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/DefaultArtifactRepositoryContainerTest.groovy

            def repo1 = Mock(ArtifactRepository) { getName() >> "a" }
            def repo2 = Mock(ArtifactRepository) { getName() >> "b" }
    
            when:
            container.addLast(repo1)
            container.addLast(repo2)
    
            then:
            container == [repo1, repo2]
        }
    
        def testGetThrowsExceptionForUnknownResolver() {
            when:
            container.getByName("unknown")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValidatingMapEntryCollector.java

                Map.class.getName(), keyType.getName());
            Preconditions.checkNotNull(
                value,
                "Cannot get the value of a property of type %s with value type %s as the source contains a null value for key \"%s\".",
                Map.class.getName(), valueType.getName(), key);
    
            K sanitizedKey = keySanitizer.sanitize(key);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/io/TraverserUtilTest.java

            assertThat(set.size() > 0, is(true));
            assertThat(set.contains(DummyTest.class.getName()), is(true));
            assertThat(set.contains(TraverserUtilTest.class.getName()), is(true));
            assertThat(set.contains(TestCase.class.getName()), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testFromClass_JarFile() throws Exception {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy

    - Method getZ() is not a valid method: it is both implemented by the view '${getName(TypeWithImplementedProperty)}' and the delegate type '${getName(DelegateTypeWithImplementedProperty)}'
    - Method setZ(int) is not a valid method: it is both implemented by the view '${getName(TypeWithImplementedProperty)}' and the delegate type '${getName(DelegateTypeWithImplementedProperty)}'"""
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

        String oldName = Thread.currentThread().getName();
        final Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName");
        Callable<@Nullable Void> callable =
            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() throws Exception {
                assertEquals(Thread.currentThread().getName(), newName.get());
                return null;
              }
            };
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

        String oldName = Thread.currentThread().getName();
        final Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName");
        Callable<@Nullable Void> callable =
            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() throws Exception {
                assertEquals(Thread.currentThread().getName(), newName.get());
                return null;
              }
            };
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/wrapper-shared/src/test/groovy/org/gradle/wrapper/PathAssemblerTest.java

            assertThat(distributionDir1.getName(), equalTo(distributionDir2.getName()));
        }
    
        @Test
        public void distZipWithGradleUserHomeBase() throws Exception {
            configuration.setDistribution(new URI("http://server/dist/gradle-1.0.zip"));
    
            File dist = pathAssembler.getDistribution(configuration).getZipFile();
            assertThat(dist.getName(), equalTo("gradle-1.0.zip"));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelPropertyTargetingRuleIntegrationTest.groovy

                interface Platform {
                    OperatingSystem getOperatingSystem()
                }
    
                @Managed
                interface OperatingSystem {
                    String getName()
                    void setName(String name)
                }
    
                class RulePlugin extends RuleSource {
                    @Model
                    void platform(Platform platform) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 16.6K bytes
    - Viewed (0)
Back to top