Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,457 for otherfile (0.16 sec)

  1. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/ClassMethodNameStackTraceSpecTest.groovy

            !spec.isSatisfiedBy(new StackTraceElement("OtherClassName", "methodName", "OtherFile.java", 21))
            !spec.isSatisfiedBy(new StackTraceElement('ClassName$Inner$1', "methodName", "OtherFile.kt", 21))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/nativeplatform/tasks/AbstractUnexportMainSymbolIntegrationTest.groovy

            otherFile.writeToProject(testDirectory)
            succeeds("unexport")
            then:
            assertMainSymbolIsNotExported(objectFile("build/relocated/main"))
            file("build/relocated").assertHasDescendants(objectFile("main").name, objectFile("other").name)
            mainObject.lastModified() == oldTimestamp
    
            when:
            assert file(otherFile.sourceFile.withPath("src/main")).delete()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/initialization/BuildFileProjectSpecTest.groovy

        @Rule
        public TestNameTestDirectoryProvider temporaryFolder = new TestNameTestDirectoryProvider(getClass())
        private File file
        private File otherFile
        private BuildFileProjectSpec spec
    
        def setup() {
            file = temporaryFolder.createFile("build")
            otherFile = new File("other")
            spec = new BuildFileProjectSpec(file)
        }
    
        def "contains match when at least one project has specified build file"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 06 01:29:26 UTC 2020
    - 3.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultFilePropertyFactoryTest.groovy

            def otherFile = projectDir.file("some-file")
    
            expect:
            def fileVar = factory.newFileProperty()
            def fileProvider = fileVar.asFile
    
            fileVar.set(new File("some-file"))
            fileVar.present
            fileVar.get().getAsFile() == otherFile
            fileProvider.present
            fileProvider.get() == otherFile
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ReuseArchiveIntegrationTest.groovy

            then:
            file("build/extract/hello.txt").text == "hello"
            cachedFile.assertExists()
            otherFile.assertDoesNotExist()
    
            when:
            // write into the directory used by the extracted zip file
            cachedFile.text = "some incorrect pre-existing pre-expanded content"
            otherFile.touch()
    
            and:
            succeeds "extract"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/internal/problems/DefaultProblemLocationAnalyzerTest.groovy

        def element = new StackTraceElement("class", "method", "filename", 7)
        def callerElement = new StackTraceElement("class", "method", "filename", 11)
        def otherElement = new StackTraceElement("class", "method", "otherfile", 11)
        def elementWithNoSourceFile = new StackTraceElement("class", "method", null, 11)
        def elementWithNoLineNumber = new StackTraceElement("class", "method", "filename", -1)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:15:42 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/tasks/SwiftUnexportMainSymbolIntegrationTest.groovy

            return new SwiftLib()
        }
    
        @Override
        protected SourceElement getComponentWithOtherFileUnderTest() {
            return SourceElement.ofElements(mainFile, otherFile)
        }
    
        @Override
        protected SourceFileElement getMainFile(String filenameWithoutExtension) {
            return new SourceFileElement() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/tasks/CppUnexportMainSymbolIntegrationTest.groovy

                }
            }
        }
    
        @Override
        protected SourceElement getComponentWithOtherFileUnderTest() {
            return SourceElement.ofElements(mainFile, otherFile)
        }
    
        @Override
        protected SourceFileElement getMainFile(String filenameWithoutExtension) {
            return new SourceFileElement() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationWritingIntegTest.groovy

            def alternateRepo = new MavenFileRepository(
                testDirectory.createDir("alternate-repo")
            )
            MavenFileModule otherFile = alternateRepo.module("org", "foo", "1.0")
                .publish()
            otherFile.artifactFile.bytes = [0, 0, 0, 0]
    
            buildFile << """
                dependencies {
                    implementation "org:foo:1.0"
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:22 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    	if slicesContains(pass.OtherFiles, filename) ||
    		slicesContains(pass.IgnoredFiles, filename) {
    		return nil
    	}
    	for _, f := range pass.Files {
    		// TODO(adonovan): use go1.20 f.FileStart
    		if pass.Fset.File(f.Pos()).Name() == filename {
    			return nil
    		}
    	}
    	return fmt.Errorf("Pass.ReadFile: %s is not among OtherFiles, IgnoredFiles, or names of Files", filename)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top