Timeline for How to cover pagereference method in test class
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 3, 2016 at 18:10 | comment | added | mkorman | If your method always returns null then there is no need to return PageReference. You can make it a void-return method instead. Perhaps it would help more if you posted what the logic is. What is it that you want to test? The return value of the method or the logic it executes? | |
Jan 2, 2016 at 6:36 | answer | added | Ratan Paul | timeline score: 3 | |
Jan 2, 2016 at 6:30 | comment | added | Ratan Paul | are you using standardController in page? | |
Jan 2, 2016 at 6:27 | history | edited | Ratan Paul | CC BY-SA 3.0 |
added 33 characters in body
|
Jan 2, 2016 at 6:25 | review | First posts | |||
Jan 2, 2016 at 12:21 | |||||
Jan 2, 2016 at 6:25 | history | asked | Dileep | CC BY-SA 3.0 |