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;
 }
Exemplo n.º 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);
        }