Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 241 for fileset (0.12 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectTest.groovy

            project.ant.is(project.ant)
        }
    
        def ant() {
            given:
            Closure configureClosure = { fileset(dir: 'dir', id: 'fileset') }
            when:
            project.ant(configureClosure)
            then:
            project.ant.project.getReference('fileset') instanceof FileSet
        }
    
        def createAntBuilder() {
            expect:
            project.createAntBuilder().is(testAntBuilder)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testerrors/argposition_test.go

    type ShortPosition struct {
    	Line    int
    	Column  int
    	Visited bool
    }
    
    type IdentPositionInfo map[string][]ShortPosition
    
    type Visitor struct {
    	identPosInfo IdentPositionInfo
    	fset         *token.FileSet
    	t            *testing.T
    }
    
    func (v *Visitor) Visit(node ast.Node) ast.Visitor {
    	if ident, ok := node.(*ast.Ident); ok {
    		if expectedPositions, ok := v.identPosInfo[ident.Name]; ok {
    			gotMatch := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. src/go/types/self_test.go

    	}
    
    	var files []*ast.File
    	for _, filename := range filenames {
    		file, err := parser.ParseFile(fset, filename, nil, 0)
    		if err != nil {
    			return nil, err
    		}
    		files = append(files, file)
    	}
    
    	return files, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:39:00 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileTreeTest.groovy

            testDir == fileTree.dir
        }
    
        def testFileSetConstructionWithNoBaseDirSpecified() {
            DefaultConfigurableFileTree fileSet = new DefaultConfigurableFileTree(fileResolverStub, listener, TestFiles.patternSetFactory, taskDependencyFactory, directoryFileTreeFactory())
    
            when:
            fileSet.contains(new File('unknown'))
            then:
            thrown(InvalidUserDataException)
        }
    
        def testCanVisitStructure() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. src/go/importer/importer_test.go

    		pkg, err := imp.Import(thePackage)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if pkg.Path() != thePackage {
    			t.Fatalf("Path() = %q, want %q", pkg.Path(), thePackage)
    		}
    
    		// Check that the fileset positions are accurate.
    		// https://github.com/golang/go#28995
    		mathBigInt := pkg.Scope().Lookup("Int")
    		posn := fset.Position(mathBigInt.Pos()) // "$GOROOT/src/math/big/int.go:25:1"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 25 21:16:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. src/go/types/example_test.go

    `,
    	} {
    		files = append(files, mustParse(fset, src))
    	}
    
    	// Type-check a package consisting of these files.
    	// Type information for the imported "fmt" package
    	// comes from $GOROOT/pkg/$GOOS_$GOOARCH/fmt.a.
    	conf := types.Config{Importer: importer.Default()}
    	pkg, err := conf.Check("temperature", fset, files, nil)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go

    		}
    	}
    
    	exportFacts = func(cfg *Config, data []byte) error {
    		return os.WriteFile(cfg.VetxOutput, data, 0666)
    	}
    )
    
    func run(fset *token.FileSet, cfg *Config, analyzers []*analysis.Analyzer) ([]result, error) {
    	// Load, parse, typecheck.
    	var files []*ast.File
    	for _, name := range cfg.GoFiles {
    		f, err := parser.ParseFile(fset, name, nil, parser.ParseComments)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  8. maven-core/src/test/resources-project-builder/foo/sub/pom.xml

                </goals>
              </execution>
    
              <execution>
                <id>archetype-test-fileset</id>
                <phase>process-test-resources</phase>
                <configuration>
                  <tasks>
                    <property name="test.projects.name" value="fileset" />
                    <property name="test.projects.version" value="1.0" />
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 08:59:31 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  9. src/go/internal/srcimporter/srcimporter.go

    			setUsesCgo(&conf)
    			file, err := p.cgo(bp)
    			if err != nil {
    				return nil, fmt.Errorf("error processing cgo for package %q: %w", bp.ImportPath, err)
    			}
    			files = append(files, file)
    		}
    	}
    
    	pkg, err = conf.Check(bp.ImportPath, p.fset, files, nil)
    	if err != nil {
    		// If there was a hard error it is possibly unsafe
    		// to use the package as it may not be fully populated.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 18:54:32 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals("target", pom.getValue("build/plugins[1]/configuration/domParam/copy/fileset/@dir"));
            assertNull(pom.getValue("build/plugins[1]/configuration/domParam/copy/fileset/@todir"));
            assertNull(pom.getValue("build/plugins[1]/configuration/domParam/copy/fileset/@overwrite"));
        }
    
        /** MNG-4053*/
        @Test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 93.2K bytes
    - Viewed (0)
Back to top