TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
BaseTestCase Class Reference
Inheritance diagram for BaseTestCase:
FunctionalTestCase UnitTestCase LocalizationControllerTest Typo3DatabaseBackendTest CategoryCollectionTest RecordCollectionRepositoryTest DatabaseConnectionTest PreparedStatementTest SchemaMigratorTest AbstractDataHandlerActionTestCase GetUniqueTest DatabaseWriterTest FlashMessageQueueTest PageRendererTest RegistryTest ResourceStorageTest TypoScriptParserTest BackendGroupsVisibleFieldsTest BackendUsersVisibleFieldsTest CategoryVisibleFieldsTest CollectionVisibleFieldsTest FileCollectionVisibleFieldsTest FileMetadataVisibleFieldsTest FilemountsVisibleFieldsTest FileStorageVisibleFieldsTest LanguageVisibleFieldsTest NewsVisibleFieldsTest PagesLanguageOverlayVisibleFieldsTest PagesVisibleFieldsTest ContentVisibleFieldsTest BackendConfigurationManagerTest AddTest CountTest DataMapperTest InTest OperatorTest QueryParserTest RelationTest TranslationTest ContentVisibleFieldsTest FileMetadataVisibleFieldsTest ContentVisibleFieldsTest ContentObjectRendererTest FluidTemplateContentObjectTest TypoScriptFrontendControllerTest PageRepositoryTest BackendLayoutVisibleFieldsTest ContentVisibleFieldsTest DomainVisibleFieldsTest FrontendGroupsVisibleFieldsTest FrontendUsersVisibleFieldsTest TemplateVisibleFieldsTest AbstractExportTestCase IndexConfigVisibleFieldsTest LikeWildcardTest SqlSchemaMigrationServiceTest AbstractRecycleTestCase SplitStorageTest AcronymVisibleFieldsTest SaltedPasswordServiceTest BulkUpdateTaskTest SaltedPasswordsUtilityTest TaskGroupVisibleFieldsTest AuthenticationServiceTest ActionVisibleFieldsTest NoteVisibleFieldsTest ActionHandlerTest WorkspaceServiceTest WorkspaceStageVisibleFieldsTest WorkspaceVisibleFieldsTest EscapeChildrenRenderingStandaloneTest EscapeChildrenRenderingTest CsvUtilityTest RemoveXSSTest FullyRenderedButtonTest InputButtonTest LinkButtonTest SplitButtonTest MenuItemTest MenuTest ConditionMatcherTest EditDocumentControllerTest FileControllerTest FormInlineAjaxControllerTest LoginControllerTest PageLayoutControllerTest SelectTreeControllerTest SuggestWizardControllerTest FormDataCompilerTest FlexFormSegmentTest InlineParentRecordTest OnTheFlyTest TcaDatabaseRecordTest TcaInputPlaceholderRecordTest DatabaseEditRowTest DatabaseEffectivePidTest DatabaseLanguageRowsTest DatabasePageLanguageOverlayRowsTest DatabaseParentPageRowTest DatabaseRecordOverrideValuesTest DatabaseRecordTypeValueTest DatabaseRowDateTimeFieldsTest DatabaseRowDefaultValuesTest DatabaseRowInitializeNewTest DatabaseSystemLanguageRowsTest DatabaseUniqueUidNewRowTest DatabaseUserPermissionCheckTest EvaluateDisplayConditionsTest FormEngineUtilityTest InitializeProcessedTcaTest PageTsConfigMergedTest ParentPageTcaTest TcaCheckboxItemsTest TcaColumnsOverridesTest TcaColumnsProcessCommonTest TcaColumnsProcessFieldLabelsTest TcaColumnsProcessPlaceholdersTest TcaColumnsProcessRecordTitleTest TcaColumnsProcessShowitemTest TcaColumnsRemoveUnusedTest TcaFlexPrepareTest TcaFlexProcessTest TcaGroupTest TcaInlineConfigurationTest TcaInlineExpandCollapseStateTest TcaInlineIsOnSymmetricSideTest TcaInlineTest TcaInputPlaceholdersTest TcaRadioItemsTest TcaRecordTitleTest TcaSelectItemsTest TcaSelectTreeItemsTest TcaTypesShowitemTest UserTsConfigTest GroupElementTest InlineStackProcessorTest NodeFactoryTest NoneElementTest SuggestWizardTest ModuleLoaderTest DataProviderTest SortedTreeNodeCollectionTest TreeNodeCollectionTest TreeNodeTest BackendUtilityTest BackendLayoutCollectionTest BackendLayoutTest DataProviderCollectionTest BackendLayoutViewTest ConstraintTest LogEntryTest HistoryEntryRepositoryTest LogEntryRepositoryTest WorkspaceRepositoryTest BackendUserTest DemandTest BackendUserRepositoryTest BackendUserSessionRepositoryTest ModuleDataStorageServiceTest IntegrityTest AbstractUserAuthenticationTest BackendUserAuthenticationTest AbstractBackendTest ApcBackendTest ApcuBackendTest FileBackendTest MemcachedBackendTest PdoBackendTest RedisBackendTest TransientMemoryBackendTest Typo3DatabaseBackendTest WincacheBackendTest CacheFactoryTest CacheManagerTest AbstractFrontendTest PhpFrontendTest StringFrontendTest VariableFrontendTest CategoryRegistryTest CategoryCollectionTest CharsetConverterTest ConfigurationManagerTest FlexFormToolsTest AbstractConditionMatcherTest ApplicationContextTest ClassLoadingInformationGeneratorTest SystemEnvironmentBuilderTest RandomTest ConnectionMigratorTest ConnectionPoolTest ConnectionTest DatabaseConnectionTest EnumTypeTest PreparedStatementTest BulkInsertTest ExpressionBuilderTest QueryBuilderTest QueryHelperTest AbstractRestrictionTestCase RelationHandlerTest AbstractDataTypeBaseTestCase ColumnDefinitionAttributesTest ColumnDefinitionItemTest CreateTableFragmentTest ForeignKeyDefinitionTest IndexDefinitionTest ReferenceDefinitionTest TableBuilderTest TableOptionsTest SchemaColumnDefinitionListenerTest SetTypeTest SqlReaderTest DataHandlerTest JavaScriptEncoderTest DebugExceptionHandlerTest ProductionExceptionHandlerTest FileStreamWrapperTest AbstractFormProtectionTest BackendFormProtectionTest FormProtectionFactoryTest InstallToolFormProtectionTest HtmlParserTest RteHtmlParserTest MessageTest RequestTest ResponseTest ServerRequestFactoryTest ServerRequestTest StreamTest UploadedFileTest UriTest DimensionTest GraphicalFunctionsTest IconFactoryTest BitmapIconProviderTest FontawesomeIconProviderTest SvgIconProviderTest IconRegistryTest IconTest EmailLinkHandlerTest FileLinkHandlerTest FolderLinkHandlerTest LegacyLinkNotationConverterTest LinkServiceTest PageLinkHandlerTest UrlLinkHandlerTest LocalesTest LocalizationFactoryTest LocallangXmlParserTest XliffParserTest FileLockStrategyTest LockFactoryTest SemaphoreLockStrategyTest SimpleLockStrategyTest LoggerTest LogLevelTest LogManagerTest LogRecordTest AbstractMemoryTest AbstractProcessorTest IntrospectionProcessorTest MemoryPeakUsageProcessorTest MemoryUsageProcessorTest WebProcessorTest AbstractWriterTest DatabaseWriterTest FileWriterTest MailerTest MailMessageTest FlashMessageServiceTest TcaMigrationTest DependencyResolverTest PackageManagerTest PackageTest PageRendererTest RegistryTest AbstractFileTest BaseTestCase DriverRegistryTest FileReferenceTest FileTest FileNameFilterTest FolderTest ExtractorRegistryTest IndexerTest ProcessedFileTest LocalPreviewHelperTest AudioTagRendererTest RendererRegistryTest VideoTagRendererTest VimeoRendererTest YouTubeRendererTest AbstractRepositoryTest ResourceFactoryTest PlainTextExtractorTest TextExtractorRegistryTest FileExtensionFilterTest DependencyOrderingServiceTest MarkerBasedTemplateServiceTest DatabaseTreeDataProviderTest TreeDataProviderFactoryTest EnumerationTest FileInfoTest ImageInfoTest TypoScriptParserTest TemplateServiceTest ArrayUtilityTest ClassNamingUtilityTest ClientUtilityTest CommandUtilityTest DebugUtilityTest ExtensionManagementUtilityTest ExtendedFileUtilityTest GeneralUtilityTest HttpUtilityTest MailUtilityTest MathUtilityTest PathUtilityTest ResourceUtilityTest RootlineUtilityTest StringUtilityTest VersionNumberUtilityTest DocumentFormatTest DocumentTest DocumentTranslationTest AbstractConfigurationManagerTest BackendConfigurationManagerTest FrontendConfigurationManagerTest BootstrapTest BackendUserGroupTest BackendUserTest CategoryTest FileMountTest FrontendUserGroupTest FrontendUserTest BackendUserGroupRepositoryTest BackendUserRepositoryTest CategoryRepositoryTest FileMountRepositoryTest AbstractEntityTest ErrorTest MessageTest ResultTest CheckFlexFormValueTest CommandManagerTest CommandTest RequestBuilderTest RequestTest AbstractControllerTest ActionControllerTest ArgumentsTest ArgumentTest CommandControllerTest MvcPropertyMappingConfigurationServiceTest RequestTest ResponseTest JsonViewTest CacheHashEnforcerTest RequestBuilderTest UriBuilderTest ClassInfoFactoryTest ContainerTest BackendTest DataMapFactoryTest DataMapperTest PersistenceManagerTest QueryFactoryTest QueryResultTest QueryTest SessionTest Typo3DbBackendTest Typo3DbQueryParserTest Typo3QuerySettingsTest ObjectStorageTest RepositoryTest PropertyMapperTest PropertyMappingConfigurationBuilderTest PropertyMappingConfigurationTest ArrayConverterTest BooleanConverterTest DateTimeConverterTest FloatConverterTest IntegerConverterTest ObjectConverterTest PersistentObjectConverterTest StringConverterTest ClassSchemaTest DocCommentParserTest ObjectAccessTest ReflectionServiceTest FieldProviderTest TaskTest HashServiceTest CacheServiceTest ExtensionServiceTest FlexFormServiceTest ImageScriptServiceTest TypoScriptServiceTest DispatcherTest ArrayUtilityTest DebuggerUtilityTest ExtensionUtilityTest LocalizationUtilityTest AbstractCompositeValidatorTest AbstractValidatorTest AbstractValidatorTestcase AlphanumericValidatorTest CollectionValidatorTest ConjunctionValidatorTest DisjunctionValidatorTest EmailAddressValidatorTest NumberRangeValidatorTest NumberValidatorTest RegularExpressionValidatorTest StringLengthValidatorTest ValidatorResolverTest DownloadControllerTest UpdateFromTerControllerTest UploadExtensionFileControllerTest DownloadQueueTest ExtensionTest ConfigurationItemRepositoryTest RepositoryRepositoryTest ExtensionStatusTest ExtensionManagementServiceTest UpdateExtensionListTaskTest ConfigurationUtilityTest DependencyUtilityTest EmConfUtilityTest ExtensionModelUtilityTest FileHandlingUtilityTest InstallUtilityTest ListUtilityTest FrontendLoginControllerTest FluidTemplateCacheTest XmlnsNamespaceTemplatePreProcessorTest LegacyNamespaceExpressionNodeTest RenderingContextTest CmsVariableProviderTest AbstractViewHelperTest ArgumentDefinitionTest ViewHelperResolverTest AbstractWidgetControllerTest AbstractWidgetViewHelperTest AjaxWidgetContextHolderTest WidgetContextTest WidgetRequestBuilderTest WidgetRequestHandlerTest WidgetRequestTest AbstractTemplateViewTest StandaloneViewTest TemplatePathsTest ImageViewHelperTest ViewHelperBaseTestcase PaginateControllerTest AbstractBackendControllerTest FormEditorControllerTest FormFrontendControllerTest FormManagerControllerTest ConfigurationServiceTest DataStructureIdentifierHookTest InheritancesResolverServiceTest ProcessingRuleTest TypoScriptServiceTest YamlSourceTest FormPersistenceManagerTest CountValidatorTest EmptyValidatorTest MimeTypeValidatorTest DatePickerViewHelperTest ConditionMatcherTest CaseContentObjectTest ContentDataProcessorTest ContentObjectRendererTest FilesContentObjectTest FluidTemplateContentObjectTest AbstractMenuContentObjectTest MenuContentObjectFactoryTest TypoScriptFrontendControllerTest CacheHashCalculatorTest PageGeneratorTest PageRepositoryTest AbstractPluginTest GalleryProcessorTest TypoLinkCodecServiceTest AdminPanelViewTest IndexerTest CoreUpdateServiceTest CoreVersionServiceTest SilentConfigurationUpgradeServiceTest ExtensionCompatibilityTesterTest DefaultFactoryTest LinkNodeTest RootNodeTest StructureFacadeTest FolderStructureTestCase EnableFileServiceTest SqlSchemaMigrationServiceTest StatusUtilityTest DocumentationFileTest JsonViewTest ExtensionTest LanguageTest ArrayBrowserTest AbstractDatabaseRecordListTest CleanerFieldProviderTest CleanerTaskTest Typo3StatusTest CommandLineBackendTest PhpBackendTest KeypairTest EvaluatorTest BlowfishSaltTest Md5SaltTest Pbkdf2SaltTest PhpassSaltTest SaltFactoryTest SaltedPasswordsUtilityTest CronCommandTest NormalizeCommandTest CachingFrameworkGarbageCollectionTest SetupModuleControllerTest AuthenticationServiceTest RemoteServerTest ServicesListReportTest InputHiddenElementTest InputTextElementTest InlineOverrrideChildTcaTest

