Méthode |
Description |
|
setUp ( ) |
Sets up the fixture, for example, open a network connection. |
|
testAddDefaultBrowser ( ) |
checks if the default browser is added sucessfully |
|
testAddDefaultProperties ( ) |
checks if the default properties are added sucessfully |
|
testAddEnginesFileThrowsExceptionIfFileContainsInvalidJson ( ) |
tests if a specific exception is thrown in case of error while adding an engine json file |
|
testAddEnginesFileThrowsExceptionIfFileContainsNoData ( ) |
|
|
testAddEnginesFileThrowsExceptionIfFileContainsNoProperties ( ) |
|
|
testAddEnginesFileThrowsExceptionIfFileDoesNotExist ( ) |
|
|
testAddPlatformsFileThrowsExceptionIfFileContainsInvalidJson ( ) |
tests if a specific exception is thrown in case of error while adding a platform json file |
|
testAddPlatformsFileThrowsExceptionIfFileContainsNoData ( ) |
|
|
testAddPlatformsFileThrowsExceptionIfFileContainsNoMatch ( ) |
|
|
testAddPlatformsFileThrowsExceptionIfFileContainsNoProperties ( ) |
|
|
testAddPlatformsFileThrowsExceptionIfFileDoesNotExist ( ) |
|
|
testAddSourceFileOk ( ) |
checks if a source file is added successful |
|
testAddSourceFileOkWithLiteAndVersions ( ) |
checks if a source file is added successful |
|
testAddSourceFileThrowsExceptionIfChildrenAreNotArrays ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfChildrenDoesNotHaveMatchKeyword ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfChildrenHasDeviceProperties ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfChildrenHasEngineProperties ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfChildrenHasParentProperty ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfChildrenHasPlatformProperties ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfChildrenHaveAnInvalidMatchKeyword ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfChildrenIsNotAnArray ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfChildrenMatchKeywordHasPlatformPlaceHolderWithoutPlatforms ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfChildrenMatchKeywordHasVersionPlaceHolderWithoutVersions ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfChildrenPropertiesAreNotArrays ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfChildrenPropertyIsNotAnArray ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfDivisionIsAddedTwice ( ) |
checks if a exception is thrown if a division is defined twice in the source files |
|
testAddSourceFileThrowsExceptionIfFileContainsInvalidJson ( ) |
checks if a exception is thrown if the source file had invalid json content |
|
testAddSourceFileThrowsExceptionIfFileDoesNotExist ( ) |
|
|
testAddSourceFileThrowsExceptionIfNameHasInvalidCharsForUseragent ( ) |
checks if a exception is thrown if the lite property is missing |
|
testAddSourceFileThrowsExceptionIfNoChildrenPropertyIsAvailable ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfNoCommentPropertyIsAvailable ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfNoDivisionIsAvailable ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfNoLitePropertyIsAvailable ( ) |
checks if a exception is thrown if the lite property is missing |
|
testAddSourceFileThrowsExceptionIfNoNameIsAvailableForUseragent ( ) |
checks if a exception is thrown if the lite property is missing |
|
testAddSourceFileThrowsExceptionIfNoParentPropertyIsAvailable ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfNoPropertiesAreAvailable ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfNoSortIndexIsAvailable ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfNoStandardPropertyIsAvailable ( ) |
checks if a exception is thrown if the lite property is missing |
|
testAddSourceFileThrowsExceptionIfNoVersionsAreDefinedButVersionPropertyIsAvailable ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfNoVersionsAreDefinedWithVersionPlaceholders ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfParentPropertyIsNotDefaultProperties ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfPropertiesEntryIsNotAnArray ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfPropertiesIncludeDeviceData ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfPropertiesIncludeEngineData ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testAddSourceFileThrowsExceptionIfPropertiesIncludePlatformData ( ) |
checks if a exception is thrown if the sortindex property is missing |
|
testCheckPropertyOk ( ) |
tests if no error is raised if all went well |
|
testCheckPropertyWithoutDeviceType ( ) |
|
|
testCheckPropertyWithoutIsMobileDevice ( ) |
|
|
testCheckPropertyWithoutIsTablet ( ) |
|
|
testCheckPropertyWithoutParent ( ) |
|
|
testCheckPropertyWithoutVersion ( ) |
|
|
testGetDeviceThrowsExceptionIfDeviceDoesNotExist ( ) |
|
|
testGetEngine ( ) |
tests getting an existing engine |
|
testGetEngineThrowsExceptionIfEngineDoesNotExist ( ) |
|
|
testGetEngineThrowsExceptionIfPlatformDoesNotExist ( ) |
|
|
testGetGenerationDate ( ) |
tests getting the generation date |
|
testGetPlatform ( ) |
tests getting an exiting platform |
|
testGetPlatformThrowsExceptionIfPlatformDoesNotExist ( ) |
|
|
testGetVersion ( ) |
tests getting the version |
|
testSetGetLogger ( ) |
tests the setter and the getter for a logger |
|