コード例 #1
0
    private void RunTest(TestComponentInfo[] infos, string line)
    {
        IDictionary state = new Hashtable();

        state.Add(typeof(FormulaEngineTestFixture), this);

        this.Clear();

        for (int i = 0; i <= infos.Length - 1; i++)
        {
            TestComponentInfo info;
            info = infos[i];
            TestComponent component = info.Component;
            component.AcceptParameters(info.Args, MyFormulaEngine);
            this.ExecuteTestComponent(component, state, line);
        }
    }