Skip to content

Commit bb19d4b

Browse files
committed
utests for hidden measure musicxml import
1 parent a642f42 commit bb19d4b

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
@@ -586,9 +586,6 @@ TEST_F(Musicxml_Tests, helloReadCompr) {
586586
TEST_F(Musicxml_Tests, helloReadWriteCompr) {
587587
mxmlReadWriteTestCompr("testHello");
588588
}
589-
TEST_F(Musicxml_Tests, hiddenStaves) {
590-
mxmlIoTest("testHiddenStaves");
591-
}
592589
TEST_F(Musicxml_Tests, implicitMeasure1) {
593590
mxmlIoTest("testImplicitMeasure1");
594591
}
@@ -964,3 +961,10 @@ TEST_F(Musicxml_Tests, words1) {
964961
TEST_F(Musicxml_Tests, words2) {
965962
mxmlIoTest("testWords2");
966963
}
964+
TEST_F(Musicxml_Tests, hiddenStaves)
965+
{
966+
String fileName = String::fromUtf8("testHiddenStaves.xml");
967+
MasterScore* score = readScore(XML_IO_DATA_DIR + fileName);
968+
969+
EXPECT_EQ(score->styleB(Sid::hideEmptyStaves), true);
970+
}

0 commit comments

Comments
 (0)