Microsoft\VisualBasic\MyServices\FileSystemProxyTests.cs (42)
58CreateTestFile(SourceData, PathFromBase: "SourceDirectory", TestFileName: $"NewFile{i}");
67Assert.True(HasExpectedData(CurrentFile, SourceData));
72CreateTestFile(TestData: SourceData, PathFromBase: "TargetDirectory", TestFileName: $"NewFile0");
84CreateTestFile(SourceData, PathFromBase: "SourceDirectory", TestFileName: $"NewFile{i}");
92Assert.True(HasExpectedData(CurrentFile, SourceData));
102Assert.True(HasExpectedData(CurrentFile, CurrentFile.EndsWith('0') ? DestData : SourceData));
115CreateTestFile(SourceData, PathFromBase: "SourceDirectory", TestFileName: $"NewFile{i}");
123Assert.True(HasExpectedData(CurrentFile, SourceData));
134WriteFile(testFileSource, SourceData);
146Assert.True(HasExpectedData(testFileDest, SourceData));
156WriteFile(testFileSource, SourceData);
171WriteFile(testFileSource, SourceData);
176Assert.True(HasExpectedData(testFileDest, SourceData));
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}");
505Assert.True(HasExpectedData(CurrentFile, SourceData));
510CreateTestFile(SourceData, PathFromBase: "TargetDirectory", TestFileName: "NewFile0");
522CreateTestFile(SourceData, PathFromBase: "SourceDirectory", TestFileName: $"NewFile{i}");
531Assert.True(HasExpectedData(CurrentFile, SourceData));
542Assert.True(HasExpectedData(RemainingSourceFilesWithPath[0], SourceData));
548Assert.True(HasExpectedData(CurrentFile, CurrentFile.EndsWith('0') ? DestData : SourceData));
561CreateTestFile(SourceData, PathFromBase: "SourceDirectory", TestFileName: $"NewFile{i}");
570Assert.True(HasExpectedData(CurrentFile, SourceData));
577string SourceFileNameWithPath = CreateTestFile(SourceData, TestFileName: GetTestFileName());
582Assert.True(HasExpectedData(DestinationFileNameWithPath, SourceData));
595string SourceFileNameWithPath = CreateTestFile(SourceData, TestFileName: GetTestFileName());
600Assert.True(HasExpectedData(DestinationFileNameWithPath, SourceData));
612string SourceFileNameWithPath = CreateTestFile(SourceData, TestFileName: GetTestFileName());
617Assert.True(HasExpectedData(DestinationFileNameWithPath, SourceData));
622Assert.True(HasExpectedData(SourceFileNameWithPath, SourceData));
666string OrigFileWithPath = CreateTestFile(SourceData, TestFileName: GetTestFileName());