CN103077115B - A kind of compatibility testing platform building method and device - Google Patents

A kind of compatibility testing platform building method and device Download PDF

Info

Publication number
CN103077115B
CN103077115B CN201310017921.4A CN201310017921A CN103077115B CN 103077115 B CN103077115 B CN 103077115B CN 201310017921 A CN201310017921 A CN 201310017921A CN 103077115 B CN103077115 B CN 103077115B
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.)
Expired - Fee Related
Application number
CN201310017921.4A
Other languages
Chinese (zh)
Other versions
CN103077115A (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

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The present invention is applicable to field tests, provide a kind of compatibility testing platform building method and device, described method comprises: generate the test pack in the android-cts external member being used for windows environment, generate the control documents of the compatibility test being used for windows environment for compatibility test, described compatibility test is CTS test; The present invention, generates the test pack of the CTS test being applicable to windows environment, thus achieves carry out CTS test under windows environment, and generate the report of CTS test result, provided convenience, have more hommization to the unfamiliar tester of linux environment.

Description

A kind of compatibility testing platform building method and device
Technical field
The invention belongs to field tests, particularly relate to a kind of compatibility testing platform building method and device.
Background technology
The compatibility test external member be applicable on linux system that compatibility test instrument (CompatibilityTestSuite, CTS) designs for Google, carries out CTS test for calling CTS external member in linux system, but, tester normally carries out daily CTS test job under a windows environment, therefore, need for every CTS tester additionally add one linux system is housed and the computer putting up CTS environment to carry out CTS test, meanwhile, require that again tester possesses the basic operating technical ability worked under linux system and command terminal, comprise: the file between linux system and Windows system and the transmission of test report, switching between above-mentioned two kinds of different work systems, for extremely inconvenient tester, if above-mentioned two kinds of different work systems exist more remote, work efficiency will be had a strong impact on.
CTS external member is write based on Java language, and the configuration therefore carrying out java working environment under Windows is correctly called afterwards, can open CTS control desk and test; But, carry out CTS test under a windows environment, there are some problems: partial test bag (such as: androidcore.vm-tests-tf) cannot be tested in test process, test may be caused to cut off, cannot continue to perform, if now close a terminal by force, the CTS external member later for android-cts-4.0 version can not generate test report.
Summary of the invention
The object of the embodiment of the present invention is to provide compatibility testing platform building method, when to carry out CTS test to solve under windows environment, and the problem that partial test bag cannot be tested.
The embodiment of the present invention is achieved in that a kind of compatibility testing platform building method, and described method comprises:
Generate the test pack in the android-cts external member being used for windows environment;
Generate the control documents of the compatibility test being used for windows environment for compatibility test, described compatibility test is CTS test.
Another object of the embodiment of the present invention is to provide a kind of compatibility testing platform to build device, and described device comprises:
Test pack generation unit, for generating for the test pack in the android-cts external member of windows environment;
Control documents generation unit, for generating control documents for the compatibility test of windows environment for compatibility test, described compatibility test is CTS test.
The invention provides a kind of compatibility testing platform building method and device, described method comprises: generate the test pack in the android-cts external member being used for windows environment, generate the control documents of the compatibility test being used for windows environment for compatibility test, described compatibility test is CTS test; When carrying out CTS test under windows environment, the present invention is directed to the test pack that part cannot be applicable to the CTS test of windows environment, generate the test pack of the CTS test being applicable to windows environment, thus achieve under windows environment, to complete CTS test, and generate the report of CTS test result, the unfamiliar tester of linux environment is provided convenience, is had more hommization.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the realization flow figure of the compatibility testing platform building method that the embodiment of the present invention one provides;
Fig. 2 is the composition structural drawing that compatibility testing platform that the embodiment of the present invention two provides builds device;
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, 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, be not intended to limit the present invention.
In order to technical solutions according to the invention are described, be described below by specific embodiment.
embodiment one:
The compatibility testing platform that Fig. 1 shows first embodiment of the invention to be provided builds realization flow, and details are as follows for its process:
Step S101, generates the test pack in the android-cts external member being used for 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 indicating.
When electronic product develops, and after having customized the android system of oneself, need to be tested by up-to-date CTS, to ensure that application program normally can be run under this Android platform; After being tested by CTS, test report is submitted to Google, if obtain the certification of androidmarket, then, in the application process of application program in android system of CTS test, have more superiority, have better Consumer's Experience.
Android-cts external member is a CTS testing tool operated by order line.But at present, android-cts external member does not provide the beta version of windows environment.
Step S101 generates the test pack in the android-cts external member being used for windows environment, especially generating portion be applicable to linux environment but be not suitable for the test pack of windows environment, such as: ndroid.core.vm-tests-tf test pack.
Preferably, before step S101, under windows environment, install java in advance and configure 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 is used for the step of the test pack in the android-cts external member of windows environment, can also comprise:
Generate the android.core.vm-tests-tf test pack in the android-cts external member being used for windows environment.
Generate the android.core.vm-tests-tf test pack be applicable in the android-cts external member of windows environment, and after recompilating the control documents generating compatibility test, carry out in the test process of CTS test at windows environment, can be implemented in equipment /data/local/tmp/vm-tests catalogue under create the operations such as dalvik-cache catalogue, under realizing windows environment, the CTS of android.core.vm-tests-tf test pack is tested.
Preferably, the amended VMHostTest.java file being applicable to windows environment can be obtained in advance, then generate the android.core.vm-tests-tf test pack be applicable in the android-cts external member of windows environment.
As one embodiment of the invention, described generation is used for the step of the test pack in the android-cts external member of windows environment, can also comprise:
Generate the android.nativemeida test pack in the android-cts external member being used for windows environment.
Generate the android.nativemeida test pack be applicable in the android-cts external member of windows environment, and after recompilating the control documents generating compatibility test, carry out in the test process of CTS test at windows environment, can be implemented in equipment /data/local/tmp catalogue under create the operation such as cts-native-tests catalogue and realize transmission dependence test file to the cts-native-tests operation such as now, under realizing windows environment, the CTS of android.nativemeida test pack is tested.
Preferably, the amended GeeTest.java file being applicable to windows environment can be obtained in advance, then generate the amended android.nativemeida test pack be applicable in the android-cts external member of windows environment.
As one embodiment of the invention, described generation is used for the step of the test pack in the android-cts external member of windows environment, can also comprise:
Generate the android.nativemeida.s1 test pack in the android-cts external member being used for windows environment and android.nativemeida.xa test pack.
In android-cts-4.1 external member, obtain amended the VMHostTest.java file and the GeeTest.java file that are applicable to the CTS test of windows environment, regenerate android.nativemeida.s1 test pack and android.nativemeida.xa test pack, and after recompilating the control documents generating compatibility test, carry out in the test process of CTS test at windows environment, can be implemented in equipment /data/local/tmp catalogue under create the operation such as cts-native-tests catalogue and realize transmission dependence test file to the cts-native-tests operation such as now, under realizing windows environment, the CTS of android.nativemeida.s1 test pack and android.nativemeida.xa test pack is tested.
Step S102, generates the control documents of the compatibility test being used for windows environment for compatibility test, and described compatibility test is CTS test.
The control documents of described compatibility test, Ke Yiwei: cts-tradefed.jar file or cts-tradefed-4.0.x.jar or cts-tradefed-4.1.x.jar etc. are for the control documents of compatibility test.
After completing steps S101, recompilate and generate the control documents of compatibility test, realizing the CTS test under windows environment; More optimizedly, the control documents of the compatibility test regenerated is replaced the control documents of original compatibility test, or delete the control documents of original compatibility test, or revise the operation such as filename of control documents of original compatibility test, to realize the control documents of the compatibility test regenerated described in the existence of lower of this catalogue, there is not the control documents of other compatibility test of duplication of name, in order to avoid affect the CTS test under windows environment.
In addition, preferably, more normally carrying out under windows environment to realize CTS test, { JAR_PATH} variable and { CTS_ROOT} variable runs the grammer of java file to generate the batch processing be applicable under windows environment after realizing CTS test under windows environment, amendment and generates the autoexec etc. of the cts-tradefed.bat for starting CTS test under windows environment fast can be reconfigured.
As one embodiment of the invention, after the step of the control documents of compatibility test that described generation is used for windows environment for compatibility test, described method can also comprise:
Generate the autoexec for starting CTS test console;
Generate the autoexec installed and test relevant apk to CTS;
Generate the autoexec of upload media test resource to equipment assigned catalogue;
Generate the autoexec downloading 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 the CTS test under windows environment better, easily, generate the autoexec for starting CTS test console in advance: cts-tradefed.bat(can call the jar formatted file under the control documents of compatibility test and android-cts external member/tools catalogue by cts-tradefed.bat).
Generate the autoexec installed and test relevant apk to CTS: cts-apk.bat.
Generate the autoexec of upload media test resource to equipment assigned catalogue: push-media.bat.
Generate the autoexec down-cts.bat downloading 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 starting GTS test console: gts-tradefed.bat(calls the relevant jar formatted file of GTS test by gts-tradefed.bat).
Generate the autoexec of the spanned file removing CTS test: clear.bat(eliminates the spanned file of described CTS test to the impact repeating CTS test by clear.bat).
Generate the autoexec downloading android-cts external member, GTS external member, multimedia test resource: downlist.bat.
Preferably, the autoexec entering test platform entrance fast is also generated: start.bat; And also generate other the complementary file being applicable to 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 under above-mentioned complementary file consolidation is placed on " CtsTool/tools " catalogue, under start.bat autoexec being placed on " CtsTool/ " catalogue.Because part windows system cmd command terminal does not support CTS test platform, the cmd command terminal that CTS test platform can be allowed not use windows system to carry by cmd.exe program; User can be saved by adb.exe program install again and configure adb environment.Called by mutually ingenious between the files such as mentioned order file and above-mentioned autoexec, simple and easy CTS test under realizing Windows environment.More optimizedly, java1.6 and above version are installed in advance under windows environment to carry out CTS test.
Present embodiments provide compatibility testing platform building method, by generating the android.core.vm-tests-tf test pack in the android-cts external member being used for windows environment, generate the android.nativemeida test pack in the android-cts external member being used for windows environment and generate the test pack being applicable to the CTS test under windows environment for the android.nativemeida.s1 test pack in the android-cts external member of windows environment and android.nativemeida.xa test pack etc., recompilate and generate the control documents of compatibility test being used for windows environment, the CTS realized under windows environment tests to generate test result report, test with the CTS simplified under windows environment by generating the autoexec being used for CTS test, the method that the present embodiment provides is provided convenience to the unfamiliar tester of linux environment, has more hommization.
embodiment two:
The compatibility testing platform that Fig. 2 shows second embodiment of the invention to be provided builds the composition structure of device, for convenience of description, illustrate only the part relevant to the embodiment of the present invention.
It can be run on the unit that software unit, hardware cell or software and hardware in each terminal device (such as computer) combine that this compatibility testing platform builds device, also can be integrated in described terminal device as independently suspension member or run in the application system of described terminal device.
Present embodiments provide compatibility testing platform and build device, can comprise test pack generation unit 21 and control documents generation unit 22, wherein details are as follows for each functional unit:
Test pack generation unit 21, for generating for the test pack in 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 indicating.
Test pack generation unit 21 generates the test pack in the android-cts external member being used for windows environment, especially generating portion be applicable to linux environment but be not suitable for the test pack of windows environment, such as: 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, for generating for the android.core.vm-tests-tf test pack in the android-cts external member of windows environment.
Core.vm-tests-tf generation unit 211 generates the amended android.core.vm-tests-tf test pack be applicable in the android-cts external member of windows environment; After recompilating the control documents generating compatibility test, carry out in the test process of CTS test at windows environment, core.vm-tests-tf generation unit 211 can be implemented in equipment /data/local/tmp/vm-tests catalogue under create the operations such as dalvik-cache catalogue, under realizing windows environment, the CTS of android.core.vm-tests-tf test pack is tested.
Preferably, core.vm-tests-tf generation unit 211 can obtain the VMHostTest.java file being applicable to windows environment in advance, then generates the android.core.vm-tests-tf test pack be applicable in the android-cts external member of windows environment.
Preferably, before test pack generation unit 21, under windows environment, install java in advance and configure 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:
One nativemeida generation unit 212, for generating for the android.nativemeida test pack in the android-cts external member of windows environment.
In the present embodiment, one nativemeida generation unit 212 generates the amended android.nativemeida test pack be applicable in the android-cts external member of windows environment, and after recompilating the control documents generating compatibility test, carry out in the test process of CTS test at windows environment, can be implemented in equipment /data/local/tmp catalogue under create the operation such as cts-native-tests catalogue and realize transmission dependence test file to the cts-native-tests operation such as now, under realizing windows environment, the CTS of android.nativemeida test pack is tested.
Preferably, a nativemeida generation unit 212 can obtain the GeeTest.java file being applicable to windows environment in advance, then generates the android.nativemeida test pack be applicable in the android-cts external member of windows environment.
As one embodiment of the invention, described test pack generation unit 21, can also comprise:
2nd nativemeida generation unit 213, for generating for the android.nativemeida.s1 test pack in the android-cts external member of windows environment and android.nativemeida.xa test pack.
In android-cts-4.1 external member, 2nd nativemeida generation unit 213 obtains amended the VMHostTest.java file and the GeeTest.java file that are applicable to the CTS test of windows environment, regenerates android.nativemeida.s1 test pack and android.nativemeida.xa test pack; After recompilating the control documents generating compatibility test, carry out in the test process of CTS test at windows environment, can be implemented in equipment /data/local/tmp catalogue under create the operation such as cts-native-tests catalogue and realize transmission dependence test file to the cts-native-tests operation such as now, under realizing windows environment, the CTS of android.nativemeida.s1 test pack and android.nativemeida.xa test pack is tested.
Control documents generation unit 22, for generating control documents for the compatibility test of windows environment for compatibility test, described compatibility test is CTS test.
The control documents of described compatibility test, Ke Yiwei: cts-tradefed.jar file or cts-tradefed-4.0.x.jar or cts-tradefed-4.1.x.jar etc. are for the control documents of compatibility test.
Generated after for the test pack in the android-cts external member of windows environment at test pack generation unit 21, control documents generation unit 22 recompilates and generates the control documents of compatibility test, realizes the CTS test under windows environment; More optimizedly, control documents generation unit 22 replaces the control documents of original compatibility test by regenerating the control documents putting into compatibility test, or delete the control documents of original compatibility test, or revise the operation such as filename of control documents of original compatibility test, to realize the control documents of the compatibility test regenerated described in the existence of lower of this catalogue, there is not the control documents of other compatibility test of duplication of name, in order to avoid affect the CTS test under windows environment.
In addition, preferably, more normally carry out under windows environment to realize CTS test, can reconfigure JAR_PATH} variable and CTS_ROOT} variable realizing CTS test under windows environment, generate the batch processing be applicable under windows environment and run the grammer of java file and generate the autoexec etc. of the cts-tradefed.bat for starting CTS test under windows environment fast.
As one embodiment of the invention, described device can also comprise:
Autoexec generation unit 23, for generating the autoexec for starting CTS test console, generate the autoexec installed and test relevant apk to CTS, generate the autoexec downloading android-cts external member, generate the autoexec of upload media test resource to equipment assigned catalogue, generate the autoexec of downloads of media test resource, generate the autoexec of synchronous CTS test platform.
In order to realize the CTS test under windows environment better, easily, autoexec generation unit 23 generates the autoexec for starting CTS test console in advance: cts-tradefed.bat(can calling the jar formatted file under the control documents of compatibility test and android-cts external member/tools catalogue by cts-tradefed.bat).
Autoexec generation unit 23 generates the autoexec installed and test relevant apk to CTS: cts-apk.bat.
Autoexec generation unit 23 generates the autoexec of upload media test resource to equipment assigned catalogue: push-media.bat.
Autoexec generation unit 23 generates the autoexec down-cts.bat downloading 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 starting GTS test console: gts-tradefed.bat(calls the relevant jar formatted file of GTS test by gts-tradefed.bat).
Autoexec generation unit 23 generates the autoexec of the spanned file removing CTS test: clear.bat(eliminates the spanned file of described CTS test to the impact repeating CTS test by clear.bat).
Autoexec generation unit 23 generates the autoexec downloading android-cts external member, GTS external member, multimedia test resource: downlist.bat.
Preferably, autoexec generation unit 23 also generates the autoexec entering test platform entrance fast: start.bat; And, autoexec generation unit 23 also generates other the complementary file being applicable to 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 under above-mentioned complementary file consolidation is placed on " CtsTool/tools " catalogue, under being placed on " CtsTool/ " catalogue by start.bat autoexec.Because part windows system cmd command terminal does not support CTS test platform, the cmd command terminal that CTS test platform can be allowed not use windows system to carry by cmd.exe program; User can be saved by adb.exe program install again and configure adb environment.Called by mutually ingenious between the files such as mentioned order file and above-mentioned autoexec, simple and easy CTS test under realizing Windows environment.More optimizedly, java1.6 and above version are installed in advance under windows environment to carry out CTS test.
Present embodiments provide a kind of compatibility testing platform and build device, the android.core.vm-tests-tf test pack in the android-cts external member being used for windows environment is generated by core.vm-tests-tf generation unit, one nativemeida generation unit generates and generates for the android.nativemeida test pack in the android-cts external member of windows environment and the 2nd nativemeida generation unit the test pack being applicable to the CTS test under windows environment for the android.nativemeida.s1 test pack in the android-cts external member of windows environment and android.nativemeida.xa test pack etc., control documents generation unit recompilates and generates the control documents of the compatibility test being used for windows environment, the CTS realized under windows environment tests to generate test result report, more preferably, autoexec generation unit generates the autoexec being used for CTS test and tests with the CTS simplified under windows environment effect, the device that the present embodiment provides is provided convenience to the unfamiliar tester of linux environment, has more hommization.
Embodiments provide a kind of compatibility testing platform building method and device, by pre-configured $, { { CTS_ROOT} variable is to realize the CTS test under windows environment for JAR_PATH} variable and $, and after amendment, generate the grammer that the batch processing be applicable under windows environment runs java file, generate the android.core.vm-tests-tf test pack in the android-cts external member being used for windows environment, generate the android.nativemeida test pack in the android-cts external member being used for windows environment and generate the test pack being applicable to the CTS test under windows environment for the android.nativemeida.s1 test pack in the android-cts external member of windows environment and android.nativemeida.xa test pack etc., recompilate and generate the control documents of compatibility test being used for windows environment, the CTS realized under windows environment tests to generate test result report, more optimizedly, test with the CTS simplified under windows environment by generating the autoexec being used for CTS test, the embodiment of the present invention, for provide convenience to the unfamiliar tester of linux environment, has more hommization.
It will be appreciated by those skilled in the art that the unit comprised for above-described embodiment two is carry out dividing according to function logic, but be not limited to above-mentioned division, as long as corresponding function can be realized; 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 skill in the art it is also understood that, the all or part of step realized in above-described embodiment method is that the hardware that can carry out instruction relevant by program has come, described program can be stored in a computer read/write memory medium, described storage medium, comprises ROM/RAM, disk, CD etc.
Above content is in conjunction with concrete preferred implementation further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention; make some equivalent alternative or obvious modification without departing from the inventive concept of the premise; and performance or purposes identical, all should be considered as belonging to the scope of patent protection that the present invention is determined by submitted to claims.

