Home
last modified time | relevance | path

Searched refs:mockFS (Results 1 – 8 of 8) sorted by relevance

/build/soong/android/
Dfixture.go244 mutator(f.mockFS)
247 for p, _ := range f.mockFS {
256 func FixtureMergeMockFs(mockFS MockFS) FixturePreparer {
258 fs.Merge(mockFS)
639 mockFS: make(MockFS),
686 fixture.mockFS = nil
716 mockFS MockFS member
734 return f.mockFS
749 if f.mockFS != nil {
757 f.config.mockFileSystem("", f.mockFS)
[all …]
Dconfig.go469 mockFS := map[string][]byte{}
471 if _, exists := mockFS["Android.bp"]; !exists {
472 mockFS["Android.bp"] = []byte(bp)
476 mockFS[k] = v
481 for candidate := range mockFS {
488 panic(fmt.Sprintf("No Blueprint or Android.bp files found in mock filesystem: %v\n", mockFS))
490 mockFS[blueprint.MockModuleListFile] = []byte(strings.Join(pathsToParse, "\n"))
492 c.fs = pathtools.MockFs(mockFS)
Dpaths_test.go1148 mockFS := MockFS{
1166 mockFS.AddToFixture(),
/build/blueprint/
Dmodule_ctx_test.go93 mockFS := map[string][]byte{
97 ctx.MockFileSystem(mockFS)
220 mockFS := map[string][]byte{
224 ctx.MockFileSystem(mockFS)
341 mockFS := map[string][]byte{
345 ctx.MockFileSystem(mockFS)
/build/soong/cc/
Dtesting.go645 mockFS := map[string][]byte{}
647 GatherRequiredFilesForTest(mockFS)
650 mockFS[k] = v
657 config = android.TestArchConfig(buildDir, env, bp, mockFS)
Dvendor_snapshot_test.go773 mockFS := map[string][]byte{
802 config := TestConfig(t.TempDir(), android.Android, nil, "", mockFS)
985 mockFS := map[string][]byte{
993 config := TestConfig(t.TempDir(), android.Android, nil, "", mockFS)
1063 mockFS := map[string][]byte{
1072 config := TestConfig(t.TempDir(), android.Android, nil, "", mockFS)
1158 mockFS := map[string][]byte{
1164 config := TestConfig(t.TempDir(), android.Android, nil, "", mockFS)
1347 mockFS := map[string][]byte{
1356 config := TestConfig(t.TempDir(), android.Android, nil, "", mockFS)
/build/soong/java/
Dtesting.go149 mockFS := android.MockFS{}
163 mockFS.Merge(prebuiltApisFilesForLibs([]string{release}, libs))
167 android.FixtureMergeMockFs(mockFS),
/build/soong/sysprop/
Dsysprop_test.go78 mockFS := android.MockFS{
131 mockFS.AddToFixture(),