-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
47 additions
and
33 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
packages/MusicNotation-Tests.package/MNEditorTest.class/instance/testDoItEnvironment.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...ges/MusicNotation-Tests.package/MNEditorTest.class/instance/testLocalVariableStatement.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
tests | ||
testLocalVariableStatement | ||
| editor | | ||
| editor | | ||
|
||
editor := MNEditor new. | ||
editor updateContents: '| var | var := 1. var := var + 1.'. | ||
self assert: (editor localVariablesStatement: 'var := var + 1.') = '| var |var := (self localVariables at: ''var'') + 1.^ ((Dictionary new) at: ''var'' put: var; yourself)'. |
1 change: 1 addition & 0 deletions
1
packages/MusicNotation-Tests.package/MNEditorTest.class/instance/testMenuItems.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
tests | ||
testMenuItems | ||
| editor | | ||
|
||
editor := MNEditor new. | ||
editor addModelItemsToWindowMenu: MenuMorph new. |
1 change: 1 addition & 0 deletions
1
packages/MusicNotation-Tests.package/MNEditorTest.class/instance/testOpenEditor.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
tests | ||
testOpenEditor | ||
| editor | | ||
|
||
editor := MNEditor new. | ||
self ensureAbandonOf: editor openEditor | ||
do: [ :morph | | ||
|
1 change: 1 addition & 0 deletions
1
packages/MusicNotation-Tests.package/MNEditorTest.class/instance/testOpenPreview.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/MusicNotation-Tests.package/MNEditorTest.class/instance/testSmuflFontDisplay.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/MusicNotation-Tests.package/MNEditorTest.class/instance/testStatementMapping.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/MusicNotation-Tests.package/MNEditorTest.class/instance/testTextContents.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
tests | ||
testTextContents | ||
| editor | | ||
|
||
editor := MNEditor new. | ||
editor textContents: '123'. | ||
self assert: '123' equals: editor contents. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
I am a class to test the ledger lines. |
2 changes: 1 addition & 1 deletion
2
...on-Tests.package/MNLedgerLinesTests.class/instance/createNoteWithDuration.step.octave..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 5 additions & 4 deletions
9
...ages/MusicNotation-Tests.package/MNLedgerLinesTests.class/instance/testFirstLedgerLine.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 5 additions & 4 deletions
9
packages/MusicNotation-Tests.package/MNLedgerLinesTests.class/instance/testLastLedgerLine.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 5 additions & 4 deletions
9
...ages/MusicNotation-Tests.package/MNLedgerLinesTests.class/instance/testNeedsLedgerLine.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
I am a class to test the Music-Notation-Player package. |
5 changes: 3 additions & 2 deletions
5
packages/MusicNotation-Tests.package/MNPlayerTest.class/instance/testAddSounds.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/MusicNotation-Tests.package/MNPlayerTest.class/instance/testVisitProject.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters