A failure of your test case could easily imply an incorrectly constructed test case , rather than an incorrect software code unit , which would take even more work to diagnose 一个测试用例失败很可能表示一个构造不当的测试用例,而不是软件代码单元有误,这可能要费更多时间来诊断。
A surrogate pair is a coded character representation for a single abstract character that consists of a sequence of two code units , where the first unit of the pair is a high - surrogate and the second is a low - surrogate 代理项对是由两代码单元序列组成的单个抽象字符的编码字符表示形式,代理项对中的第一个单元是高代理项,第二个单元是低代理项。
If a junitx test case fails and the fault in your software code unit isn t immediately obvious , you can read the source code of the included self - test suite to learn what a code unit that passes the test case looks like 如果junitx测试用例失败了,而软件代码单元中的错误又不是十分明显,那么可以阅读自测试套件中包含的源代码,以了解通过测试用例的代码单元看起来是什么样的。
This reassures you that junitx is making its assertion according to the junitx documentation ; if a unit test fails , you know it s the software code unit that has failed , not the junitx test implementation asserting a false failure 这再次保证了junitx会根据junitx文档来制作断言;如果某个单元测试失败,就可以知道是软件代码单元失败了,而不是junitx的测试实现报告了一个假失败。
Whereas a component is a unit of code that can be executed to provide functionality , a service is a component that is actually running , often in its own process hosted independently from the applications that are invoking it 虽然组件是一个可以通过执行来提供功能的代码单元,但是服务却是一个实际上正在运行的组件,它通常位于自己的进程中,其进程与调用它的应用程序是独立托管的。
The install - time code generation mode converts msil to native code just as the regular jit compiler does , but it converts larger units of code at a time , storing the resulting native code for use when the assembly is subsequently loaded and run 安装时代码生成模式像常规jit编译器一样将msil转换为本机代码,但它会同时转换较大的代码单元,并存储生成的本机代码以供随后加载并运行程序集时使用。
The unicode standard defines a surrogate pair as a coded character representation for a single abstract character that consists of a sequence of two code units , where the first unit of the pair is a high - surrogate and the second is a low - surrogate “ unicode标准”将代理项对定义为单个抽象字符的编码的字符表示形式,该抽象字符包含一个由两个代码单元组成的序列,其中,第一个代码单元是高代理项,第二个是低代理项。