Lines Matching refs:webSettings
17 private TestWebSettings webSettings; field in TestWebSettingsTest
23 webSettings = new TestWebSettings(); in setUp()
28 assertThat(webSettings.getAllowFileAccess(), equalTo(true)); in testDefaults()
29 assertThat(webSettings.getBlockNetworkImage(), equalTo(false)); in testDefaults()
30 assertThat(webSettings.getBlockNetworkLoads(), equalTo(false)); in testDefaults()
31 assertThat(webSettings.getBuiltInZoomControls(), equalTo(true)); in testDefaults()
32 assertThat(webSettings.getDatabaseEnabled(), equalTo(false)); in testDefaults()
33 assertThat(webSettings.getDomStorageEnabled(), equalTo(false)); in testDefaults()
34 assertThat(webSettings.getJavaScriptEnabled(), equalTo(false)); in testDefaults()
35 assertThat(webSettings.getLightTouchEnabled(), equalTo(false)); in testDefaults()
36 assertThat(webSettings.getLoadWithOverviewMode(), equalTo(false)); in testDefaults()
37 assertThat(webSettings.getPluginState(), equalTo(WebSettings.PluginState.OFF)); in testDefaults()
40 assertThat(webSettings.getPluginsEnabled(), equalTo(false)); in testDefaults()
43 assertThat(webSettings.getNeedInitialFocus(), equalTo(false)); in testDefaults()
44 assertThat(webSettings.getSupportMultipleWindows(), equalTo(false)); in testDefaults()
45 assertThat(webSettings.getSupportZoom(), equalTo(true)); in testDefaults()
51 webSettings.setAllowFileAccess(value); in testAllowFileAccess()
52 assertThat(webSettings.getAllowFileAccess(), equalTo(value)); in testAllowFileAccess()
59 webSettings.setAllowFileAccessFromFileURLs(value); in testAllowFileAccessFromFileURLs()
60 assertThat(webSettings.getAllowFileAccessFromFileURLs(), equalTo(value)); in testAllowFileAccessFromFileURLs()
67 webSettings.setAllowUniversalAccessFromFileURLs(value); in testAllowUniversalAccessFromFileURLs()
68 assertThat(webSettings.getAllowUniversalAccessFromFileURLs(), equalTo(value)); in testAllowUniversalAccessFromFileURLs()
75 webSettings.setBlockNetworkImage(value); in testBlockNetworkImage()
76 assertThat(webSettings.getBlockNetworkImage(), equalTo(value)); in testBlockNetworkImage()
83 webSettings.setBlockNetworkLoads(value); in testBlockNetworkLoads()
84 assertThat(webSettings.getBlockNetworkLoads(), equalTo(value)); in testBlockNetworkLoads()
91 webSettings.setBuiltInZoomControls(value); in testBuiltInZoomControls()
92 assertThat(webSettings.getBuiltInZoomControls(), equalTo(value)); in testBuiltInZoomControls()
99 webSettings.setDatabaseEnabled(value); in testDatabaseEnabled()
100 assertThat(webSettings.getDatabaseEnabled(), equalTo(value)); in testDatabaseEnabled()
107 webSettings.setDomStorageEnabled(value); in testDomStorageEnabled()
108 assertThat(webSettings.getDomStorageEnabled(), equalTo(value)); in testDomStorageEnabled()
115 webSettings.setJavaScriptEnabled(value); in testJavaScriptEnabled()
116 assertThat(webSettings.getJavaScriptEnabled(), equalTo(value)); in testJavaScriptEnabled()
123 webSettings.setLightTouchEnabled(value); in testLightTouchEnabled()
124 assertThat(webSettings.getLightTouchEnabled(), equalTo(value)); in testLightTouchEnabled()
131 webSettings.setLoadWithOverviewMode(value); in testLoadWithOverviewMode()
132 assertThat(webSettings.getLoadWithOverviewMode(), equalTo(value)); in testLoadWithOverviewMode()
139 webSettings.setNeedInitialFocus(value); in testNeedInitialFocus()
140 assertThat(webSettings.getNeedInitialFocus(), equalTo(value)); in testNeedInitialFocus()
147 webSettings.setPluginsEnabled(value); in testPluginsEnabled()
148 assertThat(webSettings.getPluginsEnabled(), equalTo(value)); in testPluginsEnabled()
161 webSettings.setPluginState(state); in testPluginState()
162 assertThat(webSettings.getPluginState(), equalTo(state)); in testPluginState()
169 webSettings.setSupportMultipleWindows(value); in testSupportMultipleWindows()
170 assertThat(webSettings.getSupportMultipleWindows(), equalTo(value)); in testSupportMultipleWindows()
177 webSettings.setSupportZoom(value); in testSupportZoom()
178 assertThat(webSettings.getSupportZoom(), equalTo(value)); in testSupportZoom()