1f92157deSopenharmony_ci// Copyright 2015, Google Inc.
2f92157deSopenharmony_ci// All rights reserved.
3f92157deSopenharmony_ci//
4f92157deSopenharmony_ci// Redistribution and use in source and binary forms, with or without
5f92157deSopenharmony_ci// modification, are permitted provided that the following conditions are
6f92157deSopenharmony_ci// met:
7f92157deSopenharmony_ci//
8f92157deSopenharmony_ci//     * Redistributions of source code must retain the above copyright
9f92157deSopenharmony_ci// notice, this list of conditions and the following disclaimer.
10f92157deSopenharmony_ci//     * Redistributions in binary form must reproduce the above
11f92157deSopenharmony_ci// copyright notice, this list of conditions and the following disclaimer
12f92157deSopenharmony_ci// in the documentation and/or other materials provided with the
13f92157deSopenharmony_ci// distribution.
14f92157deSopenharmony_ci//     * Neither the name of Google Inc. nor the names of its
15f92157deSopenharmony_ci// contributors may be used to endorse or promote products derived from
16f92157deSopenharmony_ci// this software without specific prior written permission.
17f92157deSopenharmony_ci//
18f92157deSopenharmony_ci// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19f92157deSopenharmony_ci// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20f92157deSopenharmony_ci// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21f92157deSopenharmony_ci// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22f92157deSopenharmony_ci// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23f92157deSopenharmony_ci// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24f92157deSopenharmony_ci// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25f92157deSopenharmony_ci// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26f92157deSopenharmony_ci// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27f92157deSopenharmony_ci// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28f92157deSopenharmony_ci// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29f92157deSopenharmony_ci
30f92157deSopenharmony_ci#include "gtest/gtest.h"
31f92157deSopenharmony_ci
32f92157deSopenharmony_cinamespace {
33f92157deSopenharmony_ciclass DummyTest : public ::testing::TestWithParam<const char *> {};
34f92157deSopenharmony_ci
35f92157deSopenharmony_cistd::string StringParamTestSuffix(
36f92157deSopenharmony_ci    const testing::TestParamInfo<const char *> &info) {
37f92157deSopenharmony_ci  return std::string(info.param);
38f92157deSopenharmony_ci}
39f92157deSopenharmony_ci
40f92157deSopenharmony_ciTEST_P(DummyTest, Dummy) {}
41f92157deSopenharmony_ci
42f92157deSopenharmony_ciINSTANTIATE_TEST_SUITE_P(DuplicateTestNames, DummyTest,
43f92157deSopenharmony_ci                         ::testing::Values("a", "b", "a", "c"),
44f92157deSopenharmony_ci                         StringParamTestSuffix);
45f92157deSopenharmony_ci}  // namespace
46f92157deSopenharmony_ci
47f92157deSopenharmony_ciint main(int argc, char *argv[]) {
48f92157deSopenharmony_ci  testing::InitGoogleTest(&argc, argv);
49f92157deSopenharmony_ci  return RUN_ALL_TESTS();
50f92157deSopenharmony_ci}
51