Ejemplo n.º 1
0
        public void RunFile()
        {
            var dfs = new GenLib.Services.DirectoryFile();

            const string filename = @"TestFiles\shellexecute.txt";

            Console.WriteLine("shell executing on file " + filename + " in " + dfs.GetFullyQualifiedDirectory(filename));
            dfs.RunFile(filename);
            Assert.True(true);
        }
Ejemplo n.º 2
0
        public void GetFullyQualifiedDirectory()
        {
            var dfs = new GenLib.Services.DirectoryFile();

            Assert.Equal("C:\\TestGetFullyQualifiedDirectory",
                         dfs.GetFullyQualifiedDirectory(
                             "C:\\TestGetFullyQualifiedDirectory\\filename"));

            Assert.True(true);
        }