#include "ClangTidyTest.h"
#include "google/ExplicitConstructorCheck.h"
#include "google/GlobalNamesInHeadersCheck.h"
#include "gtest/gtest.h"
usingnamespaceclang::tidy::google;
namespace clang {
namespace tidy {
namespace test {
TEST(ExplicitConstructorCheckTest, SingleArgumentConstructorsOnly) { … }
TEST(ExplicitConstructorCheckTest, Basic) { … }
TEST(ExplicitConstructorCheckTest, DefaultParameters) { … }
TEST(ExplicitConstructorCheckTest, OutOfLineDefinitions) { … }
TEST(ExplicitConstructorCheckTest, RemoveExplicit) { … }
TEST(ExplicitConstructorCheckTest, RemoveExplicitWithMacros) { … }
class GlobalNamesInHeadersCheckTest : public ::testing::Test { … };
TEST_F(GlobalNamesInHeadersCheckTest, UsingDeclarations) { … }
TEST_F(GlobalNamesInHeadersCheckTest, UsingDirectives) { … }
TEST_F(GlobalNamesInHeadersCheckTest, RegressionAnonymousNamespace) { … }
}
}
}