[MU4] Add units for change enharmonic spelling commands etc.
This commit is contained in:
parent
c437f39761
commit
64aad5ab32
3 changed files with 3 additions and 2 deletions
|
@ -25,7 +25,7 @@ set(MODULE_TEST_SRC
|
|||
${CMAKE_CURRENT_LIST_DIR}/testbase.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/testbase.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/tst_all_elements_layout_elements.cpp
|
||||
# ${CMAKE_CURRENT_LIST_DIR}/tst_all_elements_tree_model.cpp # fail
|
||||
${CMAKE_CURRENT_LIST_DIR}/tst_all_elements_tree_model.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/tst_barline.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/tst_beam.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/tst_box.cpp
|
||||
|
|
|
@ -245,5 +245,6 @@ void MTest::initMTest()
|
|||
root = rootPath();
|
||||
loadInstrumentTemplates(":/data/instruments.xml");
|
||||
score = readScore("test.mscx");
|
||||
MScore::_error = Ms::MsError::MS_NO_ERROR;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -91,7 +91,7 @@ public:
|
|||
}
|
||||
int ret = 0;
|
||||
for (QObject* test : testList()) {
|
||||
if (argc > 0 && test->objectName() == argv[1]) {
|
||||
if (argc > 0 && std::find(argv + 1, argv + argc, test->objectName()) != argv + argc) {
|
||||
ret += QTest::qExec(test, 1, argv);
|
||||
} else if (shouldExecute(test, argc, argv)) {
|
||||
ret += QTest::qExec(test, argc, argv);
|
||||
|
|
Loading…
Reference in a new issue