Patents by Inventor Heheng Li

Heheng Li has filed for patents to protect the following inventions. This listing includes patent applications that are pending as well as patents that have already been granted by the United States Patent and Trademark Office (USPTO).

  • Patent number: 11010283
    Abstract: Techniques are described herein that are capable of generating mock-based unit test(s) for an end-to-end test of a code snippet (a.k.a. system to test (STT)). For instance, method(s) in a code snippet that have a designated functionality are replaced with a wrapper function that has the designated functionality. Shims and/or stubs are inserted in the wrapper function to replace behavior of the method(s) with regard to callback method(s) from one or more dependencies of the method(s). Inputs that are included in the callback method(s) and that are intended for the code snippet are simulated to provide simulated inputs for the code snippet.
    Type: Grant
    Filed: November 8, 2016
    Date of Patent: May 18, 2021
    Assignee: Microsoft Technology Licensing, LLC
    Inventor: Heheng Li
  • Publication number: 20180129592
    Abstract: Techniques are described herein that are capable of generating mock-based unit test(s) for an end-to-end test of a code snippet (a.k.a. system to test (STT)). For instance, method(s) in a code snippet that have a designated functionality are replaced with a wrapper function that has the designated functionality. Shims and/or stubs are inserted in the wrapper function to replace behavior of the method(s) with regard to callback method(s) from one or more dependencies of the method(s). Inputs that are included in the callback method(s) and that are intended for the code snippet are simulated to provide simulated inputs for the code snippet.
    Type: Application
    Filed: November 8, 2016
    Publication date: May 10, 2018
    Inventor: Heheng Li
  • Patent number: 8341603
    Abstract: Described is a technology in which test case content in the form of a web application is provided to a client browser from a test case management system over a web server. Results of running the test case are similarly communicated back. This allows different web application test harnesses to be run on whatever Internet browser the client computing device is running, and is independent of any operating system. The client registers with the test case management system through the website, and receives a browser identifier for use in future communications. In one protocol, the client uses the identifier in heartbeats sent to the test case management system, including a heartbeat indicating when the client is available to run a test case, when the test case is complete, and the results of performing the test case. Also described are various interfaces that facilitate component communication.
    Type: Grant
    Filed: October 3, 2008
    Date of Patent: December 25, 2012
    Assignee: Microsoft Corporation
    Inventors: Heheng Li, Hongtao Bai, Ivan Ho, Xu Liu
  • Publication number: 20100088677
    Abstract: Described is a technology in which test case content in the form of a web application is provided to a client browser from a test case management system over a web server. Results of running the test case are similarly communicated back. This allows different web application test harnesses to be run on whatever Internet browser the client computing device is running, and is independent of any operating system. The client registers with the test case management system through the website, and receives a browser identifier for use in future communications. In one protocol, the client uses the identifier in heartbeats sent to the test case management system, including a heartbeat indicating when the client is available to run a test case, when the test case is complete, and the results of performing the test case. Also described are various interfaces that facilitate component communication.
    Type: Application
    Filed: October 3, 2008
    Publication date: April 8, 2010
    Applicant: MICROSOFT CORPORATION
    Inventors: Heheng Li, Hongtao Bai, Ivan Ho, Xu Liu