| 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_;
|
| +}
|
|
|