Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 545 for Here (0.05 sec)

  1. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RulesVisitor.java

        private static final String AST_NODE_METADATA_KEY = RulesVisitor.class.getName();
        private static final ClassNode ANNOTATION_CLASS_NODE = new ClassNode(RulesBlock.class);
    
        // TODO - have to do much better here
        public static final String INVALID_STATEMENT = "illegal rule";
        public static final String INVALID_RULE_SIGNATURE = "Rule must follow the pattern '«name»(«type») {}' for a registration, and '«name» {}' for an action";
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/IntegrationTest.kt

        override fun setClasspath(classpath: FileCollection) {
            /*
             * The 'kotlin-daemon-client.jar' repackages 'native-platform' with all its binaries.
             * Here we make sure it is placed at the end of the test classpath so that we do not accidentally
             * pick parts of 'native-platform' from the 'kotlin-daemon-client.jar' when instantiating
             * a Gradle runner.
             */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/SocksProxyResolveIntegrationTest.groovy

            when:
            def recordingServer = new TestRecordingSocksServer()
            proxyServer.start(recordingServer)
            proxyServer.configureProxy(executer)
            fails('listJars') // Don't have to succeed here, just record the attempt in the fake proxy and verify it
            then:
            result.assertTaskExecuted(":listJars")
            recordingServer.madeAnyConnection()
    
            when:
            proxyServer.stop()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/ReadOnlyModuleArtifactCache.java

        public void clear(ArtifactAtRepositoryKey key) {
            // clear is actually called from org.gradle.internal.resource.cached.AbstractCachedIndex.lookup which
            // is a read operation, in case of missing entry, so we can't fail here, but should be a no-op only
        }
    
        private static void operationShouldNotHaveBeenCalled() {
            throw new UnsupportedOperationException("A write operation shouldn't have been called in a read-only cache");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.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