Protected Member Functions

 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 

Protected Attributes

 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

The mother of all test cases.

Don't sub class this test case but rather choose a more specialized base test case, such as UnitTestCase or FunctionalTestCase

Definition at line 26 of file Classes/Tests/BaseTestCase.php.

Member Function Documentation

getAccessibleMock (   $originalClassName,
  $methods = [],
array  $arguments = [],
  $mockClassName = '',
  $callOriginalConstructor = true,
  $callOriginalClone = true,
  $callAutoload = true 
)
protected

Creates a mock object which allows for calling protected methods and access of protected properties.

Parameters
string$originalClassNamename of class to create the mock object of, must not be empty
string[]|null$methods name of the methods to mock, null for "mock no methods"
array$argumentsarguments to pass to constructor
string$mockClassNamethe class name to use for the mock class
bool$callOriginalConstructorwhether to call the constructor
bool$callOriginalClonewhether to call the __clone method
bool$callAutoloadwhether to call any autoload function
Returns
| a mock of $originalClassName with access methods added
Exceptions
InvalidArgumentException

Definition at line 58 of file Classes/Tests/BaseTestCase.php.

References BaseTestCase\buildAccessibleProxy().

Referenced by AbstractFormFieldViewHelperTest\addAdditionalIdentityPropertiesIfNeededCallsRenderIdentityFieldWithTheRightParameters(), AbstractFormFieldViewHelperTest\addAdditionalIdentityPropertiesIfNeededCallsRenderIdentityFieldWithTheRightParametersWithMoreHierarchyLevels(), AbstractFormFieldViewHelperTest\addAdditionalIdentityPropertiesIfNeededDoesNotCreateAnythingIfPropertyIsWithoutDot(), FileHandlingUtilityTest\addDirectoryAddsDirectory(), SetupModuleControllerTest\addFlashMessagesAddsMessageIfOldPasswordWasWrong(), SetupModuleControllerTest\addFlashMessagesAddsMessageIfPasswordsNotTheSame(), SetupModuleControllerTest\addFlashMessagesAddsMessageIfPasswordWasSuccessfullyUpdated(), SetupModuleControllerTest\addFlashMessagesAddsMessageIfSettingsAreResetToDefault(), SetupModuleControllerTest\addFlashMessagesAddsMessagesIfSetupIsUpdated(), SetupModuleControllerTest\addFlashMessagesAddsMessagesToQueue(), ArgumentsTest\addNewArgumentAssumesTextDataTypeByDefault(), ArgumentsTest\addNewArgumentCanAddArgumentsMarkedAsOptionalWithDefaultValues(), ArgumentsTest\addNewArgumentCanAddArgumentsMarkedAsRequired(), ArgumentsTest\addNewArgumentCreatesAndAddsNewArgument(), ArgumentsTest\addNewArgumentProvidesFluentInterface(), Typo3DbQueryParserTest\addPageIdStatementSetsPidToZeroIfTableDeclaresRootlevel(), Typo3DbQueryParserTest\addSysLanguageStatementWorksForDefaultLanguageWithoutDeleteStatementReturned(), Typo3DbQueryParserTest\addSysLanguageStatementWorksForForeignLanguageWithoutSubselection(), Typo3DbQueryParserTest\addSysLanguageStatementWorksForForeignLanguageWithSubselectionTakesDeleteStatementIntoAccountIfNecessary(), Typo3DbQueryParserTest\addSysLanguageStatementWorksForForeignLanguageWithSubselectionWithoutDeleteStatementReturned(), Typo3DbQueryParserTest\addSysLanguageStatementWorksInBackendContextWithNoGlobalTypoScriptFrontendControllerAvailable(), Typo3DbQueryParserTest\addSysLanguageStatementWorksInBackendContextWithSubselectionTakesDeleteStatementIntoAccountIfNecessary(), ProcessingRuleTest\addValidatorAddValidator(), UriBuilderTest\buildBackendUriConvertsDomainObjectsAfterArgumentsHaveBeenMerged(), ValidatorResolverTest\buildBaseValidatorConjunctionAddsValidatorsDefinedByAnnotationsInTheClassToTheReturnedConjunction(), ValidatorResolverTest\buildBaseValidatorConjunctionCreatesValidatorFromClassName(), DataMapFactoryTest\buildDataMapThrowsExceptionIfClassNameIsNotKnown(), ValidatorResolverTest\buildMethodArgumentsValidatorConjunctionsBuildsAConjunctionFromValidateAnnotationsOfTheSpecifiedMethod(), ValidatorResolverTest\buildMethodArgumentsValidatorConjunctionsReturnsEmptyArrayIfMethodHasNoArguments(), ValidatorResolverTest\buildMethodArgumentsValidatorConjunctionsThrowsExceptionIfValidationAnnotationForNonExistingArgumentExists(), UriBuilderTest\buildTypolinkConfigurationConvertsDomainObjects(), ContentObjectRendererTest\calculateCacheKey(), AbstractViewHelperTest\callRenderMethodBehavesAsExpected(), EnumerationTest\castCastsIntegerToEnumerationWithCorrespondingValue(), EnumerationTest\castCastsStringToEnumerationWithCorrespondingValue(), FormPersistenceManagerTest\checkForDuplicateIdentifierReturnsFalseIfIdentifierIsUsed(), FormPersistenceManagerTest\checkForDuplicateIdentifierReturnsTrueIfIdentifierIsUsed(), FormInlineAjaxControllerTest\checkInlineFileTypeAccessForFieldFiletypesSetRecordTypeInListReturnsTrue(), FormInlineAjaxControllerTest\checkInlineFileTypeAccessForFieldFiletypesSetRecordTypeNotInListReturnsFalse(), FormInlineAjaxControllerTest\checkInlineFileTypeAccessForFieldForFieldNoFiletypesReturnsTrue(), PersistenceManagerTest\clearStateForgetsAboutNewObjects(), DataMapFactoryTest\columnMapIsInitializedWithManyToManyRelationOfTypeInlineAndIntermediateTable(), DataMapFactoryTest\columnMapIsInitializedWithManyToManyRelationOfTypeSelect(), DataMapFactoryTest\columnMapIsInitializedWithManyToManyRelationWithoutPidColumn(), DataMapFactoryTest\columnMapIsInitializedWithManyToManyRelationWithPidColumn(), DataMapFactoryTest\columnMapIsInitializedWithOppositeManyToManyRelationOfTypeSelect(), FileLockStrategyTest\constructorSetsFilePathToExpectedValue(), SimpleLockStrategyTest\constructorSetsResourceToPathWithIdIfUsingSimpleLocking(), EnumerationTest\constructorSetsValue(), UriBuilderTest\convertDomainObjectsToIdentityArraysConvertsDomainObjects(), UriBuilderTest\convertDomainObjectsToIdentityArraysConvertsObjectStoragesWithDomainObjects(), FormManagerControllerTest\convertFormNameToIdentifierRemoveSpaces(), FormManagerControllerTest\convertFormNameToIdentifierRemoveSpecialChars(), FormEditorControllerTest\convertJsonArrayToAssociativeArrayReturnTransformedArray(), Typo3DbQueryParserTest\convertQueryToDoctrineQueryBuilderAddsAndConstraint(), Typo3DbQueryParserTest\convertQueryToDoctrineQueryBuilderAddsNotConstraint(), Typo3DbQueryParserTest\convertQueryToDoctrineQueryBuilderAddsOrConstraint(), Typo3DbQueryParserTest\convertQueryToDoctrineQueryBuilderAddsSimpleAndWhere(), Typo3DbQueryParserTest\convertQueryToDoctrineQueryBuilderDoesNotAddAndWhereWithEmptyConstraint(), Typo3DbQueryParserTest\convertQueryToDoctrineQueryBuilderNotAddsInvalidAndConstraint(), Typo3DbQueryParserTest\convertQueryToDoctrineQueryBuilderNotAddsInvalidOrConstraint(), Typo3DbQueryParserTest\convertQueryToDoctrineQueryBuilderThrowsExceptionOnNotImplementedConstraint(), PropertyMapperTest\convertShouldAskConfigurationBuilderForDefaultConfiguration(), PropertyMapperTest\convertSkipsPropertiesIfConfiguredTo(), PropertyMapperTest\convertSkipsUnknownPropertiesIfConfiguredTo(), QueryResultTest\countCallsGetObjectCountByQueryOnPersistenceManager(), QueryResultTest\countDoesNotInitializeProxy(), FileHandlingUtilityTest\createDirectoriesForExtensionFilesCreatesDirectories(), FileHandlingUtilityTest\createZipFileFromExtensionGeneratesCorrectArchive(), ExtensionCompatibilityTesterTest\deleteProtocolFileDeletesFile(), FormPersistenceManagerTest\deleteThrowsExceptionIfPersistenceIdentifierFileDoesNotExists(), FormPersistenceManagerTest\deleteThrowsExceptionIfPersistenceIdentifierHasNoYamlExtension(), FormPersistenceManagerTest\deleteThrowsExceptionIfPersistenceIdentifierIsExtensionLocation(), FormPersistenceManagerTest\deleteThrowsExceptionIfPersistenceIdentifierIsStorageLocationAndDeleteFromStorageIsNotAllowed(), PropertyMapperTest\doMappingReturnsSourceUnchangedIfAlreadyConverted(), PropertyMapperTest\doMappingReturnsSourceUnchangedIfAlreadyConvertedToCompositeType(), ExtensionManagementServiceTest\downloadDependenciesCallsDownloadUtilityDownloadMethod(), ExtensionManagementServiceTest\downloadDependenciesReturnsResolvedDependencies(), ListUtilityTest\enrichExtensionsWithEmConfInformation(), ExtensionCompatibilityTesterTest\executeActionCallsDeleteProtocolFileIfForceCheckIsSet(), ExtensionCompatibilityTesterTest\executeActionCallsGetExtensionsToLoad(), ExtensionCompatibilityTesterTest\executeActionCallsLoadExtensions(), ExtensionCompatibilityTesterTest\executeActionReturnsStringOkIfAllIsWell(), ExtensionManagementUtilityTest\executePositionedStringInsertionTrimsCorrectCharacters(), FormPersistenceManagerTest\existsReturnsFalseIfPersistenceIdentifierIsExtensionLocationAndFileExistsAndFileHasNoYamlExtension(), FormPersistenceManagerTest\existsReturnsFalseIfPersistenceIdentifierIsExtensionLocationAndFileNotExistsAndFileHasYamlExtension(), FormPersistenceManagerTest\existsReturnsFalseIfPersistenceIdentifierIsStorageLocationAndFileExistsAndFileNoYamlExtension(), FormPersistenceManagerTest\existsReturnsFalseIfPersistenceIdentifierIsStorageLocationAndFileNotExistsAndFileHasYamlExtension(), FormPersistenceManagerTest\existsReturnsTrueIfPersistenceIdentifierIsExtensionLocationAndFileExistsAndFileHasYamlExtension(), FormPersistenceManagerTest\existsReturnsTrueIfPersistenceIdentifierIsStorageLocationAndFileExistsAndFileHasYamlExtension(), FileHandlingUtilityTest\extractDirectoriesFromExtensionDataExtractsDirectories(), FileHandlingUtilityTest\extractFilesArrayFromExtensionDataReturnsFileArray(), DataMapperTest\fetchRelatedEagerReturnsEmptyArrayForEmptyRelationNotHasOne(), DataMapperTest\fetchRelatedEagerReturnsNullForEmptyRelationHasOne(), ResourceStorageTest\fileExtensionPermissionIsWorkingCorrectly(), ImageScriptServiceTest\fileIsUnwrappedFromReferenceForProcessing(), PropertyMapperTest\findTypeConverterShouldReturnConverterForTargetObjectIfItExists(), PropertyMapperTest\findTypeConverterShouldReturnHighestPriorityTypeConverterForSimpleType(), FileNodeTest\fixSelfReturnsArrayOfStatusMessages(), FileControllerTest\flattenResultDataValueFlattensFileAndFolderResourcesButReturnsAnythingElseAsIs(), FormViewHelperTest\formObjectNameArgumentOverrulesNameArgument(), FileHandlingUtilityTest\getAbsolutePathReturnsAbsolutePathForValidRelativePaths(), FileHandlingUtilityTest\getAbsolutePathThrowsExceptionForInvalidRelativePaths(), FormManagerControllerTest\getAccessibleFormStorageFoldersReturnsProcessedArray(), WidgetRequestTest\getArgumentPrefixReadsVariablesFromWidgetContext(), FormManagerControllerTest\getAvailableFormDefinitionsReturnsProcessedArray(), ConfigurationItemRepositoryTest\getConfigurationArrayFromExtensionKeyReturnsSortedHierarchicArray(), CommandUtilityTest\getConfiguredApps(), BackendConfigurationManagerTest\getCurrentPageIdReturnsDefaultStoragePidIfIdIsNotSetNoRootTemplateAndRootPageWasFound(), BackendConfigurationManagerTest\getCurrentPageIdReturnsPidFromFirstRootTemplateIfIdIsNotSetAndNoRootPageWasFound(), BackendConfigurationManagerTest\getCurrentPageIdReturnsUidFromFirstRootPageIfIdIsNotSet(), UploadExtensionFileControllerTest\getExtensionFromZipFileExtractsExtensionKey(), ExtensionCompatibilityTesterTest\getExtensionsToExcludeReturnsArray(), ExtensionCompatibilityTesterTest\getExtensionsToLoadGetsExtensionsWithoutExcluded(), FormPersistenceManagerTest\getFileByIdentifierThrowsExceptionIfReadFromStorageIsNotAllowed(), FormEditorControllerTest\getFormEditorDefinitionsReturnReducedConfiguration(), FormManagerControllerTest\getFormManagerAppInitialDataReturnsProcessedArray(), ContentObjectRendererTest\getFromCache(), YamlSourceTest\getHeaderFromFileReturnsHeaderPart(), ContentObjectRendererTest\getImageSourceCollectionHookCalled(), FormInlineAjaxControllerTest\getInlineExpandCollapseStateArraySwitchesToFallbackIfTheBackendUserDoesNotHaveAnUCInlineViewProperty(), FormInlineAjaxControllerTest\getInlineExpandCollapseStateArrayWillUnserializeUCInlineViewPropertyAsAnArrayWithData(), FormEditorControllerTest\getInsertRenderablesPanelConfigurationReturnsGroupedAndSortedConfiguration(), DependencyUtilityTest\getLatestCompatibleExtensionByIntegerVersionDependencyWillReturnExtensionModelOfLatestExtension(), DependencyUtilityTest\getLowestAndHighestIntegerVersionsReturnsArrayWithVersions(), AbstractFormFieldViewHelperTest\getNameBuildsNameFromFieldNamePrefixAndFieldNameIfNotInObjectAccessorMode(), AbstractFormFieldViewHelperTest\getNameBuildsNameFromFieldNamePrefixAndPropertyIfInObjectAccessorModeAndNoFormObjectNameIsSpecified(), AbstractFormFieldViewHelperTest\getNameBuildsNameFromFieldNamePrefixFormObjectNameAndHierarchicalPropertyIfInObjectAccessorMode(), AbstractFormFieldViewHelperTest\getNameBuildsNameFromFieldNamePrefixFormObjectNameAndPropertyIfInObjectAccessorMode(), PersistenceManagerTest\getObjectByIdentifierReturnsNullForUnknownObject(), PersistenceManagerTest\getObjectByIdentifierReturnsObjectFromPersistenceIfAvailable(), PersistenceManagerTest\getObjectByIdentifierReturnsObjectFromSessionIfAvailable(), FormPersistenceManagerTest\getOrCreateFileThrowsExceptionIfFolderNotExistsInStorage(), FormPersistenceManagerTest\getOrCreateFileThrowsExceptionIfWriteToStorageIsNotAllowed(), PackageManagerTest\getPackageKeyFromComposerNameIgnoresCaseDifferences(), FormManagerControllerTest\getProcessedReferencesRowsReturnsProcessedArray(), FormManagerControllerTest\getProcessedReferencesRowsThrowsExceptionIfPersistenceIdentifierIsEmpty(), AbstractFormFieldViewHelperTest\getPropertyValueReturnsArrayValueByPropertyPath(), ConfigurationServiceTest\getPrototypeConfigurationReturnsPrototypeConfiguration(), ConfigurationServiceTest\getPrototypeConfigurationThrowsExceptionIfNoPrototypeFound(), ContentObjectRendererTest\getQueryCallsGetTreeListWithCurrentPageIfThisIsSet(), ContentObjectRendererTest\getQueryCallsGetTreeListWithNegativeValuesIfRecursiveIsSet(), AbstractFormFieldViewHelperTest\getRespectSubmittedDataValueInitiallyReturnsFalse(), FormPersistenceManagerTest\getStorageByUidThrowsExceptionIfStorageIsNotBrowsable(), FormPersistenceManagerTest\getStorageByUidThrowsExceptionIfStorageNotExists(), FormPersistenceManagerTest\getUniqueIdentifierAppendTimestampIfIdentifierExists(), FormPersistenceManagerTest\getUniqueIdentifierThrowsExceptionIfIdentifierExists(), FormPersistenceManagerTest\getUniquePersistenceIdentifierAppendNumberIfPersistenceIdentifierExists(), FormPersistenceManagerTest\getUniquePersistenceIdentifierAppendTimestampIfPersistenceIdentifierExists(), CollectionValidatorTest\getValidator(), AbstractFormFieldViewHelperTest\getValueAttributeBuildsValueFromPropertyAndFormObjectIfInObjectAccessorModeAndRespectSubmittedDataValueSetFalse(), FileTest\hasPropertyReturnsTrueIfMetadataPropertyExists(), InstallUtilityTest\importT3DFileDoesNotImportFileIfAlreadyImported(), ActionControllerTest\initializeActionMethodArgumentsRegistersArgumentsFoundInTheSignatureOfTheCurrentActionMethod(), ActionControllerTest\initializeActionMethodArgumentsRegistersOptionalArgumentsAsSuch(), ActionControllerTest\initializeActionMethodArgumentsThrowsExceptionIfDataTypeWasNotSpecified(), AbstractViewHelperTest\initializeArgumentsAndRenderCallsTheCorrectSequenceOfMethods(), MvcPropertyMappingConfigurationServiceTest\initializePropertyMappingConfiguration(), DatabaseTreeDataProviderTest\initializeSubjectMock(), DatabaseConnectionTest\insertMultipleRowsCreateValidQuery(), DatabaseConnectionTest\insertQueryCreateValidQuery(), DatabaseConnectionTest\insertQueryCreateValidQueryFromMultipleValues(), BackendTest\insertRelationInRelationtableSetsMmMatchFieldsInRow(), DownloadControllerTest\installFromTerReturnsArrayWithBooleanResultAndErrorArrayWhenExtensionManagerExceptionIsThrown(), DependencyUtilityTest\isAvailableVersionCompatibleCallsIsVersionCompatibleWithExtensionVersion(), DependencyUtilityTest\isDependentExtensionAvailableReturnsFalseIfExtensionIsNotAvailable(), DependencyUtilityTest\isDependentExtensionAvailableReturnsTrueIfExtensionIsAvailable(), DependencyUtilityTest\isDownloadableVersionCompatibleReturnsFalseIfIncompatibleVersionExists(), DependencyUtilityTest\isDownloadableVersionCompatibleReturnsTrueIfCompatibleVersionExists(), DependencyUtilityTest\isExtensionDownloadableFromTerReturnsFalseIfNoVersionExists(), DependencyUtilityTest\isExtensionDownloadableFromTerReturnsTrueIfOneVersionExists(), AbstractFormFieldViewHelperTest\isObjectAccessorModeReturnsTrueIfPropertyIsSetAndFormObjectIsGiven(), SuggestWizardControllerTest\isTableHiddenIsProperlyRetrieved(), EnumerationTest\isValidDoesTypeLooseComparison(), FormManagerControllerTest\isValidTemplatePathReturnsFalseIfTemplateIsDefinedButNotExists(), FormManagerControllerTest\isValidTemplatePathReturnsFalseIfTemplateIsNotDefinedAndExists(), FormManagerControllerTest\isValidTemplatePathReturnsTrueIfTemplateIsDefinedAndExists(), ExtensionCompatibilityTesterTest\loadExtLocalconfForExtensionIncludesExtLocalconfPhp(), YamlSourceTest\loadThrowsExceptionIfFileToLoadIsNotValidYamlUsePhpExtensionParser(), YamlSourceTest\loadThrowsExceptionIfFileToLoadIsNotValidYamlUseSymfonyParser(), YamlSourceTest\loadThrowsExceptionIfFileToLoadNotExists(), FormPersistenceManagerTest\loadThrowsExceptionIfPersistenceIdentifierHasNoYamlExtension(), EnumerationTest\loadValuesSetsStaticEnumConstants(), FileHandlingUtilityTest\makeAndClearExtensionDirAddsDir(), FileHandlingUtilityTest\makeAndClearExtensionDirRemovesExtensionDirIfAlreadyExists(), FileHandlingUtilityTest\makeAndClearExtensionDirThrowsExceptionOnInvalidPath(), DataMapperTest\mapObjectToClassPropertyReturnsNullForEmptyRelationHasOne(), DataMapperTest\mapSingleRowReturnsObjectFromPersistenceSessionIfAvailable(), Typo3DbQueryParserTest\orderStatementGenerationThrowsExceptionOnUnsupportedOrder(), Typo3DbQueryParserTest\orderStatementGenerationWorks(), Typo3DbQueryParserTest\orderStatementGenerationWorksWithMultipleOrderings(), FormFrontendControllerTest\overrideByFlexFormSettingsReturnsNoOverriddenConfigurationIfFlexformOverridesDisabled(), FormFrontendControllerTest\overrideByFlexFormSettingsReturnsNotOverriddenConfigurationKeyIfFlexformOverridesAreNotRepresentedInFormEngineConfiguration(), FormFrontendControllerTest\overrideByFlexFormSettingsReturnsOverriddenConfigurationIfFlexformOverridesEnabled(), FormFrontendControllerTest\overrideByTypoScriptSettingsReturnsNotOverriddenConfigurationIfNoTypoScriptOverridesExists(), FormFrontendControllerTest\overrideByTypoScriptSettingsReturnsOverriddenConfigurationIfTypoScriptOverridesExists(), EditDocumentControllerTest\parseAdditionalGetParametersCreatesCorrectParameterArray(), PersistenceManagerTest\persistAllAddsNamespacedReconstitutedObjectFromSessionToBackendsAggregateRootObjects(), PersistenceManagerTest\persistAllAddsReconstitutedObjectFromSessionToBackendsAggregateRootObjects(), PersistenceManagerTest\persistAllPassesAddedObjectsToBackend(), PersistenceManagerTest\persistAllPassesRemovedObjectsToBackend(), FormViewHelperTest\postProcessUriArgumentsForRequestHashWorks(), AbstractFormViewHelperTest\prefixFieldNamePrefixesGivenFieldNameWithFieldNamePrefix(), AbstractFormViewHelperTest\prefixFieldNamePreservesSquareBracketsOfFieldName(), AbstractFormViewHelperTest\prefixFieldNameReturnsEmptyStringIfGivenFieldNameIsEmpty(), AbstractFormViewHelperTest\prefixFieldNameReturnsEmptyStringIfGivenFieldNameIsNULL(), AbstractFormViewHelperTest\prefixFieldNameReturnsGivenFieldNameIfFieldNamePrefixIsEmpty(), AbstractViewHelperTest\prepareArgumentsCallsInitializeArguments(), FileReferenceTest\prepareFixture(), FileControllerTest\processAjaxRequestDeleteProcessActuallyDoesNotChangeFileData(), FileControllerTest\processAjaxRequestEditFileProcessActuallyDoesNotChangeFileData(), FileControllerTest\processAjaxRequestReturnsStatus200IfNoErrorOccures(), FileControllerTest\processAjaxRequestReturnsStatus500IfErrorOccurs(), InstallUtilityTest\processDatabaseUpdatesCallsImportFile(), InstallUtilityTest\processDatabaseUpdatesCallsImportStaticSqlFile(), InstallUtilityTest\processDatabaseUpdatesCallsUpdateDbWithExtTablesSql(), ProcessingRuleTest\processNoPropertyMappingAndHasErrorsIfValidatorContainsErrors(), ProcessingRuleTest\processNoPropertyMappingReturnsNotModifiedValue(), AbstractViewHelperTest\registerRenderMethodArgumentsThrowsExceptionOnMissingType(), ExtensionCompatibilityTesterTest\removeCurrentExtensionFromFileRemovesGivenExtension(), FileHandlingUtilityTest\removeDirectoryRemovesDirectory(), DownloadQueueTest\removeExtensionFromQueueRemovesExtension(), FormViewHelperTest\renderAdditionalIdentityFieldsFetchesTheFieldsFromViewHelperVariableContainerAndBuildsHiddenFieldsForThem(), FormViewHelperTest\renderAddsDefaultFieldNamePrefixToTemplateVariableContainerIfNoPrefixIsSpecified(), FormViewHelperTest\renderAddsObjectNameToTemplateVariableContainer(), FormViewHelperTest\renderAddsObjectToViewHelperVariableContainer(), FormViewHelperTest\renderAddsSpecifiedPrefixToTemplateVariableContainer(), FormViewHelperTest\renderCallsRenderAdditionalIdentityFields(), FormViewHelperTest\renderCallsRenderHiddenIdentityField(), FormViewHelperTest\renderCallsRenderHiddenReferrerFields(), TextfieldViewHelperTest\renderCallsSetErrorClassAttribute(), FormEditorControllerTest\renderFormEditorTemplatesThrowsExceptionIfLayoutRootPathsNotArray(), FormEditorControllerTest\renderFormEditorTemplatesThrowsExceptionIfLayoutRootPathsNotSet(), FormEditorControllerTest\renderFormEditorTemplatesThrowsExceptionIfPartialRootPathsNotArray(), FormEditorControllerTest\renderFormEditorTemplatesThrowsExceptionIfPartialRootPathsNotSet(), FormEditorControllerTest\renderFormEditorTemplatesThrowsExceptionIfTemplateRootPathsNotArray(), FormEditorControllerTest\renderFormEditorTemplatesThrowsExceptionIfTemplateRootPathsNotSet(), AbstractFormFieldViewHelperTest\renderHiddenFieldForEmptyValueAddsHiddenFieldNameToVariableContainerIfItHasBeenRendered(), AbstractFormFieldViewHelperTest\renderHiddenFieldForEmptyValueDoesNotRemoveNonEmptySquareBracketsFromHiddenFieldName(), AbstractFormFieldViewHelperTest\renderHiddenFieldForEmptyValueDoesNotRenderHiddenFieldIfItHasBeenRenderedBefore(), AbstractFormFieldViewHelperTest\renderHiddenFieldForEmptyValueRemovesEmptySquareBracketsFromHiddenFieldName(), AbstractFormFieldViewHelperTest\renderHiddenFieldForEmptyValueRendersHiddenFieldIfItHasNotBeenRenderedBefore(), AbstractFormViewHelperTest\renderHiddenIdentityFieldReturnsAHiddenInputFieldContainingTheObjectsUID(), AbstractFormViewHelperTest\renderHiddenIdentityFieldReturnsAHiddenInputFieldIfObjectIsNewButAClone(), FormViewHelperTest\renderHiddenReferrerFieldsAddCurrentControllerAndActionAsHiddenFields(), ImageViewHelperTest\renderMethodCreatesExpectedTag(), InputHiddenElementTest\renderReturnsElementsAsAdditionalHiddenFields(), FormViewHelperTest\renderWrapsHiddenFieldsWithDivForXhtmlCompatibilityWithRewrittenPropertyMapper(), ExtensionManagementServiceTest\resolveDependenciesCallsDownloadDependenciesIfDownloadKeyExistsInQueue(), ExtensionManagementServiceTest\resolveDependenciesCallsUpdateAndDownloadDependenciesIfUpdateKeyExistsInQueue(), DataMapFactoryTest\resolveTableNameReturnsExpectedTablenames(), TypoScriptServiceTest\resolveTypoScriptConfigurationReturnsResolvedConfiguration(), ValidatorResolverTest\resolveValidatorObjectNameCallsGetValidatorType(), ActionControllerTest\resolveViewObjectNameUsesNamespacedViewObjectNamePatternForExtensionsWithVendor(), ActionControllerTest\resolveViewObjectNameUsesViewObjectNamePatternToResolveViewObjectName(), ActionControllerTest\resolveViewUsesFluidTemplateViewIfTemplateIsAvailable(), ResourceFactoryTest\retrieveFileOrFolderObjectReturnsFileIfPathIsGiven(), FormPersistenceManagerTest\saveThrowsExceptionIfPersistenceIdentifierHasNoYamlExtension(), FormPersistenceManagerTest\saveThrowsExceptionIfPersistenceIdentifierIsAExtensionLocationAndSaveToExtensionLocationIsNotAllowed(), PackageManagerTest\scanAvailablePackagesTraversesThePackagesDirectoryAndRegistersPackagesItFinds(), FileBackendTest\setCacheDirectoryAllowsAbsoluteDottedPathWithoutTrailingSlash(), FileBackendTest\setCacheDirectoryAllowsAbsoluteDottedPathWithTrailingSlash(), FileBackendTest\setCacheDirectoryAllowsAbsolutePathWithoutTrailingSlash(), FileBackendTest\setCacheDirectoryAllowsAbsolutePathWithTrailingSlash(), FileBackendTest\setCacheDirectoryAllowsRelativeDottedPathWithoutTrailingSlash(), FileBackendTest\setCacheDirectoryAllowsRelativeDottedPathWithTrailingSlash(), FileBackendTest\setCacheDirectoryAllowsRelativePathWithoutTrailingSlash(), FileBackendTest\setCacheDirectoryAllowsRelativePathWithTrailingSlash(), FormViewHelperTest\setFormActionUriRespectsOverriddenArgument(), DataMapFactoryTest\setRelationsDetectsManyToManyRelationOfTypeInlineWithIntermediateTable(), DataMapFactoryTest\setRelationsDetectsManyToManyRelationOfTypeSelect(), DataMapFactoryTest\setRelationsDetectsOneToManyRelation(), DataMapFactoryTest\setRelationsDetectsOneToOneRelation(), DataMapFactoryTest\setRelationsDetectsOneToOneRelationWithIntermediateTable(), AbstractViewHelperTest\setRenderingContextShouldSetInnerVariables(), AbstractFormFieldViewHelperTest\setRespectSubmittedDataValueToTrue(), DataMapFactoryTest\settingOneToManyRelationSetsRelationTableMatchFields(), DataMapFactoryTest\settingOneToOneRelationSetsRelationTableMatchFields(), IfHasRoleViewHelperTest\setUp(), IfAuthenticatedViewHelperTest\setUp(), ResponseTest\setUp(), FlashMessageServiceTest\setUp(), ExternalViewHelperTest\setUp(), PasswordViewHelperTest\setUp(), TextareaViewHelperTest\setUp(), SubmitViewHelperTest\setUp(), HiddenViewHelperTest\setUp(), UploadViewHelperTest\setUp(), SelectViewHelperTest\setUp(), BackendLayoutViewTest\setUp(), Typo3QuerySettingsTest\setUp(), InstallToolFormProtectionTest\setUp(), PageViewHelperTest\setUp(), ResourceCompressorTest\setUp(), SystemEnvironmentBuilderTest\setUp(), TaskTest\setUp(), DispatcherTest\setUp(), PhpErrorCodeViewHelperTest\setUp(), CommandControllerTest\setUp(), RenderingContextTest\setUp(), TypoScriptFrontendControllerTest\setUp(), LoginControllerTest\setUp(), RootlineUtilityTest\setUp(), ValidatorResolverTest\setUp(), IconViewHelperTest\setUp(), BackendConfigurationManagerTest\setUp(), WidgetRequestHandlerTest\setUp(), DownloadQueueTest\setUp(), ResourceFactoryTest\setUp(), DatePickerViewHelperTest\setUp(), ConfigurationItemRepositoryTest\setUp(), LockFactoryTest\setUp(), FrontendConfigurationManagerTest\setUp(), CommandManagerTest\setUp(), RequestTest\setUp(), ExtensionServiceTest\setUp(), QueryFactoryTest\setUp(), RemoteServerTest\setUp(), InstallUtilityTest\setUp(), WidgetRequestBuilderTest\setUp(), ActionControllerTest\setUp(), CommandTest\setUp(), QueryTest\setUp(), ArgumentTest\setUp(), AbstractTemplateViewTest\setUp(), TemplateServiceTest\setUp(), PageRepositoryTest\setUp(), DataHandlerTest\setUp(), UpdateFromTerControllerTest\setUp(), QueryResultTest\setUp(), DatabaseConnectionTest\setUp(), CollectionValidatorTest\setUp(), PaginateControllerTest\setUp(), FrontendLoginControllerTest\setUp(), IntrospectionProcessorTest\setUp(), AbstractWidgetViewHelperTest\setUp(), UriBuilderTest\setUp(), RequestBuilderTest\setUp(), RepositoryTest\setUp(), ViewHelperBaseTestcase\setUp(), StandaloneViewTest\setUp(), ContentObjectRendererTest\setUp(), AbstractConfigurationManagerTest\setUp(), LocalizationUtilityTest\setUp(), PreparedStatementTest\setUpAndReturnDatabaseStub(), EnumerationTest\setValueSetsValue(), EnumerationTest\setValueToAnInvalidValueThrowsException(), ArgumentTest\setValueUsesNullAsIs(), AbstractWidgetControllerTest\setViewConfigurationPerformsExpectedInitialization(), FormInlineAjaxControllerTest\splitDomObjectIdResolvesFlexformPathCorrectly(), FormInlineAjaxControllerTest\splitDomObjectIdResolvesTablenameCorrectly(), ContentObjectRendererTest\stdWrap_cacheRead(), ContentObjectRendererTest\stdWrap_cacheStore(), ContentObjectRendererTest\stdWrap_data(), ContentObjectRendererTest\stdWrap_if(), ContentObjectRendererTest\stdWrap_postUserFuncInt(), BackendConfigurationManagerTest\storagePidsAreNotExtendedIfRecursiveSearchIsConfiguredForZeroLevels(), BackendConfigurationManagerTest\storagePidsAreNotExtendedIfRecursiveSearchIsNotConfigured(), ConnectionMigratorTest\tableNamesStickToTheMaximumCharactersWhenPrefixedForRemoval(), PersistenceManagerTest\tearDownWithBackendSupportingTearDownDelegatesCallToBackend(), JsonViewTest\testTransformValue(), JsonViewTest\testTransformValueWithObjectIdentifierExposure(), JsonViewTest\transformStatusArrayToArrayReturnsArray(), JsonViewTest\transformStatusArrayToArrayThrowsExceptionIfArrayContainsNotAMessageInterfaceMessage(), JsonViewTest\transformStatusToArrayCreatesArrayFromStatusMessage(), ExtensionCompatibilityTesterTest\tryToLoadExtLocalconfAndExtTablesOfExtensionsCallsLoadExtLocalconfForExtension(), ExtensionCompatibilityTesterTest\tryToLoadExtLocalconfAndExtTablesOfExtensionsCallsLoadExtTablesForExtension(), ExtensionCompatibilityTesterTest\tryToLoadExtLocalconfAndExtTablesOfExtensionsCallsWriteCurrentExtensionToFile(), Typo3DbBackendTest\uidOfAlreadyPersistedValueObjectIsDeterminedCorrectly(), ExtensionManagementServiceTest\uninstallDependenciesToBeUpdatedCallsUninstall(), ExtensionManagementServiceTest\uninstallDependenciesToBeUpdatedReturnsResolvedDependencies(), FileHandlingUtilityTest\unpackExtensionFromExtensionDataArrayCreatesTheExtensionDirectory(), FileHandlingUtilityTest\unpackExtensionFromExtensionDataArrayStripsDirectoriesFromFilesArray(), RequestBuilderTest\untangleFilesArrayTransformsTheFilesSuperglobalIntoAManageableForm(), RepositoryTest\updateChecksObjectType(), DatabaseConnectionTest\updateQueryCreateValidQuery(), PersistenceManagerTest\updateSchedulesAnObjectForPersistence(), AbstractViewHelperTest\validateArgumentsAcceptsAllObjectsImplemtingArrayAccessAsAnArray(), AbstractViewHelperTest\validateArgumentsCallsPrepareArguments(), AbstractViewHelperTest\validateArgumentsCallsTheRightValidators(), AbstractViewHelperTest\validateArgumentsCallsTheRightValidatorsAndThrowsExceptionIfValidationIsWrong(), AbstractValidatorTest\validatorAcceptsSupportedOptions(), AbstractCompositeValidatorTest\validatorAcceptsSupportedOptions(), AbstractCompositeValidatorTest\validatorHasDefaultOptions(), AbstractValidatorTest\validatorHasDefaultOptions(), AbstractCompositeValidatorTest\validatorThrowsExceptionOnMissingRequiredOptions(), AbstractValidatorTest\validatorThrowsExceptionOnMissingRequiredOptions(), AbstractValidatorTest\validatorThrowsExceptionOnNotSupportedOptions(), AbstractCompositeValidatorTest\validatorThrowsExceptionOnNotSupportedOptions(), JsonViewTest\viewExposesClassNameFullyIfConfiguredSo(), ExtensionCompatibilityTesterTest\writeCurrentExtensionToFileWritesExtensionKeyToFile(), FileHandlingUtilityTest\writeEmConfWritesEmConfFile(), and FileHandlingUtilityTest\writeExtensionFilesWritesFiles().

