Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorMartin Hořeňovský2017-02-12 13:34:55 +0100
committerMartin Hořeňovský2017-02-13 14:12:22 +0100
commitbc68b9f454021455f35fc005e59663a62ed71bca (patch)
treece303c17d4b5d89779c55ceac4163b5b3064668e /include
parent67d513aa73cabff710e50680ec8ef25804b9fe09 (diff)
downloadcatch3-bc68b9f454021455f35fc005e59663a62ed71bca.tar.gz
More include simplifications
Diffstat (limited to 'include')
-rw-r--r--include/internal/catch_commandline.hpp1
-rw-r--r--include/internal/catch_config.hpp2
-rw-r--r--include/internal/catch_debugger.hpp2
-rw-r--r--include/internal/catch_interfaces_config.h2
-rw-r--r--include/internal/catch_interfaces_reporter.h1
-rw-r--r--include/internal/catch_notimplemented_exception.h1
-rw-r--r--include/internal/catch_notimplemented_exception.hpp2
-rw-r--r--include/internal/catch_section.hpp1
-rw-r--r--include/internal/catch_section_info.h2
-rw-r--r--include/internal/catch_section_info.hpp5
-rw-r--r--include/internal/catch_test_case_registry_impl.hpp1
11 files changed, 6 insertions, 14 deletions
diff --git a/include/internal/catch_commandline.hpp b/include/internal/catch_commandline.hpp
index 133dbf5c..742f01a4 100644
--- a/include/internal/catch_commandline.hpp
+++ b/include/internal/catch_commandline.hpp
@@ -13,6 +13,7 @@
#include "catch_clara.h"
#include <fstream>
+#include <ctime>
namespace Catch {
diff --git a/include/internal/catch_config.hpp b/include/internal/catch_config.hpp
index 2f4c25e9..174850bf 100644
--- a/include/internal/catch_config.hpp
+++ b/include/internal/catch_config.hpp
@@ -16,8 +16,6 @@
#include <memory>
#include <vector>
#include <string>
-#include <iostream>
-#include <ctime>
#include <stdexcept>
#ifndef CATCH_CONFIG_CONSOLE_WIDTH
diff --git a/include/internal/catch_debugger.hpp b/include/internal/catch_debugger.hpp
index 63d476bb..47daf8ad 100644
--- a/include/internal/catch_debugger.hpp
+++ b/include/internal/catch_debugger.hpp
@@ -11,8 +11,6 @@
#include "catch_debugger.h"
-#include <iostream>
-
#ifdef CATCH_PLATFORM_MAC
#include <assert.h>
diff --git a/include/internal/catch_interfaces_config.h b/include/internal/catch_interfaces_config.h
index 08226c88..5730a8cd 100644
--- a/include/internal/catch_interfaces_config.h
+++ b/include/internal/catch_interfaces_config.h
@@ -8,7 +8,7 @@
#ifndef TWOBLUECUBES_CATCH_INTERFACES_CONFIG_H_INCLUDED
#define TWOBLUECUBES_CATCH_INTERFACES_CONFIG_H_INCLUDED
-#include <iostream>
+#include <iosfwd>
#include <string>
#include <vector>
diff --git a/include/internal/catch_interfaces_reporter.h b/include/internal/catch_interfaces_reporter.h
index 3aebab98..6c47d8e4 100644
--- a/include/internal/catch_interfaces_reporter.h
+++ b/include/internal/catch_interfaces_reporter.h
@@ -21,7 +21,6 @@
#include <string>
#include <ostream>
#include <map>
-#include <assert.h>
namespace Catch
{
diff --git a/include/internal/catch_notimplemented_exception.h b/include/internal/catch_notimplemented_exception.h
index 2e38b98f..128fff28 100644
--- a/include/internal/catch_notimplemented_exception.h
+++ b/include/internal/catch_notimplemented_exception.h
@@ -9,7 +9,6 @@
#define TWOBLUECUBES_CATCH_NOTIMPLEMENTED_EXCEPTION_H_INCLUDED
#include "catch_common.h"
-#include <ostream>
namespace Catch {
diff --git a/include/internal/catch_notimplemented_exception.hpp b/include/internal/catch_notimplemented_exception.hpp
index 4d263f1b..e4afdc67 100644
--- a/include/internal/catch_notimplemented_exception.hpp
+++ b/include/internal/catch_notimplemented_exception.hpp
@@ -9,7 +9,7 @@
#define TWOBLUECUBES_CATCH_NOTIMPLEMENTED_EXCEPTION_HPP_INCLUDED
#include "catch_notimplemented_exception.h"
-#include <ostream>
+#include <sstream>
namespace Catch {
diff --git a/include/internal/catch_section.hpp b/include/internal/catch_section.hpp
index de65c4cd..a5d1b6d5 100644
--- a/include/internal/catch_section.hpp
+++ b/include/internal/catch_section.hpp
@@ -11,7 +11,6 @@
#include "catch_section.h"
#include "catch_capture.hpp"
#include "catch_compiler_capabilities.h"
-#include "catch_timer.h"
namespace Catch {
diff --git a/include/internal/catch_section_info.h b/include/internal/catch_section_info.h
index 00b65600..c9f1c7f1 100644
--- a/include/internal/catch_section_info.h
+++ b/include/internal/catch_section_info.h
@@ -11,6 +11,8 @@
#include "catch_common.h"
#include "catch_totals.hpp"
+#include <string>
+
namespace Catch {
struct SectionInfo {
diff --git a/include/internal/catch_section_info.hpp b/include/internal/catch_section_info.hpp
index 6258a281..aebbf6a5 100644
--- a/include/internal/catch_section_info.hpp
+++ b/include/internal/catch_section_info.hpp
@@ -8,10 +8,7 @@
#ifndef TWOBLUECUBES_CATCH_SECTION_INFO_HPP_INCLUDED
#define TWOBLUECUBES_CATCH_SECTION_INFO_HPP_INCLUDED
-#include "catch_common.h"
-
-#include <map>
-#include <string>
+#include "catch_section_info.h"
namespace Catch {
diff --git a/include/internal/catch_test_case_registry_impl.hpp b/include/internal/catch_test_case_registry_impl.hpp
index 0565b54a..316c6c2c 100644
--- a/include/internal/catch_test_case_registry_impl.hpp
+++ b/include/internal/catch_test_case_registry_impl.hpp
@@ -16,7 +16,6 @@
#include <vector>
#include <set>
#include <sstream>
-#include <iostream>
#include <algorithm>