ExploreTests() публичный Метод

Returns info about the tests in an assembly
public ExploreTests ( string filter ) : string
filter string A string containing the XML representation of the filter to use
Результат string
Пример #1
0
        public static void TestSchemaMatches()
        {
            Assert.Multiple(() =>
            {
                var controller = new FrameworkController("mock-assembly", Test.IdPrefix, new Dictionary <string, string>());
                var loadXml    = controller.LoadTests();
                var exploreXml = controller.ExploreTests(null);

                SchemaTestUtils.AssertValidXml(loadXml, "Test.xsd");
                SchemaTestUtils.AssertValidXml(exploreXml, "Test.xsd");
            });
        }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExploreTestsAction"/> class.
 /// </summary>
 /// <param name="controller">The controller for which this action is being performed.</param>
 /// <param name="filter">Filter used to control which tests are included (NYI)</param>
 /// <param name="handler">The callback handler.</param>
 public ExploreTestsAction(FrameworkController controller, string filter, object handler)
 {
     controller.ExploreTests((ICallbackEventHandler)handler, filter);
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExploreTestsAction"/> class.
 /// </summary>
 /// <param name="controller">The controller for which this action is being performed.</param>
 /// <param name="filter">Filter used to control which tests are included (NYI)</param>
 /// <param name="handler">The callback handler.</param>
 public ExploreTestsAction(FrameworkController controller, string filter, object handler)
 {
     controller.ExploreTests((ICallbackEventHandler)handler, filter);
 }