예제 #1
0
 public void HandleRequest()
 {
     try
     {
         GSWebBridge.HandleRequest(new NSUrlRequest(), new NSObject());
     }
     catch (Exception e)
     {
         Assert.Fail(e.Message);
     }
     Assert.Pass();
 }
예제 #2
0
 public void UnregisterWebView()
 {
     try
     {
         GSWebBridge.UnregisterWebView(new NSObject());
     }
     catch (Exception e)
     {
         Assert.Fail(e.Message);
     }
     Assert.Pass();
 }
예제 #3
0
 public void WebViewDidStartLoad()
 {
     try
     {
         GSWebBridge.WebViewDidStartLoad(new UIWebView());
     }
     catch (Exception e)
     {
         Assert.Fail(e.Message);
     }
     Assert.Pass();
 }
예제 #4
0
 public void RegisterWebViewWithSettings()
 {
     try
     {
         GSWebBridge.RegisterWebView(new UIWebView(), new GSWebBridgeDelegate(), new NSDictionary());
     }
     catch (Exception e)
     {
         Assert.Fail(e.Message);
     }
     Assert.Pass();
 }