TestPathNode Parameterize(ITestParameter parameter) { var newPath = Path.Parameterize(parameter); var newNode = new TestPathNode(Tree, newPath); newNode.parameterized = true; return(newNode); }
public void Resolve() { if (resolved) { return; } if (Tree.Inner != null) { var innerPath = new TestPath(Tree.Inner.Host, Path); innerNode = new TestPathNode(Tree.Inner, innerPath); return; } children = new List <TestPathNode> (); foreach (var child in Tree.Builder.Children) { var childPath = new TestPath(child.Host, Path, child.Parameter); children.Add(new TestPathNode(child.TreeRoot, childPath)); } resolved = true; }
internal abstract TestInvoker CreateInnerInvoker(TestPathNode node);
public TestCollectionInvoker(TestBuilder builder, TestPathNode node, TestFlags flags = TestFlags.ContinueOnError) : base(flags) { Builder = builder; Node = node; }