PHP 클래스 Ojs\CoreBundle\Tests\BaseTestSetup

상속: extends Liip\FunctionalTestBundle\Test\WebTestCase
파일 보기 프로젝트 열기: ojs/ojs 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$app Symfony\Bundle\FrameworkBundle\Console\Application
$client Symfony\Bundle\FrameworkBundle\Client
$em Doctrine\ORM\EntityManager
$isFirstTest boolean
$locale string
$router Symfony\Component\Routing\RouterInterface
$sampleObjectLoader Ojs\CoreBundle\Service\SampleObjectLoader
$secondLocale string

보호된 메소드들

메소드 설명
databaseInit ( ) Initialize database
generateToken ( $var )
logIn ( $username = 'admin', $password = 'admin' )
runConsole ( $command, array $options = [] ) : integer
setUp ( )
tearDown ( )
useCachedDatabase ( ) Use cached database for testing or return false if not

메소드 상세

databaseInit() 보호된 메소드

Initialize database
protected databaseInit ( )

generateToken() 보호된 메소드

protected generateToken ( $var )

logIn() 보호된 메소드

protected logIn ( $username = 'admin', $password = 'admin' )

runConsole() 보호된 메소드

protected runConsole ( $command, array $options = [] ) : integer
$command
$options array
리턴 integer

setUp() 보호된 메소드

protected setUp ( )

tearDown() 보호된 메소드

protected tearDown ( )

useCachedDatabase() 보호된 메소드

Use cached database for testing or return false if not
protected useCachedDatabase ( )

프로퍼티 상세

$app 보호되어 있는 프로퍼티

protected Application,Symfony\Bundle\FrameworkBundle\Console $app
리턴 Symfony\Bundle\FrameworkBundle\Console\Application

$client 보호되어 있는 프로퍼티

protected Client,Symfony\Bundle\FrameworkBundle $client
리턴 Symfony\Bundle\FrameworkBundle\Client

$em 보호되어 있는 프로퍼티

protected EntityManager,Doctrine\ORM $em
리턴 Doctrine\ORM\EntityManager

$isFirstTest 보호되어 있는 정적으로 프로퍼티

protected static bool $isFirstTest
리턴 boolean

$locale 보호되어 있는 프로퍼티

protected string $locale
리턴 string

$router 보호되어 있는 프로퍼티

protected RouterInterface,Symfony\Component\Routing $router
리턴 Symfony\Component\Routing\RouterInterface

$sampleObjectLoader 보호되어 있는 프로퍼티

protected SampleObjectLoader,Ojs\CoreBundle\Service $sampleObjectLoader
리턴 Ojs\CoreBundle\Service\SampleObjectLoader

$secondLocale 보호되어 있는 프로퍼티

protected string $secondLocale
리턴 string