소스 검색

fix(tests): fix file names in tests

sschmidTU 7 년 전
부모
커밋
ead8c46f53
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      test/Common/FileIO/Mxl_Test.ts
  2. 2 2
      test/Common/OSMD/OSMD_Test.ts

+ 1 - 1
test/Common/FileIO/Mxl_Test.ts

@@ -28,7 +28,7 @@ describe("MXL Tests", () => {
 
   // Test all the following mxl files:
   const scores: string[] = [
-    "MozartTrio.mxl",
+    "Mozart_Clarinet_Quintet_Excerpt.mxl",
   ];
   for (const score of scores) {
     testFile(score);

+ 2 - 2
test/Common/OSMD/OSMD_Test.ts

@@ -22,7 +22,7 @@ describe("OpenSheetMusicDisplay Main Export", () => {
     });
 
     it("load MXL from string", (done: MochaDone) => {
-        const mxl: string = TestUtils.getMXL("MozartTrio.mxl");
+        const mxl: string = TestUtils.getMXL("Mozart_Clarinet_Quintet_Excerpt.mxl");
         const div: HTMLElement = TestUtils.getDivElement(document);
         const opensheetmusicdisplay: OpenSheetMusicDisplay = new OpenSheetMusicDisplay(div);
         opensheetmusicdisplay.load(mxl).then(
@@ -80,7 +80,7 @@ describe("OpenSheetMusicDisplay Main Export", () => {
     });
 
     it("load MXL Document by URL", (done: MochaDone) => {
-        const url: string = "base/test/data/MozartTrio.mxl";
+        const url: string = "base/test/data/Mozart_Clarinet_Quintet_Excerpt.mxl";
         const div: HTMLElement = TestUtils.getDivElement(document);
         const opensheetmusicdisplay: OpenSheetMusicDisplay = new OpenSheetMusicDisplay(div);
         opensheetmusicdisplay.load(url).then(