A method for testing function of an adaptor, being applicable by a testing device and comprising: sending a test signal to the adaptor, wherein the test signal is a first test signal for causing the adaptor to launch a protection mechanism; detecting a first voltage, wherein the first voltage is outputted in a preset first duration by the adaptor according to the test signal; and determining a working state of the adaptor according to the first voltage comprising: detecting whether the first voltage is higher than a first threshold voltage; characterized in that the step of determining a working state of the adaptor according to the first voltage further comprises: determining that the working state is that the protection mechanism of the adaptor fails, in response to the first voltage being higher than the first threshold voltage; and determining that the working state is that the protection mechanism of the adaptor is normal, in response to the first voltage being lower than or equal to the first threshold voltage, comprising: detecting whether a second voltage outputted in a preset second duration by the adaptor is higher than a second threshold voltage, wherein the second duration is later than the first duration; determining that the working state is that the adaptor has been reset, in response to the second voltage being higher than the second threshold voltage; and determining that the working state is that the adaptor has been disconnected from the testing device, in response to the second voltage being lower than or equal to the second threshold voltage. sending a test signal to the adaptor, wherein the test signal is a first test signal for causing the adaptor to launch a protection mechanism; detecting a first voltage, wherein the first voltage is outputted in a preset first duration by the adaptor according to the test signal; and determining a working state of the adaptor according to the first voltage comprising: detecting whether the first voltage is higher than a first threshold voltage; characterized in that the step of determining a working state of the adaptor according to the first voltage further comprises: determining that the working state is that the protection mechanism of the adaptor fails, in response to the first voltage being higher than the first threshold voltage; and determining that the working state is that the protection mechanism of the adaptor is normal, in response to the first voltage being lower than or equal to the first threshold voltage, comprising: detecting whether a second voltage outputted in a preset second duration by the adaptor is higher than a second threshold voltage, wherein the second duration is later than the first duration; determining that the working state is that the adaptor has been reset, in response to the second voltage being higher than the second threshold voltage; and determining that the working state is that the adaptor has been disconnected from the testing device, in response to the second voltage being lower than or equal to the second threshold voltage. determining that the working state is that the protection mechanism of the adaptor fails, in response to the first voltage being higher than the first threshold voltage; and determining that the working state is that the protection mechanism of the adaptor is normal, in response to the first voltage being lower than or equal to the first threshold voltage, comprising: detecting whether a second voltage outputted in a preset second duration by the adaptor is higher than a second threshold voltage, wherein the second duration is later than the first duration; determining that the working state is that the adaptor has been reset, in response to the second voltage being higher than the second threshold voltage; and determining that the working state is that the adaptor has been disconnected from the testing device, in response to the second voltage being lower than or equal to the second threshold voltage. detecting whether a second voltage outputted in a preset second duration by the adaptor is higher than a second threshold voltage, wherein the second duration is later than the first duration; determining that the working state is that the adaptor has been reset, in response to the second voltage being higher than the second threshold voltage; and determining that the working state is that the adaptor has been disconnected from the testing device, in response to the second voltage being lower than or equal to the second threshold voltage.