chore: add class border-radius testcase
This commit is contained in:
parent
22b14dcff7
commit
4dd974c6c1
5 changed files with 144 additions and 9 deletions
|
|
@ -23,11 +23,22 @@ func testStable(t *testing.T) {
|
||||||
json: jsonb {constraint: unique}
|
json: jsonb {constraint: unique}
|
||||||
last_updated: timestamp with time zone
|
last_updated: timestamp with time zone
|
||||||
|
|
||||||
style {
|
style: {
|
||||||
fill: red
|
fill: red
|
||||||
border-radius: 10
|
border-radius: 10
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
b: {
|
||||||
|
shape: class
|
||||||
|
|
||||||
|
field: "[]string"
|
||||||
|
method(a uint64): (x, y int)
|
||||||
|
|
||||||
|
style: {
|
||||||
|
border-radius: 10
|
||||||
|
}
|
||||||
|
}
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
57
e2etests/testdata/stable/class_and_sqlTable_border_radius/dagre/board.exp.json
generated
vendored
57
e2etests/testdata/stable/class_and_sqlTable_border_radius/dagre/board.exp.json
generated
vendored
|
|
@ -8,7 +8,7 @@
|
||||||
"type": "sql_table",
|
"type": "sql_table",
|
||||||
"pos": {
|
"pos": {
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 0
|
"y": 2
|
||||||
},
|
},
|
||||||
"width": 439,
|
"width": 439,
|
||||||
"height": 180,
|
"height": 180,
|
||||||
|
|
@ -158,6 +158,61 @@
|
||||||
"primaryAccentColor": "B2",
|
"primaryAccentColor": "B2",
|
||||||
"secondaryAccentColor": "AA2",
|
"secondaryAccentColor": "AA2",
|
||||||
"neutralAccentColor": "N2"
|
"neutralAccentColor": "N2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "b",
|
||||||
|
"type": "class",
|
||||||
|
"pos": {
|
||||||
|
"x": 499,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"width": 407,
|
||||||
|
"height": 184,
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"borderRadius": 10,
|
||||||
|
"fill": "N1",
|
||||||
|
"stroke": "N7",
|
||||||
|
"shadow": false,
|
||||||
|
"3d": false,
|
||||||
|
"multiple": false,
|
||||||
|
"double-border": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"link": "",
|
||||||
|
"icon": null,
|
||||||
|
"iconPosition": "",
|
||||||
|
"blend": false,
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"name": "field",
|
||||||
|
"type": "[]string",
|
||||||
|
"visibility": "public"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"methods": [
|
||||||
|
{
|
||||||
|
"name": "method(a uint64)",
|
||||||
|
"return": "(x, y int)",
|
||||||
|
"visibility": "public"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"columns": null,
|
||||||
|
"label": "b",
|
||||||
|
"fontSize": 20,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "N1",
|
||||||
|
"italic": false,
|
||||||
|
"bold": false,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 11,
|
||||||
|
"labelHeight": 31,
|
||||||
|
"zIndex": 0,
|
||||||
|
"level": 1,
|
||||||
|
"primaryAccentColor": "B2",
|
||||||
|
"secondaryAccentColor": "AA2",
|
||||||
|
"neutralAccentColor": "N2"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": [],
|
"connections": [],
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 331 KiB After Width: | Height: | Size: 513 KiB |
57
e2etests/testdata/stable/class_and_sqlTable_border_radius/elk/board.exp.json
generated
vendored
57
e2etests/testdata/stable/class_and_sqlTable_border_radius/elk/board.exp.json
generated
vendored
|
|
@ -8,7 +8,7 @@
|
||||||
"type": "sql_table",
|
"type": "sql_table",
|
||||||
"pos": {
|
"pos": {
|
||||||
"x": 12,
|
"x": 12,
|
||||||
"y": 12
|
"y": 14
|
||||||
},
|
},
|
||||||
"width": 439,
|
"width": 439,
|
||||||
"height": 180,
|
"height": 180,
|
||||||
|
|
@ -158,6 +158,61 @@
|
||||||
"primaryAccentColor": "B2",
|
"primaryAccentColor": "B2",
|
||||||
"secondaryAccentColor": "AA2",
|
"secondaryAccentColor": "AA2",
|
||||||
"neutralAccentColor": "N2"
|
"neutralAccentColor": "N2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "b",
|
||||||
|
"type": "class",
|
||||||
|
"pos": {
|
||||||
|
"x": 471,
|
||||||
|
"y": 12
|
||||||
|
},
|
||||||
|
"width": 407,
|
||||||
|
"height": 184,
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"borderRadius": 10,
|
||||||
|
"fill": "N1",
|
||||||
|
"stroke": "N7",
|
||||||
|
"shadow": false,
|
||||||
|
"3d": false,
|
||||||
|
"multiple": false,
|
||||||
|
"double-border": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"link": "",
|
||||||
|
"icon": null,
|
||||||
|
"iconPosition": "",
|
||||||
|
"blend": false,
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"name": "field",
|
||||||
|
"type": "[]string",
|
||||||
|
"visibility": "public"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"methods": [
|
||||||
|
{
|
||||||
|
"name": "method(a uint64)",
|
||||||
|
"return": "(x, y int)",
|
||||||
|
"visibility": "public"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"columns": null,
|
||||||
|
"label": "b",
|
||||||
|
"fontSize": 20,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "N1",
|
||||||
|
"italic": false,
|
||||||
|
"bold": false,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 11,
|
||||||
|
"labelHeight": 31,
|
||||||
|
"zIndex": 0,
|
||||||
|
"level": 1,
|
||||||
|
"primaryAccentColor": "B2",
|
||||||
|
"secondaryAccentColor": "AA2",
|
||||||
|
"neutralAccentColor": "N2"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": [],
|
"connections": [],
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 331 KiB After Width: | Height: | Size: 513 KiB |
Loading…
Reference in a new issue