Ejemplo n.º 1
0
 public void GetComponentsObject_DoesNotReturnNull()
 {
     _browser.TestLoadHtml("hello world");
     using (var context = new AutoJSContext(_browser.Window.DomWindow))
     {
         Assert.NotNull(context.GetComponentsObject(), "Getting the javascript Components object failed.");
     }
 }
 public void GetWerrorAttribute_DoesNotCrash()
 {
     Assert.AreEqual(false, _context.GetComponentsObject().GetUtilsAttribute().GetWerrorAttribute(_context.ContextPointer));
 }