示例#1
0
        /* void InitEngines()
         * Init other engines.
         */
        private void InitEngines()
        {
            try
            {
                this._objEngine = new ObjectEngine();
                this._subEngine = new SubEngine();
                this._actEngine = new ActionEngine();
                this._vpEngine  = new VPEngine();
                this._logEngine = new LogEngine();
                this._exEngine  = new ExceptionEngine();

                this._isHighlight = this._autoConfig.IsHighlight;
            }
            catch (TestException)
            {
                throw;
            }
            catch (Exception ex)
            {
                throw new TestFrameworkException("Fatal Error: Can not load engines: " + ex.ToString());
            }
        }
示例#2
0
        /* void InitEngines()
         * Init other engines.
         */
        private void InitEngines()
        {
            try
            {

                this._objEngine = new ObjectEngine();
                this._subEngine = new SubEngine();
                this._actEngine = new ActionEngine();
                this._vpEngine = new VPEngine();
                this._logEngine = new LogEngine();
                this._exEngine = new ExceptionEngine();

                this._isHighlight = this._autoConfig.IsHighlight;

            }
            catch (TestException)
            {
                throw;
            }
            catch (Exception ex)
            {
                throw new TestFrameworkException("Fatal Error: Can not load engines: " + ex.ToString());
            }
        }