=== modified file 'src/composite-test.cc'
@@ -28,6 +28,13 @@
using std::string;
using std::map;
+CompositeTest::CompositeTest(const string& test_name) :
+ name_(test_name)
+{
+ options_["duration"] = CompositeTest::Option("duration", "3.0", "");
+ options_["iterations"] = CompositeTest::Option("iterations", "5", "");
+}
+
/**
* Gets the number of window that are visible.
*
=== modified file 'src/composite-test.h'
@@ -37,8 +37,8 @@
class CompositeTest
{
public:
- CompositeTest(const std::string& test_name) :
- name_(test_name) {}
+ CompositeTest(const std::string& test_name);
+
virtual void init() {}
virtual void prepare_for_run() {}
virtual void draw(std::list<CompositeWindow*> &window_list)