Revert internals of the last layering-related commit, and go back a slightly-cleaned...
[ardour.git] / libs / ardour / test / playlist_layering_test.h
1 #include <cppunit/TestFixture.h>
2 #include <cppunit/extensions/HelperMacros.h>
3
4 namespace ARDOUR {
5         class Session;
6         class Playlist;
7         class Source;
8 }
9
10 class PlaylistLayeringTest : public CppUnit::TestFixture
11 {
12         CPPUNIT_TEST_SUITE (PlaylistLayeringTest);
13         CPPUNIT_TEST (basicsTest);
14         CPPUNIT_TEST_SUITE_END ();
15
16 public:
17         void setUp ();
18         void tearDown ();
19
20         void basicsTest ();
21
22 private:
23         void create_three_short_regions ();
24         
25         ARDOUR::Session* _session;
26         boost::shared_ptr<ARDOUR::Playlist> _playlist;
27         boost::shared_ptr<ARDOUR::Source> _source;
28         boost::shared_ptr<ARDOUR::Region> _region[16];
29 };