Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorIvan Furnadjiev2011-01-17 14:26:40 +0000
committerIvan Furnadjiev2011-01-17 14:26:40 +0000
commit256c8753dbb6fbec907179e1d24fa6023a5bd833 (patch)
treef4749382492a958854d977a745b90605480f9e86 /tests
parentafcc0b269ddee4c1b39081e3e14b56922e087668 (diff)
downloadorg.eclipse.rap-256c8753dbb6fbec907179e1d24fa6023a5bd833.tar.gz
org.eclipse.rap-256c8753dbb6fbec907179e1d24fa6023a5bd833.tar.xz
org.eclipse.rap-256c8753dbb6fbec907179e1d24fa6023a5bd833.zip
Fixed - bug 334245: Browser#getWebBrowser is missing
https://bugs.eclipse.org/bugs/show_bug.cgi?id=334245
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.rap.rwt.test/src/org/eclipse/swt/browser/Browser_Test.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/org.eclipse.rap.rwt.test/src/org/eclipse/swt/browser/Browser_Test.java b/tests/org.eclipse.rap.rwt.test/src/org/eclipse/swt/browser/Browser_Test.java
index 7358a5200d..12c26e05e2 100644
--- a/tests/org.eclipse.rap.rwt.test/src/org/eclipse/swt/browser/Browser_Test.java
+++ b/tests/org.eclipse.rap.rwt.test/src/org/eclipse/swt/browser/Browser_Test.java
@@ -248,6 +248,13 @@ public class Browser_Test extends TestCase {
assertEquals( 0, log.size() );
}
+ public void testGetWebBrowser() {
+ Display display = new Display();
+ Shell shell = new Shell( display );
+ Browser browser = new Browser( shell, SWT.NONE );
+ assertNull( browser.getWebBrowser() );
+ }
+
private static String getText( final Browser browser ) {
Object adapter = browser.getAdapter( IBrowserAdapter.class );
IBrowserAdapter browserAdapter = ( IBrowserAdapter )adapter;

Back to the top