Claims (8)

1. a compatibility testing platform building method, is characterized in that, described method comprises:
Generate the test pack in the android-cts external member being used for windows environment;
Generate the control documents of the compatibility test being used for windows environment for compatibility test, described compatibility test is CTS test, and the control documents of the described compatibility test for windows environment comprises cts-tradefed.jar file, cts-tradefed-4.0.x.jar file or cts-tradefed-4.1.x.jar file;
The test pack that described generation is used in the android-cts external member of windows environment comprises:
Obtain the amended GeeTest.java file being applicable to windows environment in advance, generate the amended android.nativemeida test pack be applicable in the android-cts external member of windows environment.
2. the method for claim 1, is characterized in that, described generation is used for the step of the test pack in the android-cts external member of windows environment, also comprises:
Generate the android.core.vm-tests-tf test pack in the android-cts external member being used for windows environment.
3. the method for claim 1, is characterized in that, described generation is used for the step of the test pack in the android-cts external member of windows environment, also comprises:
Generate the android.nativemeida.s1 test pack in the android-cts external member being used for windows environment and android.nativemeida.xa test pack.
4. the method for claim 1, is characterized in that, after the step of the control documents of compatibility test that described generation is used for windows environment for compatibility test, described method also comprises:
Generate the autoexec for starting CTS test console;
Generate the autoexec installed and test relevant apk to CTS;
Generate the autoexec downloading android-cts external member;
Generate the autoexec of upload media test resource to equipment assigned catalogue;
Generate the autoexec of downloads of media test resource;
Generate the autoexec of synchronous CTS test platform.
5. compatibility testing platform builds a device, it is characterized in that, described device comprises:
Test pack generation unit, for generating for the test pack in the android-cts external member of windows environment;
Control documents generation unit, for generating control documents for the compatibility test of windows environment for compatibility test, described compatibility test is CTS test, and the control documents of the described compatibility test for windows environment comprises cts-tradefed.jar file, cts-tradefed-4.0.x.jar file or cts-tradefed-4.1.x.jar file;
Described test pack generation unit comprises:
One nativemeida generation unit, for obtaining the amended GeeTest.java file being applicable to windows environment in advance, generates the amended android.nativemeida test pack be applicable in the android-cts external member of windows environment.
6. device as claimed in claim 5, it is characterized in that, described test pack generation unit, also comprises:
Core.vm-tests-tf generation unit, for generating for the android.core.vm-tests-tf test pack in the android-cts external member of windows environment.
7. device as claimed in claim 5, it is characterized in that, described test pack generation unit, also comprises:
2nd nativemeida generation unit, for generating for the android.nativemeida.s1 test pack in the android-cts external member of windows environment and android.nativemeida.xa test pack.
8. device as claimed in claim 5, it is characterized in that, described device also comprises:
Autoexec generation unit, for generating the autoexec for starting CTS test console, generate the autoexec installed and test relevant apk to CTS, generate the autoexec of upload media test resource to equipment assigned catalogue, generate the autoexec downloading 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 CN103077115A (en) 2013-05-01
CN103077115B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3136242A1 (en) 2015-08-27 2017-03-01 Google, Inc. Systems and methods for device compatibility testing and reporting
CN105335292A (en) * 2015-11-12 2016-02-17 广州华多网络科技有限公司 Application compatibility testing method and system
US20180060221A1 (en) * 2016-08-24 2018-03-01 Google Inc. Multi-layer test suite generation
CN109039644B (en) * 2018-06-29 2021-09-24 漳州万利达科技有限公司 TEE authentication key detection method and system

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 (1)

