Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7277)

Unified Diff: chrome/test/ppapi/ppapi_browsertest.cc

Issue 240523002: Add test to make sure if PPB_Audio_Shared::StartThread() works. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ppapi/native_client/src/untrusted/irt_stub/thread_creator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/ppapi/ppapi_browsertest.cc
diff --git a/chrome/test/ppapi/ppapi_browsertest.cc b/chrome/test/ppapi/ppapi_browsertest.cc
index 216824f131e3dc66208a2a70d5a037cfb74b82f0..8d4c3752c53b18cfcca4598ab0eee83bf52a0d3e 100644
--- a/chrome/test/ppapi/ppapi_browsertest.cc
+++ b/chrome/test/ppapi/ppapi_browsertest.cc
@@ -1181,6 +1181,27 @@ IN_PROC_BROWSER_TEST_F(PPAPINaClPNaClNonSfiTest, MAYBE_NONSFI(Audio)) {
RUN_AUDIO_SUBTESTS;
}
+#define RUN_AUDIO_THREAD_CREATOR_SUBTESTS \
+ RunTestViaHTTP( \
+ LIST_TEST(Audio_AudioThreadCreatorIsRequired) \
+ LIST_TEST(Audio_AudioThreadCreatorIsCalled) \
+ )
+
+IN_PROC_BROWSER_TEST_F(PPAPINaClNewlibTest, AudioThreadCreator) {
+ RUN_AUDIO_THREAD_CREATOR_SUBTESTS;
+}
+IN_PROC_BROWSER_TEST_F(PPAPINaClGLibcTest, MAYBE_GLIBC(AudioThreadCreator)) {
+ RUN_AUDIO_THREAD_CREATOR_SUBTESTS;
+}
+IN_PROC_BROWSER_TEST_F(PPAPINaClPNaClTest, AudioThreadCreator) {
+ RUN_AUDIO_THREAD_CREATOR_SUBTESTS;
+}
+// TODO(hidehiko): Enable AudioThreadCreator testing for NonSfi when
+// PPB_Audio_Shared::SetThreadFunctions is fixed.
+IN_PROC_BROWSER_TEST_F(PPAPINaClPNaClNonSfiTest, DISABLED_AudioThreadCreator) {
+ RUN_AUDIO_THREAD_CREATOR_SUBTESTS;
+}
+
TEST_PPAPI_IN_PROCESS(View_CreatedVisible);
TEST_PPAPI_OUT_OF_PROCESS(View_CreatedVisible);
TEST_PPAPI_NACL(View_CreatedVisible);
« no previous file with comments | « no previous file | ppapi/native_client/src/untrusted/irt_stub/thread_creator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698