Unit test method and its device
A technology for unit testing and being tested, applied in the field of unit testing methods and devices, can solve problems such as inconvenient code version management, and achieve the effect of facilitating unified management, reducing differences, and maintaining integrity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0042] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments, but not as a limitation of the present invention.
[0043] Take PowerPc CPU as example below, describe the realization method of dynamic piling of the present invention in detail, as figure 1 As shown, it is the stub function call relationship and path of the present invention, figure 2 Describes the unit test flow chart of the present invention; before explaining the implementation method, first explain the use method, and use it in several steps:
[0044] a1) Carry out piling, the form is as follows:
[0045] install_stub(B, stub_B, NULL);
[0046] The final parameter NULL is the condition function _condition(). Before executing the stub function, use the _condition() function to judge whether to execute the stub function stub_B() or return to the original function B() to continue execution;
[0047] a2) The path control function path_ctr...
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