Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 352 for projectFor (0.24 sec)

  1. subprojects/core/src/test/groovy/org/gradle/initialization/DefaultProjectDescriptorTest.groovy

            when:
            descriptor.projectDir = new File("relative/path")
    
            then:
            descriptor.projectDir.absolutePath == new File(testDirectory, "relative/path").absolutePath
        }
    
        def "can set absolute project directory"() {
            given:
            def descriptor = projectDescriptor()
    
            when:
            descriptor.projectDir = new File("absolute/path").absoluteFile
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 08 03:33:31 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestNGExecutionResult.groovy

    class TestNGExecutionResult implements TestExecutionResult {
        private final TestFile projectDir
        private GPathResult resultsXml
        public static final String DEFAULT_TESTNG_REPORT = "build/reports/tests/test"
        private final String outputDirectory
    
        TestNGExecutionResult(projectDir, String outputDirectory = DEFAULT_TESTNG_REPORT) {
            this.projectDir = projectDir
            this.outputDirectory = outputDirectory
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

            val directory = projectDir.resolve("classes-default")
    
            DEFAULT_EXCLUDES_FOR_TEST.forEachIndexed { i, pkg ->
                touchFile(directory.resolve("$pkg/Foo$i.class"))
            }
    
            return sequenceOf(directory)
        }
    
        private
        fun aJar(sourceFiles: Sequence<Path>): Sequence<Path> {
            val outputPath = projectDir.resolve("mylib.jar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/test/groovy/org/gradle/language/swift/plugins/SwiftBasePluginTest.groovy

    class SwiftBasePluginTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def projectDir = tmpDir.createDir("project")
        def project = ProjectBuilder.builder().withProjectDir(projectDir).withName("test").build()
    
        def "adds compile task for binary"() {
            def binary = Stub(DefaultSwiftBinary)
            binary.name >> name
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. subprojects/core/src/testFixtures/groovy/org/gradle/test/fixtures/TestDeploymentFixture.groovy

    class TestDeploymentFixture {
        private File triggerFile
        private File keyFile
    
        void writeToProject(TestFile projectDir) {
            triggerFile = projectDir.file('triggerFile')
            keyFile = projectDir.file('keyFile')
    
            triggerFile.text = "0"
    
            projectDir.file("build.gradle") << """
                import javax.inject.Inject
                import ${Deployment.canonicalName}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 26 00:54:23 UTC 2019
    - 4.1K bytes
    - Viewed (0)
  6. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/NestedInputKotlinImplementationTrackingIntegrationTest.groovy

            def project1 = file("project1").createDir()
            def project2 = file("project2").createDir()
            [project1, project2].each { projectDir ->
                def buildFile = projectDir.file("build.gradle.kts")
                setupTaskWithNestedAction('(File) -> Unit', '', projectDir)
                buildFile << """
                    apply(plugin = "base")
    
                    tasks.create<TaskWithNestedAction>("myTask") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 06:52:58 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesBetweenBuildsFileSystemWatchingIntegrationTest.groovy

            def renamedDir = file("renamed")
            def projectDir = originalDir.file(*projectDirPath)
            def settingsFile = projectDir.file("settings.gradle")
            def buildFile = projectDir.file("build.gradle")
            def sourceFile = projectDir.file("source.txt")
            def targetFile = projectDir.file("build/target.txt")
    
            executer.beforeExecute {
                inDirectory(projectDir)
                enableVerboseVfsLogs()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/JavaAgentFixture.groovy

    package org.gradle.integtests.fixtures
    
    import org.gradle.test.fixtures.file.TestFile
    
    
    class JavaAgentFixture {
        void writeProjectTo(TestFile projectDir) {
            projectDir.file("settings.gradle") << """
                include 'javaagent'
            """
            def javaAgentProjectDir = projectDir.createDir('javaagent')
            javaAgentProjectDir.createDir('src/main/java')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/utils/lstm_utils.h

    // that also contains other supporting ops needed to construct the operands for
    // the fused op. The caller provides the containing FuncOp as input with
    // arguments specifying the input, weight, projection and bias.
    // The weight, projection, bias and layer norm scale all need to be
    // RankedTensorType.
    // This class sets the layer norm coefficients to NoneType.
    class ConvertLSTMCellSimpleToFusedLSTM {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/process-services/src/integTest/groovy/org/gradle/process/internal/health/memory/MemoryStatusUpdateIntegrationTest.groovy

            return groovyScript('''
                import java.util.concurrent.CountDownLatch
                import org.gradle.process.internal.health.memory.*
    
                task waitForMemoryEvents {
                    def projectDir = project.layout.projectDirectory
                    def logger = logger
                    doLast {
                        final CountDownLatch osNotification = new CountDownLatch(1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 29 14:36:01 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top