You are here

protected function PHP_CodeCoverage_TestCase::getExpectedDataArrayForBankAccount in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/php-code-coverage/tests/TestCase.php \PHP_CodeCoverage_TestCase::getExpectedDataArrayForBankAccount()
3 calls to PHP_CodeCoverage_TestCase::getExpectedDataArrayForBankAccount()
PHP_CodeCoverageTest::testCollect in vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverageTest.php
@covers PHP_CodeCoverage::start @covers PHP_CodeCoverage::stop @covers PHP_CodeCoverage::append @covers PHP_CodeCoverage::applyListsFilter @covers PHP_CodeCoverage::initializeFilesThatAreSeenTheFirstTime @covers…
PHP_CodeCoverageTest::testMerge in vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverageTest.php
@covers PHP_CodeCoverage::getData @covers PHP_CodeCoverage::merge
PHP_CodeCoverageTest::testMerge2 in vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverageTest.php
@covers PHP_CodeCoverage::getData @covers PHP_CodeCoverage::merge

File

vendor/phpunit/php-code-coverage/tests/TestCase.php, line 209

Class

PHP_CodeCoverage_TestCase
Abstract base class for test case classes.

Code

protected function getExpectedDataArrayForBankAccount() {
  return array(
    TEST_FILES_PATH . 'BankAccount.php' => array(
      8 => array(
        0 => 'BankAccountTest::testBalanceIsInitiallyZero',
        1 => 'BankAccountTest::testDepositWithdrawMoney',
      ),
      9 => null,
      13 => array(),
      14 => array(),
      15 => array(),
      16 => array(),
      18 => array(),
      22 => array(
        0 => 'BankAccountTest::testBalanceCannotBecomeNegative2',
        1 => 'BankAccountTest::testDepositWithdrawMoney',
      ),
      24 => array(
        0 => 'BankAccountTest::testDepositWithdrawMoney',
      ),
      25 => null,
      29 => array(
        0 => 'BankAccountTest::testBalanceCannotBecomeNegative',
        1 => 'BankAccountTest::testDepositWithdrawMoney',
      ),
      31 => array(
        0 => 'BankAccountTest::testDepositWithdrawMoney',
      ),
      32 => null,
    ),
  );
}