public void TestTreeSelectedItemEvalMethodTooManyArguments() { Tree tree = new Tree("tree").AddItem("root/1/2"); tree.SelectedItemEvalMethod("query_base", "component"); }
public void TestTreeSelectedItemEvalMethodException() { Tree tree = new Tree("tree"); tree.SelectedItemEvalMethod(); }
public void TestTreeSelectedItemEvalMethodNoArguments() { Tree tree = new Tree("tree").AddItem("root/1/2"); tree.SelectedItemEvalMethod(); }
public void TestTreeSelectedItemEvalMethod() { Tree tree = new Tree("tree").AddItem("root/node/leaf"); Assert.AreEqual("base.selectPath(\"root/node/leaf\");", tree.SelectedItemEvalMethod("base")); }