public void MoveNextTest() { DirectoryInfo di = null; // TODO: Initialize to an appropriate value DirectoryEnumerator target = new DirectoryEnumerator(di); // TODO: Initialize to an appropriate value bool expected = false; // TODO: Initialize to an appropriate value bool actual; actual = target.MoveNext(); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public void TestMethod1() { DirectoryInfo info = new DirectoryInfo("C:\\Test"); DirectoryNode node = new DirectoryNode(info); DirectoryEnumerator iter = new DirectoryEnumerator(node); while (iter.MoveNext() != null) { Console.WriteLine(iter.Current.Current.FullName); } }