Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for bazPlugin (0.75 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/LibrariesSourceGeneratorTest.groovy

                library('boo', 'group', 'boo').withoutVersion()
                plugin('fooPlugin', 'org.foo.plugin').version('1.0')
                plugin('barPlugin', 'org.bar.plugin').versionRef('barVersion')
                plugin('bazPlugin', 'org.baz.plugin').version('')
            }
    
            then:
            sources.hasDependencyAlias('foo', 'getFoo', "with version <b>1.0</b>")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginTasksIntegrationTest.kt

            build("generateScriptPluginAdapters")
            assertFalse(existing("build/generated-sources/kotlin-dsl-plugins/kotlin/FooPlugin.kt").exists())
            assertTrue(existing("build/generated-sources/kotlin-dsl-plugins/kotlin/BarPlugin.kt").isFile)
        }
    
    
        @Test
        fun `applied precompiled script plugin is reloaded upon change`() {
            // given:
            withFolders {
                "build-logic" {
                    withFile(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 10:30:22 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. pkg/scheduler/apis/config/v1/defaults_test.go

    						},
    					},
    					{
    						SchedulerName: ptr.To("custom-scheduler"),
    						Plugins: &configv1.Plugins{
    							Bind: configv1.PluginSet{
    								Enabled: []configv1.Plugin{
    									{Name: "BarPlugin"},
    								},
    								Disabled: []configv1.Plugin{
    									{Name: names.DefaultBinder},
    								},
    							},
    						},
    					},
    				},
    			},
    			expected: &configv1.KubeSchedulerConfiguration{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:03:04 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  4. testing/integ-test/src/integTest/groovy/org/gradle/integtests/configuration/ExecuteDomainObjectCollectionCallbackBuildOperationTypeIntegrationTest.groovy

                }
            """
            buildFile << """
                apply from:'script.gradle'
                class FooPlugin implements Plugin<Project> { void apply(Project p) {} }
                class BarPlugin implements Plugin<Project> { void apply(Project p) {} }
    
                ${domainObjectCreation('foo')}
                ${domainObjectCreation('bar')}
            """
    
            when:
            run('help')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  5. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/plugins/PrecompiledGroovyPluginsIntegrationTest.groovy

            file("buildSrc/build.gradle") << """
                afterEvaluate {
                    assert gradlePlugin.plugins.foo.implementationClass == 'FooPlugin'
                    assert gradlePlugin.plugins.bar.implementationClass == 'BarPlugin'
                }
            """
    
            then:
            succeeds("help")
        }
    
        def "adding precompiled script support does not fail when there are no precompiled scripts"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 28.7K bytes
    - Viewed (0)
  6. pkg/scheduler/internal/queue/scheduling_queue_test.go

    	}
    	// Construct another Pod, and associate its scheduler failure to plugin "barPlugin".
    	hpp2 := clonePod(highPriorityPodInfo.Pod, "hpp2")
    	// This Pod will go to the unschedulable Pod pool.
    	err = q.AddUnschedulableIfNotPresent(logger, q.newQueuedPodInfo(hpp2, "barPlugin"), q.SchedulingCycle())
    	if err != nil {
    		t.Fatalf("unexpected error from AddUnschedulableIfNotPresent: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
Back to top