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.
所以,换句话说,要使用我的策略,只需编写一个测试案例类,然后总是将其部署到客户机和服务器就可以了。
It then creates subscriptions to those objects allowing any document class to be added to a case and then participate in the diary.
然后,创建对这些对象的预订,这允许在案例中添加任何文档类并在日记中记录它们。
In this case, a global item class can be defined for the connector, to serve as a way to retrieve those properties that can always be accessed.
在这种情况下,可以为连接器定义一个全局项目类,作为对那些一直可以进行访问的属性进行检索的方法。
In this case, we use an abstract class to define the service specification, as shown in Figure 5.
在这种情况下,我们使用一个抽象类来定义服务规范,如图5所示。
However, this case — where a class manages its own memory — is one of the very few situations where explicitly nulling objects that are no longer needed is a good idea.
但是这种情况——由类管理其自己的内存——是一种非常少见的情况,即显式地消除不再需要的对象是一个好主意。
This approach makes testing protected methods much easier because the test case class can now extend the class that contains the protected methods.
这种方法使得测试受保护的方法非常容易,因为测试案例类现在可以扩展包含受保护方法的类了。
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.
描述符指向组件的实现,在这种情况下是一个类文件,还包含组件需要的任何配置信息。
In this case, because of the leading p, each class can be used only with the paragraph tag.
在这个示例中,因为前面的标记名是P,所以这些类只应用于段落标记。
As we move from use case diagrams into sequence and class diagrams, we will immediately notice the impact of known actors.
当我们从用例图转入到序列图和类图时,马上就会注意到已知的参与者的影响。
This listener class can provide mediation functionality; in our case, the mediation function is the expansion of an acronym.
此侦听类可以提供中介功能;本文中的中介功能是扩展缩略词。
This is similar to an abstract class where some of the code is left to the programmer to implement in a derived class -- or, in this case, a derived aspect.
一个抽象的类的一些编码被留给了编程人员,编程人员使用它在一个导出的类中执行,或者在一个导出的方面中执行。
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.
测试用例创建了两个类装入器,每个类装入器使用的类路径看起来相同。
One of the reasons why this is usually the case is to do with class leakage across module boundaries.
之所以这样,原因之一是跨越模块边界的类泄漏。
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以对其进行检索。
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。
In my particular implementation, the EJBServletTestCase test case class has to be in two places -- on the client and server side -- as it is run from two places.
在我具体的实现中,EJBServletTestCase测试案例类必须存在于两个地方 ?在客户机和服务器端上 ?
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 test data directory hierarchy is rooted in the test class package directory, in our case: org.djna.mailservice.test.
测试数据目录层次结构根植于测试类包目录中,在我们的示例中,该目录为or g . djna . mailservice . test。
The initial set of class loads (279, in this case) are all triggered by the attempt to load the Demo class.
最初的一组类装入(本例中是279个)都是在尝试装入demo类时触发的。
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浏览器上运行测试用例类。
These classes act as runtime glue to associate a binding with the particular methods of a mapped class (in this case, simple.Customer) that implement the marshalling and unmarshalling operations.
这些类充当运行时的粘合剂,把绑定与实现编排和反编排操作的映射类(在这个示例中,是simple . Customer)的具体方法关联起来。
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类允许精炼的简单对象的构造,以及一些预定义的方法。
This includes at least 20 pages of writing divided among 3-5 assignments (in the case of this class, three).
包括三至五次书面报告(本课程三次),每次书面报告至少二十页。
Just as in Listing 3, you use a helper class, generated in this case by the protocol buffers compiler.
如清单3所示,您可以使用protocolbuffers编译器生成的helper类。
In this case, the Cglib2AopProxy class creates the proxy objects you will need to control access to your secure beans.
在本例中,cglib2aopproxy类将创建安全bean访问控制所需的代理对象。
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类的一个属性。
Listing 4 gives the agent and transformer class (both the same class in this case, though they don't need to be) implementation for processing the annotations.
清单4给出了处理注释的代理和转换器类(在本例中是同一个类,但是这二者不一定要相同)实现。
应用推荐