Reuse the test suite code template and fill the test suite driver table.
重用测试套件代码模版并填写测试套件驱动表。
Create the decision scripts with a code template and fill the decision tables.
使用一个代码模版建立决策脚本,并填写决策表。
You can easily combine Listings 3 and 5 to make a generic code template handler.
您可以轻松地将清单3和清单5组合起来,获得一个通用代码模板处理器。
Problems discovered during unit testing are fixed in the corresponding pattern or code template, not in the generated code.
单元测试期间发现的问题在相应的模式或代码模板中就可以修改,而不是在生成的代码中修改。
This opens a wizard in which you can assign the code template a name, and then define template Parameters and a Body (Figure 29).
这将打开向导,其中您可以指定代码模板的名称,然后定义TemplateParameters和Body(图29)。
Binding a code template to an operation in a pattern will cause that code to be generated when the code and model are synchronized.
在模式中,当代码和模式同步时,把代码模板绑定到一个操作,便会生成相应代码。
Figure 9: Code template for a decision script
图9:决策脚本的代码模版
Figure 5: Code template for a test suite script.
图5:测试套件脚本的代码模版。
Code template parameters are used in a manner similar to the pattern template parameters.
代码模板参数使用的方式与模式模板参数很相似。
Code template parameters are used in a manner similar to the pattern template parameters.
代码模板参数使用的方式与模式模板参数很相似。
应用推荐