-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test for missing
; yourself
and fix code
Co-authored-by: Lukas Hagen <[email protected]>
- Loading branch information
1 parent
9d53bfb
commit b898f30
Showing
26 changed files
with
72 additions
and
63 deletions.
There are no files selected for viewing
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
6 changes: 3 additions & 3 deletions
6
packages/SVG-Editor.package/SVGInfoPanelGenerator.class/instance/visitSVGCircle..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,7 +1,7 @@ | ||
visiting | ||
visitSVGCircle: aCircle | ||
|
||
^ self | ||
self | ||
readCommonAttributesOf: aCircle; | ||
readCircleAttributesOf: aCircle; | ||
asList | ||
readCircleAttributesOf: aCircle. | ||
^ self asList |
6 changes: 3 additions & 3 deletions
6
packages/SVG-Editor.package/SVGInfoPanelGenerator.class/instance/visitSVGEllipse..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,7 +1,7 @@ | ||
visiting | ||
visitSVGEllipse: anEllipse | ||
|
||
^ self | ||
self | ||
readCommonAttributesOf: anEllipse; | ||
readEllipseAttributesOf: anEllipse; | ||
asList | ||
readEllipseAttributesOf: anEllipse. | ||
^ self asList |
5 changes: 2 additions & 3 deletions
5
packages/SVG-Editor.package/SVGInfoPanelGenerator.class/instance/visitSVGGroup..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,5 @@ | ||
visiting | ||
visitSVGGroup: aGroup | ||
|
||
^ self | ||
readCommonAttributesOf: aGroup; | ||
asList | ||
self readCommonAttributesOf: aGroup. | ||
^ self asList |
6 changes: 3 additions & 3 deletions
6
packages/SVG-Editor.package/SVGInfoPanelGenerator.class/instance/visitSVGLine..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,7 +1,7 @@ | ||
visiting | ||
visitSVGLine: aLine | ||
|
||
^ self | ||
self | ||
readCommonAttributesOf: aLine; | ||
readLineAttributesOf: aLine; | ||
asList | ||
readLineAttributesOf: aLine. | ||
^ self asList |
5 changes: 2 additions & 3 deletions
5
packages/SVG-Editor.package/SVGInfoPanelGenerator.class/instance/visitSVGMorph..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,5 @@ | ||
visiting | ||
visitSVGMorph: aMorph | ||
|
||
^ self | ||
readCommonAttributesOf: aMorph; | ||
asList | ||
self readCommonAttributesOf: aMorph. | ||
^ self asList |
5 changes: 2 additions & 3 deletions
5
packages/SVG-Editor.package/SVGInfoPanelGenerator.class/instance/visitSVGPath..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,5 @@ | ||
visiting | ||
visitSVGPath: aPath | ||
|
||
^ self | ||
readCommonAttributesOf: aPath; | ||
asList | ||
self readCommonAttributesOf: aPath. | ||
^ self asList |
6 changes: 3 additions & 3 deletions
6
packages/SVG-Editor.package/SVGInfoPanelGenerator.class/instance/visitSVGPolygon..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,7 +1,7 @@ | ||
visiting | ||
visitSVGPolygon: aPolygon | ||
|
||
^ self | ||
self | ||
readCommonAttributesOf: aPolygon; | ||
readPointsOf: aPolygon; | ||
asList | ||
readPointsOf: aPolygon. | ||
^ self asList |
6 changes: 3 additions & 3 deletions
6
packages/SVG-Editor.package/SVGInfoPanelGenerator.class/instance/visitSVGPolyline..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,7 +1,7 @@ | ||
visiting | ||
visitSVGPolyline: aPolyline | ||
|
||
^ self | ||
self | ||
readCommonAttributesOf: aPolyline; | ||
readPointsOf: aPolyline; | ||
asList | ||
readPointsOf: aPolyline. | ||
^ self asList |
6 changes: 3 additions & 3 deletions
6
packages/SVG-Editor.package/SVGInfoPanelGenerator.class/instance/visitSVGRectangle..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,7 +1,7 @@ | ||
visiting | ||
visitSVGRectangle: aRectangle | ||
|
||
^ self | ||
self | ||
readCommonAttributesOf: aRectangle; | ||
readRectangleAttributesOf: aRectangle; | ||
asList | ||
readRectangleAttributesOf: aRectangle. | ||
^ self asList |
6 changes: 3 additions & 3 deletions
6
packages/SVG-Editor.package/SVGInfoPanelGenerator.class/instance/visitSVGTSpan..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,7 +1,7 @@ | ||
visiting | ||
visitSVGTSpan: aTSpan | ||
|
||
^ self | ||
self | ||
readCommonAttributesOf: aTSpan; | ||
readTextAttributesOf: aTSpan; | ||
asList | ||
readTextAttributesOf: aTSpan. | ||
^ self asList |
6 changes: 3 additions & 3 deletions
6
packages/SVG-Editor.package/SVGInfoPanelGenerator.class/instance/visitSVGText..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,7 +1,7 @@ | ||
visiting | ||
visitSVGText: aText | ||
|
||
^ self | ||
self | ||
readCommonAttributesOf: aText; | ||
readTextAttributesOf: aText; | ||
asList | ||
readTextAttributesOf: aText. | ||
^ self asList |
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
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
5 changes: 5 additions & 0 deletions
5
...es/Tests-SVG-Linter.package/SVGLinterTests.class/instance/testsmallLintMissingYourself.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,5 @@ | ||
tests | ||
testsmallLintMissingYourself | ||
|
||
"Checks for missing ; yourself cascaded message send for cascaded messages that are used." | ||
self arbitraryCodeRule: #smallLintMissingYourself. |
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
8 changes: 4 additions & 4 deletions
8
packages/Tests-SVG-Morphic.package/SVGExportTest.class/instance/assertExportOf.toBe..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,10 +1,10 @@ | ||
assertions | ||
assertExportOf: anXMLString toBe: anotherXMLString | ||
|
||
|morph exportedString| | ||
|morph exporter| | ||
morph := SVGMorph fromString: anXMLString. | ||
|
||
exportedString := SVGExporter new | ||
exporter := SVGExporter new | ||
visitSVGMorph: morph; | ||
exportString. | ||
self assert: anotherXMLString equals: exportedString | ||
yourself. | ||
self assert: anotherXMLString equals: (exporter exportString) |
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