コード例 #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.");
     }
 }
コード例 #2
0
 public void GetWerrorAttribute_DoesNotCrash()
 {
     Assert.AreEqual(false, _context.GetComponentsObject().GetUtilsAttribute().GetWerrorAttribute(_context.ContextPointer));
 }