diff options
author | Steve Block <steveblock@google.com> | 2011-05-25 19:08:45 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2011-06-08 13:51:31 +0100 |
commit | 2bde8e466a4451c7319e3a072d118917957d6554 (patch) | |
tree | 28f4a1b869a513e565c7760d0e6a06e7cf1fe95a /Source/WebKit/gtk/tests/testapplicationcache.c | |
parent | 6939c99b71d9372d14a0c74a772108052e8c48c8 (diff) | |
download | external_webkit-2bde8e466a4451c7319e3a072d118917957d6554.zip external_webkit-2bde8e466a4451c7319e3a072d118917957d6554.tar.gz external_webkit-2bde8e466a4451c7319e3a072d118917957d6554.tar.bz2 |
Merge WebKit at r82507: Initial merge by git
Change-Id: I60ce9d780725b58b45e54165733a8ffee23b683e
Diffstat (limited to 'Source/WebKit/gtk/tests/testapplicationcache.c')
-rw-r--r-- | Source/WebKit/gtk/tests/testapplicationcache.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Source/WebKit/gtk/tests/testapplicationcache.c b/Source/WebKit/gtk/tests/testapplicationcache.c index 55e360c..2b022fc 100644 --- a/Source/WebKit/gtk/tests/testapplicationcache.c +++ b/Source/WebKit/gtk/tests/testapplicationcache.c @@ -37,25 +37,6 @@ static void test_application_cache_maximum_size() g_assert(maxSize == webkit_application_cache_get_maximum_size()); } -static void test_application_cache_database_directory_path() -{ - unsigned long long maxSize = 8192; - webkit_application_cache_set_maximum_size(maxSize); - - gchar* databaseDirectorySet = g_build_filename(g_get_user_data_dir(), "webkit", "databases", NULL); - webkit_application_cache_set_database_directory_path(databaseDirectorySet); - - // Creating a WebView - make sure that it didn't change anything - WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new()); - g_object_ref_sink(webView); - g_object_unref(webView); - - const gchar* databaseDirectoryGet = webkit_application_cache_get_database_directory_path(); - g_assert_cmpstr(databaseDirectorySet, ==, databaseDirectoryGet); - - g_free(databaseDirectorySet); -} - int main(int argc, char** argv) { g_thread_init(NULL); @@ -64,8 +45,6 @@ int main(int argc, char** argv) g_test_bug_base("https://bugs.webkit.org/"); g_test_add_func("/webkit/application_cache/maximum_size", test_application_cache_maximum_size); - g_test_add_func("/webkit/application_cache/database_directory_path", - test_application_cache_database_directory_path); return g_test_run(); } |