Bari.Core.Test.Discovery.ModuleProjectDiscoveryTest.CreateFsWithSources C# (CSharp) Method

CreateFsWithSources() private static method

        private static TestFileSystemDirectory CreateFsWithSources()
        {
            var fs = new TestFileSystemDirectory(
                "root",
                new TestFileSystemDirectory(
                    "src",
                    new TestFileSystemDirectory(
                        "Module1",
                        new TestFileSystemDirectory
                            ("Project11",
                             new TestFileSystemDirectory
                                 ("cs",
                                  new TestFileSystemDirectory
                                      ("subdir")
                                      {
                                          Files =new[] { "source3.cs" }
                                      })
                                 {
                                     Files = new[] { "source1.cs","source2.cs" }
                                 },
                             new TestFileSystemDirectory
                                 ("fs")
                                 {
                                     Files = new[] { "a.fs" }
                                 })),
                    new TestFileSystemDirectory(
                        "Module2"),
                    new TestFileSystemDirectory(
                        "Module3",
                        new TestFileSystemDirectory
                            ("Project31"),
                        new TestFileSystemDirectory
                            ("Project32"))),
                new TestFileSystemDirectory("output"));
            return fs;
        }