Skip to content

Commit

Permalink
all tests fixed again
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Storost committed Jun 23, 2024
1 parent 21313bc commit 18fc0b8
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion source/GM-TE/GMTEEditor.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ GMTEEditor class >> tileMapMinPaddingSize [
]

{
#category : #'menu button functions',
#category : #'layer button functions',
#'squeak_changestamp' : 'TW 6/23/2024 21:37'
}
GMTEEditor >> addLayer [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
as yet unclassified
setup
self editor: GMTEEditor new
self editor: GMTEEditor new.
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ testAddLayerButton

self assert: editor layerCount = 1.
self assert: (editor selectedLayers includes: 1).
self clickButton: (editor layerViewer submorphNamed: 'addLayer').
self editor addLayer.
self assert: editor layerCount = 2
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ as yet unclassified
testRenameLayer
"tests the renaming of layers"

self editor updateLayerNameOf: self editor getSelectedLayer to: 'testName'.
self assert: ((self editor getLayerList at: 1) literalEqual: 'testName (v)')
self editor tileMap tileMatrixStack setLayerNameOf: self editor getSelectedLayer to: 'testName'.
self assert: ((self editor tileMap tileMatrixStack layerNameOf: 1) literalEqual: 'testName')
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"setUp" : "jj 6/23/2024 18:55",
"setup" : "TW 6/23/2024 20:38",
"tearDown" : "jj 6/22/2024 20:24",
"testAddLayerButton" : "TW 6/23/2024 20:08",
"testAddLayerButton" : "JS 6/24/2024 00:19",
"testDeleteLayer" : "jj 6/22/2024 20:25",
"testDirectImport" : "jj 6/22/2024 20:30",
"testDirectImportFromAssetbrowser" : "jj 6/22/2024 20:30",
Expand All @@ -22,7 +22,7 @@
"testMoveLayerUp" : "jj 6/22/2024 20:31",
"testMultiDeleteLayer" : "jj 6/22/2024 20:31",
"testMultiToggleLayerVisibility" : "jj 6/22/2024 20:34",
"testRenameLayer" : "jj 6/22/2024 20:32",
"testRenameLayer" : "JS 6/24/2024 00:15",
"testRescaleMap" : "jj 6/22/2024 20:32",
"testSwapLayer" : "jj 6/22/2024 20:33",
"testToggleLayerVisibility" : "jj 6/22/2024 20:34",
Expand Down
Binary file modified testMapFile.morph
Binary file not shown.

0 comments on commit 18fc0b8

Please sign in to comment.