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

Unified Diff: chrome/test/nacl/nacl_ui_test.cc

Issue 7831053: Move NaCl tests out of chrome/test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 | « chrome/test/nacl/nacl_ui_test.h ('k') | chrome/test/nacl_security_tests/commands_posix.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/nacl/nacl_ui_test.cc
===================================================================
--- chrome/test/nacl/nacl_ui_test.cc (revision 100205)
+++ chrome/test/nacl/nacl_ui_test.cc (working copy)
@@ -1,88 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/test/nacl/nacl_ui_test.h"
-
-// TODO(jvoung) see what includes we really need.
-#include "base/file_util.h"
-#include "base/path_service.h"
-#include "base/test/test_timeouts.h"
-#include "chrome/common/chrome_paths.h"
-
-namespace {
-// NOTE: The base URL of each HTML file is specified in nacl_test.
-const FilePath::CharType kPPAPIHwHtmlFileName[] =
- FILE_PATH_LITERAL("srpc_hw_ppapi.html");
-const FilePath::CharType kSrpcBasicHtmlFileName[] =
- FILE_PATH_LITERAL("srpc_basic.html");
-const FilePath::CharType kSrpcSockAddrHtmlFileName[] =
- FILE_PATH_LITERAL("srpc_sockaddr.html");
-const FilePath::CharType kSrpcShmHtmlFileName[] =
- FILE_PATH_LITERAL("srpc_shm.html");
-const FilePath::CharType kSrpcPluginHtmlFileName[] =
- FILE_PATH_LITERAL("srpc_plugin.html");
-const FilePath::CharType kSrpcNrdXferHtmlFileName[] =
- FILE_PATH_LITERAL("srpc_nrd_xfer.html");
-const FilePath::CharType kServerHtmlFileName[] =
- FILE_PATH_LITERAL("server_test.html");
-const FilePath::CharType kNpapiHwHtmlFileName[] =
- FILE_PATH_LITERAL("npapi_hw.html");
-} // namespace
-
-NaClUITest::NaClUITest() {
-}
-
-NaClUITest::~NaClUITest() {
-}
-
-/* None of these tests are enabled anymore, and the test framework seems
- * not to be a good fit for nacl testing anyway.
- * TODO(sehr): remove nacl_ui_test.cc entirely once the buildbots don't use it.
- */
-TEST_F(NaClUITest, DISABLED_ServerTest) {
- FilePath test_file(kServerHtmlFileName);
- RunTest(test_file, TestTimeouts::action_max_timeout_ms());
-}
-
-// Uses obsolete srpc interface.
-TEST_F(NaClUITest, DISABLED_PPAPIHelloWorld) {
- FilePath test_file(kPPAPIHwHtmlFileName);
- RunTest(test_file, TestTimeouts::action_max_timeout_ms());
-}
-
-// http://crbug.com/64973
-TEST_F(NaClUITest, DISABLED_SrpcBasicTest) {
- FilePath test_file(kSrpcBasicHtmlFileName);
- RunTest(test_file, TestTimeouts::action_max_timeout_ms());
-}
-
-TEST_F(NaClUITest, DISABLED_SrpcSockAddrTest) {
- FilePath test_file(kSrpcSockAddrHtmlFileName);
- RunTest(test_file, TestTimeouts::action_max_timeout_ms());
-}
-
-TEST_F(NaClUITest, DISABLED_SrpcShmTest) {
- FilePath test_file(kSrpcShmHtmlFileName);
- RunTest(test_file, TestTimeouts::action_max_timeout_ms());
-}
-
-TEST_F(NaClUITest, DISABLED_SrpcPluginTest) {
- FilePath test_file(kSrpcPluginHtmlFileName);
- RunTest(test_file, TestTimeouts::action_max_timeout_ms());
-}
-
-TEST_F(NaClUITest, DISABLED_SrpcNrdXferTest) {
- FilePath test_file(kSrpcNrdXferHtmlFileName);
- RunTest(test_file, TestTimeouts::action_max_timeout_ms());
-}
-
-TEST_F(NaClUITest, DISABLED_NpapiHwTest) {
- FilePath test_file(kNpapiHwHtmlFileName);
- RunTest(test_file, TestTimeouts::action_max_timeout_ms());
-}
-
-// TEST_F(NaClUITest, DISABLED_MultiarchTest) {
-// FilePath test_file(kSrpcHwHtmlFileName);
-// RunMultiarchTest(test_file, TestTimeouts::action_max_timeout_ms());
-// }
« no previous file with comments | « chrome/test/nacl/nacl_ui_test.h ('k') | chrome/test/nacl_security_tests/commands_posix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698