Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TestPlugin1 (0.31 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/project/TestPlugin1.groovy

     * limitations under the License.
     */
     
    package org.gradle.api.internal.project
    
    import org.gradle.api.Plugin
    import org.gradle.api.Project
    
    class TestPlugin1 implements Plugin<Project> {
    
        int applyCounter = 0
    
        void apply(Project project) {
            applyCounter++
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 22 14:16:41 UTC 2013
    - 858 bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginRegistryTest.groovy

        def "inspects imperative plugin implementation"() {
            classLoader.loadClass(TestPlugin1.name) >> TestPlugin1
    
            expect:
            def plugin = pluginRegistry.inspect(TestPlugin1.class)
            plugin.type == PotentialPlugin.Type.IMPERATIVE_CLASS
            plugin.pluginId == null
            plugin.displayName.displayName == "plugin class '${TestPlugin1.name}'"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:06 UTC 2021
    - 13K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/runtime/framework_test.go

    			plugins: []*TestPlugin{
    				{
    					name: "TestPlugin1",
    					inj:  injectedResult{FilterStatus: int(framework.Error)},
    				},
    				{
    					name: "TestPlugin2",
    					inj:  injectedResult{FilterStatus: int(framework.Error)},
    				},
    			},
    			wantStatus: framework.AsStatus(fmt.Errorf(`running "TestPlugin1" filter plugin: %w`, errInjectedFilterStatus)).WithPlugin("TestPlugin1"),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginContainerTest.groovy

        private Class<?> plugin1Class = classLoader.parseClass("""
            import org.gradle.api.Plugin
            import org.gradle.api.Project
            class TestPlugin1 implements Plugin<Project> {
              void apply(Project project) {}
            }
        """)
    
        private Class<?> plugin2Class = classLoader.parseClass("""
            import org.gradle.api.Plugin
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top