mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 04:41:16 +00:00
Run IWYU
This commit is contained in:
@@ -1,8 +1,15 @@
|
||||
#include "parsertests.h"
|
||||
#include "handlermacros.h"
|
||||
#include "yaml-cpp/yaml.h"
|
||||
#include <iostream>
|
||||
|
||||
#include "handlermacros.h"
|
||||
#include "parsertests.h" // IWYU pragma: keep
|
||||
#include "teststruct.h"
|
||||
#include "yaml-cpp/parser.h"
|
||||
|
||||
namespace YAML {
|
||||
class Exception;
|
||||
class ParserException;
|
||||
} // namespace YAML
|
||||
|
||||
namespace Test {
|
||||
namespace Parser {
|
||||
TEST NoEndOfMapFlow() {
|
||||
|
@@ -1,9 +1,10 @@
|
||||
#include "spectests.h"
|
||||
#include "handlermacros.h"
|
||||
#include "specexamples.h"
|
||||
#include "yaml-cpp/yaml.h"
|
||||
#include <cassert>
|
||||
|
||||
#include "handlermacros.h"
|
||||
#include "specexamples.h" // IWYU pragma: keep
|
||||
#include "spectests.h" // IWYU pragma: keep
|
||||
#include "yaml-cpp/yaml.h" // IWYU pragma: keep
|
||||
|
||||
namespace Test {
|
||||
namespace Spec {
|
||||
// 2.1
|
||||
|
@@ -1,9 +1,14 @@
|
||||
#include "tests.h"
|
||||
#include "handlermacros.h"
|
||||
#include "yaml-cpp/yaml.h"
|
||||
#include "yaml-cpp/eventhandler.h"
|
||||
#include <iostream>
|
||||
|
||||
#include "teststruct.h"
|
||||
#include "yaml-cpp/eventhandler.h"
|
||||
#include "yaml-cpp/yaml.h" // IWYU pragma: keep
|
||||
|
||||
namespace YAML {
|
||||
class Exception;
|
||||
struct Mark;
|
||||
} // namespace YAML
|
||||
|
||||
namespace Test {
|
||||
namespace Emitter {
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
@@ -1,8 +1,8 @@
|
||||
#include "yaml-cpp/ostream_wrapper.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <sstream>
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
#include "yaml-cpp/ostream_wrapper.h"
|
||||
|
||||
namespace {
|
||||
TEST(OstreamWrapperTest, BufferNoWrite) {
|
||||
|
@@ -1,7 +1,12 @@
|
||||
#include "spectests.h"
|
||||
#include "yaml-cpp/yaml.h"
|
||||
#include <iostream>
|
||||
|
||||
#include "spectests.h"
|
||||
#include "yaml-cpp/yaml.h" // IWYU pragma: keep
|
||||
|
||||
namespace YAML {
|
||||
class Exception;
|
||||
} // namespace YAML
|
||||
|
||||
namespace Test {
|
||||
namespace {
|
||||
void RunSpecTest(TEST (*test)(), const std::string& index,
|
||||
|
@@ -1,12 +1,12 @@
|
||||
#include "tests.h"
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
|
||||
#include "emittertests.h"
|
||||
#include "parsertests.h"
|
||||
#include "spectests.h"
|
||||
#include "yaml-cpp/yaml.h"
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
#include "tests.h"
|
||||
|
||||
namespace Test {
|
||||
void RunAll() {
|
||||
|
Reference in New Issue
Block a user