Skip to content

Commit 18dd111

Browse files
committed
utests for hidden measure musicxml import
1 parent 32b5f80 commit 18dd111

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/importexport/musicxml/tests/musicxml_tests.cpp

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -589,9 +589,6 @@ TEST_F(Musicxml_Tests, helloReadCompr) {
589589
TEST_F(Musicxml_Tests, helloReadWriteCompr) {
590590
mxmlReadWriteTestCompr("testHello");
591591
}
592-
TEST_F(Musicxml_Tests, hiddenStaves) {
593-
mxmlIoTest("testHiddenStaves");
594-
}
595592
TEST_F(Musicxml_Tests, implicitMeasure1) {
596593
mxmlIoTest("testImplicitMeasure1");
597594
}
@@ -967,3 +964,10 @@ TEST_F(Musicxml_Tests, words1) {
967964
TEST_F(Musicxml_Tests, words2) {
968965
mxmlIoTest("testWords2");
969966
}
967+
TEST_F(Musicxml_Tests, hiddenStaves)
968+
{
969+
String fileName = String::fromUtf8("testHiddenStaves.xml");
970+
MasterScore* score = readScore(XML_IO_DATA_DIR + fileName);
971+
972+
EXPECT_EQ(score->styleB(Sid::hideEmptyStaves), true);
973+
}

0 commit comments

Comments
 (0)