Lines Matching refs:info
13 * Simple test to make sure the template.info.txt is in correct format
17 $file = __DIR__ . '/../template.info.txt';
20 $info = confToHash($file);
22 $this->assertArrayHasKey('base', $info);
23 $this->assertArrayHasKey('author', $info);
24 $this->assertArrayHasKey('email', $info);
25 $this->assertArrayHasKey('date', $info);
26 $this->assertArrayHasKey('name', $info);
27 $this->assertArrayHasKey('desc', $info);
28 $this->assertArrayHasKey('url', $info);
30 $this->assertEquals('bootstrap3', $info['base']);
31 $this->assertRegExp('/^https?:\/\//', $info['url']);
32 $this->assertTrue(mail_isvalid($info['email']));
33 $this->assertRegExp('/^\d\d\d\d-\d\d-\d\d$/', $info['date']);
34 $this->assertTrue(false !== strtotime($info['date']));