getAccessibleMockForAbstractClass (   $originalClassName,
array  $arguments = [],
  $mockClassName = '',
  $callOriginalConstructor = true,
  $callOriginalClone = true,
  $callAutoload = true,
  $mockedMethods = [] 
)
protected

Returns a mock object which allows for calling protected methods and access of protected properties. Concrete methods to mock can be specified with the last parameter

Parameters
string$originalClassNameFull qualified name of the original class
array$arguments
string$mockClassName
bool$callOriginalConstructor
bool$callOriginalClone
bool$callAutoload
array$mockedMethods
Exceptions
InvalidArgumentException
Returns
|

Definition at line 104 of file Classes/Tests/BaseTestCase.php.

References BaseTestCase\buildAccessibleProxy().

Referenced by AbstractBackendControllerTest\resolveResourcePathsExpectResolve(), and AbstractHierarchicalFilesystemDriverTest\setUp().

getUniqueId (   $prefix = '')
protected

Create and return a unique id optionally prepended by a given string

This function is used because on windows and in cygwin environments uniqid() has a resolution of one second which results in identical ids if simply uniqid('Foo'); is called.

Parameters
string$prefix
Returns
string

Definition at line 296 of file Classes/Tests/BaseTestCase.php.

References StringUtility\getUniqueId().

