-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changes impl. custom logger to logger without extending Logger.
- Loading branch information
1 parent
437f77c
commit 66c76a8
Showing
5 changed files
with
27 additions
and
27 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
7 changes: 7 additions & 0 deletions
7
src/main/java/cz/coffeerequired/api/exceptions/ExtensibleThrowable.java
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,7 @@ | ||
package cz.coffeerequired.api.exceptions; | ||
|
||
public class ExtensibleThrowable extends RuntimeException { | ||
public ExtensibleThrowable(String message) { | ||
super(message); | ||
} | ||
} |
7 changes: 0 additions & 7 deletions
7
src/main/java/cz/coffeerequired/api/exceptions/ModulableException.java
This file was deleted.
Oops, something went wrong.
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,16 +1,16 @@ | ||
test "json storage cache": | ||
set {_json} to json from "{array: [{A: 1, B: 2, C: 3, location: {}}]}" | ||
|
||
create json file "jsons/test.json" and write to it {_json} with configuration[replace=true, encoding=UTF-8] | ||
|
||
create json virtual storage named "virtual" | ||
|
||
set (json storage of id "virtual").new to "Test" | ||
|
||
bind json file "jsons/test.json" as "test" | ||
|
||
send json storage of id "virtual" | ||
send json storage of id "test" | ||
|
||
assert json storage of id "virtuals" is set with "cannot create virtual storage" | ||
assert json storage of id "test" is set with "cannot create an cache from file" | ||
# set {_json} to json from "{array: [{A: 1, B: 2, C: 3, location: {}}]}" | ||
# | ||
# create json file "jsons/test.json" and write to it {_json} with configuration[replace=true, encoding=UTF-8] | ||
# | ||
# create json virtual storage named "virtual" | ||
# | ||
# set (json storage of id "virtual").new to "Test" | ||
# | ||
# bind json file "jsons/test.json" as "test" | ||
# | ||
# send json storage of id "virtual" | ||
# send json storage of id "test" | ||
# | ||
# assert json storage of id "virtuals" is set with "cannot create virtual storage" | ||
# assert json storage of id "test" is set with "cannot create an cache from file" |