Patent ID: 8467043

Claim:
An apparatus for testing a lens module, the lens module comprising a first actuator and a barrel received in the first actuator, the apparatus comprising: a light source configured for emitting a light beam towards the barrel; a recording element, the light beam being reflected by the barrel and forming a light spot on the recording element, the recording element being configured for recording a position of the light spot; and an analyzing device being configured for calculating a distance between the position of the light spot and a reference position, comparing the distance with a predetermined value, and determining whether the distance is larger than the predetermined value, wherein if the distance is less than or equal to the predetermined value, the analyzing device determines that an included angle between a central axis of the barrel and a central axis of the first actuator is within an acceptable range; if the distance is larger than the predetermined value, the analyzing device determines that the included angled between the central axis of the barrel and the central axis of the first actuator is beyond the acceptable range.