CN103077115A - Set-up method and device for compatibility test platform - Google Patents

Set-up method and device for compatibility test platform Download PDF

Info

Publication number
CN103077115A
CN103077115A CN2013100179214A CN201310017921A CN103077115A CN 103077115 A CN103077115 A CN 103077115A CN 2013100179214 A CN2013100179214 A CN 2013100179214A CN 201310017921 A CN201310017921 A CN 201310017921A CN 103077115 A CN103077115 A CN 103077115A
Authority
CN
China
Prior art keywords
test
cts
android
windows environment
generate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013100179214A
Other languages
Chinese (zh)
Other versions
CN103077115B (en
Inventor
徐爱文
王小合
岳闯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201310017921.4A priority Critical patent/CN103077115B/en
Publication of CN103077115A publication Critical patent/CN103077115A/en
Application granted granted Critical
Publication of CN103077115B publication Critical patent/CN103077115B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention is applicable to the test field and provides a set-up method and a set-up device for a compatibility test platform. The set-up method comprises the following steps of: generating a test suite in an android-cts suite for a windows environment; and generating a control file for the compatibility test of the windows environment for carrying out the compatibility test, wherein the compatibility test is a CTS (Compatibility Test Suite) test. According to the set-up method and the sep-up device disclosed by the invention, the test suite which is applicable to the CTS test of the windows environment is generated, so that the CTS test is carried out under the windows environment, and the CTS test result report is generated, so that convenience is provided for a tester which is unfamiliar with the linux environment, and the test is more user-friendly.

Description

A kind of compatibility testing platform building method and device
Technical field
The invention belongs to field tests, relate in particular to a kind of compatibility testing platform building method and device.
Background technology
Compatibility test instrument (Compatibility Test Suite, CTS) is applicable to compatibility test external member on the linux system for what Google designed, is used for calling the CTS external member at linux system and carries out the CTS test; But, the tester normally carries out daily CTS test job under the Windows environment, therefore, need to add for every CTS tester is extra a computer that linux system is housed and puts up the CTS environment to carry out the CTS test, meanwhile, require again the tester to possess the basic operating technical ability of under linux system and command terminal, working, comprise: the file between linux system and the Windows system and the transmission of test report, switching between above-mentioned two kinds of different work systems, extremely inconvenient for the tester, if it is more remote that above-mentioned two kinds of different work systems exist, will have a strong impact on work efficiency.
The CTS external member is based on Java language and writes, and therefore carried out the configuration of java working environment and correctly call afterwards under Windows, can open the CTS control desk and test; But, under the Windows environment, carry out the CTS test, have some problems in the test process: the partial test bag (for example: androidcore.vm-tests-tf) can't test, may cause test to be cut off, can't continue to carry out, if close a terminal this moment by force, the CTS external member later for the android-cts-4.0 version can not generate test report.
Summary of the invention
The purpose of the embodiment of the invention is to provide the compatibility testing platform building method, when under the windows environment, carrying out the CTS test to solve, and the problem that the partial test bag can't be tested.
The embodiment of the invention is achieved in that a kind of compatibility testing platform building method, and described method comprises:
Generate the test pack of the android-cts external member that is used for the windows environment;
Generate the control documents of the compatibility test that is used for the windows environment to be used for compatibility test, described compatibility test is the CTS test.
Another purpose of the embodiment of the invention is to provide a kind of compatibility testing platform to build device, and described device comprises:
The test pack generation unit is used for generating the test pack for the android-cts external member of windows environment;
The control documents generation unit, the control documents that is used for generating the compatibility test that is used for the windows environment is to be used for compatibility test, and described compatibility test is the CTS test.
The invention provides a kind of compatibility testing platform building method and device, described method comprises: the test pack that generates the android-cts external member that is used for the windows environment, generate the control documents of the compatibility test that is used for the windows environment to be used for compatibility test, described compatibility test is the CTS test; When under the windows environment, carrying out the CTS test, the present invention is directed to the test pack that part can't be applicable to the CTS test of windows environment, generated the test pack of the CTS test that is applicable to the windows environment, thereby realized under the windows environment, finishing the CTS test, and generation CTS test result report, the unfamiliar tester of linux environment is provided convenience, had more hommization.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the realization flow figure of the compatibility testing platform building method that provides of the embodiment of the invention one;
Fig. 2 is the composition structural drawing that compatibility testing platform that the embodiment of the invention two provides is built device;
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
For technical solutions according to the invention are described, describe below by specific embodiment.
Embodiment one:
The compatibility testing platform that Fig. 1 shows first embodiment of the invention to be provided is built realization flow, and details are as follows for its process:
Step S101 generates the test pack for the android-cts external member of windows environment.
Described android-cts external member is including, but not limited to android-cts-2.x.x external member, android-cts-4.0.x external member and android-cts-4.1 external member, and wherein x comprises numeral, letter and other symbol for sign.
When electronic product develops, and after having customized the Android system of oneself, need by up-to-date CTS test, can normally operation under this Android platform to guarantee application program; After the CTS test, test report is submitted to Google, if obtain the authentication of android market, then the application program of process CTS test has more superiority in the application process of Android system, has better user to experience.
The android-cts external member is a CTS testing tool by the order line operation.The android-cts external member does not provide the beta version of windows environment but at present.
That test pack, the especially generating portion that step S101 generate to be used for the android-cts external member of windows environment is applicable to the linux environment but be not suitable for the test pack of windows environment, for example: the ndroid.core.vm-tests-tf test pack.
Preferably, before step S101, java is installed under the windows environment in advance and disposes the java environment to build CTS test platform and CTS test, described java can comprise java1.6 and above version.
As one embodiment of the invention, described generation can also comprise for the step of the test pack of the android-cts external member of windows environment:
Generate the android.core.vm-tests-tf test pack of the android-cts external member that is used for the windows environment.
Generation is applicable to the android.core.vm-tests-tf test pack in the android-cts external member of windows environment, and after recompilating the control documents that generates compatibility test, carry out in the test process of CTS test at the windows environment, can be implemented in equipment /create the operation such as dalvik-cache catalogue under the data/local/tmp/vm-tests catalogue, to realize under the windows environment CTS test to the android.core.vm-tests-tf test pack.
Preferably, can obtain in advance the VMHostTest.java file of the amended windows of being applicable to environment, then generate the android.core.vm-tests-tf test pack in the android-cts external member that is applicable to the windows environment.
As one embodiment of the invention, described generation can also comprise for the step of the test pack of the android-cts external member of windows environment:
Generate the android.nativemeida test pack of the android-cts external member that is used for the windows environment.
Generation is applicable to the android.nativemeida test pack in the android-cts external member of windows environment, and after recompilating the control documents that generates compatibility test, carry out in the test process of CTS test at the windows environment, can be implemented in equipment /create the operation such as cts-native-tests catalogue under the data/local/tmp catalogue and realize that transmission dependence test file waits operation now to cts-native-tests, test with the CTS to the android.nativemeida test pack under the realization windows environment.
Preferably, can obtain in advance the GeeTest.java file of the amended windows of being applicable to environment, then generate the android.nativemeida test pack in the android-cts external member of the amended windows of being applicable to environment.
As one embodiment of the invention, described generation can also comprise for the step of the test pack of the android-cts external member of windows environment:
Generate android.nativemeida.s1 test pack and the android.nativemeida.xa test pack of the android-cts external member that is used for the windows environment.
In the android-cts-4.1 external member, obtain VMHostTest.java file and the GeeTest.java file of the CTS test of the amended windows of being applicable to environment, regenerate android.nativemeida.s1 test pack and android.nativemeida.xa test pack, and after recompilating the control documents that generates compatibility test, carry out in the test process of CTS test at the windows environment, can be implemented in equipment /create the operation such as cts-native-tests catalogue under the data/local/tmp catalogue and realize that transmission dependence test file waits operation now to cts-native-tests, test with the CTS to android.nativemeida.s1 test pack and android.nativemeida.xa test pack under the realization windows environment.
Step S102 generates the control documents of the compatibility test that is used for the windows environment to be used for compatibility test, and described compatibility test is the CTS test.
The control documents of described compatibility test, can for: cts-tradefed.jar file or cts-tradefed-4.0.x.jar or cts-tradefed-4.1.x.jar etc. are used for the control documents of compatibility test.
Behind completing steps S101, recompilate and generate the control documents of compatibility test, realize the CTS test under the windows environment; More optimizedly, the control documents of the compatibility test that regenerates is replaced the control documents of original compatibility test, or delete the control documents of original compatibility test, or revise the operations such as filename of the control documents of original compatibility test, to realize only existing under this catalogue the control documents of the described compatibility test that regenerates, there is not the control documents of other compatibility test of duplication of name, in order to avoid affect the CTS test under the windows environment.
In addition, preferably, in order to realize that CTS test more normally carries out under the windows environment, can reconfigure { JAR_PATH} variable and { the CTS_ROOT} variable is to realize the CTS test under the windows environment, the autoexec etc. that generates the grammer of the batch processing operation java file that is applicable under the windows environment after revising and generate the cts-tradefed.bat that is used for starting fast under the windows environment CTS test.
As one embodiment of the invention, described generation is used for the control documents of compatibility test of windows environment being used for after the step of compatibility test, and described method can also comprise:
Generate the autoexec that is used for starting the CTS test console;
Generate the autoexec that the apk relevant with the CTS test is installed;
Generate the upload media test resource to the autoexec of equipment assigned catalogue;
Generate the autoexec of downloading the android-cts external member;
Generate the autoexec of downloads of media test resource;
Generate the autoexec of synchronous CTS test platform.
In order to realize better, easily the CTS test under the windows environment, generate in advance the autoexec that is used for starting the CTS test console: cts-tradefed.bat(and can call the control documents of compatibility test and the jar formatted file under android-cts external member/tools catalogue by cts-tradefed.bat).
Generate the autoexec that the apk relevant with the CTS test is installed: cts-apk.bat.
Generate the upload media test resource to the autoexec of equipment assigned catalogue: push-media.bat.
Generate the autoexec down-cts.bat that downloads the android-cts external member.
Generate the autoexec down-media.bat of downloads of media test resource.
Generate the autoexec sync.bat of synchronous CTS test platform.
Generate the autoexec that starts the GTS test console: gts-tradefed.bat(and call the relevant jar formatted file of GTS test by gts-tradefed.bat).
Generate the autoexec of the spanned file of removing the CTS test: clear.bat(and eliminate the spanned file of described CTS test by clear.bat on repeating the impact of CTS test).
Generate the autoexec of downloading android-cts external member, GTS external member, multimedia test resource: downlist.bat.
Preferably, also generated the autoexec that enters fast the test platform entrance: start.bat; And also generated other the complementary file that is applicable to the windows environment, include but not limited to: cts-tradefed-4.0.x.jar, cts-tradefed-4.1.x.jar, adb.exe, cmd.exe, ls.exe, vi.exe, scp.exe, rm.exe, mv.exe, chmod.exe etc.; And above-mentioned complementary file consolidation is placed under " CtsTool/tools " catalogue, the start.bat autoexec is placed under " CtsTool/ " catalogue.Because the cmd of part windows system command terminal is not supported the CTS test platform, the cmd command terminal that can allow the CTS test platform not use the windows system to carry by the cmd.exe program; Can save the user by the adb.exe program and install again and dispose the adb environment.By mutual ingenious the calling between the files such as mentioned order file and above-mentioned autoexec, realize simple and easy CTS test under the Windows environment.More optimizedly, java1.6 and above version are installed in advance to carry out the CTS test under the windows environment.
Present embodiment provides the compatibility testing platform building method, by generating the android.core.vm-tests-tf test pack of the android-cts external member that is used for the windows environment, generate to be used for the windows environment the android-cts external member the android.nativemeida test pack and generate the android.nativemeida.s1 test pack of the android-cts external member that is used for the windows environment and android.nativemeida.xa test pack etc. is applicable to the test pack of the CTS test under the windows environment, recompilate and generate the control documents of the compatibility test that is used for the windows environment, realize that the CTS under the windows environment tests to generate the test result report, be used for the autoexec of CTS test by generation to simplify the CTS test under the windows environment; The method that present embodiment provides has more hommization to the unfamiliar tester of linux environment is provided convenience.
Embodiment two:
The compatibility testing platform that Fig. 2 shows second embodiment of the invention to be provided is built the composition structure of device, for convenience of description, only shows the part relevant with the embodiment of the invention.
It can be to run on the unit that software unit, hardware cell or software and hardware in each terminal device (for example computer) combine that this compatibility testing platform is built device, and also can be used as independently, suspension member is integrated in the described terminal device or runs in the application system of described terminal device.
Present embodiment provides compatibility testing platform to build device, can comprise test pack generation unit 21 and control documents generation unit 22, and wherein details are as follows for each functional unit:
Test pack generation unit 21 is used for generating the test pack for the android-cts external member of windows environment.
In the present embodiment, described android-cts external member is including, but not limited to android-cts-2.x.x external member, android-cts-4.0.x external member and android-cts-4.1 external member, and wherein x comprises numeral, letter and other symbol for sign.
Test pack generation unit 21 generates the test pack of the android-cts external member that is used for the windows environment, especially generating portion be applicable to the linux environment but be not suitable for the test pack of windows environment, for example: the ndroid.core.vm-tests-tf test pack.
As one embodiment of the invention, described test pack generation unit 21 can also comprise:
Core.vm-tests-tf generation unit 211 is used for generating the android.core.vm-tests-tf test pack for the android-cts external member of windows environment.
Core.vm-tests-tf generation unit 211 generates the android.core.vm-tests-tf test pack in the amended android-cts external member that is applicable to the windows environment; After recompilating the control documents that generates compatibility test, carry out in the test process of CTS test at the windows environment, core.vm-tests-tf generation unit 211 can be implemented in operations such as creating the dalvik-cache catalogue under equipment/data/local/tmp/vm-tests catalogue, to realize that the CTS to the android.core.vm-tests-tf test pack tests under the windows environment.
Preferably, core.vm-tests-tf generation unit 211 can obtain the VMHostTest.java file that is applicable to the windows environment in advance, then generates the android.core.vm-tests-tf test pack in the android-cts external member that is applicable to the windows environment.
Preferably, before test pack generation unit 21, java is installed under the windows environment in advance and disposes the java environment to build CTS test platform and CTS test, described java can comprise java1.6 and above version.
As one embodiment of the invention, described test pack generation unit 21 can also comprise:
The one nativemeida generation unit 212 is used for generating the android.nativemeida test pack for the android-cts external member of windows environment.
In the present embodiment, the one nativemeida generation unit 212 generates the android.nativemeida test pack in the amended android-cts external member that is applicable to the windows environment, and after recompilating the control documents that generates compatibility test, carry out in the test process of CTS test at the windows environment, can be implemented in equipment /create the operation such as cts-native-tests catalogue under the data/local/tmp catalogue and realize that transmission dependence test file waits operation now to cts-native-tests, test with the CTS to the android.nativemeida test pack under the realization windows environment.
Preferably, a nativemeida generation unit 212 can obtain the GeeTest.java file that is applicable to the windows environment in advance, then generates the android.nativemeida test pack in the android-cts external member that is applicable to the windows environment.
As one embodiment of the invention, described test pack generation unit 21 can also comprise:
The 2nd nativemeida generation unit 213 is used for generating android.nativemeida.s1 test pack and android.nativemeida.xa test pack for the android-cts external member of windows environment.
In the android-cts-4.1 external member, the 2nd nativemeida generation unit 213 obtains VMHostTest.java file and the GeeTest.java file of the CTS test of the amended windows of being applicable to environment, regenerates android.nativemeida.s1 test pack and android.nativemeida.xa test pack; After recompilating the control documents that generates compatibility test, carry out in the test process of CTS test at the windows environment, can be implemented in equipment /create the operation such as cts-native-tests catalogue under the data/local/tmp catalogue and realize that transmission dependence test file waits operation now to cts-native-tests, test with the CTS to android.nativemeida.s1 test pack and android.nativemeida.xa test pack under the realization windows environment.
Control documents generation unit 22, the control documents that is used for generating the compatibility test that is used for the windows environment is to be used for compatibility test, and described compatibility test is the CTS test.
The control documents of described compatibility test, can for: cts-tradefed.jar file or cts-tradefed-4.0.x.jar or cts-tradefed-4.1.x.jar etc. are used for the control documents of compatibility test.
After test pack generation unit 21 had generated test pack for the android-cts external member of windows environment, control documents generation unit 22 recompilated and generates the control documents of compatibility test, realizes the CTS test under the windows environment; More optimizedly, control documents generation unit 22 will regenerate the control documents of putting into compatibility test and replace the control documents of original compatibility test, or delete the control documents of original compatibility test, or revise the operations such as filename of the control documents of original compatibility test, to realize only existing under this catalogue the control documents of the described compatibility test that regenerates, there is not the control documents of other compatibility test of duplication of name, in order to avoid affect the CTS test under the windows environment.
In addition, preferably, in order to realize that CTS test more normally carries out under the windows environment, can reconfigure { JAR_PATH} variable and { the CTS_ROOT} variable is to realize the CTS test under the windows environment, the autoexec etc. that generates the grammer of the batch processing operation java file that is applicable under the windows environment and generate the cts-tradefed.bat that is used for starting fast under the windows environment CTS test.
As one embodiment of the invention, described device can also comprise:
Autoexec generation unit 23, be used for generating the autoexec that is used for starting the CTS test console, generate the autoexec that the apk relevant with the CTS test is installed, generate the autoexec of downloading the android-cts external member, generate the upload media test resource to the autoexec of equipment assigned catalogue, generate the autoexec of downloads of media test resource, generate the autoexec of synchronous CTS test platform.
In order to realize better, easily the CTS test under the windows environment, autoexec generation unit 23 generates the autoexec that is used for startup CTS test console: cts-tradefed.bat(in advance can be to the control documents of compatibility test and calling of the jar formatted file under android-cts external member/tools catalogue by cts-tradefed.bat).
Autoexec generation unit 23 generates the autoexec that the apk relevant with the CTS test is installed: cts-apk.bat.
Autoexec generation unit 23 generates the upload media test resource to the autoexec of equipment assigned catalogue: push-media.bat.
Autoexec generation unit 23 generates the autoexec down-cts.bat that downloads the android-cts external member.
Autoexec generation unit 23 generates the autoexec down-media.bat of downloads of media test resource.
Autoexec generation unit 23 generates the autoexec sync.bat of synchronous CTS test platform.
Autoexec generation unit 23 generates the autoexec that starts the GTS test console: gts-tradefed.bat(and calls the relevant jar formatted file of GTS test by gts-tradefed.bat).
Autoexec generation unit 23 generates the autoexec of the spanned file of removing the CTS test: clear.bat(and eliminates the spanned file of described CTS test by clear.bat on repeating the impact of CTS test).
Autoexec generation unit 23 generates the autoexec of downloading android-cts external member, GTS external member, multimedia test resource: downlist.bat.
Preferably, autoexec generation unit 23 has also generated the autoexec that enters fast the test platform entrance: start.bat; And, autoexec generation unit 23 has also generated other the complementary file that is applicable to the windows environment, comprising: cts-tradefed-4.0.x.jar, cts-tradefed-4.1.x.jar, adb.exe, cmd.exe, ls.exe, vi.exe, scp.exe, rm.exe, mv.exe, chmod.exe etc.; Autoexec generation unit 23 also is placed on above-mentioned complementary file consolidation under " CtsTool/tools " catalogue, and the start.bat autoexec is placed under " CtsTool/ " catalogue.Because the cmd of part windows system command terminal is not supported the CTS test platform, the cmd command terminal that can allow the CTS test platform not use the windows system to carry by the cmd.exe program; Can save the user by the adb.exe program and install again and dispose the adb environment.By mutual ingenious the calling between the files such as mentioned order file and above-mentioned autoexec, realize simple and easy CTS test under the Windows environment.More optimizedly, java1.6 and above version are installed in advance to carry out the CTS test under the windows environment.
Present embodiment provides a kind of compatibility testing platform to build device, generate the android.core.vm-tests-tf test pack of the android-cts external member that is used for the windows environment by the core.vm-tests-tf generation unit, the one nativemeida generation unit generate to be used for the android.nativemeida test pack of android-cts external member of windows environment and the test pack that android.nativemeida.s1 test pack that the 2nd nativemeida generation unit generates the android-cts external member that is used for the windows environment and android.nativemeida.xa test pack etc. are applicable to the CTS test under the windows environment, the control documents generation unit recompilates and generates the control documents of the compatibility test that is used for the windows environment, realizes that the CTS under the windows environment tests to generate the test result report; Effect more preferably, the autoexec generation unit generate to be used for the autoexec of CTS test to simplify the CTS test under the windows environment; The device that present embodiment provides has more hommization to the unfamiliar tester of linux environment is provided convenience.
The embodiment of the invention provides a kind of compatibility testing platform building method and device, { { the CTS_ROOT} variable is to realize the CTS test under the windows environment for JAR_PATH} variable and $ by pre-configured $, and the rear grammer that generates the batch processing operation java file that is applicable under the windows environment of modification, generate the android.core.vm-tests-tf test pack of the android-cts external member that is used for the windows environment, generate to be used for the windows environment the android-cts external member the android.nativemeida test pack and generate the android.nativemeida.s1 test pack of the android-cts external member that is used for the windows environment and android.nativemeida.xa test pack etc. is applicable to the test pack of the CTS test under the windows environment, recompilate and generate the control documents of the compatibility test that is used for the windows environment, realize that the CTS under the windows environment tests to generate the test result report, more optimizedly, test with the CTS that simplifies under the windows environment by generating the autoexec that is used for the CTS test; The embodiment of the invention has more hommization for the unfamiliar tester of linux environment is provided convenience.
It will be appreciated by those skilled in the art that the unit that comprises for above-described embodiment two is to divide according to function logic, but be not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional unit also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
Those of ordinary skills it is also understood that, realize that all or part of step in above-described embodiment method is to come the relevant hardware of instruction to finish by program, described program can be in being stored in a computer read/write memory medium, described storage medium comprises ROM/RAM, disk, CD etc.
Above content is the further description of the present invention being done in conjunction with concrete preferred implementation, can not assert that implementation of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention; make without departing from the inventive concept of the premise some alternative or obvious modification that are equal to; and performance or purposes are identical, all should be considered as belonging to the scope of patent protection that the present invention is determined by claims of submitting to.

Claims (10)

1. a compatibility testing platform building method is characterized in that, described method comprises:
Generate the test pack of the android-cts external member that is used for the windows environment;
Generate the control documents of the compatibility test that is used for the windows environment to be used for compatibility test, described compatibility test is the CTS test.
2. the method for claim 1 is characterized in that, described generation also comprises for the step of the test pack of the android-cts external member of windows environment:
Generate the android.core.vm-tests-tf test pack of the android-cts external member that is used for the windows environment.
3. the method for claim 1 is characterized in that, described generation also comprises for the step of the test pack of the android-cts external member of windows environment:
Generate the android.nativemeida test pack of the android-cts external member that is used for the windows environment.
4. the method for claim 1 is characterized in that, described generation also comprises for the step of the test pack of the android-cts external member of windows environment:
Generate android.nativemeida.s1 test pack and the android.nativemeida.xa test pack of the android-cts external member that is used for the windows environment.
5. the method for claim 1 is characterized in that, described generation is used for the control documents of compatibility test of windows environment being used for after the step of compatibility test, and described method also comprises:
Generate the autoexec that is used for starting the CTS test console;
Generate the autoexec that the apk relevant with the CTS test is installed;
Generate the autoexec of downloading the android-cts external member;
Generate the upload media test resource to the autoexec of equipment assigned catalogue;
Generate the autoexec of downloads of media test resource;
Generate the autoexec of synchronous CTS test platform.
6. a compatibility testing platform is built device, it is characterized in that, described device comprises:
The test pack generation unit is used for generating the test pack for the android-cts external member of windows environment;
The control documents generation unit, the control documents that is used for generating the compatibility test that is used for the windows environment is to be used for compatibility test, and described compatibility test is the CTS test.
7. device as claimed in claim 6 is characterized in that, described test pack generation unit also comprises:
The core.vm-tests-tf generation unit is used for generating the android.core.vm-tests-tf test pack for the android-cts external member of windows environment.
8. device as claimed in claim 6 is characterized in that, described test pack generation unit also comprises:
The one nativemeida generation unit is used for generating the android.nativemeida test pack for the android-cts external member of windows environment.
9. device as claimed in claim 6 is characterized in that, described test pack generation unit also comprises:
The 2nd nativemeida generation unit is used for generating android.nativemeida.s1 test pack and android.nativemeida.xa test pack for the android-cts external member of windows environment.
10. device as claimed in claim 6 is characterized in that, described device also comprises:
The autoexec generation unit, be used for generating the autoexec that is used for starting the CTS test console, generate the autoexec that the apk relevant with the CTS test is installed, generate the upload media test resource to the autoexec of equipment assigned catalogue, generate the autoexec of downloading the android-cts external member, generate the autoexec of downloads of media test resource, generate the autoexec of synchronous CTS test platform.
CN201310017921.4A 2013-01-17 2013-01-17 A kind of compatibility testing platform building method and device Expired - Fee Related CN103077115B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310017921.4A CN103077115B (en) 2013-01-17 2013-01-17 A kind of compatibility testing platform building method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310017921.4A CN103077115B (en) 2013-01-17 2013-01-17 A kind of compatibility testing platform building method and device

Publications (2)

Publication Number Publication Date
CN103077115A true CN103077115A (en) 2013-05-01
CN103077115B CN103077115B (en) 2015-12-23

Family

ID=48153648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310017921.4A Expired - Fee Related CN103077115B (en) 2013-01-17 2013-01-17 A kind of compatibility testing platform building method and device

Country Status (1)

Country Link
CN (1) CN103077115B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335292A (en) * 2015-11-12 2016-02-17 广州华多网络科技有限公司 Application compatibility testing method and system
CN106484612A (en) * 2015-08-27 2017-03-08 谷歌公司 System and method for equipment compatibility test and report
CN109039644A (en) * 2018-06-29 2018-12-18 漳州万利达科技有限公司 A kind of TEE authentication key detection method and system
CN109643270A (en) * 2016-08-24 2019-04-16 谷歌有限责任公司 Multi-layer testing external member generates

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100218168A1 (en) * 2009-02-23 2010-08-26 Gonzales Ii Jesus Orlando System and Method for Generating a Test Environment Script File
CN102110053A (en) * 2011-03-18 2011-06-29 广东欧珀移动通信有限公司 Random testing method based on Android
CN102289374A (en) * 2011-08-31 2011-12-21 中兴通讯股份有限公司 Method and device for constructing cross-platform software running environment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100218168A1 (en) * 2009-02-23 2010-08-26 Gonzales Ii Jesus Orlando System and Method for Generating a Test Environment Script File
CN102110053A (en) * 2011-03-18 2011-06-29 广东欧珀移动通信有限公司 Random testing method based on Android
CN102289374A (en) * 2011-08-31 2011-12-21 中兴通讯股份有限公司 Method and device for constructing cross-platform software running environment

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
LONGZH_CN: "在windows上运行Android4.0的CTS测试", 《CSDN博客》 *
LZN: "For run Android 4.0+ CTS on windows", 《STACKOVERFLOW》 *
LZN: "For run Android 4.0+ CTS on windows", 《STACKOVERFLOW》, 12 January 2012 (2012-01-12), pages 1 - 2 *
王黨軍: "Windows 环境android CTS 配置", 《WINDOWS 环境ANDROID CTS 配置》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484612A (en) * 2015-08-27 2017-03-08 谷歌公司 System and method for equipment compatibility test and report
US10210064B2 (en) 2015-08-27 2019-02-19 Google Llc Systems and methods for device compatibility testing and reporting
CN106484612B (en) * 2015-08-27 2019-09-20 谷歌有限责任公司 The system and method tested and reported for equipment compatibility
CN105335292A (en) * 2015-11-12 2016-02-17 广州华多网络科技有限公司 Application compatibility testing method and system
CN109643270A (en) * 2016-08-24 2019-04-16 谷歌有限责任公司 Multi-layer testing external member generates
CN109643270B (en) * 2016-08-24 2022-03-11 谷歌有限责任公司 Method and system for multi-layer test suite generation
CN109039644A (en) * 2018-06-29 2018-12-18 漳州万利达科技有限公司 A kind of TEE authentication key detection method and system
CN109039644B (en) * 2018-06-29 2021-09-24 漳州万利达科技有限公司 TEE authentication key detection method and system

Also Published As

Publication number Publication date
CN103077115B (en) 2015-12-23

Similar Documents

Publication Publication Date Title
CN101714107A (en) Database backup and recovery method and device in ERP system
US9104511B2 (en) Method and computation node for processing application data
CN102455929B (en) Method for conveniently generating original equipment manufacturer (OEM) Linux installation mirror image
CN103177078A (en) Method and system for processing theme package
CN101414257B (en) Method and device for implementing software interface
CN103365644A (en) Method and device for expanding software functions
CN103049708B (en) A kind of audit collocation method of database and system
CN101308458A (en) Method and device for software customized development
CN103077115A (en) Set-up method and device for compatibility test platform
CN107193544A (en) A kind of application component melts forwarding method and device
CN105320578A (en) Method and apparatus for backing up and recovering APP
CN104375933A (en) Unit testing method and device
CN102446090B (en) Method and device for automatically generating test script
CN105824678A (en) Method and device for installing operating system
CN101957771A (en) Method and device for installing mobile software for multiple mobile phones simultaneously
CN105912362A (en) Method and device for loading plug-in and electronic equipment
CN105278971A (en) Mobile terminal installation package batch generation method and device
CN104424239A (en) Resource file loading method and device
CN104035766A (en) Android system trimming method based on coverage rate test
CN101753360B (en) Method applying system start-up, parallel management system and application management system
CN104063306A (en) Automatic login method, device and system in intelligent terminal software testing
CN110543416A (en) Method, device, equipment and storage medium for automatically testing terminal program
CN103389927A (en) Data recovery method, device and system
CN115292169A (en) UI automation test method and system
CN104065513A (en) Intelligent router management method and related user terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151223