summaryrefslogtreecommitdiffstats
path: root/src/test/resources/data
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/resources/data')
-rw-r--r--src/test/resources/data/ff3_manual/.mozilla/firefox/9f1uyzzu.default/prefs.js76
-rw-r--r--src/test/resources/data/ff3_none/.mozilla/firefox/9f1uyzzu.default/prefs.js77
-rw-r--r--src/test/resources/data/ff3_pac_script/.mozilla/firefox/9f1uyzzu.default/prefs.js76
-rw-r--r--src/test/resources/data/ff3_white_list/.mozilla/firefox/9f1uyzzu.default/prefs.js77
-rwxr-xr-xsrc/test/resources/data/gnome_manual/.gconf/system/http_proxy/%gconf.xml23
-rwxr-xr-xsrc/test/resources/data/gnome_manual/.gconf/system/proxy/%gconf.xml36
-rwxr-xr-xsrc/test/resources/data/gnome_none/.gconf/system/http_proxy/%gconf.xml21
-rwxr-xr-xsrc/test/resources/data/gnome_pac_script/.gconf/system/http_proxy/%gconf.xml26
-rwxr-xr-xsrc/test/resources/data/gnome_pac_script/.gconf/system/proxy/%gconf.xml39
-rwxr-xr-xsrc/test/resources/data/gnome_white_list/.gconf/system/http_proxy/%gconf.xml26
-rwxr-xr-xsrc/test/resources/data/gnome_white_list/.gconf/system/proxy/%gconf.xml36
-rw-r--r--src/test/resources/data/kde_env/.kde/share/config/kioslaverc17
-rw-r--r--src/test/resources/data/kde_manual/.kde/share/config/kioslaverc17
-rw-r--r--src/test/resources/data/kde_none/.kde/share/config/kioslaverc17
-rw-r--r--src/test/resources/data/kde_pac_script/.kde/share/config/kioslaverc17
-rw-r--r--src/test/resources/data/kde_white_list/.kde/share/config/kioslaverc17
-rw-r--r--src/test/resources/data/osx/osx_all.plist144
-rw-r--r--src/test/resources/data/osx/osx_manual.plist144
-rw-r--r--src/test/resources/data/osx/osx_pac.plist144
-rw-r--r--src/test/resources/data/pac/test1.pac4
-rw-r--r--src/test/resources/data/pac/test2.pac10
-rw-r--r--src/test/resources/data/pac/testDateRange.pac11
-rw-r--r--src/test/resources/data/pac/testLocalIP.pac4
-rw-r--r--src/test/resources/data/pac/testMultiProxy.pac4
-rw-r--r--src/test/resources/data/pac/testTimeRange.pac11
-rw-r--r--src/test/resources/data/pac/testWeekDay.pac10
-rw-r--r--src/test/resources/data/win/proxy_util_amd64.dll0
-rw-r--r--src/test/resources/data/win/proxy_util_ia64.dll0
-rw-r--r--src/test/resources/data/win/proxy_util_w32.dll0
-rw-r--r--src/test/resources/data/wpad/wpad.pac4
30 files changed, 1088 insertions, 0 deletions
diff --git a/src/test/resources/data/ff3_manual/.mozilla/firefox/9f1uyzzu.default/prefs.js b/src/test/resources/data/ff3_manual/.mozilla/firefox/9f1uyzzu.default/prefs.js
new file mode 100644
index 0000000..568d96e
--- /dev/null
+++ b/src/test/resources/data/ff3_manual/.mozilla/firefox/9f1uyzzu.default/prefs.js
@@ -0,0 +1,76 @@
+# Mozilla User Preferences
+
+/* Do not edit this file.
+ *
+ * If you make changes to this file while the application is running,
+ * the changes will be overwritten when the application exits.
+ *
+ * To make a manual change to preferences, you can visit the URL about:config
+ * For more information, see http://www.mozilla.org/unix/customizing.html#prefs
+ */
+
+user_pref("accessibility.typeaheadfind.flashBar", 0);
+user_pref("app.update.auto", false);
+user_pref("app.update.lastUpdateTime.addon-background-update-timer", 1243108090);
+user_pref("app.update.lastUpdateTime.background-update-timer", 1243108090);
+user_pref("app.update.lastUpdateTime.blocklist-background-update-timer", 1243108090);
+user_pref("app.update.lastUpdateTime.microsummary-generator-update-timer", 1242676783);
+user_pref("app.update.lastUpdateTime.search-engine-update-timer", 1243156646);
+user_pref("browser.download.dir", "/home/rossi/Downloads");
+user_pref("browser.download.folderList", 2);
+user_pref("browser.download.lastDir", "/home/rossi/Dokumente");
+user_pref("browser.download.save_converter_index", 0);
+user_pref("browser.feeds.showFirstRunUI", false);
+user_pref("browser.history_expire_days.mirror", 180);
+user_pref("browser.history_expire_days_min", 3);
+user_pref("browser.migration.version", 1);
+user_pref("browser.places.importBookmarksHTML", false);
+user_pref("browser.places.importDefaults", false);
+user_pref("browser.places.leftPaneFolderId", -1);
+user_pref("browser.places.migratePostDataAnnotations", false);
+user_pref("browser.places.smartBookmarksVersion", 1);
+user_pref("browser.places.updateRecentTagsUri", false);
+user_pref("browser.preferences.advanced.selectedTabIndex", 1);
+user_pref("browser.rights.3.shown", true);
+user_pref("browser.startup.homepage_override.mstone", "rv:1.9.0.10");
+user_pref("browser.startup.page", 0);
+user_pref("capability.policy.maonoscript.javascript.enabled", "allAccess");
+user_pref("capability.policy.maonoscript.sites", "addons.mozilla.org cineplex.de flashgot.net google.com googlesyndication.com hotmail.com informaction.com live.com maone.net msn.com noscript.net passport.com passport.net passportimages.com yahoo.com yimg.com about: about:blank about:certerror about:config about:credits about:neterror about:plugins about:privatebrowsing about:sessionrestore chrome: file://cineplex.de file://flashgot.net file://google.com file://googlesyndication.com file://hotmail.com file://informaction.com file://live.com file://maone.net file://msn.com file://noscript.net file://passport.com file://passport.net file://passportimages.com file://yahoo.com file://yimg.com http://cineplex.de http://flashgot.net http://google.com http://googlesyndication.com http://hotmail.com http://informaction.com http://live.com http://maone.net http://msn.com http://noscript.net http://passport.com http://passport.net http://passportimages.com http://yahoo.com http://yimg.com https://cineplex.de https://flashgot.net https://google.com https://googlesyndication.com https://hotmail.com https://informaction.com https://live.com https://maone.net https://msn.com https://noscript.net https://passport.com https://passport.net https://passportimages.com https://yahoo.com https://yimg.com resource:");
+user_pref("distribution.canonical.bookmarksProcessed", true);
+user_pref("dom.disable_window_move_resize", true);
+user_pref("dom.event.contextmenu.enabled", false);
+user_pref("extensions.adblockplus.currentVersion", "1.0.2");
+user_pref("extensions.enabledItems", "{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}:1.0.2,langpack-de@firefox-3.0.ubuntu.com:3.0.7,langpack-en-GB@firefox-3.0.ubuntu.com:3.0.7,{73a6fe31-595d-460b-a920-fcc0f8843232}:1.9.2.8,langpack-de@xulrunner-1.9.ubuntu.com:1.9.0.8,langpack-en-GB@xulrunner-1.9.ubuntu.com:1.9.0.8,{972ce4c6-7e08-4474-a285-3208198ce6fd}:3.0.10");
+user_pref("extensions.lastAppVersion", "3.0.10");
+user_pref("extensions.update.notifyUser", false);
+user_pref("intl.charsetmenu.browser.cache", "us-ascii, ISO-8859-15, ISO-8859-1, UTF-8, windows-1252");
+user_pref("javascript.enabled", true);
+user_pref("network.cookie.lifetimePolicy", 2);
+user_pref("network.cookie.prefsMigrated", true);
+user_pref("network.proxy.autoconfig_url", "http://www.xxx.de/");
+user_pref("network.proxy.ftp", "ftp_proxy.unit-test.invalid");
+user_pref("network.proxy.ftp_port", 8092);
+user_pref("network.proxy.gopher", "gopher_proxy.unit-test.invalid");
+user_pref("network.proxy.gopher_port", 8093);
+user_pref("network.proxy.http", "http_proxy.unit-test.invalid");
+user_pref("network.proxy.http_port", 8090);
+user_pref("network.proxy.socks", "socks_proxy.unit-test.invalid");
+user_pref("network.proxy.socks_port", 8095);
+user_pref("network.proxy.socks_version", 4);
+user_pref("network.proxy.ssl", "https_proxy.unit-test.invalid");
+user_pref("network.proxy.ssl_port", 8091);
+user_pref("network.proxy.type", 1);
+user_pref("noscript.badInstall", false);
+user_pref("noscript.global", true);
+user_pref("noscript.gtemp", "");
+user_pref("noscript.notify", false);
+user_pref("noscript.options.tabSelectedIndexes", "5,4,1");
+user_pref("noscript.policynames", "");
+user_pref("noscript.temp", "");
+user_pref("noscript.version", "1.9.2.8");
+user_pref("pref.advanced.javascript.disable_button.advanced", false);
+user_pref("pref.downloads.disable_button.edit_actions", false);
+user_pref("privacy.item.offlineApps", true);
+user_pref("signon.rememberSignons", false);
+user_pref("spellchecker.dictionary", "de_AT");
+user_pref("urlclassifier.keyupdatetime.https://sb-ssl.google.com/safebrowsing/newkey", 1243725238);
diff --git a/src/test/resources/data/ff3_none/.mozilla/firefox/9f1uyzzu.default/prefs.js b/src/test/resources/data/ff3_none/.mozilla/firefox/9f1uyzzu.default/prefs.js
new file mode 100644
index 0000000..81a560c
--- /dev/null
+++ b/src/test/resources/data/ff3_none/.mozilla/firefox/9f1uyzzu.default/prefs.js
@@ -0,0 +1,77 @@
+# Mozilla User Preferences
+
+/* Do not edit this file.
+ *
+ * If you make changes to this file while the application is running,
+ * the changes will be overwritten when the application exits.
+ *
+ * To make a manual change to preferences, you can visit the URL about:config
+ * For more information, see http://www.mozilla.org/unix/customizing.html#prefs
+ */
+
+user_pref("accessibility.typeaheadfind.flashBar", 0);
+user_pref("app.update.auto", false);
+user_pref("app.update.lastUpdateTime.addon-background-update-timer", 1243108090);
+user_pref("app.update.lastUpdateTime.background-update-timer", 1243108090);
+user_pref("app.update.lastUpdateTime.blocklist-background-update-timer", 1243108090);
+user_pref("app.update.lastUpdateTime.microsummary-generator-update-timer", 1242676783);
+user_pref("app.update.lastUpdateTime.search-engine-update-timer", 1243156646);
+user_pref("browser.download.dir", "/home/rossi/Downloads");
+user_pref("browser.download.folderList", 2);
+user_pref("browser.download.lastDir", "/home/rossi/Dokumente");
+user_pref("browser.download.save_converter_index", 0);
+user_pref("browser.feeds.showFirstRunUI", false);
+user_pref("browser.history_expire_days.mirror", 180);
+user_pref("browser.history_expire_days_min", 3);
+user_pref("browser.migration.version", 1);
+user_pref("browser.places.importBookmarksHTML", false);
+user_pref("browser.places.importDefaults", false);
+user_pref("browser.places.leftPaneFolderId", -1);
+user_pref("browser.places.migratePostDataAnnotations", false);
+user_pref("browser.places.smartBookmarksVersion", 1);
+user_pref("browser.places.updateRecentTagsUri", false);
+user_pref("browser.preferences.advanced.selectedTabIndex", 1);
+user_pref("browser.rights.3.shown", true);
+user_pref("browser.startup.homepage_override.mstone", "rv:1.9.0.10");
+user_pref("browser.startup.page", 0);
+user_pref("capability.policy.maonoscript.javascript.enabled", "allAccess");
+user_pref("capability.policy.maonoscript.sites", "addons.mozilla.org cineplex.de flashgot.net google.com googlesyndication.com hotmail.com informaction.com live.com maone.net msn.com noscript.net passport.com passport.net passportimages.com yahoo.com yimg.com about: about:blank about:certerror about:config about:credits about:neterror about:plugins about:privatebrowsing about:sessionrestore chrome: file://cineplex.de file://flashgot.net file://google.com file://googlesyndication.com file://hotmail.com file://informaction.com file://live.com file://maone.net file://msn.com file://noscript.net file://passport.com file://passport.net file://passportimages.com file://yahoo.com file://yimg.com http://cineplex.de http://flashgot.net http://google.com http://googlesyndication.com http://hotmail.com http://informaction.com http://live.com http://maone.net http://msn.com http://noscript.net http://passport.com http://passport.net http://passportimages.com http://yahoo.com http://yimg.com https://cineplex.de https://flashgot.net https://google.com https://googlesyndication.com https://hotmail.com https://informaction.com https://live.com https://maone.net https://msn.com https://noscript.net https://passport.com https://passport.net https://passportimages.com https://yahoo.com https://yimg.com resource:");
+user_pref("distribution.canonical.bookmarksProcessed", true);
+user_pref("dom.disable_window_move_resize", true);
+user_pref("dom.event.contextmenu.enabled", false);
+user_pref("extensions.adblockplus.currentVersion", "1.0.2");
+user_pref("extensions.enabledItems", "{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}:1.0.2,langpack-de@firefox-3.0.ubuntu.com:3.0.7,langpack-en-GB@firefox-3.0.ubuntu.com:3.0.7,{73a6fe31-595d-460b-a920-fcc0f8843232}:1.9.2.8,langpack-de@xulrunner-1.9.ubuntu.com:1.9.0.8,langpack-en-GB@xulrunner-1.9.ubuntu.com:1.9.0.8,{972ce4c6-7e08-4474-a285-3208198ce6fd}:3.0.10");
+user_pref("extensions.lastAppVersion", "3.0.10");
+user_pref("extensions.update.notifyUser", false);
+user_pref("intl.charsetmenu.browser.cache", "us-ascii, ISO-8859-15, ISO-8859-1, UTF-8, windows-1252");
+user_pref("javascript.enabled", true);
+user_pref("network.cookie.lifetimePolicy", 2);
+user_pref("network.cookie.prefsMigrated", true);
+user_pref("network.proxy.autoconfig_url", "http://www.xxx.de/");
+user_pref("network.proxy.ftp", "Test2");
+user_pref("network.proxy.ftp_port", 222);
+user_pref("network.proxy.gopher", "Test3");
+user_pref("network.proxy.gopher_port", 333);
+user_pref("network.proxy.http", "TEST");
+user_pref("network.proxy.http_port", 999);
+user_pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1, test4454,");
+user_pref("network.proxy.socks", "Test4");
+user_pref("network.proxy.socks_port", 444);
+user_pref("network.proxy.socks_version", 4);
+user_pref("network.proxy.ssl", "Test1");
+user_pref("network.proxy.ssl_port", 111);
+user_pref("network.proxy.type", 0);
+user_pref("noscript.badInstall", false);
+user_pref("noscript.global", true);
+user_pref("noscript.gtemp", "");
+user_pref("noscript.notify", false);
+user_pref("noscript.options.tabSelectedIndexes", "5,4,1");
+user_pref("noscript.policynames", "");
+user_pref("noscript.temp", "");
+user_pref("noscript.version", "1.9.2.8");
+user_pref("pref.advanced.javascript.disable_button.advanced", false);
+user_pref("pref.downloads.disable_button.edit_actions", false);
+user_pref("privacy.item.offlineApps", true);
+user_pref("signon.rememberSignons", false);
+user_pref("spellchecker.dictionary", "de_AT");
+user_pref("urlclassifier.keyupdatetime.https://sb-ssl.google.com/safebrowsing/newkey", 1243725238);
diff --git a/src/test/resources/data/ff3_pac_script/.mozilla/firefox/9f1uyzzu.default/prefs.js b/src/test/resources/data/ff3_pac_script/.mozilla/firefox/9f1uyzzu.default/prefs.js
new file mode 100644
index 0000000..906bdb5
--- /dev/null
+++ b/src/test/resources/data/ff3_pac_script/.mozilla/firefox/9f1uyzzu.default/prefs.js
@@ -0,0 +1,76 @@
+# Mozilla User Preferences
+
+/* Do not edit this file.
+ *
+ * If you make changes to this file while the application is running,
+ * the changes will be overwritten when the application exits.
+ *
+ * To make a manual change to preferences, you can visit the URL about:config
+ * For more information, see http://www.mozilla.org/unix/customizing.html#prefs
+ */
+
+user_pref("accessibility.typeaheadfind.flashBar", 0);
+user_pref("app.update.auto", false);
+user_pref("app.update.lastUpdateTime.addon-background-update-timer", 1243108090);
+user_pref("app.update.lastUpdateTime.background-update-timer", 1243108090);
+user_pref("app.update.lastUpdateTime.blocklist-background-update-timer", 1243108090);
+user_pref("app.update.lastUpdateTime.microsummary-generator-update-timer", 1242676783);
+user_pref("app.update.lastUpdateTime.search-engine-update-timer", 1243156646);
+user_pref("browser.download.dir", "/home/rossi/Downloads");
+user_pref("browser.download.folderList", 2);
+user_pref("browser.download.lastDir", "/home/rossi/Dokumente");
+user_pref("browser.download.save_converter_index", 0);
+user_pref("browser.feeds.showFirstRunUI", false);
+user_pref("browser.history_expire_days.mirror", 180);
+user_pref("browser.history_expire_days_min", 3);
+user_pref("browser.migration.version", 1);
+user_pref("browser.places.importBookmarksHTML", false);
+user_pref("browser.places.importDefaults", false);
+user_pref("browser.places.leftPaneFolderId", -1);
+user_pref("browser.places.migratePostDataAnnotations", false);
+user_pref("browser.places.smartBookmarksVersion", 1);
+user_pref("browser.places.updateRecentTagsUri", false);
+user_pref("browser.preferences.advanced.selectedTabIndex", 1);
+user_pref("browser.rights.3.shown", true);
+user_pref("browser.startup.homepage_override.mstone", "rv:1.9.0.10");
+user_pref("browser.startup.page", 0);
+user_pref("capability.policy.maonoscript.javascript.enabled", "allAccess");
+user_pref("capability.policy.maonoscript.sites", "addons.mozilla.org cineplex.de flashgot.net google.com googlesyndication.com hotmail.com informaction.com live.com maone.net msn.com noscript.net passport.com passport.net passportimages.com yahoo.com yimg.com about: about:blank about:certerror about:config about:credits about:neterror about:plugins about:privatebrowsing about:sessionrestore chrome: file://cineplex.de file://flashgot.net file://google.com file://googlesyndication.com file://hotmail.com file://informaction.com file://live.com file://maone.net file://msn.com file://noscript.net file://passport.com file://passport.net file://passportimages.com file://yahoo.com file://yimg.com http://cineplex.de http://flashgot.net http://google.com http://googlesyndication.com http://hotmail.com http://informaction.com http://live.com http://maone.net http://msn.com http://noscript.net http://passport.com http://passport.net http://passportimages.com http://yahoo.com http://yimg.com https://cineplex.de https://flashgot.net https://google.com https://googlesyndication.com https://hotmail.com https://informaction.com https://live.com https://maone.net https://msn.com https://noscript.net https://passport.com https://passport.net https://passportimages.com https://yahoo.com https://yimg.com resource:");
+user_pref("distribution.canonical.bookmarksProcessed", true);
+user_pref("dom.disable_window_move_resize", true);
+user_pref("dom.event.contextmenu.enabled", false);
+user_pref("extensions.adblockplus.currentVersion", "1.0.2");
+user_pref("extensions.enabledItems", "{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}:1.0.2,langpack-de@firefox-3.0.ubuntu.com:3.0.7,langpack-en-GB@firefox-3.0.ubuntu.com:3.0.7,{73a6fe31-595d-460b-a920-fcc0f8843232}:1.9.2.8,langpack-de@xulrunner-1.9.ubuntu.com:1.9.0.8,langpack-en-GB@xulrunner-1.9.ubuntu.com:1.9.0.8,{972ce4c6-7e08-4474-a285-3208198ce6fd}:3.0.10");
+user_pref("extensions.lastAppVersion", "3.0.10");
+user_pref("extensions.update.notifyUser", false);
+user_pref("intl.charsetmenu.browser.cache", "us-ascii, ISO-8859-15, ISO-8859-1, UTF-8, windows-1252");
+user_pref("javascript.enabled", true);
+user_pref("network.cookie.lifetimePolicy", 2);
+user_pref("network.cookie.prefsMigrated", true);
+user_pref("network.proxy.autoconfig_url", "test/data/pac/test1.pac");
+user_pref("network.proxy.ftp", "ftp_proxy.unit-test.invalid");
+user_pref("network.proxy.ftp_port", 8092);
+user_pref("network.proxy.gopher", "gopher_proxy.unit-test.invalid");
+user_pref("network.proxy.gopher_port", 8093);
+user_pref("network.proxy.http", "http_proxy.unit-test.invalid");
+user_pref("network.proxy.http_port", 8090);
+user_pref("network.proxy.socks", "socks_proxy.unit-test.invalid");
+user_pref("network.proxy.socks_port", 8095);
+user_pref("network.proxy.socks_version", 4);
+user_pref("network.proxy.ssl", "https_proxy.unit-test.invalid");
+user_pref("network.proxy.ssl_port", 8091);
+user_pref("network.proxy.type", 2);
+user_pref("noscript.badInstall", false);
+user_pref("noscript.global", true);
+user_pref("noscript.gtemp", "");
+user_pref("noscript.notify", false);
+user_pref("noscript.options.tabSelectedIndexes", "5,4,1");
+user_pref("noscript.policynames", "");
+user_pref("noscript.temp", "");
+user_pref("noscript.version", "1.9.2.8");
+user_pref("pref.advanced.javascript.disable_button.advanced", false);
+user_pref("pref.downloads.disable_button.edit_actions", false);
+user_pref("privacy.item.offlineApps", true);
+user_pref("signon.rememberSignons", false);
+user_pref("spellchecker.dictionary", "de_AT");
+user_pref("urlclassifier.keyupdatetime.https://sb-ssl.google.com/safebrowsing/newkey", 1243725238);
diff --git a/src/test/resources/data/ff3_white_list/.mozilla/firefox/9f1uyzzu.default/prefs.js b/src/test/resources/data/ff3_white_list/.mozilla/firefox/9f1uyzzu.default/prefs.js
new file mode 100644
index 0000000..7da855d
--- /dev/null
+++ b/src/test/resources/data/ff3_white_list/.mozilla/firefox/9f1uyzzu.default/prefs.js
@@ -0,0 +1,77 @@
+# Mozilla User Preferences
+
+/* Do not edit this file.
+ *
+ * If you make changes to this file while the application is running,
+ * the changes will be overwritten when the application exits.
+ *
+ * To make a manual change to preferences, you can visit the URL about:config
+ * For more information, see http://www.mozilla.org/unix/customizing.html#prefs
+ */
+
+user_pref("accessibility.typeaheadfind.flashBar", 0);
+user_pref("app.update.auto", false);
+user_pref("app.update.lastUpdateTime.addon-background-update-timer", 1243108090);
+user_pref("app.update.lastUpdateTime.background-update-timer", 1243108090);
+user_pref("app.update.lastUpdateTime.blocklist-background-update-timer", 1243108090);
+user_pref("app.update.lastUpdateTime.microsummary-generator-update-timer", 1242676783);
+user_pref("app.update.lastUpdateTime.search-engine-update-timer", 1243156646);
+user_pref("browser.download.dir", "/home/rossi/Downloads");
+user_pref("browser.download.folderList", 2);
+user_pref("browser.download.lastDir", "/home/rossi/Dokumente");
+user_pref("browser.download.save_converter_index", 0);
+user_pref("browser.feeds.showFirstRunUI", false);
+user_pref("browser.history_expire_days.mirror", 180);
+user_pref("browser.history_expire_days_min", 3);
+user_pref("browser.migration.version", 1);
+user_pref("browser.places.importBookmarksHTML", false);
+user_pref("browser.places.importDefaults", false);
+user_pref("browser.places.leftPaneFolderId", -1);
+user_pref("browser.places.migratePostDataAnnotations", false);
+user_pref("browser.places.smartBookmarksVersion", 1);
+user_pref("browser.places.updateRecentTagsUri", false);
+user_pref("browser.preferences.advanced.selectedTabIndex", 1);
+user_pref("browser.rights.3.shown", true);
+user_pref("browser.startup.homepage_override.mstone", "rv:1.9.0.10");
+user_pref("browser.startup.page", 0);
+user_pref("capability.policy.maonoscript.javascript.enabled", "allAccess");
+user_pref("capability.policy.maonoscript.sites", "addons.mozilla.org cineplex.de flashgot.net google.com googlesyndication.com hotmail.com informaction.com live.com maone.net msn.com noscript.net passport.com passport.net passportimages.com yahoo.com yimg.com about: about:blank about:certerror about:config about:credits about:neterror about:plugins about:privatebrowsing about:sessionrestore chrome: file://cineplex.de file://flashgot.net file://google.com file://googlesyndication.com file://hotmail.com file://informaction.com file://live.com file://maone.net file://msn.com file://noscript.net file://passport.com file://passport.net file://passportimages.com file://yahoo.com file://yimg.com http://cineplex.de http://flashgot.net http://google.com http://googlesyndication.com http://hotmail.com http://informaction.com http://live.com http://maone.net http://msn.com http://noscript.net http://passport.com http://passport.net http://passportimages.com http://yahoo.com http://yimg.com https://cineplex.de https://flashgot.net https://google.com https://googlesyndication.com https://hotmail.com https://informaction.com https://live.com https://maone.net https://msn.com https://noscript.net https://passport.com https://passport.net https://passportimages.com https://yahoo.com https://yimg.com resource:");
+user_pref("distribution.canonical.bookmarksProcessed", true);
+user_pref("dom.disable_window_move_resize", true);
+user_pref("dom.event.contextmenu.enabled", false);
+user_pref("extensions.adblockplus.currentVersion", "1.0.2");
+user_pref("extensions.enabledItems", "{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}:1.0.2,langpack-de@firefox-3.0.ubuntu.com:3.0.7,langpack-en-GB@firefox-3.0.ubuntu.com:3.0.7,{73a6fe31-595d-460b-a920-fcc0f8843232}:1.9.2.8,langpack-de@xulrunner-1.9.ubuntu.com:1.9.0.8,langpack-en-GB@xulrunner-1.9.ubuntu.com:1.9.0.8,{972ce4c6-7e08-4474-a285-3208198ce6fd}:3.0.10");
+user_pref("extensions.lastAppVersion", "3.0.10");
+user_pref("extensions.update.notifyUser", false);
+user_pref("intl.charsetmenu.browser.cache", "us-ascii, ISO-8859-15, ISO-8859-1, UTF-8, windows-1252");
+user_pref("javascript.enabled", true);
+user_pref("network.cookie.lifetimePolicy", 2);
+user_pref("network.cookie.prefsMigrated", true);
+user_pref("network.proxy.autoconfig_url", "file://~/wpad/wpad.txt");
+user_pref("network.proxy.ftp", "ftp_proxy.unit-test.invalid");
+user_pref("network.proxy.ftp_port", 8092);
+user_pref("network.proxy.gopher", "gopher_proxy.unit-test.invalid");
+user_pref("network.proxy.gopher_port", 8093);
+user_pref("network.proxy.http", "http_proxy.unit-test.invalid");
+user_pref("network.proxy.http_port", 8090);
+user_pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1, no_proxy.unit-test.invalid");
+user_pref("network.proxy.socks", "socks_proxy.unit-test.invalid");
+user_pref("network.proxy.socks_port", 8095);
+user_pref("network.proxy.socks_version", 4);
+user_pref("network.proxy.ssl", "https_proxy.unit-test.invalid");
+user_pref("network.proxy.ssl_port", 8091);
+user_pref("network.proxy.type", 1);
+user_pref("noscript.badInstall", false);
+user_pref("noscript.global", true);
+user_pref("noscript.gtemp", "");
+user_pref("noscript.notify", false);
+user_pref("noscript.options.tabSelectedIndexes", "5,4,1");
+user_pref("noscript.policynames", "");
+user_pref("noscript.temp", "");
+user_pref("noscript.version", "1.9.2.8");
+user_pref("pref.advanced.javascript.disable_button.advanced", false);
+user_pref("pref.downloads.disable_button.edit_actions", false);
+user_pref("privacy.item.offlineApps", true);
+user_pref("signon.rememberSignons", false);
+user_pref("spellchecker.dictionary", "de_AT");
+user_pref("urlclassifier.keyupdatetime.https://sb-ssl.google.com/safebrowsing/newkey", 1243725238);
diff --git a/src/test/resources/data/gnome_manual/.gconf/system/http_proxy/%gconf.xml b/src/test/resources/data/gnome_manual/.gconf/system/http_proxy/%gconf.xml
new file mode 100755
index 0000000..c3881c5
--- /dev/null
+++ b/src/test/resources/data/gnome_manual/.gconf/system/http_proxy/%gconf.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<gconf>
+ <entry name="port" mtime="1243184973" type="int" value="8090">
+ </entry>
+ <entry name="use_same_proxy" mtime="1243184977" type="bool" value="false">
+ </entry>
+ <entry name="ignore_hosts" mtime="1242841133" type="list" ltype="string">
+ <li type="string">
+ <stringvalue>localhost</stringvalue>
+ </li>
+ <li type="string">
+ <stringvalue>127.0.0.0/8</stringvalue>
+ </li>
+ <li type="string">
+ <stringvalue>*.local</stringvalue>
+ </li>
+ </entry>
+ <entry name="host" mtime="1243184967" type="string">
+ <stringvalue>http_proxy.unit-test.invalid</stringvalue>
+ </entry>
+ <entry name="use_http_proxy" mtime="1243184951" type="bool" value="true">
+ </entry>
+</gconf>
diff --git a/src/test/resources/data/gnome_manual/.gconf/system/proxy/%gconf.xml b/src/test/resources/data/gnome_manual/.gconf/system/proxy/%gconf.xml
new file mode 100755
index 0000000..8818703
--- /dev/null
+++ b/src/test/resources/data/gnome_manual/.gconf/system/proxy/%gconf.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<gconf>
+ <entry name="old_socks_port" mtime="1243184977" type="int" value="8889">
+ </entry>
+ <entry name="old_socks_host" mtime="1243184977" type="string">
+ <stringvalue>sodddddd</stringvalue>
+ </entry>
+ <entry name="old_ftp_port" mtime="1243184977" type="int" value="8099">
+ </entry>
+ <entry name="old_ftp_host" mtime="1243184977" type="string">
+ <stringvalue>ftpproxy</stringvalue>
+ </entry>
+ <entry name="old_secure_port" mtime="1243184977" type="int" value="8090">
+ </entry>
+ <entry name="old_secure_host" mtime="1243184977" type="string">
+ <stringvalue>sslproxy</stringvalue>
+ </entry>
+ <entry name="socks_port" mtime="1243185041" type="int" value="8093">
+ </entry>
+ <entry name="socks_host" mtime="1243185029" type="string">
+ <stringvalue>socks_proxy.unit-test.invalid</stringvalue>
+ </entry>
+ <entry name="ftp_port" mtime="1243185020" type="int" value="8092">
+ </entry>
+ <entry name="ftp_host" mtime="1243185014" type="string">
+ <stringvalue>ftp_proxy.unit-test.invalid</stringvalue>
+ </entry>
+ <entry name="secure_port" mtime="1243185005" type="int" value="8091">
+ </entry>
+ <entry name="secure_host" mtime="1243184991" type="string">
+ <stringvalue>https_proxy.unit-test.invalid</stringvalue>
+ </entry>
+ <entry name="mode" mtime="1243184951" type="string">
+ <stringvalue>manual</stringvalue>
+ </entry>
+</gconf>
diff --git a/src/test/resources/data/gnome_none/.gconf/system/http_proxy/%gconf.xml b/src/test/resources/data/gnome_none/.gconf/system/http_proxy/%gconf.xml
new file mode 100755
index 0000000..fadaef0
--- /dev/null
+++ b/src/test/resources/data/gnome_none/.gconf/system/http_proxy/%gconf.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<gconf>
+ <entry name="use_same_proxy" mtime="1242844189" type="bool" value="true">
+ </entry>
+ <entry name="ignore_hosts" mtime="1242841133" type="list" ltype="string">
+ <li type="string">
+ <stringvalue>localhost</stringvalue>
+ </li>
+ <li type="string">
+ <stringvalue>127.0.0.0/8</stringvalue>
+ </li>
+ <li type="string">
+ <stringvalue>*.local</stringvalue>
+ </li>
+ </entry>
+ <entry name="host" mtime="1242840330" type="string">
+ <stringvalue>test.proxy.invalid</stringvalue>
+ </entry>
+ <entry name="use_http_proxy" mtime="1242848237" type="bool" value="false">
+ </entry>
+</gconf>
diff --git a/src/test/resources/data/gnome_pac_script/.gconf/system/http_proxy/%gconf.xml b/src/test/resources/data/gnome_pac_script/.gconf/system/http_proxy/%gconf.xml
new file mode 100755
index 0000000..527b0bd
--- /dev/null
+++ b/src/test/resources/data/gnome_pac_script/.gconf/system/http_proxy/%gconf.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<gconf>
+ <entry name="port" mtime="1243184973" type="int" value="8090">
+ </entry>
+ <entry name="use_same_proxy" mtime="1243184977" type="bool" value="false">
+ </entry>
+ <entry name="ignore_hosts" mtime="1243185198" type="list" ltype="string">
+ <li type="string">
+ <stringvalue>localhost</stringvalue>
+ </li>
+ <li type="string">
+ <stringvalue>127.0.0.0/8</stringvalue>
+ </li>
+ <li type="string">
+ <stringvalue>*.local</stringvalue>
+ </li>
+ <li type="string">
+ <stringvalue>no_proxy.unit-test.invalid</stringvalue>
+ </li>
+ </entry>
+ <entry name="host" mtime="1243184967" type="string">
+ <stringvalue>http_proxy.unit-test.invalid</stringvalue>
+ </entry>
+ <entry name="use_http_proxy" mtime="1243185310" type="bool" value="true">
+ </entry>
+</gconf>
diff --git a/src/test/resources/data/gnome_pac_script/.gconf/system/proxy/%gconf.xml b/src/test/resources/data/gnome_pac_script/.gconf/system/proxy/%gconf.xml
new file mode 100755
index 0000000..a5dde13
--- /dev/null
+++ b/src/test/resources/data/gnome_pac_script/.gconf/system/proxy/%gconf.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+<gconf>
+ <entry name="autoconfig_url" mtime="1243185338" type="string">
+ <stringvalue>test/data/pac/test1.pac</stringvalue>
+ </entry>
+ <entry name="old_socks_port" mtime="1243184977" type="int" value="8889">
+ </entry>
+ <entry name="old_socks_host" mtime="1243184977" type="string">
+ <stringvalue>sodddddd</stringvalue>
+ </entry>
+ <entry name="old_ftp_port" mtime="1243184977" type="int" value="8099">
+ </entry>
+ <entry name="old_ftp_host" mtime="1243184977" type="string">
+ <stringvalue>ftpproxy</stringvalue>
+ </entry>
+ <entry name="old_secure_port" mtime="1243184977" type="int" value="8090">
+ </entry>
+ <entry name="old_secure_host" mtime="1243184977" type="string">
+ <stringvalue>sslproxy</stringvalue>
+ </entry>
+ <entry name="socks_port" mtime="1243185041" type="int" value="8093">
+ </entry>
+ <entry name="socks_host" mtime="1243185029" type="string">
+ <stringvalue>socks_proxy.unit-test.invalid</stringvalue>
+ </entry>
+ <entry name="ftp_port" mtime="1243185020" type="int" value="8092">
+ </entry>
+ <entry name="ftp_host" mtime="1243185014" type="string">
+ <stringvalue>ftp_proxy.unit-test.invalid</stringvalue>
+ </entry>
+ <entry name="secure_port" mtime="1243185005" type="int" value="8091">
+ </entry>
+ <entry name="secure_host" mtime="1243184991" type="string">
+ <stringvalue>https_proxy.unit-test.invalid</stringvalue>
+ </entry>
+ <entry name="mode" mtime="1243185310" type="string">
+ <stringvalue>auto</stringvalue>
+ </entry>
+</gconf>
diff --git a/src/test/resources/data/gnome_white_list/.gconf/system/http_proxy/%gconf.xml b/src/test/resources/data/gnome_white_list/.gconf/system/http_proxy/%gconf.xml
new file mode 100755
index 0000000..dd2d5fd
--- /dev/null
+++ b/src/test/resources/data/gnome_white_list/.gconf/system/http_proxy/%gconf.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<gconf>
+ <entry name="port" mtime="1243184973" type="int" value="8090">
+ </entry>
+ <entry name="use_same_proxy" mtime="1243184977" type="bool" value="false">
+ </entry>
+ <entry name="ignore_hosts" mtime="1243185198" type="list" ltype="string">
+ <li type="string">
+ <stringvalue>localhost</stringvalue>
+ </li>
+ <li type="string">
+ <stringvalue>127.0.0.0/8</stringvalue>
+ </li>
+ <li type="string">
+ <stringvalue>*.local</stringvalue>
+ </li>
+ <li type="string">
+ <stringvalue>no_proxy.unit-test.invalid</stringvalue>
+ </li>
+ </entry>
+ <entry name="host" mtime="1243184967" type="string">
+ <stringvalue>http_proxy.unit-test.invalid</stringvalue>
+ </entry>
+ <entry name="use_http_proxy" mtime="1243185171" type="bool" value="true">
+ </entry>
+</gconf>
diff --git a/src/test/resources/data/gnome_white_list/.gconf/system/proxy/%gconf.xml b/src/test/resources/data/gnome_white_list/.gconf/system/proxy/%gconf.xml
new file mode 100755
index 0000000..8818703
--- /dev/null
+++ b/src/test/resources/data/gnome_white_list/.gconf/system/proxy/%gconf.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<gconf>
+ <entry name="old_socks_port" mtime="1243184977" type="int" value="8889">
+ </entry>
+ <entry name="old_socks_host" mtime="1243184977" type="string">
+ <stringvalue>sodddddd</stringvalue>
+ </entry>
+ <entry name="old_ftp_port" mtime="1243184977" type="int" value="8099">
+ </entry>
+ <entry name="old_ftp_host" mtime="1243184977" type="string">
+ <stringvalue>ftpproxy</stringvalue>
+ </entry>
+ <entry name="old_secure_port" mtime="1243184977" type="int" value="8090">
+ </entry>
+ <entry name="old_secure_host" mtime="1243184977" type="string">
+ <stringvalue>sslproxy</stringvalue>
+ </entry>
+ <entry name="socks_port" mtime="1243185041" type="int" value="8093">
+ </entry>
+ <entry name="socks_host" mtime="1243185029" type="string">
+ <stringvalue>socks_proxy.unit-test.invalid</stringvalue>
+ </entry>
+ <entry name="ftp_port" mtime="1243185020" type="int" value="8092">
+ </entry>
+ <entry name="ftp_host" mtime="1243185014" type="string">
+ <stringvalue>ftp_proxy.unit-test.invalid</stringvalue>
+ </entry>
+ <entry name="secure_port" mtime="1243185005" type="int" value="8091">
+ </entry>
+ <entry name="secure_host" mtime="1243184991" type="string">
+ <stringvalue>https_proxy.unit-test.invalid</stringvalue>
+ </entry>
+ <entry name="mode" mtime="1243184951" type="string">
+ <stringvalue>manual</stringvalue>
+ </entry>
+</gconf>
diff --git a/src/test/resources/data/kde_env/.kde/share/config/kioslaverc b/src/test/resources/data/kde_env/.kde/share/config/kioslaverc
new file mode 100644
index 0000000..03e3f0f
--- /dev/null
+++ b/src/test/resources/data/kde_env/.kde/share/config/kioslaverc
@@ -0,0 +1,17 @@
+PersistentProxyConnection=false
+
+[$Version]
+update_info=kioslave.upd:kde2.2/r1,kioslave.upd:kde2.2/r2,kioslave.upd:kde2.2/r3
+
+[Notification Messages]
+WarnOnLeaveSSLMode=false
+
+[Proxy Settings]
+AuthMode=0
+NoProxyFor=
+Proxy Config Script=
+ProxyType=4
+ReversedException=false
+ftpProxy=FTP_PROXY
+httpProxy=HTTP_PROXY
+httpsProxy=HTTPS_PROXY
diff --git a/src/test/resources/data/kde_manual/.kde/share/config/kioslaverc b/src/test/resources/data/kde_manual/.kde/share/config/kioslaverc
new file mode 100644
index 0000000..0d4f115
--- /dev/null
+++ b/src/test/resources/data/kde_manual/.kde/share/config/kioslaverc
@@ -0,0 +1,17 @@
+PersistentProxyConnection=false
+
+[$Version]
+update_info=kioslave.upd:kde2.2/r1,kioslave.upd:kde2.2/r2,kioslave.upd:kde2.2/r3
+
+[Notification Messages]
+WarnOnLeaveSSLMode=false
+
+[Proxy Settings]
+AuthMode=0
+NoProxyFor=
+Proxy Config Script=
+ProxyType=1
+ReversedException=false
+ftpProxy=ftp://ftp_proxy.unit-test.invalid:8092
+httpProxy=http://http_proxy.unit-test.invalid:8090
+httpsProxy=https://https_proxy.unit-test.invalid:8091
diff --git a/src/test/resources/data/kde_none/.kde/share/config/kioslaverc b/src/test/resources/data/kde_none/.kde/share/config/kioslaverc
new file mode 100644
index 0000000..413575f
--- /dev/null
+++ b/src/test/resources/data/kde_none/.kde/share/config/kioslaverc
@@ -0,0 +1,17 @@
+PersistentProxyConnection=false
+
+[$Version]
+update_info=kioslave.upd:kde2.2/r1,kioslave.upd:kde2.2/r2,kioslave.upd:kde2.2/r3
+
+[Notification Messages]
+WarnOnLeaveSSLMode=false
+
+[Proxy Settings]
+AuthMode=0
+NoProxyFor=
+Proxy Config Script=
+ProxyType=0
+ReversedException=false
+ftpProxy=
+httpProxy=
+httpsProxy=
diff --git a/src/test/resources/data/kde_pac_script/.kde/share/config/kioslaverc b/src/test/resources/data/kde_pac_script/.kde/share/config/kioslaverc
new file mode 100644
index 0000000..f3fa699
--- /dev/null
+++ b/src/test/resources/data/kde_pac_script/.kde/share/config/kioslaverc
@@ -0,0 +1,17 @@
+PersistentProxyConnection=false
+
+[$Version]
+update_info=kioslave.upd:kde2.2/r1,kioslave.upd:kde2.2/r2,kioslave.upd:kde2.2/r3
+
+[Notification Messages]
+WarnOnLeaveSSLMode=false
+
+[Proxy Settings]
+AuthMode=0
+NoProxyFor=
+Proxy Config Script=test/data/pac/test1.pac
+ProxyType=2
+ReversedException=false
+ftpProxy=
+httpProxy=
+httpsProxy=
diff --git a/src/test/resources/data/kde_white_list/.kde/share/config/kioslaverc b/src/test/resources/data/kde_white_list/.kde/share/config/kioslaverc
new file mode 100644
index 0000000..80d0286
--- /dev/null
+++ b/src/test/resources/data/kde_white_list/.kde/share/config/kioslaverc
@@ -0,0 +1,17 @@
+PersistentProxyConnection=false
+
+[$Version]
+update_info=kioslave.upd:kde2.2/r1,kioslave.upd:kde2.2/r2,kioslave.upd:kde2.2/r3
+
+[Notification Messages]
+WarnOnLeaveSSLMode=false
+
+[Proxy Settings]
+AuthMode=0
+NoProxyFor=no_proxy.unit-test.invalid,.unit-test.invalid
+Proxy Config Script=
+ProxyType=1
+ReversedException=false
+ftpProxy=ftp://ftp_proxy.unit-test.invalid:8092
+httpProxy=http://http_proxy.unit-test.invalid:8090
+httpsProxy=https://https_proxy.unit-test.invalid:8091
diff --git a/src/test/resources/data/osx/osx_all.plist b/src/test/resources/data/osx/osx_all.plist
new file mode 100644
index 0000000..62dcab7
--- /dev/null
+++ b/src/test/resources/data/osx/osx_all.plist
@@ -0,0 +1,144 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CurrentSet</key>
+ <string>/Sets/8458B09B-93EA-44C2-AD05-0B4E4A4D9651</string>
+ <key>NetworkServices</key>
+ <dict>
+ <key>299B07C0-D0E0-4840-8486-9E77B9ED84DB</key>
+ <dict>
+ <key>AppleTalk</key>
+ <dict/>
+ <key>DNS</key>
+ <dict/>
+ <key>IPv4</key>
+ <dict>
+ <key>ConfigMethod</key>
+ <string>DHCP</string>
+ </dict>
+ <key>IPv6</key>
+ <dict>
+ <key>ConfigMethod</key>
+ <string>Automatic</string>
+ </dict>
+ <key>Interface</key>
+ <dict>
+ <key>DeviceName</key>
+ <string>en0</string>
+ <key>Hardware</key>
+ <string>Ethernet</string>
+ <key>Type</key>
+ <string>Ethernet</string>
+ <key>UserDefinedName</key>
+ <string>Ethernet</string>
+ </dict>
+ <key>Proxies</key>
+ <dict>
+ <key>ExceptionsList</key>
+ <array>
+ <string>*.local</string>
+ <string>169.254/16</string>
+ </array>
+ <key>ExcludeSimpleHostnames</key>
+ <integer>1</integer>
+ <key>FTPEnable</key>
+ <integer>1</integer>
+ <key>FTPPassive</key>
+ <integer>1</integer>
+ <key>FTPPort</key>
+ <integer>8092</integer>
+ <key>FTPProxy</key>
+ <string>ftp_proxy.unit-test.invalid</string>
+ <key>GopherEnable</key>
+ <integer>1</integer>
+ <key>GopherPort</key>
+ <integer>8090</integer>
+ <key>GopherProxy</key>
+ <string>http_proxy.unit-test.invalid</string>
+ <key>HTTPEnable</key>
+ <integer>1</integer>
+ <key>HTTPPort</key>
+ <integer>8090</integer>
+ <key>HTTPProxy</key>
+ <string>http_proxy.unit-test.invalid</string>
+ <key>HTTPSEnable</key>
+ <integer>1</integer>
+ <key>HTTPSPort</key>
+ <integer>8091</integer>
+ <key>HTTPSProxy</key>
+ <string>http_proxy.unit-test.invalid</string>
+ <key>ProxyAutoConfigEnable</key>
+ <integer>1</integer>
+ <key>ProxyAutoConfigURLString</key>
+ <string>http://http_proxy.unit-test.invalid/wpad.pac</string>
+ <key>ProxyAutoDiscoveryEnable</key>
+ <integer>1</integer>
+ <key>RTSPEnable</key>
+ <integer>1</integer>
+ <key>RTSPPort</key>
+ <integer>8094</integer>
+ <key>RTSPProxy</key>
+ <string>rtsp_proxy.unit-test.invalid</string>
+ <key>SOCKSEnable</key>
+ <integer>1</integer>
+ <key>SOCKSPort</key>
+ <integer>8095</integer>
+ <key>SOCKSProxy</key>
+ <string>socks_proxy.unit-test.invalid</string>
+ </dict>
+ <key>SMB</key>
+ <dict/>
+ <key>UserDefinedName</key>
+ <string>Ethernet</string>
+ </dict>
+ </dict>
+ <key>Sets</key>
+ <dict>
+ <key>8458B09B-93EA-44C2-AD05-0B4E4A4D9651</key>
+ <dict>
+ <key>Network</key>
+ <dict>
+ <key>Global</key>
+ <dict>
+ <key>IPv4</key>
+ <dict>
+ <key>ServiceOrder</key>
+ <array>
+ <string>299B07C0-D0E0-4840-8486-9E77B9ED84DB</string>
+ </array>
+ </dict>
+ </dict>
+ <key>Service</key>
+ <dict>
+ <key>299B07C0-D0E0-4840-8486-9E77B9ED84DB</key>
+ <dict>
+ <key>__LINK__</key>
+ <string>/NetworkServices/299B07C0-D0E0-4840-8486-9E77B9ED84DB</string>
+ </dict>
+ </dict>
+ </dict>
+ <key>UserDefinedName</key>
+ <string>Automatic</string>
+ </dict>
+ </dict>
+ <key>System</key>
+ <dict>
+ <key>Network</key>
+ <dict>
+ <key>HostNames</key>
+ <dict>
+ <key>LocalHostName</key>
+ <string>rossis-Mac-mini</string>
+ </dict>
+ </dict>
+ <key>System</key>
+ <dict>
+ <key>ComputerName</key>
+ <string>rossi’s Mac mini</string>
+ <key>ComputerNameEncoding</key>
+ <integer>0</integer>
+ </dict>
+ </dict>
+</dict>
+</plist>
diff --git a/src/test/resources/data/osx/osx_manual.plist b/src/test/resources/data/osx/osx_manual.plist
new file mode 100644
index 0000000..9c7b0b3
--- /dev/null
+++ b/src/test/resources/data/osx/osx_manual.plist
@@ -0,0 +1,144 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CurrentSet</key>
+ <string>/Sets/8458B09B-93EA-44C2-AD05-0B4E4A4D9651</string>
+ <key>NetworkServices</key>
+ <dict>
+ <key>299B07C0-D0E0-4840-8486-9E77B9ED84DB</key>
+ <dict>
+ <key>AppleTalk</key>
+ <dict/>
+ <key>DNS</key>
+ <dict/>
+ <key>IPv4</key>
+ <dict>
+ <key>ConfigMethod</key>
+ <string>DHCP</string>
+ </dict>
+ <key>IPv6</key>
+ <dict>
+ <key>ConfigMethod</key>
+ <string>Automatic</string>
+ </dict>
+ <key>Interface</key>
+ <dict>
+ <key>DeviceName</key>
+ <string>en0</string>
+ <key>Hardware</key>
+ <string>Ethernet</string>
+ <key>Type</key>
+ <string>Ethernet</string>
+ <key>UserDefinedName</key>
+ <string>Ethernet</string>
+ </dict>
+ <key>Proxies</key>
+ <dict>
+ <key>ExceptionsList</key>
+ <array>
+ <string>*.local</string>
+ <string>no_proxy.unit-test.invalid</string>
+ </array>
+ <key>ExcludeSimpleHostnames</key>
+ <integer>1</integer>
+ <key>FTPEnable</key>
+ <integer>1</integer>
+ <key>FTPPassive</key>
+ <integer>1</integer>
+ <key>FTPPort</key>
+ <integer>8092</integer>
+ <key>FTPProxy</key>
+ <string>ftp_proxy.unit-test.invalid</string>
+ <key>GopherEnable</key>
+ <integer>1</integer>
+ <key>GopherPort</key>
+ <integer>8090</integer>
+ <key>GopherProxy</key>
+ <string>http_proxy.unit-test.invalid</string>
+ <key>HTTPEnable</key>
+ <integer>1</integer>
+ <key>HTTPPort</key>
+ <integer>8090</integer>
+ <key>HTTPProxy</key>
+ <string>http_proxy.unit-test.invalid</string>
+ <key>HTTPSEnable</key>
+ <integer>1</integer>
+ <key>HTTPSPort</key>
+ <integer>8091</integer>
+ <key>HTTPSProxy</key>
+ <string>https_proxy.unit-test.invalid</string>
+ <key>ProxyAutoConfigEnable</key>
+ <integer>0</integer>
+ <key>ProxyAutoConfigURLString</key>
+ <string>http://http_proxy.unit-test.invalid/wpad.pac</string>
+ <key>ProxyAutoDiscoveryEnable</key>
+ <integer>0</integer>
+ <key>RTSPEnable</key>
+ <integer>1</integer>
+ <key>RTSPPort</key>
+ <integer>8094</integer>
+ <key>RTSPProxy</key>
+ <string>rtsp_proxy.unit-test.invalid</string>
+ <key>SOCKSEnable</key>
+ <integer>1</integer>
+ <key>SOCKSPort</key>
+ <integer>8095</integer>
+ <key>SOCKSProxy</key>
+ <string>socks_proxy.unit-test.invalid</string>
+ </dict>
+ <key>SMB</key>
+ <dict/>
+ <key>UserDefinedName</key>
+ <string>Ethernet</string>
+ </dict>
+ </dict>
+ <key>Sets</key>
+ <dict>
+ <key>8458B09B-93EA-44C2-AD05-0B4E4A4D9651</key>
+ <dict>
+ <key>Network</key>
+ <dict>
+ <key>Global</key>
+ <dict>
+ <key>IPv4</key>
+ <dict>
+ <key>ServiceOrder</key>
+ <array>
+ <string>299B07C0-D0E0-4840-8486-9E77B9ED84DB</string>
+ </array>
+ </dict>
+ </dict>
+ <key>Service</key>
+ <dict>
+ <key>299B07C0-D0E0-4840-8486-9E77B9ED84DB</key>
+ <dict>
+ <key>__LINK__</key>
+ <string>/NetworkServices/299B07C0-D0E0-4840-8486-9E77B9ED84DB</string>
+ </dict>
+ </dict>
+ </dict>
+ <key>UserDefinedName</key>
+ <string>Automatic</string>
+ </dict>
+ </dict>
+ <key>System</key>
+ <dict>
+ <key>Network</key>
+ <dict>
+ <key>HostNames</key>
+ <dict>
+ <key>LocalHostName</key>
+ <string>rossis-Mac-mini</string>
+ </dict>
+ </dict>
+ <key>System</key>
+ <dict>
+ <key>ComputerName</key>
+ <string>rossi’s Mac mini</string>
+ <key>ComputerNameEncoding</key>
+ <integer>0</integer>
+ </dict>
+ </dict>
+</dict>
+</plist>
diff --git a/src/test/resources/data/osx/osx_pac.plist b/src/test/resources/data/osx/osx_pac.plist
new file mode 100644
index 0000000..5a5b64d
--- /dev/null
+++ b/src/test/resources/data/osx/osx_pac.plist
@@ -0,0 +1,144 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CurrentSet</key>
+ <string>/Sets/8458B09B-93EA-44C2-AD05-0B4E4A4D9651</string>
+ <key>NetworkServices</key>
+ <dict>
+ <key>299B07C0-D0E0-4840-8486-9E77B9ED84DB</key>
+ <dict>
+ <key>AppleTalk</key>
+ <dict/>
+ <key>DNS</key>
+ <dict/>
+ <key>IPv4</key>
+ <dict>
+ <key>ConfigMethod</key>
+ <string>DHCP</string>
+ </dict>
+ <key>IPv6</key>
+ <dict>
+ <key>ConfigMethod</key>
+ <string>Automatic</string>
+ </dict>
+ <key>Interface</key>
+ <dict>
+ <key>DeviceName</key>
+ <string>en0</string>
+ <key>Hardware</key>
+ <string>Ethernet</string>
+ <key>Type</key>
+ <string>Ethernet</string>
+ <key>UserDefinedName</key>
+ <string>Ethernet</string>
+ </dict>
+ <key>Proxies</key>
+ <dict>
+ <key>ExceptionsList</key>
+ <array>
+ <string>*.local</string>
+ <string>169.254/16</string>
+ </array>
+ <key>ExcludeSimpleHostnames</key>
+ <integer>1</integer>
+ <key>FTPEnable</key>
+ <integer>1</integer>
+ <key>FTPPassive</key>
+ <integer>1</integer>
+ <key>FTPPort</key>
+ <integer>8092</integer>
+ <key>FTPProxy</key>
+ <string>ftp_proxy.unit-test.invalid</string>
+ <key>GopherEnable</key>
+ <integer>1</integer>
+ <key>GopherPort</key>
+ <integer>8090</integer>
+ <key>GopherProxy</key>
+ <string>http_proxy.unit-test.invalid</string>
+ <key>HTTPEnable</key>
+ <integer>1</integer>
+ <key>HTTPPort</key>
+ <integer>8090</integer>
+ <key>HTTPProxy</key>
+ <string>http_proxy.unit-test.invalid</string>
+ <key>HTTPSEnable</key>
+ <integer>1</integer>
+ <key>HTTPSPort</key>
+ <integer>8091</integer>
+ <key>HTTPSProxy</key>
+ <string>https_proxy.unit-test.invalid</string>
+ <key>ProxyAutoConfigEnable</key>
+ <integer>1</integer>
+ <key>ProxyAutoConfigURLString</key>
+ <string>http://http_proxy.unit-test.invalid/wpad.pac</string>
+ <key>ProxyAutoDiscoveryEnable</key>
+ <integer>0</integer>
+ <key>RTSPEnable</key>
+ <integer>1</integer>
+ <key>RTSPPort</key>
+ <integer>8094</integer>
+ <key>RTSPProxy</key>
+ <string>rtsp_proxy.unit-test.invalid</string>
+ <key>SOCKSEnable</key>
+ <integer>1</integer>
+ <key>SOCKSPort</key>
+ <integer>8095</integer>
+ <key>SOCKSProxy</key>
+ <string>socks_proxy.unit-test.invalid</string>
+ </dict>
+ <key>SMB</key>
+ <dict/>
+ <key>UserDefinedName</key>
+ <string>Ethernet</string>
+ </dict>
+ </dict>
+ <key>Sets</key>
+ <dict>
+ <key>8458B09B-93EA-44C2-AD05-0B4E4A4D9651</key>
+ <dict>
+ <key>Network</key>
+ <dict>
+ <key>Global</key>
+ <dict>
+ <key>IPv4</key>
+ <dict>
+ <key>ServiceOrder</key>
+ <array>
+ <string>299B07C0-D0E0-4840-8486-9E77B9ED84DB</string>
+ </array>
+ </dict>
+ </dict>
+ <key>Service</key>
+ <dict>
+ <key>299B07C0-D0E0-4840-8486-9E77B9ED84DB</key>
+ <dict>
+ <key>__LINK__</key>
+ <string>/NetworkServices/299B07C0-D0E0-4840-8486-9E77B9ED84DB</string>
+ </dict>
+ </dict>
+ </dict>
+ <key>UserDefinedName</key>
+ <string>Automatic</string>
+ </dict>
+ </dict>
+ <key>System</key>
+ <dict>
+ <key>Network</key>
+ <dict>
+ <key>HostNames</key>
+ <dict>
+ <key>LocalHostName</key>
+ <string>rossis-Mac-mini</string>
+ </dict>
+ </dict>
+ <key>System</key>
+ <dict>
+ <key>ComputerName</key>
+ <string>rossi’s Mac mini</string>
+ <key>ComputerNameEncoding</key>
+ <integer>0</integer>
+ </dict>
+ </dict>
+</dict>
+</plist>
diff --git a/src/test/resources/data/pac/test1.pac b/src/test/resources/data/pac/test1.pac
new file mode 100644
index 0000000..4d8c2d6
--- /dev/null
+++ b/src/test/resources/data/pac/test1.pac
@@ -0,0 +1,4 @@
+
+function FindProxyForURL(url, host) {
+ return "PROXY http_proxy.unit-test.invalid:8090";
+} \ No newline at end of file
diff --git a/src/test/resources/data/pac/test2.pac b/src/test/resources/data/pac/test2.pac
new file mode 100644
index 0000000..f8a846e
--- /dev/null
+++ b/src/test/resources/data/pac/test2.pac
@@ -0,0 +1,10 @@
+// Test comments in scripts
+
+function FindProxyForURL(url, host) {
+
+ /*
+ * This is a multiline comment
+ */
+
+ return "DIRECT"; // This returns always DIRECT
+} \ No newline at end of file
diff --git a/src/test/resources/data/pac/testDateRange.pac b/src/test/resources/data/pac/testDateRange.pac
new file mode 100644
index 0000000..305b783
--- /dev/null
+++ b/src/test/resources/data/pac/testDateRange.pac
@@ -0,0 +1,11 @@
+// Test date range functions
+
+function FindProxyForURL(url, host) {
+ dateRange(1, 30);
+ dateRange("JUN", "JUL");
+ dateRange(2008, 2009);
+ dateRange("JUN", "JUL", "GMT");
+ dateRange(1, "JUN", 2008, 30, "JUL", 2099, "GMT");
+
+ return "DIRECT";
+} \ No newline at end of file
diff --git a/src/test/resources/data/pac/testLocalIP.pac b/src/test/resources/data/pac/testLocalIP.pac
new file mode 100644
index 0000000..ace486c
--- /dev/null
+++ b/src/test/resources/data/pac/testLocalIP.pac
@@ -0,0 +1,4 @@
+
+function FindProxyForURL(url, host) {
+ return "PROXY "+ myIpAddress()+":8080";
+} \ No newline at end of file
diff --git a/src/test/resources/data/pac/testMultiProxy.pac b/src/test/resources/data/pac/testMultiProxy.pac
new file mode 100644
index 0000000..9f5a2d1
--- /dev/null
+++ b/src/test/resources/data/pac/testMultiProxy.pac
@@ -0,0 +1,4 @@
+function FindProxyForURL(url, host)
+{
+ return "PROXY my-proxy.com:80 ; PROXY my-proxy2.com: 8080; ";
+} \ No newline at end of file
diff --git a/src/test/resources/data/pac/testTimeRange.pac b/src/test/resources/data/pac/testTimeRange.pac
new file mode 100644
index 0000000..21138ac
--- /dev/null
+++ b/src/test/resources/data/pac/testTimeRange.pac
@@ -0,0 +1,11 @@
+// Test weekday functions
+
+function FindProxyForURL(url, host) {
+ timeRange(12);
+ timeRange(11, 16);
+ timeRange(10, 30, 17, 30, "gmt");
+ timeRange(10, 30, 00, 17, 30, 30, "GMT");
+ timeRange(19, 9);
+
+ return "DIRECT";
+} \ No newline at end of file
diff --git a/src/test/resources/data/pac/testWeekDay.pac b/src/test/resources/data/pac/testWeekDay.pac
new file mode 100644
index 0000000..1b37cb1
--- /dev/null
+++ b/src/test/resources/data/pac/testWeekDay.pac
@@ -0,0 +1,10 @@
+// Test weekday functions
+
+function FindProxyForURL(url, host) {
+ weekdayRange("MON");
+ weekdayRange("MON", "GMT");
+ weekdayRange("FRI", "MON");
+ weekdayRange("MON", "WED", "GMT");
+
+ return "DIRECT";
+} \ No newline at end of file
diff --git a/src/test/resources/data/win/proxy_util_amd64.dll b/src/test/resources/data/win/proxy_util_amd64.dll
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/test/resources/data/win/proxy_util_amd64.dll
diff --git a/src/test/resources/data/win/proxy_util_ia64.dll b/src/test/resources/data/win/proxy_util_ia64.dll
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/test/resources/data/win/proxy_util_ia64.dll
diff --git a/src/test/resources/data/win/proxy_util_w32.dll b/src/test/resources/data/win/proxy_util_w32.dll
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/test/resources/data/win/proxy_util_w32.dll
diff --git a/src/test/resources/data/wpad/wpad.pac b/src/test/resources/data/wpad/wpad.pac
new file mode 100644
index 0000000..4d8c2d6
--- /dev/null
+++ b/src/test/resources/data/wpad/wpad.pac
@@ -0,0 +1,4 @@
+
+function FindProxyForURL(url, host) {
+ return "PROXY http_proxy.unit-test.invalid:8090";
+} \ No newline at end of file