diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-06-06 19:00:12 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-06-06 19:13:41 +0200 |
commit | 7418abaeb3130423bedd6bcb3cef0eb2565ed5d6 (patch) | |
tree | 4991351a7e53a0a846c1447e9fe3ffabb31b6acc /src/instrument.h | |
parent | 718e8db44d984a97c032dccfe95e3f4707c0835a (diff) |
Added unit-test for InstrumentParser.
Diffstat (limited to 'src/instrument.h')
-rw-r--r-- | src/instrument.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/instrument.h b/src/instrument.h index 0441ed4..e18c14a 100644 --- a/src/instrument.h +++ b/src/instrument.h @@ -42,8 +42,6 @@ class Instrument { - friend class InstrumentParser; - friend class DrumKitParser; public: Instrument(Settings& settings, Random& rand); ~Instrument(); @@ -66,6 +64,13 @@ public: std::size_t getNumberOfFiles() const; private: + // For parser: + friend class InstrumentParser; + friend class DrumKitParser; + + // For unit-tests: + friend class InstrumentParserTest; + void* magic; std::string _group; |