30 references to CreateTestFile
Microsoft.VisualBasic.Tests (30)
Microsoft\VisualBasic\MyServices\FileSystemProxyTests.cs (30)
58CreateTestFile(SourceData, PathFromBase: "SourceDirectory", TestFileName: $"NewFile{i}");
72CreateTestFile(TestData: SourceData, PathFromBase: "TargetDirectory", TestFileName: $"NewFile0");
84CreateTestFile(SourceData, PathFromBase: "SourceDirectory", TestFileName: $"NewFile{i}");
97CreateTestFile(DestData, PathFromBase: "TargetDirectory", TestFileName: $"NewFile0");
115CreateTestFile(SourceData, PathFromBase: "SourceDirectory", TestFileName: $"NewFile{i}");
211string testFileSource = CreateTestFile(SourceData, PathFromBase: "NewDirectory", TestFileName: "TestFile");
223string testFileSource = CreateTestFile(SourceData, PathFromBase: "NewDirectory", TestFileName: "TestFile");
234string testFileSource = CreateTestFile(SourceData, TestFileName: GetTestFileName());
254string testFileSource = CreateTestFile(SourceData, TestFileName: GetTestFileName());
368string TestFile = CreateTestFile(SourceData, TestFileName: GetTestFileName());
396CreateTestFile(SourceData, PathFromBase: null, TestFileName: $"NewFile{i}");
407CreateTestFile(SourceData, PathFromBase: "GetFiles_DirectoryNewSubDirectory", TestFileName: "NewFile");
417CreateTestFile(SourceData, PathFromBase: "GetFiles_Directory_SearchOptionNewSubDirectory", TestFileName: "NewFile");
422CreateTestFile(SourceData, PathFromBase: null, TestFileName: $"NewFile{i}");
426CreateTestFile(SourceData, PathFromBase: null, TestFileName: "NewFile");
449TestFileList.Add(CreateTestFile(SourceData, PathFromBase: null, TestFileName: $"NewFile{i}{(i % 2 == 0 ? ".vb" : ".cs")}"));
461TestFileList.Add(CreateTestFile(SourceData, PathFromBase: "GetFiles_Directory_SearchOption_WildcardsNewSubDirectory", TestFileName: "NewFile.cs"));
496CreateTestFile(SourceData, PathFromBase: "SourceDirectory", TestFileName: $"NewFile{i}");
510CreateTestFile(SourceData, PathFromBase: "TargetDirectory", TestFileName: "NewFile0");
522CreateTestFile(SourceData, PathFromBase: "SourceDirectory", TestFileName: $"NewFile{i}");
536string NewFile0WithPath = CreateTestFile(DestData, PathFromBase: "TargetDirectory", TestFileName: "NewFile0");
561CreateTestFile(SourceData, PathFromBase: "SourceDirectory", TestFileName: $"NewFile{i}");
577string SourceFileNameWithPath = CreateTestFile(SourceData, TestFileName: GetTestFileName());
585DestinationFileNameWithPath = CreateTestFile(DestData, TestFileName: GetTestFileName());
595string SourceFileNameWithPath = CreateTestFile(SourceData, TestFileName: GetTestFileName());
602DestinationFileNameWithPath = CreateTestFile(DestData, TestFileName: GetTestFileName());
612string SourceFileNameWithPath = CreateTestFile(SourceData, TestFileName: GetTestFileName());
618CreateTestFile(DestData, PathFromBase: null, TestFileName: (new FileInfo(SourceFileNameWithPath)).Name);
666string OrigFileWithPath = CreateTestFile(SourceData, TestFileName: GetTestFileName());
667string ExistingFileWithPath = CreateTestFile(DestData, TestFileName: GetTestFileName());