Author: dgolovin
Date: 2008-02-06 21:12:11 -0500 (Wed, 06 Feb 2008)
New Revision: 6140
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/src/org/jboss/tools/vpe/xulrunner/test/XulRunnerAllTests.java
trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/src/org/jboss/tools/vpe/xulrunner/view/XulRunnerView.java
Log:
Run test only for xulRunner view with about:blank to understand is it started at all?
Since it looks like all errors in VPE tests related to XHTML. Now html and struts tests
run without errors, but they have html and jsp files.
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/src/org/jboss/tools/vpe/xulrunner/test/XulRunnerAllTests.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/src/org/jboss/tools/vpe/xulrunner/test/XulRunnerAllTests.java 2008-02-07
01:13:52 UTC (rev 6139)
+++
trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/src/org/jboss/tools/vpe/xulrunner/test/XulRunnerAllTests.java 2008-02-07
02:12:11 UTC (rev 6140)
@@ -18,7 +18,7 @@
public static Test suite() {
TestSuite suite = new TestSuite("Test for " +
XulRunnerAllTests.class.getName());
//add test cases for dom elements
- suite.addTestSuite(DOMCreatingTest.class);
+ suite.addTestSuite(XulRunnerBrowserTest.class);
return suite;
}
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/src/org/jboss/tools/vpe/xulrunner/view/XulRunnerView.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/src/org/jboss/tools/vpe/xulrunner/view/XulRunnerView.java 2008-02-07
01:13:52 UTC (rev 6139)
+++
trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/src/org/jboss/tools/vpe/xulrunner/view/XulRunnerView.java 2008-02-07
02:12:11 UTC (rev 6140)
@@ -1,15 +1,17 @@
package org.jboss.tools.vpe.xulrunner.view;
+import org.eclipse.core.runtime.Platform;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.part.ViewPart;
+import org.jboss.tools.vpe.xulrunner.BrowserPlugin;
import org.jboss.tools.vpe.xulrunner.XulRunnerException;
import org.jboss.tools.vpe.xulrunner.editor.XulRunnerEditor;
public class XulRunnerView extends ViewPart {
- private static final String INIT_URL = "about:buildconfig";
+ private static final String INIT_URL = "about:blank";
private XulRunnerEditor xulrunnerEditor;
@Override
@@ -20,7 +22,7 @@
xulrunnerEditor.setLayoutData(new GridData(SWT.FILL, SWT.FILL,
true, true));
} catch (XulRunnerException e) {
- // Ignore exception
+ BrowserPlugin.getPluginLog().logError(e);
}
}
Show replies by date