Skip to content

Commit

Permalink
update test kotlin files
Browse files Browse the repository at this point in the history
  • Loading branch information
irgaly committed Feb 4, 2025
1 parent 80d4437 commit 615419b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 18 deletions.
6 changes: 2 additions & 4 deletions plugin/core/src/test/resources/svg_nest_viewbox.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ public val svg_nest_viewbox: ImageVector
_svg_nest_viewbox = Builder("svg_nest_viewbox", 500.dp, 500.dp, 500f, 500f).apply {
val fill0 = SolidColor(Color(0xFF000000))
val strokeLineWidth0 = 1f
path(fill = fill0, stroke = SolidColor(Color.Blue), strokeLineWidth =
strokeLineWidth0) {
path(fill = fill0, stroke = SolidColor(Color.Blue), strokeLineWidth = strokeLineWidth0) {
moveTo(0f, 0f)
lineTo(500f, 0f)
lineTo(500f, 500f)
Expand All @@ -39,8 +38,7 @@ public val svg_nest_viewbox: ImageVector
lineTo(100f, 100f)
close()
}) {
path(fill = fill0, stroke = SolidColor(Color.Red), strokeLineWidth =
strokeLineWidth0) {
path(fill = fill0, stroke = SolidColor(Color.Red), strokeLineWidth = strokeLineWidth0) {
moveTo(100f, 100f)
lineTo(300f, 100f)
lineTo(300f, 200f)
Expand Down
3 changes: 1 addition & 2 deletions plugin/core/src/test/resources/svg_no_size.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ public val svg_no_size: ImageVector
_svg_no_size = Builder("svg_no_size", 500.dp, 500.dp, 500f, 500f).apply {
val fill0 = SolidColor(Color(0xFF000000))
val strokeLineWidth0 = 1f
path(fill = fill0, stroke = SolidColor(Color.Blue), strokeLineWidth =
strokeLineWidth0) {
path(fill = fill0, stroke = SolidColor(Color.Blue), strokeLineWidth = strokeLineWidth0) {
moveTo(200f, 100f)
curveTo(200f, 155.2285f, 155.2285f, 200f, 100f, 200f)
curveTo(44.7715f, 200f, 0f, 155.2285f, 0f, 100f)
Expand Down
6 changes: 2 additions & 4 deletions plugin/core/src/test/resources/svg_no_size_no_viewbox.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@ public val svg_no_size_no_viewbox: ImageVector
if (_svg_no_size_no_viewbox != null) {
return _svg_no_size_no_viewbox!!
}
_svg_no_size_no_viewbox = Builder("svg_no_size_no_viewbox", 300.dp, 150.dp, 300f,
150f).apply {
_svg_no_size_no_viewbox = Builder("svg_no_size_no_viewbox", 300.dp, 150.dp, 300f, 150f).apply {
val fill0 = SolidColor(Color(0xFF000000))
val strokeLineWidth0 = 1f
path(fill = fill0, stroke = SolidColor(Color.Blue), strokeLineWidth =
strokeLineWidth0) {
path(fill = fill0, stroke = SolidColor(Color.Blue), strokeLineWidth = strokeLineWidth0) {
moveTo(200f, 100f)
curveTo(200f, 155.2285f, 155.2285f, 200f, 100f, 200f)
curveTo(44.7715f, 200f, 0f, 155.2285f, 0f, 100f)
Expand Down
3 changes: 1 addition & 2 deletions plugin/core/src/test/resources/svg_no_viewbox.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ public val svg_no_viewbox: ImageVector
_svg_no_viewbox = Builder("svg_no_viewbox", 500.dp, 500.dp, 500f, 500f).apply {
val fill0 = SolidColor(Color(0xFF000000))
val strokeLineWidth0 = 1f
path(fill = fill0, stroke = SolidColor(Color.Blue), strokeLineWidth =
strokeLineWidth0) {
path(fill = fill0, stroke = SolidColor(Color.Blue), strokeLineWidth = strokeLineWidth0) {
moveTo(200f, 100f)
curveTo(200f, 155.2285f, 155.2285f, 200f, 100f, 200f)
curveTo(44.7715f, 200f, 0f, 155.2285f, 0f, 100f)
Expand Down
6 changes: 2 additions & 4 deletions plugin/core/src/test/resources/svg_symbol.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ public val svg_symbol: ImageVector
_svg_symbol = Builder("svg_symbol", 500.dp, 500.dp, 500f, 500f).apply {
val fill0 = SolidColor(Color(0xFF000000))
val strokeLineWidth0 = 1f
path(fill = fill0, stroke = SolidColor(Color.Blue), strokeLineWidth =
strokeLineWidth0) {
path(fill = fill0, stroke = SolidColor(Color.Blue), strokeLineWidth = strokeLineWidth0) {
moveTo(0f, 0f)
lineTo(500f, 0f)
lineTo(500f, 500f)
Expand All @@ -39,8 +38,7 @@ public val svg_symbol: ImageVector
lineTo(50f, 50f)
close()
}) {
path(fill = fill0, stroke = SolidColor(Color.Red), strokeLineWidth =
strokeLineWidth0) {
path(fill = fill0, stroke = SolidColor(Color.Red), strokeLineWidth = strokeLineWidth0) {
moveTo(50f, 50f)
lineTo(100f, 50f)
lineTo(100f, 100f)
Expand Down
3 changes: 1 addition & 2 deletions plugin/core/src/test/resources/transform_circle.kt
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ public val transform_circle: ImageVector
lineTo(0f, 0f)
close()
}
path(fill = SolidColor(Color.White), stroke = SolidColor(Color.Blue), strokeLineWidth =
strokeLineWidth0) {
path(fill = SolidColor(Color.White), stroke = SolidColor(Color.Blue), strokeLineWidth = strokeLineWidth0) {
moveTo(283.91f, 100f)
curveTo(330.2522f, 155.2285f, 323.0484f, 200f, 267.8199f, 200f)
curveTo(212.5914f, 200f, 130.2522f, 155.2285f, 83.91f, 100f)
Expand Down

0 comments on commit 615419b

Please sign in to comment.