Lines Matching full:input

58   const std::string Input = R"cc(
73 EXPECT_EQ(Expected, test::runCheckOnCode<IfInverterCheck>(Input));
84 std::string Input = "int h() { return 5; }";
86 EXPECT_EQ(Input, test::runCheckOnCode<DiagOnlyCheck>(Input, &Errors));
111 std::string Input = "int h() { return 5; }";
113 EXPECT_EQ("int h() { }", test::runCheckOnCode<DiagOnlyCheck>(Input, &Errors));
132 std::string Input = "int h() { return 5; }";
134 EXPECT_EQ(Input, test::runCheckOnCode<DiagAndNoteCheck>(Input, &Errors));
152 std::string Input = "int somecode() { return 0; }";
154 EXPECT_EQ(Input,
155 test::runCheckOnCode<GiveDiagWithPercentSymbol>(Input, &Errors));
175 const std::string Input = R"cc(
184 EXPECT_EQ(Expected, test::runCheckOnCode<IntLitCheck>(Input));
201 const std::string Input = R"cc(
210 EXPECT_EQ(Expected, test::runCheckOnCode<BinOpCheck>(Input));
229 // Verify that the check only rewrites the code when the input is Objective-C.
231 const std::string Input = "void log() {}";
232 EXPECT_EQ(Input,
233 test::runCheckOnCode<NeedsObjCCheck>(Input, nullptr, "input.cc"));
236 test::runCheckOnCode<NeedsObjCCheck>(Input, nullptr, "input.mm"));
257 const std::string Input = "void log(int);";
262 EXPECT_EQ(Input, test::runCheckOnCode<ConfigurableCheck>(
263 Input, nullptr, "input.cc", {}, Options));
267 Input, nullptr, "input.cc", {}, Options));
288 std::string Input = R"cc(
300 test::runCheckOnCode<IncludeCheck<IncludeFormat::Quoted>>(Input));
304 std::string Input = R"cc(
316 test::runCheckOnCode<IncludeCheck<IncludeFormat::Angled>>(Input));
334 std::string Input = R"cc(#include "input.h"
337 std::string TreatsAsLibraryHeader = R"cc(#include "input.h"
343 #include "input.h"
347 std::map<StringRef, StringRef> PathsToContent = {{"input.h", "\n"}};
351 Input, nullptr, "inputTest.cpp", {}, Options, PathsToContent));
354 Input, nullptr, "input_test.cpp", {}, Options, PathsToContent));
359 Input, nullptr, "inputTest.cc", {}, Options, PathsToContent));
362 Input, nullptr, "input_test.cc", {}, Options, PathsToContent));
366 std::string Input = R"cc(#include "input.h"
369 std::string TreatsAsLibraryHeader = R"cc(#include "input.h"
375 #include "input.h"
379 std::map<StringRef, StringRef> PathsToContent = {{"input.h", "\n"}};
383 Input, nullptr, "inputTest.cpp", {}, Options, PathsToContent));
386 Input, nullptr, "input_test.cpp", {}, Options, PathsToContent));
391 Input, nullptr, "inputTest.cc", {}, Options, PathsToContent));
394 Input, nullptr, "input_test.cc", {}, Options, PathsToContent));