I completely isolate the code under test to the controller layer.
要测试的代码被完全限制在控制层。
The code under test, shown in Listing 13, is simplicity itself.
清单13所示的测试中的代码本身十分简单。
Don't make your tests more complicated than the code under test.
不要使您的测试代码比被测代码更复杂。
This method is one that I would use when I do not have the ability to change the code under test.
这种方法是当我不能改变测试中的代码时所使用的。
The complete code listing can be found in Dojo 1.6 under the test directory for dojox.mobile.
完整代码清单见dojox.mobile测试目录之下的Dojo 1.6。
The complete code listing can be found in Dojo 1.6 under the test directory for dojox.mobile.
完整代码清单见dojox.mobile测试目录之下的Dojo 1.6。
应用推荐