Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLeo Ufimtsev2018-01-26 14:33:23 -0500
committerLeo Ufimtsev2018-01-26 15:38:45 -0500
commite1810e11b59acc83c8b0dc376540d361c667fc82 (patch)
tree511bd2a5dcef6d5ce52aaac116f025b0343a10b2 /tests
parent3f989c6347191e1555c2f903ec7acdf1a9218d90 (diff)
downloadeclipse.platform.swt-e1810e11b59acc83c8b0dc376540d361c667fc82.tar.gz
eclipse.platform.swt-e1810e11b59acc83c8b0dc376540d361c667fc82.tar.xz
eclipse.platform.swt-e1810e11b59acc83c8b0dc376540d361c667fc82.zip
Bug 530397 – [Gtk] Make gdbus initialization dynamic
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=530397 Change-Id: Ia99129ce35b8e190402abea3a2eb75d668e8c825 Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.swt.tests.gtk/Bug Snippets/org/eclipse/swt/tests/gtk/snippets/Bug525305_Browser_OpenUrl.java11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/org.eclipse.swt.tests.gtk/Bug Snippets/org/eclipse/swt/tests/gtk/snippets/Bug525305_Browser_OpenUrl.java b/tests/org.eclipse.swt.tests.gtk/Bug Snippets/org/eclipse/swt/tests/gtk/snippets/Bug525305_Browser_OpenUrl.java
index 261582c0f7..e1e8f52d6c 100644
--- a/tests/org.eclipse.swt.tests.gtk/Bug Snippets/org/eclipse/swt/tests/gtk/snippets/Bug525305_Browser_OpenUrl.java
+++ b/tests/org.eclipse.swt.tests.gtk/Bug Snippets/org/eclipse/swt/tests/gtk/snippets/Bug525305_Browser_OpenUrl.java
@@ -8,10 +8,13 @@ import org.eclipse.swt.widgets.Shell;
/*
* Title: Handle files or URLs from eclipse launcher or gdbus.
- * How to run:
- - Open snippet with Launch Configuration VM Argument: -Dswt.dbus.init
- - Run launcher with file or url
- eclipse /myFile htpp://www.google.com
+ * How to run:
+ * - Launch snippet.
+ * - In terminal, run like:
+ * gdbus call --session --dest org.eclipse.swt --object-path /org/eclipse/swt --method org.eclipse.swt.FileOpen "['/tmp/hi','http://www.eclipse.org']"
+ * - Expect output:
+ * "OpenUrl with .. "
+ * "OpenDocument with .. "
* Bug description:
* Expected results: Browser opens URLs, filenames printed.
* GTK Version(s): 3.22/2.24

Back to the top