Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
BrowscapTest
Data
DataCollectionTest
testGetVersion
BrowscapTest\Data\DataCollectionTest::testGetVersion PHP Method
DataCollectionTest Class Documentation
Datei anzeigen
Open project: browscap/browscap
testGetVersion()
public
method
tests getting the version
public
testGetVersion
( )
public function testGetVersion() { self::assertSame('1234', $this->object->getVersion()); }
DataCollectionTest
getDevicesJsonFixture
getEngineJsonFixture
getPlatformsJsonFixture
getUserAgentFixtures
setUp
testAddDefaultBrowser
testAddDefaultProperties
testAddEnginesFileThrowsExceptionIfFileContainsInvalidJson
testAddEnginesFileThrowsExceptionIfFileContainsNoData
testAddEnginesFileThrowsExceptionIfFileContainsNoProperties
testAddEnginesFileThrowsExceptionIfFileDoesNotExist
testAddPlatformsFileThrowsExceptionIfFileContainsInvalidJson
testAddPlatformsFileThrowsExceptionIfFileContainsNoData
testAddPlatformsFileThrowsExceptionIfFileContainsNoMatch
testAddPlatformsFileThrowsExceptionIfFileContainsNoProperties
testAddPlatformsFileThrowsExceptionIfFileDoesNotExist
testAddSourceFileOk
testAddSourceFileOkWithLiteAndVersions
testAddSourceFileThrowsExceptionIfChildrenAreNotArrays
testAddSourceFileThrowsExceptionIfChildrenDoesNotHaveMatchKeyword
testAddSourceFileThrowsExceptionIfChildrenHasDeviceProperties
testAddSourceFileThrowsExceptionIfChildrenHasEngineProperties
testAddSourceFileThrowsExceptionIfChildrenHasParentProperty
testAddSourceFileThrowsExceptionIfChildrenHasPlatformProperties
testAddSourceFileThrowsExceptionIfChildrenHaveAnInvalidMatchKeyword
testAddSourceFileThrowsExceptionIfChildrenIsNotAnArray
testAddSourceFileThrowsExceptionIfChildrenMatchKeywordHasPlatformPlaceHolderWithoutPlatforms
testAddSourceFileThrowsExceptionIfChildrenMatchKeywordHasVersionPlaceHolderWithoutVersions
testAddSourceFileThrowsExceptionIfChildrenPropertiesAreNotArrays
testAddSourceFileThrowsExceptionIfChildrenPropertyIsNotAnArray
testAddSourceFileThrowsExceptionIfDivisionIsAddedTwice
testAddSourceFileThrowsExceptionIfFileContainsInvalidJson
testAddSourceFileThrowsExceptionIfFileDoesNotExist
testAddSourceFileThrowsExceptionIfNameHasInvalidCharsForUseragent
testAddSourceFileThrowsExceptionIfNoChildrenPropertyIsAvailable
testAddSourceFileThrowsExceptionIfNoCommentPropertyIsAvailable
testAddSourceFileThrowsExceptionIfNoDivisionIsAvailable
testAddSourceFileThrowsExceptionIfNoLitePropertyIsAvailable
testAddSourceFileThrowsExceptionIfNoNameIsAvailableForUseragent
testAddSourceFileThrowsExceptionIfNoParentPropertyIsAvailable
testAddSourceFileThrowsExceptionIfNoPropertiesAreAvailable
testAddSourceFileThrowsExceptionIfNoSortIndexIsAvailable
testAddSourceFileThrowsExceptionIfNoStandardPropertyIsAvailable
testAddSourceFileThrowsExceptionIfNoVersionsAreDefinedButVersionPropertyIsAvailable
testAddSourceFileThrowsExceptionIfNoVersionsAreDefinedWithVersionPlaceholders
testAddSourceFileThrowsExceptionIfParentPropertyIsNotDefaultProperties
testAddSourceFileThrowsExceptionIfPropertiesEntryIsNotAnArray
testAddSourceFileThrowsExceptionIfPropertiesIncludeDeviceData
testAddSourceFileThrowsExceptionIfPropertiesIncludeEngineData
testAddSourceFileThrowsExceptionIfPropertiesIncludePlatformData
testCheckPropertyOk
testCheckPropertyWithoutDeviceType
testCheckPropertyWithoutIsMobileDevice
testCheckPropertyWithoutIsTablet
testCheckPropertyWithoutParent
testCheckPropertyWithoutVersion
testGetDeviceThrowsExceptionIfDeviceDoesNotExist
testGetEngine
testGetEngineThrowsExceptionIfEngineDoesNotExist
testGetEngineThrowsExceptionIfPlatformDoesNotExist
testGetGenerationDate
testGetPlatform
testGetPlatformThrowsExceptionIfPlatformDoesNotExist
testGetVersion
testSetGetLogger