예제 #1
0
 public void IterateInterfacesTest()
 {
     // clean interfaces from setup
     foreach (var i in interfaces)
     {
         i.Dispose();
     }
     interfaces = new List <NWInterface> ();
     path.EnumerateInterfaces(EnumerateInterfacesHandler);
     Assert.That(interfaces.Count, Is.GreaterThan(0), "interfaces.Count");
 }
예제 #2
0
 public void SetUp()
 {
     path = connection.CurrentPath;
     path.EnumerateInterfaces(EnumerateInterfacesHandler);
     Assert.That(interfaces.Count, Is.GreaterThan(0), "interfaces.Count");
 }