Device for implementing general use pile function in unit test and implementing method thereof
A technology of unit testing and implementation methods, applied in software testing/debugging, etc., can solve problems such as high requirements for testing tools, small implementation difficulty, and heavy workload, so as to improve reusability and flexibility, and reduce compilation times Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0051] figure 1Shown is a structural block diagram of the test system in the present invention, the system 100 includes an extraction module 110, a symbol table module 120, a driver function module 130, a tested module 140, a general stub function module 150, a buffer module 160 and a client terminal 170, wherein the user The test case (including the parameters after the called function is executed, the global variable, and the return value) is input into the buffer module 160 by the client 170, and the general stub function module 150 is the main part of the present invention. By interacting with the buffer module 160, it is obtained The output parameter value, global variable value and return value of pile function, and set up corresponding stack and register; The buffer application program interface (API), the buffer module structure mainly includes the following fields: Index-parameter index, VarName-global variable name, size-occupied byte size, pointerflag-whether it is ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com