This failure is easy to understand, but I'm not sure I really want to "fix" it — the method I'm not testing is trivial, and adding tests for trivial methods can be a waste of effort.
这个失败很容易理解,但我不确定是不是真的要“修正”它——我没有测试的这个方法非常微不足道,为这么微不足道的方法添加测试有点浪费精力。
However, the tests such tools come up with tend to be fairly trivial and basic stuff, like whether a method can handle being passed a null argument.
然而,这些工具生成的测试往往相当琐碎和基本,例如方法是否能够处理传递来的null参数。
Most of the methods available in this class are trivial, so let's focus on the method that adds a new logger filter as shown in Listing 3.
本类中包含的大多数方法都很普通,因此让我们重点关注添加新logger过滤器的方法,如清单3所示。
The first method requires the program to check for error conditions after every non-trivial action.
第一种方法要求程序在在进行每一个重大操作之后,检查错误。
This method is trivial because it simply creates a new blog object with the information passed in and then places it in the cache.
这个方法比较简单,因为它只是使用传入的信息创建一个新的blog对象,然后将这个对象放在缓存中。
The traditional instrument recognition method adopts binary-tree classifying method. The process of this method is trivial and inaccurate.
传统的乐器识别方法采用的是树型分类方法,这种方法分类过程比较繁琐,而且精度不高。
They create a trivial timer event object that contains only an event type -- either timeout or timetick -- and pass it to the same handleEvent method that handles cursor events.
它们仅仅创建一个简单的计时器事件对象,其中只包含一种事件类型 ——timeout或者timetick,并将它传递给处理鼠标事件的同一个 handleEvent方法。
Fluorescent magnetic particle detection is a NDT method that often is used for testing trivial flaws on the surface of some steel workpiece and for controlling qualities of product.
荧光磁粉探伤是一种常用的无损检测方法,是控制产品质量的重要手段,用于检测钢制零件的表面及近表面的裂纹缺陷。
R. may be classified into two main classes, namely: decision theory method and syntactic (structural) method, the later may still be classified into trivial and stochastic methods.
模式识别的方法可以分为决策理论法和文法结构法两大类,而后者又可区分为一般的及随机的文法识别法。
Fluorescent magnetic particle detection is a NDT method that often used for testing trivial flaws on the surface of ferromagnetic materials in order to control the qualities of product.
荧光磁粉探伤是一种常用的无损检测方法,用于检测钢制零件的表面及近表面的裂纹缺陷,长期以来一直被认为是表面裂纹检测最灵敏的方法之一。
Fluorescent magnetic particle testing is a NDT method that often used for testing trivial flaws on the surface of ferromagnetic materials in order to control the qualities of product.
荧光磁粉检测是一种常用的无损检测方法,用于检测钢制零件的表面及近表面的裂纹缺陷,长期以来一直被认为是表面裂纹检测最灵敏的方法之一。
More important, the large-scale mesh could be totally rendered in one iteration, since a non-trivial re-construction method was developed by using of corresponding boundaries among parts.
针对分块后的网格,使用前面的并行绘制算法,并且充分利用分块网格边界上的对应关系,在一次循环中完成整个网格模型的绘制。
More important, the large-scale mesh could be totally rendered in one iteration, since a non-trivial re-construction method was developed by using of corresponding boundaries among parts.
针对分块后的网格,使用前面的并行绘制算法,并且充分利用分块网格边界上的对应关系,在一次循环中完成整个网格模型的绘制。
应用推荐