Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

A static library testing method and device

A testing method and testing device technology, applied in the computer field, can solve the problems of cumbersome testing process, low efficiency, non-reusable executable files, etc., and achieve the effect of improving testing efficiency and reducing complexity

Active Publication Date: 2018-02-16
ALIBABA GRP HLDG LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a static library testing method and device to solve the problems in the existing static library testing methods that the executable files used for testing cannot be reused, the testing process is cumbersome, and the efficiency is low

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A static library testing method and device
  • A static library testing method and device
  • A static library testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046]In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described The embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0047] figure 1 It is a flow chart of a static library testing method provided by the embodiment of this application.

[0048] see figure 1 , the static library test method includes the following steps:

[0049] S11. Compile the static library to be tested into a dynamic library with a preset interface.

[0050] The static library test...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The application discloses a static library test method and apparatus. According to the static library test method and apparatus, a to-be-tested static library is compiled into a dynamic library with preset interfaces, a framework file with call interfaces in one-to-one correspondence with the preset interfaces is obtained, the framework file is executed, and the preset interfaces are called through the call interfaces, so that corresponding codes or data in the dynamic library are executed; and a practical execution result of the framework file can reflect a practical execution result of the to-be-tested static library, so that performance information of the static library can be obtained by analyzing the practical execution result of the framework file. The preset interfaces for realizing the calling of the dynamic library are unified, so that the corresponding call interfaces in the framework file are also fixed, the framework file can be reused by any to-be-tested static library, it is not required that a corresponding framework file is set for each static library, the complexity of a test process can be lowered, and the test efficiency can be improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a static library testing method and device. Background technique [0002] During the programming process, the same piece of code or data may be applied to different programs, or may be called multiple times in the same program; in order to improve programming efficiency, these codes and data that are used repeatedly are usually compiled into a public function library, It is convenient for program calling. The above-mentioned function library includes static library and dynamic library. [0003] In order to ensure the correctness of the code, it is necessary to test the function library. For static libraries, since their files are just a combination of some target programs, they cannot be run directly. Therefore, the commonly used static library testing method is: write a piece of code to call the static library, generate an executable file, run the executable file, and analyz...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
Inventor 刘晶匡波丁世远
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products