function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AswathAswath 

How to write testmethods for XMLDom & Start here comtroller classes?

Hi All,

 

I want to write TestMethods for Standard salesforce classes XMLDom & Start here controller. Can any one explain me what is the use of those classes? I written testmethods for all my triggers & classes and got 72%, the code not covered is only Xmldom & starthere controller classes.

 

   Can we delete these classes?

 

Thanks,

Aswath.

Best Answer chosen by Admin (Salesforce Developers) 
TSH53TSH53

Test code for the XMLDom class is available at:

 

http://code.google.com/p/visualforce-components/source/browse/trunk/XmlDom/src/unpackaged/classes

 

It provides 99% coverage for the class.

All Answers

DavidPSGDavidPSG
Aswath:  I was truly hoping you'd get a response to this, as I have the exact same problem.  The one thing I'm sure of is that you should NOT delete them.
TSH53TSH53

Test code for the XMLDom class is available at:

 

http://code.google.com/p/visualforce-components/source/browse/trunk/XmlDom/src/unpackaged/classes

 

It provides 99% coverage for the class.

This was selected as the best answer
AswathAswath

Hi,

 

Thanks a lot its working fine.........

 

Thanks,

Aswath.