public function setUp()
 {
     parent::setUp();
     TestUtils::setStaticProperty('google\\appengine\\runtime\\CurlLite', 'logging_callback', [$this, 'mockLog']);
 }
Example #2
0
 private function resetLastFlushTime($new_time)
 {
     TestUtils::setStaticProperty('google\\appengine\\api\\log\\LogService', 'last_flush_time', $new_time);
 }
Example #3
0
 /**
  * @dataProvider splitPathOnWilcardDataProvider
  */
 public function testSplitPathOnWildcard($input, $output)
 {
     $glob = new Glob();
     $result = TestUtils::invokeMethod($glob, "splitPathOnWildcard", [$input]);
     $this->assertEquals($output, $result);
 }