git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68269
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void WebTestCase::setUp()
{
m_browser = wxWebView::New(wxTheApp->GetTopWindow(), wxID_ANY);
+ //We yield to let the initial page load
+ wxYield();
}
void WebTestCase::tearDown()
void WebTestCase::Url()
{
- CPPUNIT_ASSERT_EQUAL("", m_browser->GetCurrentURL());
+ CPPUNIT_ASSERT_EQUAL("about:blank", m_browser->GetCurrentURL());
LoadUrl("about:blank");
CPPUNIT_ASSERT_EQUAL("about:blank", m_browser->GetCurrentURL());