1 | please include function getTestResults. |
2 | |
3 | static void addTestResult(TestResult r) { |
4 | if (getTestResults_list! == null) |
5 | getTestResults_list.set(new L); |
6 | getTestResults_list->add(r); |
7 | } |
8 | |
9 | static void addTestResult(String desc, bool ok) { |
10 | addTestResult(new TestResult(desc, ok)); |
11 | } |
12 | |
13 | static void addTestResult(String desc, double okPercentage) { |
14 | addTestResult(new TestResult(desc, okPercentage)); |
15 | } |
16 | |
17 | static void addTestResult(String desc, Throwable e) { |
18 | printStackTrace(e); |
19 | addTestResult(new TestResult(desc, e)); |
20 | } |
Began life as a copy of #1008970
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1008971 |
Snippet name: | addTestResult - add TestResult object to list per thread |
Eternal ID of this version: | #1008971/5 |
Text MD5: | ffa7a4d5fd88b0be4c684d6c21649531 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-02-07 16:04:03 |
Source code size: | 541 bytes / 20 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 526 / 573 |
Version history: | 4 change(s) |
Referenced in: | [show references] |