Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,140 for Example (0.14 sec)

  1. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDSLCustomDependenciesExtensionsSpec.groovy

            """
            file("build-logic/src/main/java/com/example/restricted/LibraryExtension.java") << defineLibraryExtension()
            file("build-logic/src/main/java/com/example/restricted/SoftwareTypeRegistrationPlugin.java") << defineSettingsPluginRegisteringSoftwareTypeProvidingPlugin()
            file("build-logic/src/main/java/com/example/restricted/RestrictedPlugin.java") << """
                package com.example.restricted;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 10:11:12 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  2. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/BNDSmokeTest.groovy

            bnd('Import-Package': 'com.example.util.*')
        }
    }
    """
    
            file("src/main/java/com/example/Example.java") << """
    package com.example;
    
    import com.example.util.MyUtil;
    
    public class Example {
        public boolean testIsEmpty(String someString) {
            return MyUtil.myIsEmpty(someString);
        }
    }
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/variants/GradlePluginWithVariantsPublicationIntegrationTest.groovy

            given:
            def producer = file('producer')
            def consumer = file('consumer')
            def pluginModule = mavenRepo.module('com.example', 'producer', '1.0')
            def pluginMarker = mavenRepo.module('com.example.greeting', 'com.example.greeting.gradle.plugin', '1.0')
    
            producer.file('settings.gradle') << ''
            producer.file('build.gradle') << """
                plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/gateway_simulation_test.go

            name: http
            protocol: HTTP
          hosts:
            - foo.example.com
            - bar.example.com
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: foobar-vs
      namespace: default
      creationTimestamp: 2010-01-01T00:00:00Z
    spec:
      hosts:
        - foo.example.com
        - bar.example.com
      gateways:
        - istio-system/public-gw
      http:
        - name: foobar
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 18:27:40 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  5. pilot/pkg/xds/endpoints/ep_filters_test.go

    					{Address: "40.0.0.1", Weight: 6},
    				},
    				Weight: 42,
    			},
    		},
    		wantWorkloadMetadata: []string{
    			";ns;example;;cluster1a",
    			";ns;example;;cluster1a",
    			";ns;example;;cluster1b",
    			";ns;example;;cluster4",
    			";;;;cluster2a",
    			";;;;cluster2b",
    			";;;;cluster2b",
    		},
    	},
    	{
    		name:  "from_network1_cluster1b",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/plugin/devel/variants/TargetJVMVersionOnPluginTooNewFailureDescriberIntegrationTest.groovy

            def producer = file('producer')
            def consumer = file('consumer')
            def pluginModule = mavenRepo.module('com.example', 'producer', '1.0')
            def pluginMarker = mavenRepo.module('com.example.greeting', 'com.example.greeting.gradle.plugin', '1.0')
    
            producer.file('settings.gradle').createFile()
            producer.file('build.gradle') << """
                plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 20:48:53 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. cmd/endpoint_test.go

    		{[]string{"http://localhost:9000/d1", "http://localhost:9000/d2", "http://example.org:9000/d3", "http://example.com:9000/d4"}, []string{"example.com:9000", "example.org:9000", "localhost:9000"}, "localhost:9000"},
    		{[]string{"http://localhost:9000/d1", "http://localhost:10000/d2", "http://example.org:9000/d3", "http://example.com:9000/d4"}, []string{"example.com:9000", "example.org:9000", "localhost:10000", "localhost:9000"}, "localhost:9000"},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jan 13 07:53:03 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. platforms/ide/problems-api/src/integTest/groovy/org/gradle/api/problems/ProblemsServiceIntegrationTest.groovy

            withReportProblemTask """
                problems.forNamespace('org.example.plugin').reporting {
                    it.id('type', 'label')
                    .documentedAt("https://example.org/doc")
                }
            """
    
            when:
            run('reportProblem')
    
            then:
            receivedProblem.definition.documentationLink.url == 'https://example.org/doc'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy

            '''
            file("src/main/java/example/module-info.java") << '''
            module example {
                exports io.example;
                requires another;
            }
            '''
            file("src/main/java/example/io/example/Example.java") << '''
                package io.example;
    
                import io.another.BaseExample;
    
                public class Example extends BaseExample {}
            '''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r70/TestDisplayNameJUnit5CrossVersionSpec.groovy

                }
            }
            """
        }
    
        @TargetGradleVersion(">=8.8")
        def "reports display names of class and method"() {
            file("src/test/java/org/example/SimpleTests.java") << """package org.example;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    @DisplayName("a class display name")
    public class SimpleTests {
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top