Пример #1
0
 public MainWindow()
 {
     InitializeComponent();
     rp    = new RepoMock();
     testD = new List <TestDriver>();
     processnumber.Text = "3";
 }
Пример #2
0
        static void Main(string[] args)
        {
            Console.Title = "RepoMock";
            Console.BackgroundColor = ConsoleColor.White;
            Console.ForegroundColor = ConsoleColor.DarkBlue;

            Console.Write("\n  RepoMock Process");
            Console.Write("\n =====================\n");
            RepoMock repo = new RepoMock();
            Console.Write("\n\n");
        }
Пример #3
0
        static void Main(string[] args)
        {
            Console.Write("\n  Demonstration of Mock Repo");
            Console.Write("\n ============================");
            RepoMock repo = new RepoMock();

            repo.getFiles(repo.storagePath, "*.*");
            foreach (string file in repo.files)
            {
                Console.Write("\nFiles in repo:  \"{0}\"", file);
            }

            repo.sendRequests();
            Console.Write("\n\n");
        }