Framework to facilitate Java testing in a security constrained environment
    1.
    发明授权
    Framework to facilitate Java testing in a security constrained environment 有权
    在安全约束的环境中促进Java测试的框架

    公开(公告)号:US07389495B2

    公开(公告)日:2008-06-17

    申请号:US10452664

    申请日:2003-05-30

    IPC分类号: G06F9/44 H04L9/00

    CPC分类号: G06F21/53 G06F2221/2149

    摘要: A method for testing an implementation of a specification is provided. The method includes providing a security manager capable of being configured to test compliance of an implementation of a specification, and installing the security manager. The method further includes constructing a security policy corresponding to a desired security environment that a test requires. The method also includes executing the test with the security manager using the security policy.

    摘要翻译: 提供了一种用于测试规范实现的方法。 该方法包括提供能够被配置为测试规范的实现的符合性并安装安全管理器的安全管理器。 该方法还包括构建对应于测试所需的期望安全环境的安全策略。 该方法还包括使用安全策略与安全管理器执行测试。

    Method and apparatus for testing a binding application programming interface
    2.
    发明授权
    Method and apparatus for testing a binding application programming interface 有权
    用于测试绑定应用程序编程接口的方法和装置

    公开(公告)号:US08010950B1

    公开(公告)日:2011-08-30

    申请号:US11775467

    申请日:2007-07-10

    IPC分类号: G06F9/44

    CPC分类号: G06F11/3672

    摘要: One embodiment of the present invention provides a system for testing a binding Application Programming Interface (API) on a device, wherein the binding API is bound to a native API for the device and provides different commands than the native API. During operation, the system executes a native-API test on the device through the native API to produce a native-API test-result. The system subsequently receives the native-API test-result from the device at a test-harness. Next, the system sends a binding-API test to a test-agent on the device which enables the test-agent to execute the binding-API test through the binding API to produce a binding-API test-result. The system then receives the binding-API test-result from the test-agent. Finally, the system compares the native-API test-result to the binding-API test-result to determine if the binding API is functionally equivalent to the native API.

    摘要翻译: 本发明的一个实施例提供了一种用于在设备上测试绑定应用程序编程接口(API)的系统,其中所述绑定API被绑定到所述设备的本地API,并提供与所述本地API不同的命令。 在操作期间,系统通过本机API在设备上执行本机API测试,以产生本机API测试结果。 系统随后在测试工具上从设备接收本机API测试结果。 接下来,系统向设备上的测试代理发送绑定API测试,使测试代理能够通过绑定API执行绑定API测试,以生成绑定API测试结果。 然后,系统从测试代理接收绑定API测试结果。 最后,系统将本机API测试结果与binding-API测试结果进行比较,以确定绑定API是否在功能上等同于本机API。