* Cited by examiner, † Cited by third party
Title
王黨軍.Windows 环境android CTS 配置.《Windows 环境android CTS 配置》.2012,第1-2页. *

Also Published As

Publication number Publication date
CN103077115A (en) 2013-05-01

Similar Documents

Publication Publication Date Title
CN104468226B (en) Collocation method and device based on Nginx
US8949799B2 (en) Program log record optimization
CN103077115B (en) A kind of compatibility testing platform building method and device
CN102508669A (en) Automatic program code generating method
CN107193544A (en) A kind of application component melts forwarding method and device
CN102497424A (en) Method for achieving cloud storage through mobile storage device
CN102446090B (en) Method and device for automatically generating test script
CN104991860A (en) WEB front-end automated development method and system
CN111209001A (en) Method, system, equipment and medium for batch generation of APKs of android channels
CN104035766A (en) Android system trimming method based on coverage rate test
CN104424239A (en) Resource file loading method and device
CN104063284B (en) The method and apparatus running application program
CN104836686B (en) A kind of method and device for the configuration file generating server
CN102592034A (en) EMTDC (electro-magnetic transient in DC (direct current) system) playback simulation method based on fault recording data of SIMADYN D device
CN102662796A (en) Method and system for recovering data
CN106649081B (en) A kind of method and device that commissioning test wraps offline in client application
CN102567126B (en) Method and device for site reproduction of hardware
CN103389927A (en) Data recovery method, device and system
CN102801749B (en) A kind of dispositions method of J2ME application program and device
CN106354966B (en) The method of the conversion of chip id E project file and rapid configuration artificial debugging environment
CN115292169A (en) UI automation test method and system
CN115237399A (en) Method for collecting data, storage medium, processor and engineering vehicle
CN105740009B (en) Version upgrading method and terminal device
CN104077285A (en) File designation method and first electronic equipment
CN105204876A (en) System starting method and electronic equipment

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

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.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151223

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