public int CountTestCases(TestFilter filter) { CallbackHandler handler = new CallbackHandler(); CreateObject(COUNT_ACTION, _frameworkController, filter.Text, handler); return int.Parse(handler.Result); }
/// <summary> /// Loads the tests in an assembly. /// </summary> /// <returns>An Xml string representing the loaded test</returns> public string Load() { CallbackHandler handler = new CallbackHandler(); log.Info("Loading {0} - see separate log file", Path.GetFileName(_testAssemblyPath)); CreateObject(LOAD_ACTION, _frameworkController, handler); return handler.Result; }
/// <summary> /// Returns information about the tests in an assembly. /// </summary> /// <param name="filter">A filter indicating which tests to include</param> /// <returns>An Xml string representing the tests</returns> public string Explore(TestFilter filter) { CallbackHandler handler = new CallbackHandler(); log.Info("Exploring {0} - see separate log file", Path.GetFileName(_testAssemblyPath)); CreateObject(EXPLORE_ACTION, _frameworkController, filter.Text, handler); return handler.Result; }