Added some surrogate cpps

(and fixed up missing includes they uncovered)
This commit is contained in:
Phil Nash
2012-09-28 19:21:14 +01:00
parent 67ec8709ea
commit 4b93fb81b5
23 changed files with 115 additions and 5 deletions

View File

@@ -23,11 +23,6 @@ namespace Catch {
struct IGeneratorsForTest;
struct IConfig;
class StreamBufBase : public std::streambuf {
public:
virtual ~StreamBufBase();
};
struct IContext
{
virtual ~IContext();

View File

@@ -11,6 +11,7 @@
#include <string>
#include "catch_result_type.h"
#include "catch_totals.hpp"
#include "catch_common.h"
namespace Catch {

View File

@@ -9,6 +9,9 @@
#ifndef TWOBLUECUBES_CATCH_STREAM_HPP_INCLUDED
#define TWOBLUECUBES_CATCH_STREAM_HPP_INCLUDED
#include "catch_streambuf.h"
#include "catch_debugger.hpp"
#include <stdexcept>
#include <cstdio>

View File

@@ -0,0 +1,21 @@
/*
* Created by Phil on 27/11/2012.
* Copyright 2012 Two Blue Cubes Ltd. All rights reserved.
*
* Distributed under the Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef TWOBLUECUBES_CATCH_STREAMBUF_H_INCLUDED
#define TWOBLUECUBES_CATCH_STREAMBUF_H_INCLUDED
#include <streambuf>
namespace Catch {
class StreamBufBase : public std::streambuf {
public:
virtual ~StreamBufBase();
};
}
#endif // TWOBLUECUBES_CATCH_STREAMBUF_H_INCLUDED

View File

@@ -8,6 +8,8 @@
#ifndef TWOBLUECUBES_CATCH_TOTALS_HPP_INCLUDED
#define TWOBLUECUBES_CATCH_TOTALS_HPP_INCLUDED
#include <cstddef>
namespace Catch {
struct Counts {

View File

@@ -9,6 +9,7 @@
#define TWOBLUECUBES_CATCH_XMLWRITER_HPP_INCLUDED
#include <sstream>
#include <iostream>
#include <string>
#include <vector>