Exemplo n.º 1
0
 public void TestMoveTo()
 {
     using (var mouse = new WindowMessageMouse(new TestMouseMessageSource())) {
         MouseState state = mouse.GetState();
         mouse.MoveTo(state.X, state.Y);
     }
 }
 public void TestName() {
   using (var mouse = new WindowMessageMouse(new TestMouseMessageSource())) {
     StringAssert.Contains("mouse", mouse.Name.ToLower());
   }
 }
 public void TestIsAttached() {
   using (var mouse = new WindowMessageMouse(new TestMouseMessageSource())) {
     Assert.IsTrue(mouse.IsAttached);
   }
 }
Exemplo n.º 4
0
 public void TestName()
 {
     using (var mouse = new WindowMessageMouse(new TestMouseMessageSource())) {
         StringAssert.Contains("mouse", mouse.Name.ToLower());
     }
 }
Exemplo n.º 5
0
 public void TestIsAttached()
 {
     using (var mouse = new WindowMessageMouse(new TestMouseMessageSource())) {
         Assert.IsTrue(mouse.IsAttached);
     }
 }