Home > The Unit Test Framework > User's guide > Test organization > Nullary function based test case >
PrevNext

Nullary function based test case 基於無參函數的測試用例

The most widely used are test cases based on a nullary function. These include nullary free functions, nullary function objects created with boost::bind and nullary boost::function instances. The simplest is a free function and the UTF provides facilities to create a free function based test case that is automatically registered. Here are the two construction interfaces:
基於無參函數的測試用例是被最廣泛應用的。 包括無參的自由函數,由 boost::bind 創建的無參函數對象,以及無參的 boost::function 實例。 最簡單的是自由函數,UTF 提供創建基於自由函數的可被自動註冊的測試用例的工具。


PrevUpHomeNext