generated from hpi-swa-teaching/SWT-Demo
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Antonia Heinen
committed
Jul 11, 2024
1 parent
36c0162
commit d5951be
Showing
8 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
9 changes: 9 additions & 0 deletions
9
Squello-Tests.package/SPBLabelMorphTests.class/instance/setUp.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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
running | ||
setUp | ||
|
||
label := SPBLabel new | ||
title: 'TestLabel'; | ||
color: Color turquoise; | ||
id: 0; | ||
yourself. | ||
morph := SPBLabelMorph createFromLabel: label. |
2 changes: 2 additions & 0 deletions
2
Squello-Tests.package/SPBLabelMorphTests.class/instance/tearDown.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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
running | ||
tearDown |
4 changes: 4 additions & 0 deletions
4
Squello-Tests.package/SPBLabelMorphTests.class/instance/testColor.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
tests | ||
testColor | ||
|
||
self assert: morph backgroundColor equals: label color. |
4 changes: 4 additions & 0 deletions
4
Squello-Tests.package/SPBLabelMorphTests.class/instance/testName.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
tests | ||
testName | ||
|
||
self assert: morph text equals: label title. |
4 changes: 4 additions & 0 deletions
4
Squello-Tests.package/SPBLabelMorphTests.class/instance/testTheme.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
tests | ||
testTheme | ||
|
||
self assert: morph borderColor equals: (SqueakTheme current properties at: PluggableButtonMorph->#color) makeForegroundColor. |
9 changes: 9 additions & 0 deletions
9
Squello-Tests.package/SPBLabelMorphTests.class/methodProperties.json
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,9 @@ | ||
{ | ||
"class" : { | ||
}, | ||
"instance" : { | ||
"setUp" : "AH 7/11/2024 15:46", | ||
"tearDown" : "AH 7/11/2024 15:40", | ||
"testColor" : "AH 7/11/2024 15:42", | ||
"testName" : "AH 7/11/2024 15:42", | ||
"testTheme" : "AH 7/11/2024 15:44" } } |
15 changes: 15 additions & 0 deletions
15
Squello-Tests.package/SPBLabelMorphTests.class/properties.json
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,15 @@ | ||
{ | ||
"category" : "Squello-Tests", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
"label", | ||
"morph" ], | ||
"name" : "SPBLabelMorphTests", | ||
"pools" : [ | ||
], | ||
"super" : "TestCase", | ||
"type" : "normal" } |