Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 4,543 for ApplyG (0.2 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r40/PluginApplicationBuildProgressCrossVersionSpec.groovy

            def help = events.operation("Apply plugin org.gradle.help-tasks to root project 'single'")
            def java = events.operation("Apply plugin org.gradle.java to root project 'single'")
            def javaBase = events.operation("Apply plugin org.gradle.api.plugins.JavaBasePlugin to root project 'single'")
            def base = events.operation("Apply plugin org.gradle.api.plugins.BasePlugin to root project 'single'")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/PredicatesTest.java

        assertFalse(isNumber.apply(null));
      }
    
      @GwtIncompatible // Predicates.instanceOf
      public void testIsInstanceOf_interface() {
        Predicate<@Nullable Object> isComparable = Predicates.instanceOf(Comparable.class);
    
        assertTrue(isComparable.apply(1));
        assertTrue(isComparable.apply(2.0f));
        assertTrue(isComparable.apply(""));
        assertFalse(isComparable.apply(null));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  3. platforms/jvm/ear/src/test/groovy/org/gradle/plugins/ear/EarPluginTest.groovy

            pojoProject.pluginManager.apply(JavaPlugin)
            def beanProject = TestUtil.createChildProject(project, 'bean')
            beanProject.pluginManager.apply(JavaPlugin)
    
            beanProject.dependencies {
                runtimeOnly project(path: pojoProject.path)
            }
    
            when:
            project.pluginManager.apply(EarPlugin)
            project.dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 14:55:02 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  4. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest.groovy

                "src/integTest/groovy",
                "src/integTest/resources"
            ]
    
            expectedOrder.each { testFile(it).mkdirs() }
    
            runEclipseTask """
    apply plugin: "java"
    apply plugin: "groovy"
    apply plugin: "eclipse"
    
    sourceSets {
        integTest {
            resources { srcDir "src/integTest/resources" }
            java { srcDir "src/integTest/java" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/PluginsBlockInterpreterTest.kt

                    id("plugin-id").version("1.0").apply(true)
                    id("plugin-id").version("2.0") apply true
                    id("plugin-id") version "3.0".apply(true) // BUG!
                    id("plugin-id") version "4.0" apply true
    
                    id("plugin-id").apply(false).version("1.0")
                    id("plugin-id").apply(false) version "2.0"
                    id("plugin-id") apply false.version("3.0") // BUG!
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 15:15:27 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        assertEquals(p1.apply(1.0f), p2.apply(1.0f));
        assertEquals(p1.apply(5.0f), p2.apply(5.0f));
      }
    
      public void testForPredicate() {
        Function<Object, Boolean> alwaysTrue = Functions.forPredicate(Predicates.alwaysTrue());
        Function<Object, Boolean> alwaysFalse = Functions.forPredicate(Predicates.alwaysFalse());
    
        assertTrue(alwaysTrue.apply(0));
        assertFalse(alwaysFalse.apply(0));
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/PluginAwareExtensionsTest.kt

        fun `non reified apply extension on Gradle`() {
            assertNonReifiedApplyExtension<Gradle>()
        }
    
        @Test
        fun `reified apply extension`() {
    
            newPluginAwareMock<PluginAware>().run {
                target.apply<AnyPlugin>()
                verify(configurationAction).plugin(AnyPlugin::class.java)
            }
            newPluginAwareMock<Gradle>().run {
                target.apply<GradlePlugin>()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r214/ToolingApiEclipseModelWtpClasspathAttributesCrossVersionSpec.groovy

            entryNotDeployed(classpath[1])
        }
    
        def "Root wtp dependencies and their transitives are deployed to '/'"() {
            given:
            buildFile <<
            """apply plugin: 'java'
               apply plugin: 'war'
               apply plugin: 'eclipse-wtp'
               repositories { $localMaven }
               dependencies { ${implementationConfiguration} 'org.example:example-lib:1.0' }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r40/AbstractProgressCrossVersionSpec.groovy

                return "Apply initialization script '${pathOfScript(script)}' to build"
            } else {
                return "Apply script ${script.name} to build"
            }
        }
    
        String applyInitScriptPlugin(File script) {
            if (targetVersion.baseVersion >= GradleVersion.version("6.6")) {
                return "Apply script '${pathOfScript(script)}' to build"
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/PluginServiceInjectionIntegrationTest.groovy

                    CustomPlugin(WorkerExecutor executor) {
                    }
    
                    void apply(Project p) {
                    }
                }
    
                apply plugin: CustomPlugin
            """
    
            expect:
            fails()
            failure.assertHasCause("Failed to apply plugin class 'CustomPlugin'")
            failure.assertHasCause("Could not create plugin of type 'CustomPlugin'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top