コード例 #1
0
ファイル: WURFLManagerTest.php プロジェクト: godboko/modules
 public static function userAgentDeviceIdsProvider()
 {
     $filePath = dirname(__FILE__) . DIRECTORY_SEPARATOR . self::TEST_DATA_FILE;
     return WURFL_TestUtils::loadUserAgentsWithIdFromFile($filePath);
 }
コード例 #2
0
ファイル: BaseTest.php プロジェクト: eusholli/drupal
 protected function userAgentsProvider($testFilePath)
 {
     $fullTestFilePath = dirname(__FILE__) . DIRECTORY_SEPARATOR . $testFilePath;
     return WURFL_TestUtils::loadUserAgentsAsArray($fullTestFilePath);
 }