Skip to content

Commit

Permalink
utests for hidden measure musicxml import
Browse files Browse the repository at this point in the history
  • Loading branch information
asattely authored and RomanPudashkin committed Jul 12, 2023
1 parent 9b71d0b commit f0e8873
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/importexport/musicxml/tests/musicxml_tests.cpp
Expand Up @@ -592,9 +592,6 @@ TEST_F(Musicxml_Tests, helloReadCompr) {
TEST_F(Musicxml_Tests, helloReadWriteCompr) {
mxmlReadWriteTestCompr("testHello");
}
TEST_F(Musicxml_Tests, hiddenStaves) {
mxmlIoTest("testHiddenStaves");
}
TEST_F(Musicxml_Tests, implicitMeasure1) {
mxmlIoTest("testImplicitMeasure1");
}
Expand Down Expand Up @@ -973,3 +970,10 @@ TEST_F(Musicxml_Tests, words1) {
TEST_F(Musicxml_Tests, words2) {
mxmlIoTest("testWords2");
}
TEST_F(Musicxml_Tests, hiddenStaves)
{
String fileName = String::fromUtf8("testHiddenStaves.xml");
MasterScore* score = readScore(XML_IO_DATA_DIR + fileName);

EXPECT_EQ(score->style().value(Sid::hideEmptyStaves).toBool(), true);
}

0 comments on commit f0e8873

Please sign in to comment.