-
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.
Improve Testcode and MarkdownSettings
- Loading branch information
1 parent
9ce020b
commit 586b1a6
Showing
17 changed files
with
38 additions
and
47 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
...ges/MarkdownEditor-Core.package/MarkdownSettings.class/instance/blockStylerMorphExtent.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 @@ | ||
constants | ||
blockStylerMorphExtent | ||
|
||
^ 500 @ 70 |
4 changes: 0 additions & 4 deletions
4
packages/MarkdownEditor-Core.package/MarkdownSettings.class/instance/editors..st
This file was deleted.
Oops, something went wrong.
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
7 changes: 0 additions & 7 deletions
7
packages/MarkdownEditor-Core.package/MarkdownStyleSettings.class/class/newFrom..st
This file was deleted.
Oops, something went wrong.
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
2 changes: 1 addition & 1 deletion
2
...sts.package/MarkdownColorChooserTest.class/instance/boxPositionsForWidth250AndHeight70.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,4 +1,4 @@ | ||
as yet unclassified | ||
constants | ||
boxPositionsForWidth250AndHeight70 | ||
|
||
^ {0 @ 13. | ||
|
2 changes: 1 addition & 1 deletion
2
...sts.package/MarkdownColorChooserTest.class/instance/boxPositionsForWidth400AndHeight80.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,4 +1,4 @@ | ||
as yet unclassified | ||
constants | ||
boxPositionsForWidth400AndHeight80 | ||
|
||
^ {0 @ 17. | ||
|
2 changes: 1 addition & 1 deletion
2
packages/MarkdownEditor-Tests.package/MarkdownColorChooserTest.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
as yet unclassified | ||
running | ||
setUp | ||
|
||
chooser := MarkdownColorChooser new. | ||
|
2 changes: 1 addition & 1 deletion
2
packages/MarkdownEditor-Tests.package/MarkdownColorChooserTest.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
as yet unclassified | ||
running | ||
tearDown | ||
|
||
chooser delete |
12 changes: 7 additions & 5 deletions
12
...downEditor-Tests.package/MarkdownColorChooserTest.class/instance/testLayoutProportions.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,8 +1,10 @@ | ||
as yet unclassified | ||
tests | ||
testLayoutProportions | ||
|
||
chooser width: 300. | ||
| width | | ||
width := 300. | ||
chooser width: width. | ||
|
||
self assert: advancedPicker width = 200. | ||
self assert: chooser advancedPickerWidth = 200. | ||
self assert: chooser simpleChooserWidth = 100 | ||
self assert: width * 2/3 equals: advancedPicker width. | ||
self assert: width * 2/3 equals: chooser advancedPickerWidth. | ||
self assert: width * 1/3 equals: chooser simpleChooserWidth |
4 changes: 2 additions & 2 deletions
4
...or-Tests.package/MarkdownColorChooserTest.class/instance/testNumberOfSimpleChoosersIs6.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,4 +1,4 @@ | ||
as yet unclassified | ||
tests | ||
testNumberOfSimpleChoosersIs6 | ||
|
||
self assert: chooser totalSimpleColorChooser = 6 | ||
self assert: 6 equals: chooser totalSimpleColorChooser |
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
4 changes: 2 additions & 2 deletions
4
...r-Tests.package/MarkdownColorChooserTest.class/instance/testSimpleColorChooserSizeIs15.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,4 +1,4 @@ | ||
as yet unclassified | ||
tests | ||
testSimpleColorChooserSizeIs15 | ||
|
||
self assert: chooser simpleColorChoosersSize = 15 | ||
self assert: 15 equals: chooser simpleColorChoosersSize |
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