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

Unified Diff: third_party/liblouis/nacl_wrapper/liblouis_wrapper_browsertest.cc

Issue 67283007: Build liblouis_nacl using gyp. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Don't copy build artifacts to final location (defered to the cl that lands all of chromevox). Created 7 years 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
Index: third_party/liblouis/nacl_wrapper/liblouis_wrapper_browsertest.cc
diff --git a/third_party/liblouis/nacl_wrapper/liblouis_wrapper_browsertest.cc b/third_party/liblouis/nacl_wrapper/liblouis_wrapper_browsertest.cc
new file mode 100644
index 0000000000000000000000000000000000000000..d5cbc90037105f48a44f7a468e50f664638de60b
--- /dev/null
+++ b/third_party/liblouis/nacl_wrapper/liblouis_wrapper_browsertest.cc
@@ -0,0 +1,18 @@
+// Copyright (c) 2012 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 "base/base_paths.h"
+#include "base/files/file_path.h"
+#include "base/path_service.h"
+#include "chrome/browser/extensions/extension_apitest.h"
+
+class LibLouisWrapperTest : public ExtensionApiTest {
+};
+
+IN_PROC_BROWSER_TEST_F(LibLouisWrapperTest, LibLouisLoad) {
+ ASSERT_TRUE(PathService::Get(base::DIR_EXE, &test_data_dir_));
+ test_data_dir_ = test_data_dir_.AppendASCII("chromevox_test_data");
+ LOG(ERROR) << "Test data dir: " << test_data_dir_.MaybeAsASCII();
+ ASSERT_TRUE(RunExtensionTest("braille")) << message_;
+}

Powered by Google App Engine
This is Rietveld 408576698