blob: 054ef30a83fb8ff0c6f5b6baffa6f1835c2c2985 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright 2020 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 "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/views/examples/examples_exit_code.h"
#include "ui/views/examples/examples_main_proc.h"
namespace views {
namespace examples {
#if defined(OS_WIN)
#define TestViewsExamplesLaunches_MAYBE TestViewsExamplesLaunches
#else
#define TestViewsExamplesLaunches_MAYBE TestViewsExamplesLaunches_DISABLED
#endif
TEST(ExamplesTest, TestViewsExamplesLaunches_MAYBE) {
const ExamplesExitCode exit_code = ExamplesMainProc(true);
// Check the status of the Skia Gold comparison.
EXPECT_EQ(ExamplesExitCode::kSucceeded, exit_code);
}
} // namespace examples
} // namespace views
|