score-lib-device/Tests/Utils.hpp
1 #pragma once
2 
3 #include <State/Message.hpp>
4 
6 
7 #include <core/application/MinimalApplication.hpp>
8 #include <core/application/MockApplication.hpp>
9 
10 #include <ossia/network/domain/domain.hpp>
11 
12 #include <QMetaType>
13 #include <QObject>
14 
15 static auto init = [] {
16  static score::MinimalApplication app;
17  qRegisterMetaTypeStreamOperators<State::Address>();
18 
19  QMetaType::registerComparators<State::MessageList>();
20  qRegisterMetaTypeStreamOperators<State::Message>();
21  qRegisterMetaTypeStreamOperators<State::MessageList>();
22  qRegisterMetaTypeStreamOperators<ossia::value>();
23  return 0;
24 }();
Definition: MinimalApplication.hpp:22