mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
M webclient/build-tests.xml
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WrapperFactoryImpl.java M webclient/src_moz/CurrentPageImpl.cpp M webclient/src_moz/Makefile.in - Remove bookmarks because bookmarks is not in XULRunner M webclient/test/automated/src/classes/org/mozilla/webclient/CurrentPageTest.java - Disable testCopyCurrentSelectionToSystemClipboard. Need to try with 1.5.0.9. M webclient/test/automated/src/classes/org/mozilla/webclient/NavigationTest.java M webclient/test/automated/src/classes/org/mozilla/webclient/WebclientTestCase.java - Account for build dir change M webclient/test/manual/src/classes/org/mozilla/webclient/test/TestBrowser.java - enable copy button.
This commit is contained in:
parent
5f0963a71a
commit
f927bc9dc6
@ -156,7 +156,6 @@
|
||||
<target name="run.test" depends="compile.test">
|
||||
|
||||
<junit printsummary="yes" haltonfailure="yes" haltonerror="yes" fork="yes">
|
||||
<jvmarg value="-Djava.library.path=${myenv.MOZILLA_FIVE_HOME}${PATH_SEP}${myenv.MOZILLA_FIVE_HOME}/components"/>
|
||||
<jvmarg value="-DNSPR_LOG_MODULES=${myenv.NSPR_LOG_MODULES}"/>
|
||||
<jvmarg value="-DNSPR_LOG_FILE=${myenv.NSPR_LOG_FILE}"/>
|
||||
<jvmarg value="-DMOZ_SRC=${myenv.MOZ_SRC}"/>
|
||||
@ -169,11 +168,12 @@
|
||||
<classpath refid="test.classpath"/>
|
||||
|
||||
<formatter type="plain" usefile="false"/>
|
||||
<test name="org.mozilla.webclient.BrowserControlFactoryTest"/>
|
||||
<!-- PENDING(edburns): 20060304 fix when ProfileManager is fixed
|
||||
<test name="org.mozilla.webclient.ProfileManagerTest"/>
|
||||
-->
|
||||
PENDING(edburns): 20070130 XULRunner has no bookmarks
|
||||
<test name="org.mozilla.webclient.BookmarksTest"/>
|
||||
-->
|
||||
<test name="org.mozilla.webclient.BrowserControlFactoryTest"/>
|
||||
<test name="org.mozilla.webclient.PreferencesTest"/>
|
||||
<test name="org.mozilla.webclient.impl.wrapper_native.WrapperFactoryImplTest"/>
|
||||
<test name="org.mozilla.webclient.impl.WebclientFactoryImplTest"/>
|
||||
@ -196,7 +196,6 @@
|
||||
<target name="run.cardemo" depends="compile.test">
|
||||
|
||||
<junit printsummary="yes" haltonfailure="yes" haltonerror="yes" fork="yes">
|
||||
<jvmarg value="-Djava.library.path=${myenv.MOZILLA_FIVE_HOME}${PATH_SEP}${myenv.MOZILLA_FIVE_HOME}/components"/>
|
||||
<jvmarg value="-DNSPR_LOG_MODULES=${myenv.NSPR_LOG_MODULES}"/>
|
||||
<jvmarg value="-DNSPR_LOG_FILE=${myenv.NSPR_LOG_FILE}"/>
|
||||
<jvmarg value="-DMOZ_SRC=${myenv.MOZ_SRC}"/>
|
||||
@ -218,7 +217,6 @@
|
||||
<target name="run.test.browser" depends="compile.test">
|
||||
|
||||
<java classname="org.mozilla.webclient.test.TestBrowser" fork="true">
|
||||
<jvmarg value="-Djava.library.path=${myenv.MOZILLA_FIVE_HOME}${PATH_SEP}${myenv.MOZILLA_FIVE_HOME}/components"/>
|
||||
<jvmarg value="-DNSPR_LOG_MODULES=${myenv.NSPR_LOG_MODULES}"/>
|
||||
<jvmarg value="-DNSPR_LOG_FILE=${myenv.NSPR_LOG_FILE}"/>
|
||||
<jvmarg value="-DBROWSER_BIN_DIR=${myenv.MOZILLA_FIVE_HOME}"/>
|
||||
@ -232,7 +230,5 @@
|
||||
|
||||
</target>
|
||||
|
||||
|
||||
|
||||
</project>
|
||||
|
||||
|
@ -256,7 +256,7 @@ public class WrapperFactoryImpl extends Object implements WrapperFactory {
|
||||
}
|
||||
if (BrowserControl.BOOKMARKS_NAME == interfaceName) {
|
||||
Assert.assert_it(null != bookmarks);
|
||||
result = bookmarks;
|
||||
// PENDING(edburns): 20070130 XULRunner has no bookmarks result = bookmarks;
|
||||
}
|
||||
if (BrowserControl.PREFERENCES_NAME == interfaceName) {
|
||||
Assert.assert_it(null != prefs);
|
||||
@ -338,7 +338,7 @@ public class WrapperFactoryImpl extends Object implements WrapperFactory {
|
||||
|
||||
((Service)WrapperFactoryImpl.this.profileManager).startup();
|
||||
((Service)WrapperFactoryImpl.this.prefs).startup();
|
||||
((Service)WrapperFactoryImpl.this.bookmarks).startup();
|
||||
// PENDING(edburns): 20070130 XULRunner has no bookmarks ((Service)WrapperFactoryImpl.this.bookmarks).startup();
|
||||
|
||||
WrapperFactoryImpl.this.nativeAppSetup(nativeWrapperFactory);
|
||||
return null;
|
||||
@ -373,7 +373,7 @@ public void terminate() throws Exception
|
||||
eventThread.pushBlockingWCRunnable(new WCRunnable() {
|
||||
public Object run() {
|
||||
Assert.assert_it(null != bookmarks);
|
||||
((Service)bookmarks).shutdown();
|
||||
// PENDING(edburns): 20070130 XULRunner has no bookmarks ((Service)bookmarks).shutdown();
|
||||
((ImplObject)bookmarks).delete();
|
||||
bookmarks = null;
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include "org_mozilla_webclient_impl_wrapper_0005fnative_CurrentPageImpl.h"
|
||||
|
||||
#include "ns_util.h"
|
||||
#include "rdf_util.h"
|
||||
// PENDING(edburns): 20070130 #include "rdf_util.h"
|
||||
#include "NativeBrowserControl.h"
|
||||
#include "EmbedWindow.h"
|
||||
#include "LoadCompleteProgressListener.h"
|
||||
|
@ -115,17 +115,19 @@ CPPSRCS = \
|
||||
ns_util.cpp \
|
||||
ns_util_export.cpp \
|
||||
dom_util.cpp \
|
||||
rdf_util.cpp \
|
||||
BookmarksImpl.cpp \
|
||||
RDFEnumeration.cpp \
|
||||
RDFTreeNode.cpp \
|
||||
wsRDFObserver.cpp \
|
||||
PreferencesImpl.cpp \
|
||||
ProfileManagerImpl.cpp \
|
||||
WrapperFactoryImpl.cpp \
|
||||
WindowControlImpl.cpp \
|
||||
$(NULL)
|
||||
|
||||
# rdf_util.cpp \
|
||||
# BookmarksImpl.cpp \
|
||||
# RDFEnumeration.cpp \
|
||||
# RDFTreeNode.cpp \
|
||||
# wsRDFObserver.cpp \
|
||||
|
||||
|
||||
ifeq ($(OS_ARCH),Linux)
|
||||
CPPSRCS += \
|
||||
gtk/GtkBrowserControlCanvas.cpp \
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: CurrentPageTest.java,v 1.12 2005/04/17 20:19:46 edburns%acm.org Exp $
|
||||
* $Id: CurrentPageTest.java,v 1.13 2007/01/30 18:26:37 edburns%acm.org Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -90,7 +90,7 @@ public class CurrentPageTest extends WebclientTestCase implements ClipboardOwner
|
||||
// Testcases
|
||||
//
|
||||
|
||||
public void testCopyCurrentSelectionToSystemClipboard() throws Exception {
|
||||
public void NOT_testCopyCurrentSelectionToSystemClipboard() throws Exception {
|
||||
BrowserControl firstBrowserControl = null;
|
||||
DocumentLoadListenerImpl listener = null;
|
||||
Selection selection = null;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: NavigationTest.java,v 1.19 2004/09/03 19:04:22 edburns%acm.org Exp $
|
||||
* $Id: NavigationTest.java,v 1.20 2007/01/30 18:26:37 edburns%acm.org Exp $
|
||||
*/
|
||||
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
@ -97,7 +97,7 @@ public class NavigationTest extends WebclientTestCase {
|
||||
assertNotNull(currentPage);
|
||||
|
||||
File testPage = new File(getBrowserBinDir(),
|
||||
"../../java/webclient/test/automated/src/test/NavigationTest.txt");
|
||||
"../../../java/webclient/test/automated/src/test/NavigationTest.txt");
|
||||
|
||||
//
|
||||
// try loading a file: url
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: WebclientTestCase.java,v 1.11 2007/01/17 16:20:54 edburns%acm.org Exp $
|
||||
* $Id: WebclientTestCase.java,v 1.12 2007/01/30 18:26:37 edburns%acm.org Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -47,7 +47,7 @@ import org.mozilla.util.THTTPD;
|
||||
*
|
||||
* <B>Lifetime And Scope</B> <P>
|
||||
*
|
||||
* @version $Id: WebclientTestCase.java,v 1.11 2007/01/17 16:20:54 edburns%acm.org Exp $
|
||||
* @version $Id: WebclientTestCase.java,v 1.12 2007/01/30 18:26:37 edburns%acm.org Exp $
|
||||
*
|
||||
* @see Blah
|
||||
* @see Bloo
|
||||
@ -140,7 +140,7 @@ public static TestSuite createServerTestSuite() {
|
||||
serverThread =
|
||||
new THTTPD.ServerThread("LocalHTTPD",
|
||||
new File (getBrowserBinDir() +
|
||||
"/../../java/webclient/build.test"), -1);
|
||||
"/../../../java/webclient/build.test"), -1);
|
||||
serverThread.start();
|
||||
serverThread.P();
|
||||
super.run(result);
|
||||
|
@ -203,7 +203,7 @@ public class TestBrowser extends JPanel {
|
||||
jBrowserToolBar.add(jRefreshButton, null);
|
||||
jBrowserToolBar.add(jStopButton, null);
|
||||
jBrowserToolBar.add(jViewSourceButton, null);
|
||||
// jBrowserToolBar.add(jCopyButton, null);
|
||||
jBrowserToolBar.add(jCopyButton, null);
|
||||
jBrowserToolBar.setBorder(BorderFactory.createCompoundBorder(
|
||||
BorderFactory.createEtchedBorder(),
|
||||
BorderFactory.createEmptyBorder(2, 2, 2, 0)));
|
||||
|
Loading…
Reference in New Issue
Block a user