function createTestCase(testFixture, testName) {
  var fixtureConstructor = this[testFixture];
  assertTrue(
      !!fixtureConstructor,
      `The testFixture \'${testFixture}\' was not found.`);
  var testBody = fixtureConstructor.testCaseBodies[testName];
  assertTrue(
      !!testBody, `Test \'${testName} was not found in \'${testFixture}\'.`);
  var fixture = new fixtureConstructor();
  fixture.name = testFixture;
  return new TestCase(testName, fixture, testBody);
}
/**
 * Creates a new test case for the given |testFixture| and |testName|. Assumes
 * |testFixture| describes a globally available subclass of type Test.
 * @param {string} testFixture The fixture for this test case.
 * @param {string} testName The name for this test case.
 * @return {TestCase} A newly created TestCase.
 */
Creates a new test case for the given |testFixture| and |testName|. Assumes
|testFixture| describes a globally available subclass of type Test.
@param {string} testFixture The fixture for this test case.
@param {string} testName The name for this test case.
Creates a new test case for the given |testFixture| and |testName| . Assumes |testFixture| describes a globally available subclass of type Test . @param { string } testFixture The fixture for this test case . @param { string } testName The name for this test case .
function createTestCase(testFixture, testName) {
  var fixtureConstructor = this[testFixture];
  assertTrue(
      !!fixtureConstructor,
      `The testFixture \'${testFixture}\' was not found.`);
  var testBody = fixtureConstructor.testCaseBodies[testName];
  assertTrue(
      !!testBody, `Test \'${testName} was not found in \'${testFixture}\'.`);
  var fixture = new fixtureConstructor();
  fixture.name = testFixture;
  return new TestCase(testName, fixture, testBody);
}
function createTestCase ( testFixture , testName ) { var fixtureConstructor = this [ testFixture ] ; assertTrue ( ! ! fixtureConstructor , ` \' ${ testFixture } \' ` ) ; var testBody = fixtureConstructor . testCaseBodies [ testName ] ; assertTrue ( ! ! testBody , ` \' ${ testName } \' ${ testFixture } \' ` ) ; var fixture = new fixtureConstructor ( ) ; fixture . name = testFixture ; return new TestCase ( testName , fixture , testBody ) ; }
Creates a new test case for the given |testFixture| and |testName|.
Creates a new test case for the given |testFixture| and |testName| .