public static IServer GetDummyServer()
 {
     var server = new DummyServer { Name = "serverName", Status = Status.Success };
     server.RootProject = GetDummyProject();
     server.RootProject.AddChild(GetDummyProject());
     server.RootProject.AddChild(GetDummyProject());
     server.RootProject.AddChild(GetDummyProject());
     server.RootProject.ChildProjects.First().AddChild(GetDummyProject());
     return server;
 }
예제 #2
0
        public static IServer GetDummyServer()
        {
            var server = new DummyServer {
                Name = "serverName", Status = Status.Success
            };

            server.RootProject = GetDummyProject();
            server.RootProject.AddChild(GetDummyProject());
            server.RootProject.AddChild(GetDummyProject());
            server.RootProject.AddChild(GetDummyProject());
            server.RootProject.ChildProjects.First().AddChild(GetDummyProject());
            return(server);
        }