Testing: add reset tag and legacy reset character tests

This commit is contained in:
Thijs Wiefferink committed 2017-02-17 21:48:43 +01:00
1 parent 5760aa44ad
commit 478c92c93c
3 files changed
+225

No files matched your search

@@ -0,0 +1,75 @@
clean
[red]red, [bold]red+bold, &rclean
[blue]blue, [green]green, [underline]green+underline, [darkblue]darkblue+underline, &rclean
&rclean, [red]red, &r&r&rstill clean
clean§cred, §lred+bold, §rclean§9blue, §agreen, §ngreen+underline, §1darkblue+underline, §rcleanclean, §cred, §fstill clean
[
{
"text": "",
"extra": [
{
"text": "clean"
},
{
"text": "",
"extra": [
{
"text": "red, ",
"color": "red"
},
{
"text": "red+bold, ",
"color": "red",
"bold": true
},
{
"text": "clean"
}
]
},
{
"text": "",
"extra": [
{
"text": "blue, ",
"color": "blue"
},
{
"text": "green, ",
"color": "green"
},
{
"text": "green+underline, ",
"color": "green",
"underlined": true
},
{
"text": "darkblue+underline, ",
"color": "dark_blue",
"underlined": true
},
{
"text": "clean"
}
]
},
{
"text": "",
"extra": [
{
"text": "clean, "
},
{
"text": "red, ",
"color": "red"
},
{
"text": "still clean"
}
]
}
]
}
]
@@ -0,0 +1,75 @@
clean
[red]red, [bold]red+bold, §rclean
[blue]blue, [green]green, [underline]green+underline, [darkblue]darkblue+underline, §rclean
§rclean, [red]red, §r§r§rstill clean
clean§cred, §lred+bold, §rclean§9blue, §agreen, §ngreen+underline, §1darkblue+underline, §rcleanclean, §cred, §fstill clean
[
{
"text": "",
"extra": [
{
"text": "clean"
},
{
"text": "",
"extra": [
{
"text": "red, ",
"color": "red"
},
{
"text": "red+bold, ",
"color": "red",
"bold": true
},
{
"text": "clean"
}
]
},
{
"text": "",
"extra": [
{
"text": "blue, ",
"color": "blue"
},
{
"text": "green, ",
"color": "green"
},
{
"text": "green+underline, ",
"color": "green",
"underlined": true
},
{
"text": "darkblue+underline, ",
"color": "dark_blue",
"underlined": true
},
{
"text": "clean"
}
]
},
{
"text": "",
"extra": [
{
"text": "clean, "
},
{
"text": "red, ",
"color": "red"
},
{
"text": "still clean"
}
]
}
]
}
]
@@ -0,0 +1,75 @@
clean
[red]red, [bold]red+bold, [reset]clean
[blue]blue, [green]green, [underline]green+underline, [darkblue]darkblue+underline, [reset]clean
[reset]clean, [red]red, [reset][reset][reset]still clean
clean§cred, §lred+bold, §rclean§9blue, §agreen, §ngreen+underline, §1darkblue+underline, §rcleanclean, §cred, §fstill clean
[
{
"text": "",
"extra": [
{
"text": "clean"
},
{
"text": "",
"extra": [
{
"text": "red, ",
"color": "red"
},
{
"text": "red+bold, ",
"color": "red",
"bold": true
},
{
"text": "clean"
}
]
},
{
"text": "",
"extra": [
{
"text": "blue, ",
"color": "blue"
},
{
"text": "green, ",
"color": "green"
},
{
"text": "green+underline, ",
"color": "green",
"underlined": true
},
{
"text": "darkblue+underline, ",
"color": "dark_blue",
"underlined": true
},
{
"text": "clean"
}
]
},
{
"text": "",
"extra": [
{
"text": "clean, "
},
{
"text": "red, ",
"color": "red"
},
{
"text": "still clean"
}
]
}
]
}
]