Relative Merits of Off-line and On-line Testing of Rotating Machine Stator and Rotor Windings Relative Merits of Off-line and On-line Testing of Rotating Machine Stator and Rotor Windings