function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Please find the test class below:
@isTest
private class ctrlJQDatePickerTest {
static testMethod void testing(){
test.startTest();
ctrlJQDatePicker t1 = new ctrlJQDatePicker ();
t1.dateDefaultValue = 'testing';
system.assertEquals(t1.dateDefaultValue, 'testing');
test.stopTest();
}
}
Mark this as solved if this answers your query.
Regards
Sampath Kumar Goud
All Answers
Please find the test class below:
@isTest
private class ctrlJQDatePickerTest {
static testMethod void testing(){
test.startTest();
ctrlJQDatePicker t1 = new ctrlJQDatePicker ();
t1.dateDefaultValue = 'testing';
system.assertEquals(t1.dateDefaultValue, 'testing');
test.stopTest();
}
}
Mark this as solved if this answers your query.
Regards
Sampath Kumar Goud
Thanks For Help!!
Please clarify My Doubt In Short.Why we write test.startTest() and test.StopTest()?what is the use of this ?Give a real time Example
Thanks in Advance!
Please go through following link for details.
https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_testing_tools_start_stop_test.htm
Regards
Sampath Kumar Goud