Patent ID: 8290735

Claim:
A test apparatus for testing universal serial bus (USB) interfaces of an electronic device, the test apparatus comprising: a plurality of USB interfaces connected to the USB interfaces of the electronic device, respectively, to communicate with the electronic device; a power switch; a memory storing a special file to note phrases generated during test; and a single-chip connected to the plurality of USB interfaces, the power switch, and the memory, the single-chip storing a preset phrase: wherein when the power switch is turned on, the single-chip writes a ready phrase in the special file, and when one of the plurality of USB interfaces of the electronic device passes a test, the single-chip reads a test phrase from the special the and writes a test finish phrase in the special file, and controls the test apparatus to test a next USB interface of the plurality of USB interfaces of the electronic device; and when a current USB interface does not pass the test, the test ends.