|
Line 11-14: This view on the other hand, uses an attribute of the view class.
|
|
|
第11-14:另外该视图使用了视类的属性。 |
|
Line 12-24: Check that we can retrieve the list of subscribers and add new ones as well.
|
|
|
第12–24行:检查我们能检索到的订户列表并添加一个新的订户。 |
|
Line 12-35: Repetion of the test as before using different amounts of replies and attachments.
|
|
|
第12-35行:使用不同数目的回复和附件重复测试。 |
|
Line 13 of Beijing Metro is the first ground line of Beijing urban rail transit.
|
|
|
摘要北京地铁13号线是北京城市轨道交通的第一条地面线路。 |
|
Line 15-17: Check whether a title was specified in this upload.
|
|
|
第15-17行:检查在上传时是否指定了标题。 |
|
Line 15-18: If we find a tag that is not in the allowed tags tuple, then remove it as well.
|
|
|
第15-18行:如果我们发现一个不在被允许标志元组中的标志,然后移除它。 |
|
Line 16-17: Make sure an entry for our subscriber key exists. If not, create an empty one.
|
|
|
第16–17行:确保我们的订户关键字存在。如果没有的话,创建一个空的。 |
|
Line 16-19: In the constructor we are extracting the two new arguments and send the rest to the constructor of the Text field (line 21).
|
|
|
第16-19行:在构造器里我们提取了两个新参数并且把馀下来的给文本字符段的构造器(21行)。 |
|
Line 19-21: Obviously, we pretend to have one more object than we actually have.
|
|
|
第19-21行:很明显,我们假定拥有比我们真正拥有的对象还多一个。 |
|
Line 20-21: Since there is a specific adapter registration required for each case (board and message), we will have to leave that up to the test case implementation as well.
|
|
|
第20-21行:因为每个案例(栏和消息)都要求注册一个相应的适配器,所以我们同样也必须使之适应测试案例实施。 |
|
Line 20-36: These are the three handler methods that handle the various events.
|
|
|
第20-36行:这里有三个处理方法用以处理不同的事件。 |