Referenced by FileHandlingUtilityTest\addDirectoryAddsDirectory(), AbstractControllerTest\addFlashMessageAddsFlashMessageObjectToFlashMessageQueue(), Typo3DbQueryParserTest\addSysLanguageStatementWorksForDefaultLanguageWithoutDeleteStatementReturned(), Typo3DbQueryParserTest\addSysLanguageStatementWorksForForeignLanguageWithoutSubselection(), Typo3DbQueryParserTest\addSysLanguageStatementWorksForForeignLanguageWithSubselectionTakesDeleteStatementIntoAccountIfNecessary(), Typo3DbQueryParserTest\addSysLanguageStatementWorksForForeignLanguageWithSubselectionWithoutDeleteStatementReturned(), Typo3DbQueryParserTest\addSysLanguageStatementWorksInBackendContextWithNoGlobalTypoScriptFrontendControllerAvailable(), ExtensionManagementUtilityTest\addToAllTCAtypesReplacesExistingOnes(), FileWriterTest\aSecondLogWriterToTheSameFileDoesNotOpenTheFileTwice(), StreamTest\attachWithResourceAttachesResource(), StreamTest\attachWithStringRepresentingResourceCreatesAndAttachesResource(), BackendLayoutCollectionTest\backendLayoutCanBeFetched(), BaseTestCase\buildAccessibleProxy(), ContentObjectRendererTest\calculateCacheKeyDataProvider(), ExtensionManagementUtilityTest\canAddFieldsToAllTCATypesAfterExistingOnes(), ExtensionManagementUtilityTest\canAddFieldsToAllTCATypesBeforeExistingOnes(), ExtensionManagementUtilityTest\canAddFieldsToAllTCATypesRespectsPalettes(), ExtensionManagementUtilityTest\canAddFieldsToAllTCATypesRespectsPositionFieldInPalette(), ExtensionManagementUtilityTest\canAddFieldsToPaletteAfterExistingOnes(), ExtensionManagementUtilityTest\canAddFieldsToPaletteAfterNotExistingOnes(), ExtensionManagementUtilityTest\canAddFieldsToPaletteBeforeExistingOnes(), ExtensionManagementUtilityTest\canAddFieldsToTCATypeAfterExistingOnes(), ExtensionManagementUtilityTest\canAddFieldsToTCATypeAndReplaceExistingOnes(), ExtensionManagementUtilityTest\canAddFieldsToTCATypeBeforeExistingOnes(), ExtensionManagementUtilityTest\canAddFieldWithPartOfAlreadyExistingFieldname(), CategoryCollectionTest\canLoadADummyCollectionFromDatabaseAfterRemoveOneRelation(), CategoryCollectionTest\canLoadADummyCollectionFromDatabaseAndAddRecord(), StreamTest\closeClosesResource(), StreamTest\closeDoesNothingAfterDetach(), StreamTest\closeUnsetsResource(), RedisBackendTest\collectGarbageDoesNotRemoveNotExpiredIdentifierToDataEntry(), RedisBackendTest\collectGarbageRemovesExpiredIdentifierFromTagsToIdentifierSet(), RedisBackendTest\collectGarbageRemovesLeftOverIdentifierToTagsSet(), CollectionValidatorTest\collectionValidatorValidatesNestedObjectStructuresWithoutEndlessLooping(), FileTest\commonPropertiesAreAvailableWithOwnGetters(), FolderTest\constructorArgumentsAreAvailableAtRuntime(), AbstractControllerTest\constructResolvesExtensionnameFromNamespaced(), AbstractControllerTest\constructResolvesExtensionnameFromOldStyle(), GeneralUtilityTest\copyDirectoryCopiesFilesAndDirectoriesWithAbsolutePaths(), GeneralUtilityTest\copyDirectoryCopiesFilesAndDirectoriesWithRelativePaths(), LocalDriverTest\copyFolderWithinStorageCopiesFileInSingleSubFolderToNewFolderName(), LocalDriverTest\copyFolderWithinStorageCopiesSingleFileToNewFolderName(), FileHandlingUtilityTest\createFakeExtension(), InstallUtilityTest\createFakeExtension(), LocalDriverTest\createRealTestdir(), ResourceFactoryTest\createStorageCollectionObjectCreatesCollectionWithCorrectArguments(), ValidatorResolverTest\createValidatorThrowsNoSuchValidatorExceptionIfAValidatorCouldNotBeResolved(), GenericObjectValidatorTest\dataProviderForValidator(), DataProviderCollectionTest\defaultBackendLayoutIsFound(), DataHandlerTest\doesCheckFlexFormValueHookGetsCalled(), DataHandlerTest\doesCheckModifyAccessListHookGetsCalled(), DriverRegistryTest\driverExistsReturnsTrueForAllExistingDrivers(), DriverRegistryTest\driverRegistryIsInitializedWithPreconfiguredDrivers(), BackendLayoutCollectionTest\duplicateBackendLayoutIsRecognizedOnAdding(), PageRepositoryTest\enableFieldsDoesFilterToCurrentAndLiveWorkspaceForRecordsInPreview(), PageRepositoryTest\enableFieldsDoesNotHidePlaceholdersInPreview(), PageRepositoryTest\enableFieldsDoesNotHideVersionedRecordsWhenCheckingVersionOverlays(), PageRepositoryTest\enableFieldsHidesVersionedRecordsAndPlaceholders(), StreamTest\eofReportsFalseWhenNotAtEndOfStream(), StreamTest\eofReportsTrueWhenAtEndOfStream(), StreamTest\eofReportsTrueWhenStreamIsDetached(), JsonViewTest\exposeClassNameSettingsAndResults(), TemplateServiceTest\extensionStaticFilesAreNotProcessedIfNotExplicitlyRequested(), TemplateServiceTest\extensionStaticsAreProcessedIfExplicitlyRequested(), IndexerTest\extractHyperLinksDoesNotReturnNonExistingLocalPath(), IndexerTest\extractHyperLinksFindsCorrectPathUsingAbsRefPrefix(), FileCollectionRegistryTest\fileCollectionRegistryIsInitializedWithPreconfiguredFileCollections(), SystemEnvironmentBuilderTest\fileDenyPatternMatchesPhpExtensionDataProvider(), LocalDriverTest\fileMetadataIsChangedAfterMovingFile(), LocalDriverTest\filesCanBeCopiedWithinStorage(), LocalDriverTest\filesCanBeMovedWithinStorage(), MemcachedBackendTest\findIdentifiersByTagFindsCacheEntriesWithSpecifiedTag(), WincacheBackendTest\findIdentifiersByTagFindsSetEntries(), ApcBackendTest\findIdentifiersByTagFindsSetEntries(), ApcuBackendTest\findIdentifiersByTagFindsSetEntries(), RedisBackendTest\findIdentifiersByTagReturnsAllIdentifiersTagedWithSpecifiedTag(), GeneralUtilityTest\fixPermissionsCorrectlySetsPermissionsRecursive(), GeneralUtilityTest\fixPermissionsDoesNotSetPermissionsToNotAllowedPath(), GeneralUtilityTest\fixPermissionsSetsDefaultPermissionsToDirectory(), GeneralUtilityTest\fixPermissionsSetsDefaultPermissionsToFile(), GeneralUtilityTest\fixPermissionsSetsGroup(), GeneralUtilityTest\fixPermissionsSetsPermissionsToDirectory(), GeneralUtilityTest\fixPermissionsSetsPermissionsToDirectoryWithTrailingSlash(), GeneralUtilityTest\fixPermissionsSetsPermissionsToFile(), GeneralUtilityTest\fixPermissionsSetsPermissionsToHiddenDirectory(), GeneralUtilityTest\fixPermissionsSetsPermissionsToHiddenFile(), GeneralUtilityTest\fixPermissionsSetsPermissionsWithRelativeFileReference(), RedisBackendTest\flushByTagDoesNotRemoveIdentifierToTagsSetOfUnrelatedEntry(), RedisBackendTest\flushByTagRemovesEntriesTaggedWithSpecifiedTag(), RedisBackendTest\flushByTagRemovesIdentifiersTaggedWithGivenTagFromTagToIdentifiersSets(), RedisBackendTest\flushByTagRemovesIdentifierToTagsSetOfEntryTaggedWithGivenTag(), RedisBackendTest\flushByTagRemovesTagToIdentifiersSetOfGivenTag(), RedisBackendTest\flushByTagRemovesTemporarySet(), RedisBackendTest\flushByTagsRemovesEntriesTaggedWithSpecifiedTags(), RedisBackendTest\flushRemovesAllEntriesFromCache(), LocalDriverTest\folderCanBeRenamedWhenMoving(), ContentObjectRendererTest\fourTypesOfStdWrapHookObjectProcessors(), ConditionMatcherTest\genericGetVariablesSucceedsWithNamespaceENV(), GeneralUtilityTest\getAllFilesAndFoldersInPathReturnsArrayWithMd5Keys(), StreamTest\getContentsReturnsEmptyStringIfStreamIsNotReadable(), StreamTest\getContentsShouldGetFullStreamContents(), StreamTest\getContentsShouldReturnStreamContentsFromCurrentPointer(), ContentObjectRendererTest\getDataWithTypeCurrent(), ContentObjectRendererTest\getDataWithTypeDebugData(), ContentObjectRendererTest\getDataWithTypeDebugRegister(), ContentObjectRendererTest\getDataWithTypeFileReturnsUidOfFileObject(), ContentObjectRendererTest\getDataWithTypeGetenv(), ContentObjectRendererTest\getDataWithTypeLll(), ContentObjectRendererTest\getDataWithTypeParameters(), ContentObjectRendererTest\getDataWithTypePath(), ContentObjectRendererTest\getDataWithTypeRegister(), ConfigurationManagerTest\getDefaultConfigurationExecutesDefinedDefaultConfigurationFile(), DriverRegistryTest\getDriverClassThrowsExceptionIfClassIsNotRegistered(), ExtensionManagementUtilityTest\getExtensionKeyByPrefixForNotLoadedExtensionReturnsFalse(), FileCollectionRegistryTest\getFileCollectionClassThrowsExceptionIfClassIsNotRegistered(), FormProtectionFactoryTest\getForTypeBackEndCalledTwoTimesReturnsTheSameInstance(), FormProtectionFactoryTest\getForTypeBackEndWithExistingBackEndReturnsBackEndFormProtection(), ContentObjectRendererTest\getFromCacheDtataProvider(), ContentObjectRendererTest\getImageSourceCollectionHookCalled(), ContentObjectRendererTest\getImgResourceCallsGetImgResourcePostProcessHook(), ConfigurationManagerTest\getLocalConfigurationExecutesDefinedConfigurationFile(), MenuContentObjectFactoryTest\getMenuObjectByTypeReturnsInstanceOfNewRegisteredType(), MenuContentObjectFactoryTest\getMenuObjectByTypeThrowsExceptionForUnknownType(), StreamTest\getMetadataReturnsAllMetadataWhenNoKeyPresent(), StreamTest\getMetadataReturnsDataForSpecifiedKey(), StreamTest\getMetadataReturnsNullIfNoDataExistsForKey(), SystemEnvironmentBuilderTest\getPathThisScriptCliAddsCurrentWorkingDirectoryFromServerEnvironmentToLocalPathOnUnix(), SystemEnvironmentBuilderTest\getPathThisScriptCliReadsLocalPartFromArgv(), SystemEnvironmentBuilderTest\getPathThisScriptCliReadsLocalPartFromEnv(), SystemEnvironmentBuilderTest\getPathThisScriptCliReadsLocalPartFromServer(), FileReferenceTest\getPropertyThrowsExceptionForNotAvailableProperty(), LocalDriverTest\getPublicUrlReturnsCorrectUriForConfiguredBaseUri(), LocalDriverTest\getPublicUrlReturnsValidUrlContainingSpecialCharacters(), RendererRegistryTest\getRendererReturnsCorrectInstance(), RedisBackendTest\getReturnsPreviouslyCompressedSetEntry(), RedisBackendTest\getReturnsPreviouslySetEntry(), ResourceStorageTest\getRoleReturnsDefaultForRegularFolders(), FolderStructureTestCase\getVirtualTestDir(), GeneralUtilityTest\getVirtualTestDir(), FolderStructureTestCase\getVirtualTestFilePath(), ConditionMatcherTest\globalStringConditionMatchesEmptyRegularExpression(), ConditionMatcherTest\globalStringConditionMatchesOnEmptyExpressionWithValueSetToEmptyString(), ConditionMatcherTest\globalVarConditionDoesNotMatchOnEmptyExpressionWithValueSetToZero(), ConditionMatcherTest\globalVarConditionMatchesOnArrayExpressionWithZeroAsKey(), ConditionMatcherTest\globalVarConditionMatchesOnEmptyExpressionWithNoValueSet(), LocalDriverTest\hashingWithUnsupportedAlgorithmFails(), RedisBackendTest\hasReturnsFalseForNotExistingEntry(), ApcBackendTest\hasReturnsFalseIfTheEntryDoesNotExist(), ApcuBackendTest\hasReturnsFalseIfTheEntryDoesNotExist(), WincacheBackendTest\hasReturnsFalseIfTheEntryDoesntExist(), MemcachedBackendTest\hasReturnsFalseIfTheEntryDoesntExist(), RedisBackendTest\hasReturnsTrueForPreviouslySetEntry(), ContentObjectRendererTest\HTMLcaseshiftDataProvider(), BackendLayoutCollectionTest\invalidBackendLayoutIsRecognizedOnAdding(), DataProviderCollectionTest\invalidIdentifierIsRecognizedOnAdding(), BackendLayoutTest\invalidIdentifierIsRecognizedOnCreation(), BackendLayoutCollectionTest\invalidIdentifierIsRecognizedOnCreation(), DataProviderCollectionTest\invalidInterfaceIsRecognizedOnAdding(), ExtensionManagementUtilityTest\isLoadedReturnsFalseIfExtensionIsNotLoadedAndExitIsDisabled(), ExtensionManagementUtilityTest\isLoadedThrowsExceptionIfExtensionIsNotLoaded(), StreamTest\isReadableReturnsFalseIfStreamIsNotReadable(), StreamTest\isReadableReturnsFalseWhenStreamIsDetached(), StreamTest\isSeekableReturnsFalseForDetachedStreams(), StreamTest\isSeekableReturnsTrueForReadableStreams(), EnumerationTest\isValidDoesTypeLooseComparison(), StreamTest\isWritableReturnsFalseWhenStreamIsDetached(), WincacheBackendTest\itIsPossibleToOverwriteAnEntryInTheCache(), ApcBackendTest\itIsPossibleToOverwriteAnEntryInTheCache(), ApcuBackendTest\itIsPossibleToOverwriteAnEntryInTheCache(), MemcachedBackendTest\itIsPossibleToOverwriteAnEntryInTheCache(), WincacheBackendTest\itIsPossibleToRemoveEntryFromCache(), ApcBackendTest\itIsPossibleToRemoveEntryFromCache(), ApcuBackendTest\itIsPossibleToRemoveEntryFromCache(), MemcachedBackendTest\itIsPossibleToRemoveEntryFromCache(), WincacheBackendTest\itIsPossibleToSetAndCheckExistenceInCache(), ApcBackendTest\itIsPossibleToSetAndCheckExistenceInCache(), ApcuBackendTest\itIsPossibleToSetAndCheckExistenceInCache(), MemcachedBackendTest\itIsPossibleToSetAndCheckExistenceInCache(), WincacheBackendTest\itIsPossibleToSetAndGetEntry(), ApcBackendTest\itIsPossibleToSetAndGetEntry(), ApcuBackendTest\itIsPossibleToSetAndGetEntry(), MemcachedBackendTest\itIsPossibleToSetAndGetEntry(), JsonViewTest\jsonViewTestData(), WincacheBackendTest\largeDataIsStored(), ApcuBackendTest\largeDataIsStored(), ApcBackendTest\largeDataIsStored(), ExtensionManagementUtilityTest\loadSingleExtLocalconfFilesRequiresExtLocalconfFileRegisteredInGlobalTypo3LoadedExt(), TypoScriptFrontendControllerTest\localizationReturnsUnchangedStringIfNotLocallangLabel(), DataHandlerTest\logAddsEntryToLocalErrorLogArray(), DataHandlerTest\logFormatsDetailMessageWithAdditionalDataInLocalErrorArray(), FileWriterTest\logsToFileDataProvider(), LogManagerTest\managerReturnsSameLoggerOnRepeatedRequest(), ConfigurationItemRepositoryTest\mergeDefaultConfigurationCatchesExceptionOfConfigurationManagerIfNoLocalConfigurationExists(), ConfigurationItemRepositoryTest\mergeDefaultConfigurationWithNoCurrentValuesReturnsTheDefaultConfiguration(), GeneralUtilityTest\minifyJavaScriptCallsRegisteredHookWithInputString(), GeneralUtilityTest\minifyJavaScriptReturnsErrorStringOfHookException(), GeneralUtilityTest\minifyJavaScriptReturnsInputStringIfNoHookIsRegistered(), GeneralUtilityTest\minifyJavaScriptWritesExceptionMessageToDevLog(), GeneralUtilityTest\mkdirCreatesDirectory(), GeneralUtilityTest\mkdirCreatesDirectoryWithTrailingSlash(), GeneralUtilityTest\mkdirCreatesHiddenDirectory(), GeneralUtilityTest\mkdirDeepCreatesDirectory(), GeneralUtilityTest\mkdirDeepCreatesDirectoryInVfsStream(), GeneralUtilityTest\mkdirDeepCreatesSubdirectoriesRecursive(), GeneralUtilityTest\mkdirDeepDoesNotChangePermissionsOfExistingSubDirectories(), GeneralUtilityTest\mkdirDeepFixesPermissionsOfCreatedDirectory(), GeneralUtilityTest\mkdirDeepFixesPermissionsOnNewParentDirectory(), GeneralUtilityTest\mkdirDeepSetsGroupOwnershipOfCreatedDirectory(), GeneralUtilityTest\mkdirDeepSetsGroupOwnershipOfCreatedParentDirectory(), GeneralUtilityTest\mkdirDeepSetsGroupOwnershipOnNewSubDirectory(), GeneralUtilityTest\mkdirSetsGroupOwnershipOfCreatedDirectory(), GeneralUtilityTest\mkdirSetsPermissionsOfCreatedDirectory(), DataHandlerTest\nonAdminWithTableModifyAccessIsNotAllowedToModifyAdminTable(), BackendLayoutCollectionTest\objectIsCreated(), BackendLayoutTest\objectIsCreated(), AbstractEntityTest\objectIsDirtyAfterCallingMemorizeCleanStateWithSimplePropertiesAndModifyingThePropertiesAfterwards(), AbstractEntityTest\objectIsNotDirtyAfterCallingMemorizeCleanStateWithObjectProperties(), AbstractEntityTest\objectIsNotDirtyAfterCallingMemorizeCleanStateWithOtherDomainObjectsAsProperties(), AbstractEntityTest\objectIsNotDirtyAfterCallingMemorizeCleanStateWithSimpleProperties(), PageRendererTest\pageRendererRendersFooterValues(), PageRendererTest\pageRendererRendersInsertsMainContentStringsInOutput(), PersistenceManagerTest\persistAllAddsNamespacedReconstitutedObjectFromSessionToBackendsAggregateRootObjects(), PersistenceManagerTest\persistAllAddsReconstitutedObjectFromSessionToBackendsAggregateRootObjects(), CategoryCollectionTest\populateDummyTable(), CategoryCollectionTest\prepareTables(), DataProviderCollectionTest\providedBackendLayoutIsFound(), Typo3DbQueryParserTest\providerForAddPageIdStatementData(), StreamTest\readRaisesExceptionWhenStreamIsDetached(), StreamTest\readReturnsEmptyStringWhenAtEndOfFile(), DriverRegistryTest\registerDriverClassThrowsExceptionIfClassDoesNotExist(), RendererRegistryTest\registeredFileRenderClassCanBeRetrieved(), RendererRegistryTest\registeredFileRendererClassWithSamePriorityAreAllReturned(), AbstractPluginTest\registeredResultBrowserProvider(), TextExtractorRegistryTest\registeredTextExtractorClassCanBeRetrieved(), FileCollectionRegistryTest\registerFileCollectionClassThrowsExceptionIfClassDoesNotExist(), RendererRegistryTest\registerRendererClassThrowsExceptionIfClassDoesNotExist(), RendererRegistryTest\registerRendererClassWithHighestPriorityIsFirstInResult(), TextExtractorRegistryTest\registerTextExtractorThrowsExceptionIfClassDoesNotExist(), RedisBackendTest\removeDeletesEntryFromCache(), RedisBackendTest\removeDeletesIdentifierFromTagToIdentifiersSet(), RedisBackendTest\removeDeletesIdentifierFromTagToIdentifiersSetWithMultipleEntries(), RedisBackendTest\removeDeletesIdentifierToTagEntry(), FileHandlingUtilityTest\removeDirectoryDoesNotRemoveContentOfSymlinkedTargetDirectory(), FileHandlingUtilityTest\removeDirectoryRemovesDirectory(), FileHandlingUtilityTest\removeDirectoryRemovesSymlink(), WincacheBackendTest\removeReturnsFalseIfTheEntryDoesntExist(), MemcachedBackendTest\removeReturnsFalseIfTheEntryDoesntExist(), ApcBackendTest\removeReturnsFalseIfTheEntryDoesntExist(), ApcuBackendTest\removeReturnsFalseIfTheEntryDoesntExist(), RedisBackendTest\removeReturnsTrueIfAnEntryWasDeleted(), ResourceStorageTest\replaceFileFailsIfLocalFileDoesNotExist(), ValidatorResolverTest\resolveValidatorObjectNameCallsGetValidatorType(), ValidatorResolverTest\resolveValidatorObjectNameReturnsValidatorNameIfClassExists(), ValidatorResolverTest\resolveValidatorObjectNameThrowsNoSuchValidatorExceptionIfClassExistsButDoesNotImplementValidatorInterface(), ValidatorResolverTest\resolveValidatorObjectNameThrowsNoSuchValidatorExceptionIfClassNotExists(), ValidatorResolverTest\resolveValidatorObjectNameWithShortHandNotationReturnsValidatorNameIfClassExists(), ValidatorResolverTest\resolveValidatorObjectNameWithShortHandNotationReturnsValidatorNameIfClassExistsButDoesNotImplementValidatorInterface(), ValidatorResolverTest\resolveValidatorObjectNameWithShortHandNotationThrowsExceptionIfClassNotExists(), StreamTest\rewindResetsToStartOfStream(), GeneralUtilityTest\rmdirDoesNotRemoveDirectoryWithFilesAndReturnsFalseIfRecursiveDeletionIsOff(), GeneralUtilityTest\rmdirRemovesDeadLinkToDirectory(), GeneralUtilityTest\rmdirRemovesDeadLinkToFile(), GeneralUtilityTest\rmdirRemovesDirectoriesRecursiveAndReturnsTrue(), GeneralUtilityTest\rmdirRemovesDirectory(), GeneralUtilityTest\rmdirRemovesDirectoryWithTrailingSlash(), GeneralUtilityTest\rmdirRemovesFile(), GeneralUtilityTest\rmdirRemovesLinkToDirectory(), GeneralUtilityTest\rmdirReturnFalseIfNoFileWasRemoved(), GeneralUtilityTest\rmdirReturnTrueIfFileWasRemoved(), PackageManagerTest\scanAvailablePackagesTraversesThePackagesDirectoryAndRegistersPackagesItFinds(), StreamTest\seekAdvancesToGivenOffsetOfStream(), StreamTest\seekRaisesExceptionWhenStreamIsDetached(), RedisBackendTest\setAddsIdentifierInTagToIdentifiersEntryIfTagIsAddedOnConsecutiveSet(), RedisBackendTest\setAppendsSecondIdentifierInTagToIdentifiersEntry(), PdoBackendTest\setOverwritesExistingEntryThatExceededItsLifetimeWithNewData(), RedisBackendTest\setOverwritesExistingEntryWithNewData(), RedisBackendTest\setOverwritesExistingEntryWithNewDefaultLifetime(), RedisBackendTest\setOverwritesExistingEntryWithNewUnlimitedLifetime(), RedisBackendTest\setOverwritesExistingEntryWithSpecifiedLifetime(), RedisBackendTest\setRemovesAllPreviouslySetTagsFromIdentifierToTagsSet(), RedisBackendTest\setRemovesIdentifierFromTagToIdentifiersEntryIfTagIsOmittedOnConsecutiveSet(), RedisBackendTest\setRemovesMultiplePreviouslySetTagsFromIdentifierToTagsSet(), WincacheBackendTest\setRemovesTagsFromPreviousSet(), ApcBackendTest\setRemovesTagsFromPreviousSet(), ApcuBackendTest\setRemovesTagsFromPreviousSet(), MemcachedBackendTest\setRemovesTagsFromPreviousSet(), RedisBackendTest\setSavesCompressedDataWithEnabledCompression(), RedisBackendTest\setSavesEntryWithDefaultLifeTime(), RedisBackendTest\setSavesEntryWithSpecifiedLifeTime(), RedisBackendTest\setSavesEntryWithUnlimitedLifeTime(), RedisBackendTest\setSavesIdentifierInTagToIdentifiersSetOfSpecifiedTag(), RedisBackendTest\setSavesPlaintextDataWithEnabledCompressionAndCompressionLevel0(), RedisBackendTest\setSavesSetDataTypeForIdentifierToTagsSet(), RedisBackendTest\setSavesSetDataTypeForTagToIdentifiersSet(), RedisBackendTest\setSavesSpecifiedTagsInIdentifierToTagsSet(), RedisBackendTest\setSavesStringDataTypeForIdentifierToDataEntry(), RedisBackendTest\setStoresEntriesInSelectedDatabase(), WincacheBackendTest\setTagsOnlyOnceToIdentifier(), MemcachedBackendTest\setTagsOnlyOnceToIdentifier(), ApcuBackendTest\setTagsOnlyOnceToIdentifier(), ApcBackendTest\setTagsOnlyOnceToIdentifier(), RedisBackendTest\setThrowsExceptionIfDataIsNotAString(), RedisBackendTest\setThrowsExceptionIfLifetimeIsNegative(), RedisBackendTest\setThrowsExceptionIfLifetimeIsNotNullOrAnInteger(), WincacheBackendTest\setThrowsExceptionIfNoFrontEndHasBeenSet(), ApcBackendTest\setThrowsExceptionIfNoFrontEndHasBeenSet(), MemcachedBackendTest\setThrowsExceptionIfNoFrontEndHasBeenSet(), ApcuBackendTest\setThrowsExceptionIfNoFrontEndHasBeenSet(), BaseTestCase\setUp(), CategoryRegistryTest\setUp(), RecordCollectionRepositoryTest\setUp(), ProcessedFileTest\setUp(), ConditionMatcherTest\setUp(), CategoryCollectionTest\setUp(), ConditionMatcherTest\simulateEnabledMatchSpecificConditionsSucceeds(), GeneralUtilityTest\splitFileRefReturnsFileTypeNotForFolders(), ContentObjectRendererTest\stdWrap_addParams(), ContentObjectRendererTest\stdWrap_age(), ContentObjectRendererTest\stdWrap_append(), ContentObjectRendererTest\stdWrap_cacheReadDataProvider(), ContentObjectRendererTest\stdWrap_cacheStore(), ContentObjectRendererTest\stdWrap_cacheStoreDataProvider(), ContentObjectRendererTest\stdWrap_case(), ContentObjectRendererTest\stdWrap_cObject(), ContentObjectRendererTest\stdWrap_crop(), ContentObjectRendererTest\stdWrap_cropHTML(), ContentObjectRendererTest\stdWrap_data(), ContentObjectRendererTest\stdWrap_dataDataProvider(), ContentObjectRendererTest\stdWrap_dataWrap(), ContentObjectRendererTest\stdWrap_debugData(), ContentObjectRendererTest\stdWrap_debugFunc(), ContentObjectRendererTest\stdWrap_editIconsDataProvider(), ContentObjectRendererTest\stdWrap_editPanel(), ContentObjectRendererTest\stdWrap_editPanelDataProvider(), ContentObjectRendererTest\stdWrap_encapsLines(), ContentObjectRendererTest\stdWrap_field(), ContentObjectRendererTest\stdWrap_fieldRequiredDataProvider(), ContentObjectRendererTest\stdWrap_filelink(), ContentObjectRendererTest\stdWrap_filelist(), ContentObjectRendererTest\stdWrap_HTMLparserDataProvider(), ContentObjectRendererTest\stdWrap_ifBlankDataProvider(), ContentObjectRendererTest\stdWrap_ifDataProvider(), ContentObjectRendererTest\stdWrap_ifEmptyDataProvider(), ContentObjectRendererTest\stdWrap_ifNullDataProvider(), ContentObjectRendererTest\stdWrap_insertData(), ContentObjectRendererTest\stdWrap_listNum(), ContentObjectRendererTest\stdWrap_numberFormat(), ContentObjectRendererTest\stdWrap_numRows(), ContentObjectRendererTest\stdWrap_orderedStdWrap(), ContentObjectRendererTest\stdWrap_orderedStdWrapDataProvider(), ContentObjectRendererTest\stdWrap_parseFunc(), ContentObjectRendererTest\stdWrap_postCObject(), ContentObjectRendererTest\stdWrap_postUserFunc(), ContentObjectRendererTest\stdWrap_postUserFuncInt(), ContentObjectRendererTest\stdWrap_preCObject(), ContentObjectRendererTest\stdWrap_prefixCommentDataProvider(), ContentObjectRendererTest\stdWrap_preIfEmptyListNum(), ContentObjectRendererTest\stdWrap_prepend(), ContentObjectRendererTest\stdWrap_preUserFunc(), ContentObjectRendererTest\stdWrap_replacement(), ContentObjectRendererTest\stdWrap_round(), ContentObjectRendererTest\stdWrap_setContentToCurrent(), ContentObjectRendererTest\stdWrap_space(), ContentObjectRendererTest\stdWrap_spaceAfter(), ContentObjectRendererTest\stdWrap_spaceBefore(), ContentObjectRendererTest\stdWrap_split(), ContentObjectRendererTest\stdWrap_stdWrap(), ContentObjectRendererTest\stdWrap_substring(), ContentObjectRendererTest\stdWrap_TCAselectItemDataProvider(), ContentObjectRendererTest\stdWrap_typolink(), ContentObjectRendererTest\stdWrap_wrapAlignDataProvider(), StringLengthValidatorTest\stringLengthValidatorCanHandleAnObjectWithAToStringMethod(), StringValidatorTest\stringValidatorShouldReturnErrorIfObjectWithToStringMethodStringIsGiven(), GeneralUtilityTest\syslogFixesPermissionsOnFileIfUsingFileLogging(), StreamTest\tellRaisesExceptionIfResourceIsDetached(), StreamTest\tellReportsCurrentPositionInResource(), StreamTest\toStringSerializationReturnsEmptyStringWhenStreamIsNotReadable(), GeneralUtilityTest\unlink_tempfileRemovesHiddenFile(), GeneralUtilityTest\unlink_tempfileRemovesValidFileInTypo3temp(), GeneralUtilityTest\unlink_tempfileReturnsNullIfFileDoesNotExist(), GeneralUtilityTest\unlink_tempfileReturnsTrueIfFileWasRemoved(), FileTest\updatePropertiesUpdatesFileProperties(), PersistenceManagerTest\updateSchedulesAnObjectForPersistence(), GenericObjectValidatorTest\validateCanHandleRecursiveTargetsWithoutEndlessLooping(), GenericObjectValidatorTest\validateDetectsFailuresInRecursiveTargetsI(), GenericObjectValidatorTest\validateDetectsFailuresInRecursiveTargetsII(), StringLengthValidatorTest\validateReturnsErrorsIfTheGivenObjectCanNotBeConvertedToAString(), ConfigurationManagerTest\writeLocalConfigurationWritesSortedContentToConfigurationFile(), DatabaseWriterTest\writeLogInsertsToSpecifiedTable(), and StreamTest\writeRaisesExceptionWhenStreamIsDetached().

