VersionControl_Git
[ class tree: VersionControl_Git ] [ index: VersionControl_Git ] [ all elements ]

Source for file checkFixtures.php

Documentation is available at checkFixtures.php

  1. <?php
  2.  
  3. PHPUnit_Util_Filter::addFileToFilter(__FILE__);
  4.  
  5. if (!is_dir('./fixtures/001_VersionControl_Git'))
  6. {
  7.   if (!is_file('./fixtures.tar.gz'))
  8.   {
  9.     throw new Exception('You don\'t have fixtures.tar.gz. You need it to execute the unit test. Please download and expand it. (See README file)'.PHP_EOL);
  10.   }
  11.   else
  12.   {
  13.     throw new Exception('You need to expand fixtures.tar.gz to execute the unit test.'.PHP_EOL);
  14.   }
  15. }

Documentation generated on Mon, 11 Mar 2019 15:36:06 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.