예제 #1
0
        public void TestMethod12()
        {
            IFileService fileService = new FileServerStub();
            //fileService.CreateTempFileForDelete("D:\\Lab2TESTPO\\");
            int deletedBytes = fileService.RemoveTemporaryFiles("D:\\Lab2TESTPO\\");

            Assert.AreEqual(3, deletedBytes);
        }
예제 #2
0
        public void TestMethod15()
        {
            IFileService fileService = new FileServerStub();
            // fileService.CreateTempFileForDelete("D:\\Lab2TESTPO\\");
            // ReportViewer reportViewer = new ReportViewer();
            // reportViewer.Clean("D:\\Lab2TESTPO\\");
            int deletedBytes = fileService.RemoveTemporaryFiles("dsadasad");

            Assert.AreEqual(3, deletedBytes);
        }