/external/chromium_org/third_party/libjingle/source/talk/base/ |
event_unittest.cc | 35 ASSERT_TRUE(event.Wait(0)); 43 ASSERT_TRUE(event.Wait(0)); 44 ASSERT_TRUE(event.Wait(0)); 55 ASSERT_TRUE(event.Wait(0));
|
/external/chromium/chrome/browser/ |
browser_focus_uitest.cc | 184 ASSERT_TRUE(ui_test_utils::BringBrowserWindowToFront(browser())); 194 ASSERT_TRUE(IsViewFocused(VIEW_ID_LOCATION_BAR)); 197 ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER_FOCUS_VIEW)); 200 ASSERT_TRUE(IsViewFocused(VIEW_ID_LOCATION_BAR)); 205 ASSERT_TRUE(ui_test_utils::BringBrowserWindowToFront(browser())); 206 ASSERT_TRUE(test_server()->Start()); 215 ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER_FOCUS_VIEW)); 219 ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER_FOCUS_VIEW)); 222 ASSERT_TRUE(IsViewFocused(VIEW_ID_LOCATION_BAR)); 226 ASSERT_TRUE(IsViewFocused(VIEW_ID_LOCATION_BAR)) [all...] |
browsing_data_database_helper_unittest.cc | 25 ASSERT_TRUE(helper->empty()); 29 ASSERT_TRUE(helper->empty());
|
browsing_data_indexed_db_helper_unittest.cc | 25 ASSERT_TRUE(helper->empty()); 29 ASSERT_TRUE(helper->empty());
|
browsing_data_local_storage_helper_unittest.cc | 23 ASSERT_TRUE(helper->empty()); 27 ASSERT_TRUE(helper->empty());
|
/external/chromium/base/files/ |
file_path_watcher_browsertest.cc | 68 ASSERT_TRUE(loop_->BelongsToCurrentThread()); 69 ASSERT_TRUE(delegates_.count(delegate)); 155 ASSERT_TRUE(file_thread_.StartWithOptions(options)); 156 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); 208 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get())); 210 ASSERT_TRUE(WriteFile(test_file(), "content")); 211 ASSERT_TRUE(WaitForEvents()); 216 ASSERT_TRUE(WriteFile(test_file(), "content")); 220 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get())); 223 ASSERT_TRUE(WriteFile(test_file(), "new content")) [all...] |
/external/chromium/chrome/browser/extensions/ |
isolated_app_apitest.cc | 48 ASSERT_TRUE(test_server()->Start()); 50 ASSERT_TRUE(LoadExtension(test_data_dir_.AppendASCII("isolated_apps/app1"))); 51 ASSERT_TRUE(LoadExtension(test_data_dir_.AppendASCII("isolated_apps/app2"))); 74 ASSERT_TRUE(GetInstalledApp(tab1)); 75 ASSERT_TRUE(GetInstalledApp(tab2)); 76 ASSERT_TRUE(!GetInstalledApp(tab3)); 79 ASSERT_TRUE(HasCookie(tab1, "app1=3")); 80 ASSERT_TRUE(HasCookie(tab2, "app2=4")); 81 ASSERT_TRUE(HasCookie(tab3, "normalPage=5")); 98 ASSERT_TRUE(HasCookie(tab1, "nonAppFrame=6")) [all...] |
extension_geolocation_apitest.cc | 37 ASSERT_TRUE(RunExtensionTest("geolocation/no_permission")) << message_; 42 ASSERT_TRUE(RunExtensionTest("geolocation/has_permission")) << message_;
|
extension_icon_source_apitest.cc | 21 ASSERT_TRUE(LoadExtension(basedir.AppendASCII("extension_with_permission"))); 22 ASSERT_TRUE(LoadExtension(basedir.AppendASCII("extension_no_permission"))); 30 ASSERT_TRUE(ui_test_utils::ExecuteJavaScriptAndExtractString( 41 ASSERT_TRUE(ui_test_utils::ExecuteJavaScriptAndExtractString( 50 ASSERT_TRUE(LoadExtensionIncognito( 52 ASSERT_TRUE(LoadExtensionIncognito( 64 ASSERT_TRUE(ui_test_utils::ExecuteJavaScriptAndExtractString( 75 ASSERT_TRUE(ui_test_utils::ExecuteJavaScriptAndExtractString(
|
extension_websocket_apitest.cc | 17 ASSERT_TRUE(server.Start(websocket_root_dir)); 18 ASSERT_TRUE(RunExtensionTest("websocket")) << message_;
|
/external/chromium_org/chrome/browser/extensions/api/extension_action/ |
page_as_browser_action_apitest.cc | 55 ASSERT_TRUE(test_server()->Start()); 56 ASSERT_TRUE(RunExtensionTest("page_action/basics")) << message_; 58 ASSERT_TRUE(extension) << message_; 62 ASSERT_TRUE(extension_action_manager()->GetBrowserAction(*extension)); 80 ASSERT_TRUE(catcher.GetNextResult()); 88 ASSERT_TRUE(action); 104 ASSERT_TRUE(catcher.GetNextResult()); 119 ASSERT_TRUE(RunExtensionTest("page_action/add_popup")) << message_; 121 ASSERT_TRUE(extension) << message_; 128 ASSERT_TRUE(page_action [all...] |
page_action_apitest.cc | 39 ASSERT_TRUE(test_server()->Start()); 40 ASSERT_TRUE(RunExtensionTest("page_action/basics")) << message_; 42 ASSERT_TRUE(extension) << message_; 48 ASSERT_TRUE(catcher.GetNextResult()); 55 ASSERT_TRUE(action); 73 ASSERT_TRUE(catcher.GetNextResult()); 89 ASSERT_TRUE(RunExtensionTest("page_action/add_popup")) << message_; 91 ASSERT_TRUE(extension) << message_; 97 ASSERT_TRUE(page_action) 108 ASSERT_TRUE(catcher.GetNextResult()) [all...] |
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
cros_language_options_handler_unittest.cc | 71 ASSERT_TRUE(list->GetDictionary(0, &entry)); 72 ASSERT_TRUE(entry->GetString("id", &input_method_id)); 73 ASSERT_TRUE(entry->GetString("displayName", &display_name)); 74 ASSERT_TRUE(entry->GetDictionary("languageCodeSet", &language_code_set)); 79 ASSERT_TRUE(language_code_set->HasKey("en-US")); 81 ASSERT_TRUE(list->GetDictionary(1, &entry)); 82 ASSERT_TRUE(entry->GetString("id", &input_method_id)); 83 ASSERT_TRUE(entry->GetString("displayName", &display_name)); 84 ASSERT_TRUE(entry->GetDictionary("languageCodeSet", &language_code_set)); 88 ASSERT_TRUE(language_code_set->HasKey("fr")) [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
WebSocketDeflaterTest.cpp | 40 ASSERT_TRUE(deflater->initialize()); 42 ASSERT_TRUE(inflater->initialize()); 46 ASSERT_TRUE(deflater->addBytes(inputData, inputLength)); 47 ASSERT_TRUE(deflater->finish()); 51 ASSERT_TRUE(inflater->addBytes(deflater->data(), deflater->size())); 52 ASSERT_TRUE(inflater->finish()); 59 ASSERT_TRUE(deflater->addBytes(inputData, inputLength)); 60 ASSERT_TRUE(deflater->finish()); 64 ASSERT_TRUE(inflater->addBytes(deflater->data(), deflater->size())); 65 ASSERT_TRUE(inflater->finish()) [all...] |
/external/chromium_org/base/json/ |
json_value_serializer_unittest.cc | 54 ASSERT_TRUE(str_serializer.Serialize(value)); 64 ASSERT_TRUE(root.get() && root->IsType(Value::TYPE_LIST)); 68 ASSERT_TRUE(list->Get(0, &elt)); 70 ASSERT_TRUE(elt && elt->GetAsInteger(&value)); 84 ASSERT_TRUE(value.get()); 86 ASSERT_TRUE(error_message.empty()); 108 ASSERT_TRUE(value.get()); 117 ASSERT_TRUE(tempdir.CreateUniqueTempDir()); 130 ASSERT_TRUE(value.get()); 132 ASSERT_TRUE(error_message.empty()) [all...] |
/external/chromium_org/chrome/browser/apps/ |
app_window_interactive_uitest.cc | 92 ASSERT_TRUE(launched_listener.WaitUntilSatisfied()); 111 ASSERT_TRUE(SimulateKeyPress(ui::VKEY_ESCAPE)); 120 ASSERT_TRUE(launched_listener.WaitUntilSatisfied()); 135 ASSERT_TRUE(SimulateKeyPress(ui::VKEY_A)); 145 ASSERT_TRUE(SimulateKeyPress(ui::VKEY_ESCAPE)); 155 ASSERT_TRUE(launched_listener.WaitUntilSatisfied()); 169 ASSERT_TRUE(SimulateKeyPress(ui::VKEY_ESCAPE)); 173 ASSERT_TRUE(SimulateKeyPress(ui::VKEY_B)); 175 ASSERT_TRUE(second_key_listener.WaitUntilSatisfied()); 188 ASSERT_TRUE(launched_listener.WaitUntilSatisfied()) [all...] |
/external/chromium/app/sql/ |
connection_unittest.cc | 17 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); 18 ASSERT_TRUE(db_.Open(temp_dir_.path().AppendASCII("SQLConnectionTest.db"))); 34 ASSERT_TRUE(db().Execute("CREATE TABLE foo (a, b)")); 45 ASSERT_TRUE(db().Execute("CREATE TABLE foo (a, b)")); 46 ASSERT_TRUE(db().Execute("INSERT INTO foo(a, b) VALUES (12, 13)")); 53 ASSERT_TRUE(s.Step()); 66 ASSERT_TRUE(s.Step()); 77 ASSERT_TRUE(db().Execute("CREATE TABLE foo (a, b)")); 92 ASSERT_TRUE(db().Execute("CREATE TABLE foo (id INTEGER PRIMARY KEY, value)")); 94 ASSERT_TRUE(db().Execute("INSERT INTO foo (value) VALUES (12)")) [all...] |
/external/chromium_org/ppapi/tests/ |
test_printing.cc | 55 ASSERT_TRUE(g_callback_triggered); 61 ASSERT_TRUE(g_print_settings.printable_area.point.x < 200); 62 ASSERT_TRUE(g_print_settings.printable_area.point.y < 200); 63 ASSERT_TRUE(g_print_settings.printable_area.size.width < 2000); 64 ASSERT_TRUE(g_print_settings.printable_area.size.height < 2000); 66 ASSERT_TRUE(g_print_settings.content_area.point.x < 200); 67 ASSERT_TRUE(g_print_settings.content_area.point.y < 200); 68 ASSERT_TRUE(g_print_settings.content_area.size.width < 2000); 69 ASSERT_TRUE(g_print_settings.content_area.size.height< 2000); 71 ASSERT_TRUE(g_print_settings.paper_size.width < 2000) [all...] |
/external/clang/unittests/AST/ |
CommentParser.cpp | 601 ASSERT_TRUE(HasChildCount(FC, 0)); 608 ASSERT_TRUE(HasChildCount(FC, 1)); 610 ASSERT_TRUE(HasParagraphCommentAt(FC, 0, " Meow")); 619 ASSERT_TRUE(HasChildCount(FC, 1)); 623 ASSERT_TRUE(GetChildAt(FC, 0, PC)); 625 ASSERT_TRUE(HasChildCount(PC, 2)); 626 ASSERT_TRUE(HasTextWithNewlineAt(PC, 0, " Aaa")); 627 ASSERT_TRUE(HasTextAt(PC, 1, " Bbb")); 646 ASSERT_TRUE(HasChildCount(FC, 2)); 648 ASSERT_TRUE(HasParagraphCommentAt(FC, 0, " Aaa")) [all...] |
/external/chromium_org/chrome/browser/extensions/api/proxy/ |
proxy_apitest.cc | 33 ASSERT_TRUE(pref != NULL); 39 ASSERT_TRUE(dict.GetMode(&mode)); 44 ASSERT_TRUE(dict.GetBypassList(&value)); 51 ASSERT_TRUE(dict.GetPacUrl(&value)); 58 ASSERT_TRUE(dict.GetProxyServer(&value)); 68 ASSERT_TRUE(pref != NULL); 75 ASSERT_TRUE(RunExtensionTestIncognito("proxy/direct")) << message_; 77 ASSERT_TRUE(extension); 86 ASSERT_TRUE(RunExtensionTestIncognito("proxy/auto")) << message_; 88 ASSERT_TRUE(extension) [all...] |
/external/chromium/chrome/browser/notifications/ |
notifications_interactive_uitest.cc | 23 ASSERT_TRUE(test_server.Start()); 26 ASSERT_TRUE(browser.get()); 28 ASSERT_TRUE(tab.get()); 37 ASSERT_TRUE(tab->ExecuteAndExtractBool( 50 ASSERT_TRUE(test_server.Start()); 53 ASSERT_TRUE(browser.get()); 55 ASSERT_TRUE(tab.get()); 65 ASSERT_TRUE(tab->GetInfoBarCount(&info_bar_count));
|
/external/chromium/crypto/ |
signature_creator_unittest.cc | 16 ASSERT_TRUE(key_original.get()); 22 ASSERT_TRUE(key.get()); 26 ASSERT_TRUE(signer.get()); 29 ASSERT_TRUE(signer->Update(reinterpret_cast<const uint8*>(data.c_str()), 33 ASSERT_TRUE(signer->Final(&signature)); 36 ASSERT_TRUE(key_original->ExportPublicKey(&public_key_info)); 45 ASSERT_TRUE(verifier.VerifyInit( 52 ASSERT_TRUE(verifier.VerifyFinal());
|
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/ |
test_utils.cc | 18 ASSERT_TRUE(base::CreateTemporaryFile(&test_image_)); 19 ASSERT_TRUE(base::CreateTemporaryFile(&test_device_));
|
/external/chromium_org/chrome/browser/extensions/api/web_request/ |
web_request_apitest.cc | 74 ASSERT_TRUE(StartEmbeddedTestServer()); 75 ASSERT_TRUE(RunExtensionSubtest("webrequest", "test_api.html")) << message_; 85 ASSERT_TRUE(StartEmbeddedTestServer()); 86 ASSERT_TRUE(RunExtensionSubtest("webrequest", "test_simple.html")) << 91 ASSERT_TRUE(StartEmbeddedTestServer()); 92 ASSERT_TRUE(RunExtensionSubtest("webrequest", "test_complex.html")) << 101 ASSERT_TRUE(StartEmbeddedTestServer()); 102 ASSERT_TRUE(RunExtensionSubtest("webrequest", "test_auth_required.html")) << 113 ASSERT_TRUE(StartEmbeddedTestServer()); 114 ASSERT_TRUE(RunExtensionSubtest("webrequest", "test_blocking.html")) < [all...] |
/external/chromium_org/chrome/browser/extensions/ |
subscribe_page_action_browsertest.cc | 116 ASSERT_TRUE(ValidatePageElement( 118 ASSERT_TRUE(ValidatePageElement(tab, 122 ASSERT_TRUE(ValidatePageElement(tab, 126 ASSERT_TRUE(ValidatePageElement(tab, 137 ASSERT_TRUE(test_server()->Start()); 139 ASSERT_TRUE(LoadExtension( 142 ASSERT_TRUE(WaitForPageActionVisibilityChangeTo(0)); 148 ASSERT_TRUE(WaitForPageActionVisibilityChangeTo(1)); 152 ASSERT_TRUE(test_server()->Start()); 156 ASSERT_TRUE(extension) [all...] |