主权项 |
1. A method comprising:
receiving, by a shared platform included in a device and configured to execute instructions to operate the device, mode instructions from a first application, wherein the mode instructions are executable by the shared platform to cause the shared platform to operate in a test mode or a runtime mode, wherein the test mode corresponds to the shared platform providing simulated responses to the first application and the runtime mode corresponds to the shared platform executing operating instructions from the first application to operate the device; determining, based on the mode instructions, that the shared platform operates in the test mode; receiving, by the shared platform, a request from the first application, wherein the request corresponds to an operation of a second application also configured to provide operating instructions executable by the shared platform to operate the device; and determining, by the shared platform operating in the test mode, a response to the request from the first application based on a simulation of providing the request to the second application. |