use prism-tomorrow.css

This commit is contained in:
CyC2018
2018-12-19 14:09:39 +08:00
parent 0f00bcacaf
commit e9e604e6a7
1747 changed files with 100462 additions and 0 deletions

View File

@ -0,0 +1,22 @@
... 6 more
... 6 common frames omitted
----------------------------------------------------
[
["more", [
["punctuation", "..."],
["number", "6"],
["keyword", "more"]
]],
["more", [
["punctuation", "..."],
["number", "6"],
["keyword", "common frames omitted"]
]]
]
----------------------------------------------------
Checks for the message that some frames were omitted.

View File

@ -0,0 +1,71 @@
at Main.main(Main.java:13)
at Main.main(Main.java:13) Same but with some additional notes
at com.foo.bar.Main$FooBar.main(Native Method)
at Main$FooBar.<init>(Unknown Source)
----------------------------------------------------
[
["stack-frame", [
["keyword", "at"],
["class-name", "Main"],
["punctuation", "."],
["function", "main"],
["punctuation", "("],
["source", [
["file", "Main.java"],
["punctuation", ":"],
["line-number", "13"]
]],
["punctuation", ")"]
]],
["stack-frame", [
["keyword", "at"],
["class-name", "Main"],
["punctuation", "."],
["function", "main"],
["punctuation", "("],
["source", [
["file", "Main.java"],
["punctuation", ":"],
["line-number", "13"]
]],
["punctuation", ")"]
]],
" Same but with some additional notes\n",
["stack-frame", [
["keyword", "at"],
["namespace", "com"],
["punctuation", "."],
["namespace", "foo"],
["punctuation", "."],
["namespace", "bar"],
["punctuation", "."],
["class-name", "Main$FooBar"],
["punctuation", "."],
["function", "main"],
["punctuation", "("],
["source", [
["keyword", "Native Method"]
]],
["punctuation", ")"]
]],
["stack-frame", [
["keyword", "at"],
["class-name", "Main$FooBar"],
["punctuation", "."],
["function", "<init>"],
["punctuation", "("],
["source", [
["keyword", "Unknown Source"]
]],
["punctuation", ")"]
]]
]
----------------------------------------------------
Checks for stack frames.

View File

@ -0,0 +1,155 @@
java.lang.NullPointerException
java.lang.NullPointerException: This is bad
HighLevelException: MidLevelException: LowLevelException
HighLevelException: MidLevelException: LowLevelException: This is bad
Exception in thread "main" java.lang.RuntimeException: A test exception
Exception in thread "main" HighLevelException: MidLevelException: LowLevelException: This is bad
Caused by: Exception: This also includes causes and suppressed exceptions
Caused by: MidLevelException: LowLevelException
Caused by: com.example.myproject.MyProjectServletException
Suppressed: java.lang.RuntimeException: could not insert: [com.example.myproject.MyEntity]
----------------------------------------------------
[
["summary", [
["exceptions", [
["namespace", "java"],
["punctuation", "."],
["namespace", "lang"],
["punctuation", "."],
["class-name", "NullPointerException"]
]]
]],
["summary", [
["exceptions", [
["namespace", "java"],
["punctuation", "."],
["namespace", "lang"],
["punctuation", "."],
["class-name", "NullPointerException"]
]],
["punctuation", ":"],
["message", "This is bad"]
]],
["summary", [
["exceptions", [
["class-name", "HighLevelException"]
]],
["punctuation", ":"],
["exceptions", [
["class-name", "MidLevelException"]
]],
["punctuation", ":"],
["exceptions", [
["class-name", "LowLevelException"]
]]
]],
["summary", [
["exceptions", [
["class-name", "HighLevelException"]
]],
["punctuation", ":"],
["exceptions", [
["class-name", "MidLevelException"]
]],
["punctuation", ":"],
["exceptions", [
["class-name", "LowLevelException"]
]],
["punctuation", ":"],
["message", "This is bad"]
]],
["summary", [
["keyword", "Exception in thread"],
["string", "\"main\""],
["exceptions", [
["namespace", "java"],
["punctuation", "."],
["namespace", "lang"],
["punctuation", "."],
["class-name", "RuntimeException"]
]],
["punctuation", ":"],
["message", "A test exception"]
]],
["summary", [
["keyword", "Exception in thread"],
["string", "\"main\""],
["exceptions", [
["class-name", "HighLevelException"]
]],
["punctuation", ":"],
["exceptions", [
["class-name", "MidLevelException"]
]],
["punctuation", ":"],
["exceptions", [
["class-name", "LowLevelException"]
]],
["punctuation", ":"],
["message", "This is bad"]
]],
["summary", [
["keyword", "Caused by"],
["punctuation", ":"],
["exceptions", [
["class-name", "Exception"]
]],
["punctuation", ":"],
["message", "This also includes causes and suppressed exceptions"]
]],
["summary", [
["keyword", "Caused by"],
["punctuation", ":"],
["exceptions", [
["class-name", "MidLevelException"]
]],
["punctuation", ":"],
["exceptions", [
["class-name", "LowLevelException"]
]]
]],
["summary", [
["keyword", "Caused by"],
["punctuation", ":"],
["exceptions", [
["namespace", "com"],
["punctuation", "."],
["namespace", "example"],
["punctuation", "."],
["namespace", "myproject"],
["punctuation", "."],
["class-name", "MyProjectServletException"]
]]
]],
["summary", [
["keyword", "Suppressed"],
["punctuation", ":"],
["exceptions", [
["namespace", "java"],
["punctuation", "."],
["namespace", "lang"],
["punctuation", "."],
["class-name", "RuntimeException"]
]],
["punctuation", ":"],
["message", "could not insert: [com.example.myproject.MyEntity]"]
]]
]
----------------------------------------------------
Checks for exception summaries.