• Put each test case in the same package as the class it's testing to gain access to package and protected members.

    将每个测试实例与它要测试的类放在同一个包内,以获得对包成员和保护成员的访问权。

    youdao

  • One interesting side effect of this approach is that it allows us to access private and protected members of a class via a closure, which can be handy for unit testing classes.

    这种方法的一个有趣的副作用是允许通过闭包访问类的私有成员和受保护成员,这有利于对类执行单元测试。

    youdao

  • Describes guidelines for implementing protected members.

    描述实现受保护成员的准则。

    youdao

  • These unions may not have member functions and may not have private or protected members.

    这些联合不能具有成员函数,也不能具有私有或受保护成员。

    youdao

  • Types declare protected members so that inheriting types can access or override the member.

    类型声明受保护的成员,使继承类型可以访问或重写该成员。

    youdao

  • Types declare protected members so that inheriting types can access or override the member.

    类型声明受保护的成员,使继承类型可以访问或重写该成员。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定