×

Paradigm for concurrency testcase generation

  • US 8,813,035 B2
  • Filed: 02/29/2012
  • Issued: 08/19/2014
  • Est. Priority Date: 02/29/2012
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for concurrency testcase generation by a computer system comprising a processor, comprising:

  • displaying a concurrency testcase template for features built into a concurrency testcase generation infrastructure that requires no compilation;

    receiving first directives input through the concurrency testcase template for managing activities of concurrent threads;

    receiving second directives input through the concurrency testcase template for configuring timing tests by the concurrent threads;

    receiving third directives input through the concurrency testcase template for configuring responses to errors encountered by the concurrent threads;

    receiving fourth directives input through the concurrency testcase template for configuring logging of data for the concurrent threads;

    creating a concurrency testcase comprising the first, second, third, and fourth directives by the concurrency testcase generation infrastructure; and

    executing the concurrency testcase on an application code by implementing the features built into the concurrency testcase generation infrastructure according to the concurrency testcase, comprising;

    implementing one or more of the following features according to the first directives in the concurrency testcase;

    assigning tasks to the concurrent threads;

    setting a sequence of the concurrent threads;

    implementing signaling for exchange of information between the concurrent threads; and

    enabling or disabling a thread pool;

    implementing a timer according to the second directives in the concurrency testcase to delay task execution until each thread is created;

    configuring services to respond to the errors encountered by the concurrent threads according to the third directives in the concurrency testcase; and

    implementing a facility to log the data for the concurrent threads according to the fourth directives in the concurrency testcase.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×