So, in other words, to use my strategy, simply write one test case class, and then always deploy to both the client and the server.
所以,换句话说,要使用我的策略,只需编写一个测试案例类,然后总是将其部署到客户机和服务器就可以了。
This approach makes testing protected methods much easier because the test case class can now extend the class that contains the protected methods.
这种方法使得测试受保护的方法非常容易,因为测试案例类现在可以扩展包含受保护方法的类了。
Here's a video of a Darden case study class.
这里有一个达登商学院案例研究课堂的视频。
The descriptor points to the implementation of the component, in this case a class file, and also includes any configuration information that the component needs.
描述符指向组件的实现,在这种情况下是一个类文件,还包含组件需要的任何配置信息。
Make an inner class in the parent class, which is a test case.
在父类中建立一个内部类,这个内部类是个测试用例。
In this case, the class name is implicitly used as a key.
在这一情况中,类名隐式地用作一个键。
Give each base case its own class.
为每个基本例给出一个自己的类。
Here is the generated test case class for our simple example.
下面是我们的简单示例所生成的测试用例类。
This Use Case Controller class represents a generic placeholder to receive events and messages from the human actor.
这个用例控制类表示的是一个尚未进一步定义的类,它的职责是从用户那里接收事件和消息。
The test case creates two class loaders, each with what appears to be the same classpath.
测试用例创建了两个类装入器,每个类装入器使用的类路径看起来相同。
Every test case must extend from this class.
每个测试用例都必须是从这个类扩展而来。
I`ll have to repeat a class in any case.
不管怎么说,我都要复习我的课程。
When you implement a new class of use case, you have to create a new DTO and go tweak the EJB to retrieve it.
当实现用例的新类时,必须创建一个新的DTO,并调整EJB以对其进行检索。
A use case is neither a class specification nor a data specification.
用例既不是类规范,也不是数据规范。
A case study: Class modeling transformed into physical data modeling.
案例研究:将类模型转换为物理数据模型。
In this case, a root class (upper-left corner in red) is where the problem originated.
在本例中,一个根类(左上角用红色标明的那个类)是问题的发源地。
Let's assume you want to change the name of a generated class, from "Case" to "Special Case", as shown in Listing 4.
假设希望把生成的类的名称由“Case”改为“Special Case”,见清单4。
Note that if you wish, you can run the the test case class which contains a main and invokes the junit junit.swingui.TestRunner.main method.
请注意,如果您愿意,可以运行包含main并调用junit junit .swingui . TestRunner . main方法的测试案例类。
The initial set of class loads (279, in this case) are all triggered by the attempt to load the Demo class.
最初的一组类装入(本例中是279个)都是在尝试装入demo类时触发的。
We see that UnitsSystem is a sealed case class with no attributes.
我们看到,UnitsSystem是一个密封的case类,没有属性。
The Quantification abstract class is a special case, in a way.
在某种程度上, Quantification抽象类是个特殊的例子。
Create a new case class to indicate when the whole thing is done processing.
创建一个新的case类来表示什么时候处理全部完成了。
MaintainJ generates sequence and class diagrams for a single use case.
MaintainJ会为单一的用例生成序列图和类图。
Now, let's run the test case class on IE, Firefox and Safari browser.
现在,我们将在IE、Firefox和Safari浏览器上运行测试用例类。
For now, it will suffice to say that a case class allows for very terse construction of simple objects with some pre-defined methods.
现在,我们只需要知道,一个case类允许精炼的简单对象的构造,以及一些预定义的方法。
Just as in Listing 3, you use a helper class, generated in this case by the protocol buffers compiler.
如清单3所示,您可以使用protocolbuffers编译器生成的helper类。
Measurement是一个case类。
Our pattern match then looks for Alice and Bob by inspecting the values passed to the constructor of the Person case class.
然后,我们的模式匹配通过检查传入的Personcase类的值来查找Alice和Bob。
The name attribute specifies the name of the property being mapped in the owning class. In this case, it's the Customer property of the Order class.
name属性指定要映射的当前类的属性,这个示例中,Customer是Order类的一个属性。
In this case, minimizing the size of this class could be important.
在这种情况下,最大限度减小该类的大小可能很重要。
应用推荐