Home
last modified time | relevance | path

Searched refs:DocActual (Results 1 – 1 of 1) sorted by relevance

/external/clang/unittests/Tooling/
DReplacementsYamlTest.cpp68 TranslationUnitReplacements DocActual; in TEST() local
70 YAML >> DocActual; in TEST()
72 ASSERT_EQ(2u, DocActual.Replacements.size()); in TEST()
73 ASSERT_EQ("/path/to/source.cpp", DocActual.MainSourceFile); in TEST()
74 ASSERT_EQ("some context", DocActual.Context); in TEST()
75 ASSERT_EQ("/path/to/file1.h", DocActual.Replacements[0].getFilePath()); in TEST()
76 ASSERT_EQ(232u, DocActual.Replacements[0].getOffset()); in TEST()
77 ASSERT_EQ(56u, DocActual.Replacements[0].getLength()); in TEST()
78 ASSERT_EQ("replacement #1", DocActual.Replacements[0].getReplacementText()); in TEST()
79 ASSERT_EQ("/path/to/file2.h", DocActual.Replacements[1].getFilePath()); in TEST()
[all …]