Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 216 for Here (0.04 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/collections/DomainObjectCollectionFactory.java

    public interface DomainObjectCollectionFactory {
        /**
         * Creates a {@link NamedDomainObjectContainer} for managing named objects of the specified type.
         *
         * Note that this method is here because {@link org.gradle.api.Project#container(Class)} cannot decorate the elements because of backwards compatibility.
         */
        <T> NamedDomainObjectContainer<T> newNamedDomainObjectContainerUndecorated(Class<T> elementType);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. testing/integ-test/src/integTest/groovy/org/gradle/integtests/DependencyResolutionFromTaskContextIntegrationTest.groovy

            settingsFile << """
                include 'a', 'b'
            """
    
            expect:
            fails("a:foo", "b:foo", "--parallel")
    
            // We just need to assert that the build fails with the right error message here, it doesn't matter which task is the first to fail,
            // allowing either failure to pass the test should reduce flakiness on CI.
    
            def docLinkMessage = getDocLinkMessage()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/CacheLayoutTest.groovy

        }
    
        def "use metadata store layout"() {
            when:
            CacheLayout cacheLayout = CacheLayout.META_DATA
    
            then:
            // If you change the value here, update the docs in dependency_resolution.adoc#sub:cache_copy
            def expectedVersion = 106
            cacheLayout.name == 'metadata'
            cacheLayout.key == "metadata-2.${expectedVersion}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 12:06:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-jvm-test-suite/src/main/java/org/gradle/api/plugins/jvm/internal/DefaultJvmTestSuiteTarget.java

        @Inject
        public DefaultJvmTestSuiteTarget(String name, TaskContainer tasks, TaskDependencyFactory taskDependencyFactory) {
            this.name = name;
    
            // Might not always want Test type here?
            this.testTask = tasks.register(name, Test.class, t -> {
                t.setDescription("Runs the " + GUtil.toWords(name) + " suite.");
                t.setGroup(JavaBasePlugin.VERIFICATION_GROUP);
            });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/main/SimpleAnalysisEvaluator.kt

        private
        val conventionStorage = ConventionStorage()
    
        private
        val analysisContext = AnalysisStepContext(
            supportedDocumentChecks = emptyList(), // TODO: move the settings blocks check here,
            supportedResolutionResultHandlers = listOf(ConventionDefinitionCollector(conventionStorage), ConventionApplicationHandler(conventionStorage))
        )
    
        fun evaluate(
            scriptFileName: String,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:38 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginEndOfBuildCallbackIntegrationTest.groovy

            when:
            fails failingTaskName
    
            then:
            // Note: we test less of the exception here because it's different in a build where configuration came from cache
            // In the non cache case, the exception points to the build file. In the from cache case it does not.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest_prod.h

    //   void MyMethod();
    //   FRIEND_TEST(MyClassTest, MyMethod);
    // };
    //
    // class MyClassTest : public testing::Test {
    //   // ...
    // };
    //
    // TEST_F(MyClassTest, MyMethod) {
    //   // Can call MyClass::MyMethod() here.
    // }
    
    #define FRIEND_TEST(test_case_name, test_name)\
    friend class test_case_name##_##test_name##_Test
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/AbstractTestDescriptor.java

        }
    
        @Override
        public String getClassName() {
            return null;
        }
    
        /**
         * Returns the method name for this test, if any.
         * It should be in TestDescriptor, but moved here for backward compatibility
         *  TODO: move it to TestDescriptor interface with 9.0
         *
         * @return The method name. May return null.
         * @since 8.8
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr6_writing_tasks.adoc

    import org.gradle.api.tasks.TaskAction
    import java.io.File
    import java.io.InputStream
    import java.nio.charset.Charset
    
    class LicensePlugin: Plugin<Project> {
        // Don't change anything here
    }
    
    abstract class LicenseTask : DefaultTask() {
        @Input
        val fileName = project.rootDir.toString() + "/license.txt"
    
        @TaskAction
        fun action() {
            // Read the license text
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 17:16:27 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. platforms/software/resources/src/integTest/groovy/org/gradle/internal/resource/ExternalResourceNameIntegrationTest.groovy

    class ExternalResourceNameIntegrationTest extends AbstractIntegrationSpec {
    
        // Network shares on Linux and macOS are just normal file paths, so we don't have anything to test here
        @Requires(UnitTestPreconditions.Windows)
        def "can access repository on network share"() {
            //since we do not have a network share, we test the failure case and assert that the correct path was searched
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 08:36:39 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top