public IOGateWayTestCase(IOgateWay iIO, TestCaseIGUI iGUI)
        {
            _iIO  = iIO;
            _iGUI = iGUI;

            _iGUI.beginTesting("IOGateWay");
            _iGUI.attachResult(getFileInFolderNonRecursiveIoTest());
            _iGUI.attachResult(getByteFromFileIOTest());
            _iGUI.endTesting();
        }
        public FileModelTestCase(TestCaseIGUI igui)
        {
            InitiateObj();

            _iGUI = igui;

            _iGUI.beginTesting("FileModel");
            _iGUI.attachResult(receiveMemoryFromInteractorTest());
            _iGUI.attachResult(analyzeTest());
            _iGUI.endTesting();
        }
Exemple #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();
        }
        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();
        }