You need to sign in to do that
Don't have an account?

system assert
what is the system assert ? what is the system assert equal?
what is the different d/w both of them?
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
what is the system assert ? what is the system assert equal?
what is the different d/w both of them?
Hi,
Please see the link:
http://th3silverlining.com/2010/09/07/salesforce-system-assert-vs-system-assertequals/
Thanks,
Babu.
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_system.htm
Asserts are used in apex test classes to validate whether we are getting correct output or not.
Assert statement gets failed if the condition specified is in it is evaluated to be true and thus notifying that the actual and desired values are differed.
Example:
Scenario is we are performing some calculation on the field like when discount is inserted as 50%, then the amount of the record must be reflected with the same.
assert -
system.assert