例如,您可以使用清单11来生成一个文本文件。
和每个用例有一个测试方法不同,我们有一个文本文件包含所期望的生成代码以及包含所期望编译器消息的可选文本文件。
Instead of having a test method per use case, we have a text file containing the expected generated code and a optional text file containing the expected compiler messages.
有了 JET 工具箱,您就可以使用包含文本和 JET 命令(标签)的模板来从一个模型生成文本文件。
With the JET toolkit, you can generate text files from a model by using templates that contain text and JET commands (tags).
应用推荐