inject (   $target,
  $name,
  $dependency 
)
protected

Injects $dependency into property $name of $target

This is a convenience method for setting a protected or private property in a test subject for the purpose of injecting a dependency.

Parameters
object$targetThe instance which needs the dependency
string$nameName of the property to be injected
mixed$dependencyThe dependency to inject – usually an object but can also be any other type
Returns
void
Exceptions
RuntimeException
InvalidArgumentException

Definition at line 261 of file Classes/Tests/BaseTestCase.php.

Referenced by RepositoryTest\addDelegatesToPersistenceManager(), AbstractControllerTest\addFlashMessageAddsFlashMessageObjectToFlashMessageQueue(), PropertyMapperTest\convertShouldAskConfigurationBuilderForDefaultConfiguration(), RepositoryTest\createQueryCallsPersistenceManagerWithExpectedClassName(), RepositoryTest\createQuerySetsDefaultOrderingIfDefined(), ListUtilityTest\enrichExtensionsWithEmConfInformation(), WidgetRequestHandlerTest\handleRequestCallsExpectedMethods(), RepositoryTest\removeDelegatesToPersistenceManager(), ListUtilityTest\setUp(), ImageScriptServiceTest\setUp(), ObjectConverterTest\setUp(), PersistentObjectConverterTest\setUp(), RepositoryTest\setUp(), RepositoryTest\updateDelegatesToPersistenceManager(), and JsonViewTest\viewExposesClassNameFullyIfConfiguredSo().

Member Data Documentation

$backupGlobals = true
protected

Definition at line 33 of file Classes/Tests/BaseTestCase.php.

$backupStaticAttributes = false
protected

Definition at line 40 of file Classes/Tests/BaseTestCase.php.