1 #ifndef MOULETTE_TESTABLE_HH
2 # define MOULETTE_TESTABLE_HH
4 # include <gc/gc_cpp.h>
6 # include <boost/filesystem.hpp>
8 # include <moulette/test-result.hh>
12 class Testable
: public gc
16 virtual ~Testable() {}
19 virtual bool isTestSuite() const = 0;
20 virtual void set(const std::string
& key
, const std::string
& value
);
21 virtual const TestResult
& result() const = 0;
22 virtual const std::string
& name() const;
23 virtual const std::string
& type() const = 0;
25 boost::filesystem::path path
;
28 virtual void test() = 0;
34 #endif /* !MOULETTE_TESTABLE_HH */