Timeline for Test a catch block for callout exception
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Jul 11, 2017 at 11:46 | history | edited | Markus Dang - formerly Slabina | CC BY-SA 3.0 |
Added the apex tag, removed unnecessary text
|
S Jul 11, 2017 at 11:46 | history | suggested | user46657 |
Added the apex tag !!
|
|
Jul 11, 2017 at 11:25 | review | Suggested edits | |||
S Jul 11, 2017 at 11:46 | |||||
Jul 27, 2015 at 13:20 | answer | added | Matt and Neil | timeline score: 29 | |
Sep 18, 2014 at 16:33 | answer | added | cropredy | timeline score: 11 | |
Sep 18, 2014 at 16:03 | answer | added | Ashwani | timeline score: 1 | |
Sep 18, 2014 at 14:18 | comment | added | novice | Yeah....@keith my conslusion was also somewhat same, i.e. setting a check flag.Apart from that nothing appears to work until now. Thanks keith. | |
Sep 18, 2014 at 13:45 | comment | added | Keith C | I don't think there is any way of constructing a CalloutException in Apex. If you are prepared to change your code to catch Exception, you can have an @TestVisible Boolean somewhere in the XXXXXXXX code that tells that code to throw a custom exception when the flag is set by the test. | |
Sep 18, 2014 at 13:28 | history | edited | BarCotter | CC BY-SA 3.0 |
added 29 characters in body
|
Sep 18, 2014 at 13:25 | history | asked | novice | CC BY-SA 3.0 |