Sha256: 92f462e50fc1fbd3d69b01207fc98ecfd2465610c6cf3e30cd511a693156239b

Contents?: true

Size: 931 Bytes

Versions: 1

Compression:

Stored size: 931 Bytes

Contents

/*
 *  Created by Phil on 07/01/2011.
 *  Copyright 2011 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_INTERFACES_TESTCASE_H_INCLUDED
#define TWOBLUECUBES_CATCH_INTERFACES_TESTCASE_H_INCLUDED

#include "catch_ptr.hpp"

#include <vector>

namespace Catch {

    class TestCaseFilters;

    struct ITestCase : IShared {
        virtual void invoke () const = 0;
    protected:
        virtual ~ITestCase();
    };

    class TestCase;

    struct ITestCaseRegistry {
        virtual ~ITestCaseRegistry();
        virtual std::vector<TestCase> const& getAllTests() const = 0;
        virtual std::vector<TestCase> getMatchingTestCases( std::string const& rawTestSpec ) const = 0;
    };
}

#endif // TWOBLUECUBES_CATCH_INTERFACES_TESTCASE_H_INCLUDED

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redsnow-0.3.2 ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_testcase.h