The macro expects a string that is the name of the test suite.
这个宏需要一个字符串作为测试套件的名称。
Just making a call to the predefined RUN_ALL_TESTS macro does the trick, as opposed to creating or deriving a separate runner class for test execution.
只需调用预定义的run_all_tests宏,而不需要通过创建或驱动单独的运行器类来执行测试。
Each test suite (for example, ts1 in Listing 17) is created by using the macro BOOST_TEST_SUITE.
每个测试套件(比如清单17中的ts1)都是使用BOOST _ test_suite宏创建的。
The trick to test coverage measurement is to use the coverage report to expose code that hasn't been tested, on a micro level and on a macro level.
测试覆盖度量的窍门是使用覆盖报告找出未经测试的代码,分别在微观和宏观两个级别。
Note that RUN_ALL_TESTS automatically detects and runs all the tests defined using the test macro.
注意,RUN_ALL_TESTS自动地探测并运行用test宏定义的所有测试。
The CPPUNIT_TEST_SUITE macro, defined in HelperMacros.h, simplifies creating a test suite and adding individual tests to it.
在HelperMacros . h中定义的CPPUNIT _ test_suite宏可以简化创建测试套件并在其中添加测试的流程。
On running this test, the BOOST_CHECK macro fails despite the fact that you're using the SQRT function provided as part of the standard library.
运行这个测试时,尽管使用的是作为标准库一部分提供的sqrt函数,boost_check宏仍然会失败。
The quality analysis for gas nitrocarburized inner gear ring of heavy truck imported from Austria was taken by means of macro/micro-examination, hardness measuring and running test.
利用宏观分析、显微检验、硬度测试和装车试验等手段,对引进奥地利重型汽车内齿圈按照新的气体氮碳共渗工艺处理后的质量进行了研究。
The simulated test mainly simulates the basic situation of the farmland, determines the content of nitrogen in soil drench solution, and adopts semi-micro Macro Kjeldahl method.
模拟试验主要模拟农田的基本情况,测定土壤淋溶液中氮的含量,采用半微量开氏法。
Thus failure analysis was conducted for the steel dies using macro and micro test methods.
采用宏、微观检测方法,对模具失效原因进行了分析。
A simple method which is used to test the CNC system GSK980TA I/O interface with the system self-taking macro program is introduced.
本文介绍通过采用系统自带的宏程序,来测试GSK980TA数控系统输入输出口的简单方法。
The results show that beam offset can greatly affect the macro performance of Laser tailor-welded weld , then affect the cupping Test value and tensile strength unconspicuous.
结果表明,光束偏移量对激光焊缝宏观形貌有很大的影响,而对焊缝杯突值及抗拉强度无明显影响。
The failure cause of the tubing was studied by macro and micro analysis, physical and chemical properties testing, X-ray energy spectrum analysis and stimulated corrosion test.
通过宏观和微观分析、理化性能检验、X射线衍射和模拟试验,对腐蚀油管进行了失效分析。
A test analysis is made on macro-failure and micro-failure characteristics, metallography and corrosion mediums of U-type stainless steel bellows type expansion joints leaked.
对发生泄漏的不锈钢u型波纹管补偿器的宏观失效特征、微观失效特征、金相、腐蚀介质进行试验分析。
Mainly test, on the combination of macro and micro analysis method of combining perspective, showing the Ming Dynasty, "Mencius" Textual Criticism of the true picture.
主要采用考、论结合,宏观剖析与微观透视相结合的方法,展示明代《孟子》考据学的真实全貌。
Objective To establish a limit test of benzene-series residues in the total-saponins of separated and purified by macro reticular resin Panax quinque folium L.
目的建立大孔树脂分离纯化西洋参总皂苷的苯系残留限量检查方法。
The foreign research on macro stress test of banking system was already systemic. The global financial crisis made it clear that stress test was important for macro-prudential regulation.
国外对于银行体系宏观压力测试的研究已较为系统,全球金融危机进一步凸显了压力测试对于银行体系宏观审慎监管的重要作用。
The foreign research on macro stress test of banking system was already systemic. The global financial crisis made it clear that stress test was important for macro-prudential regulation.
国外对于银行体系宏观压力测试的研究已较为系统,全球金融危机进一步凸显了压力测试对于银行体系宏观审慎监管的重要作用。
应用推荐