Пример #1
0
        public IOGateWayTestCase(IOgateWay iIO, TestCaseIGUI iGUI)
        {
            _iIO  = iIO;
            _iGUI = iGUI;

            _iGUI.beginTesting("IOGateWay");
            _iGUI.attachResult(getFileInFolderNonRecursiveIoTest());
            _iGUI.attachResult(getByteFromFileIOTest());
            _iGUI.endTesting();
        }
Пример #2
0
        public FileModelTestCase(TestCaseIGUI igui)
        {
            InitiateObj();

            _iGUI = igui;

            _iGUI.beginTesting("FileModel");
            _iGUI.attachResult(receiveMemoryFromInteractorTest());
            _iGUI.attachResult(analyzeTest());
            _iGUI.endTesting();
        }
Пример #3
0
        public InteractorTestCase(IOgateWay io, TestCaseIGUI igui)
        {
            _interactor = new Interactor(io);
            _iGUI       = igui;

            _iGUI.beginTesting("Interactor");
            _iGUI.attachResult(getAllFilesInFolderTest());
            _iGUI.attachResult(createFileModelsFromNamesTest());

            _iGUI.endTesting();
        }
Пример #4
0
        public HardDriveTestCase(TestCaseIGUI iGUI)
        {
            hardDrive = new HardDrive();

            this.TestCaseIGUI = iGUI;
            iGUI.beginTesting("HardDrive");
            //iGUI.attachResult(getFileNameTest());
            //iGUI.attachResult(getFileExtensionTest());
            //iGUI.attachResult(getDirPathTest());
            iGUI.attachResult(getAllFilesInDirTes());
            iGUI.attachResult(getByteFromFileTest());
            iGUI.endTesting();
        }