‪TYPO3CMS  ‪main
TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest:

Public Member Functions

 convertQueryToDoctrineQueryBuilderDoesNotAddAndWhereWithEmptyConstraint ()
 
 convertQueryToDoctrineQueryBuilderThrowsExceptionOnNotImplementedConstraint ()
 
 convertQueryToDoctrineQueryBuilderAddsSimpleAndWhere ()
 
 convertQueryToDoctrineQueryBuilderAddsNotConstraint ()
 
 convertQueryToDoctrineQueryBuilderAddsAndConstraint ()
 
 convertQueryToDoctrineQueryBuilderAddsOrConstraint ()
 
 languageStatementWorksForDefaultLanguage ()
 
 languageStatementWorksForNonDefaultLanguage ()
 
 languageStatementWorksInBackendContext ()
 
 addGetLanguageStatementWorksForForeignLanguageWithSubselectionWithoutDeleteStatementReturned ()
 
 addGetLanguageStatementWorksForForeignLanguageWithSubselectionTakesDeleteStatementIntoAccountIfNecessary ()
 
 addGetLanguageStatementWorksInBackendContextWithSubselectionTakesDeleteStatementIntoAccountIfNecessary ()
 
 orderStatementGenerationWorks ()
 
 orderStatementGenerationThrowsExceptionOnUnsupportedOrder ()
 
 orderStatementGenerationWorksWithMultipleOrderings ()
 
 expressionIsOmittedForIgnoreEnableFieldsAreAndDoNotIncludeDeletedInBackendContext ()
 
 expressionIsGeneratedForIgnoreEnableFieldsAndDoNotIncludeDeletedInBackendContext ()
 
 expressionIsGeneratedForDoNotIgnoreEnableFieldsAndIncludeDeletedInBackendContext ()
 
 expressionIsGeneratedForDoNotIgnoreEnableFieldsAndDoNotIncludeDeletedInBackendContext ()
 
 expressionIsOmittedForIgnoreEnableFieldsAreAndDoNotIncludeDeletedInFrontendContext ()
 
 expressionIsGeneratedForIgnoreEnableFieldsAndDoNotIncludeDeletedInFrontendContext ()
 
 expressionIsGeneratedForIgnoreOnlyFeGroupAndDoNotIncludeDeletedInFrontendContext ()
 
 expressionIsGeneratedForDoNotIgnoreEnableFieldsAndDoNotIncludeDeletedInFrontendContext ()
 
 respectEnableFieldsSettingGeneratesCorrectStatementWithOnlyEndTimeInFrontendContext ()
 
 respectEnableFieldsSettingGeneratesCorrectStatementWithOnlyEndTimeInBackendContext ()
 
 visibilityConstraintStatementGenerationThrowsExceptionIfTheQuerySettingsAreInconsistent ()
 
 addPageIdStatementSetsPidToZeroIfTableDeclaresRootLevel (int $rootLevel, string $expectedSql, array $storagePageIds)
 
 tcaWithoutCtrlCreatesAValidSQLStatement ()
 

Static Public Member Functions

static addPageIdStatementSetsPidToZeroIfTableDeclaresRootLevelDataProvider ()
 

Protected Attributes

array $testExtensionsToLoad
 

Detailed Description

Definition at line 42 of file Typo3DbQueryParserTest.php.

Member Function Documentation

◆ addGetLanguageStatementWorksForForeignLanguageWithSubselectionTakesDeleteStatementIntoAccountIfNecessary()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::addGetLanguageStatementWorksForForeignLanguageWithSubselectionTakesDeleteStatementIntoAccountIfNecessary ( )

◆ addGetLanguageStatementWorksForForeignLanguageWithSubselectionWithoutDeleteStatementReturned()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::addGetLanguageStatementWorksForForeignLanguageWithSubselectionWithoutDeleteStatementReturned ( )

◆ addGetLanguageStatementWorksInBackendContextWithSubselectionTakesDeleteStatementIntoAccountIfNecessary()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::addGetLanguageStatementWorksInBackendContextWithSubselectionTakesDeleteStatementIntoAccountIfNecessary ( )

◆ addPageIdStatementSetsPidToZeroIfTableDeclaresRootLevel()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::addPageIdStatementSetsPidToZeroIfTableDeclaresRootLevel ( int  $rootLevel,
string  $expectedSql,
array  $storagePageIds 
)

◆ addPageIdStatementSetsPidToZeroIfTableDeclaresRootLevelDataProvider()

static TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::addPageIdStatementSetsPidToZeroIfTableDeclaresRootLevelDataProvider ( )
static

Definition at line 647 of file Typo3DbQueryParserTest.php.

◆ convertQueryToDoctrineQueryBuilderAddsAndConstraint()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::convertQueryToDoctrineQueryBuilderAddsAndConstraint ( )

◆ convertQueryToDoctrineQueryBuilderAddsNotConstraint()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::convertQueryToDoctrineQueryBuilderAddsNotConstraint ( )

◆ convertQueryToDoctrineQueryBuilderAddsOrConstraint()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::convertQueryToDoctrineQueryBuilderAddsOrConstraint ( )

◆ convertQueryToDoctrineQueryBuilderAddsSimpleAndWhere()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::convertQueryToDoctrineQueryBuilderAddsSimpleAndWhere ( )

◆ convertQueryToDoctrineQueryBuilderDoesNotAddAndWhereWithEmptyConstraint()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::convertQueryToDoctrineQueryBuilderDoesNotAddAndWhereWithEmptyConstraint ( )

◆ convertQueryToDoctrineQueryBuilderThrowsExceptionOnNotImplementedConstraint()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::convertQueryToDoctrineQueryBuilderThrowsExceptionOnNotImplementedConstraint ( )

◆ expressionIsGeneratedForDoNotIgnoreEnableFieldsAndDoNotIncludeDeletedInBackendContext()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::expressionIsGeneratedForDoNotIgnoreEnableFieldsAndDoNotIncludeDeletedInBackendContext ( )

◆ expressionIsGeneratedForDoNotIgnoreEnableFieldsAndDoNotIncludeDeletedInFrontendContext()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::expressionIsGeneratedForDoNotIgnoreEnableFieldsAndDoNotIncludeDeletedInFrontendContext ( )

◆ expressionIsGeneratedForDoNotIgnoreEnableFieldsAndIncludeDeletedInBackendContext()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::expressionIsGeneratedForDoNotIgnoreEnableFieldsAndIncludeDeletedInBackendContext ( )

◆ expressionIsGeneratedForIgnoreEnableFieldsAndDoNotIncludeDeletedInBackendContext()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::expressionIsGeneratedForIgnoreEnableFieldsAndDoNotIncludeDeletedInBackendContext ( )

◆ expressionIsGeneratedForIgnoreEnableFieldsAndDoNotIncludeDeletedInFrontendContext()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::expressionIsGeneratedForIgnoreEnableFieldsAndDoNotIncludeDeletedInFrontendContext ( )

◆ expressionIsGeneratedForIgnoreOnlyFeGroupAndDoNotIncludeDeletedInFrontendContext()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::expressionIsGeneratedForIgnoreOnlyFeGroupAndDoNotIncludeDeletedInFrontendContext ( )

◆ expressionIsOmittedForIgnoreEnableFieldsAreAndDoNotIncludeDeletedInBackendContext()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::expressionIsOmittedForIgnoreEnableFieldsAreAndDoNotIncludeDeletedInBackendContext ( )

◆ expressionIsOmittedForIgnoreEnableFieldsAreAndDoNotIncludeDeletedInFrontendContext()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::expressionIsOmittedForIgnoreEnableFieldsAreAndDoNotIncludeDeletedInFrontendContext ( )

◆ languageStatementWorksForDefaultLanguage()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::languageStatementWorksForDefaultLanguage ( )

◆ languageStatementWorksForNonDefaultLanguage()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::languageStatementWorksForNonDefaultLanguage ( )

◆ languageStatementWorksInBackendContext()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::languageStatementWorksInBackendContext ( )

◆ orderStatementGenerationThrowsExceptionOnUnsupportedOrder()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::orderStatementGenerationThrowsExceptionOnUnsupportedOrder ( )

◆ orderStatementGenerationWorks()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::orderStatementGenerationWorks ( )

◆ orderStatementGenerationWorksWithMultipleOrderings()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::orderStatementGenerationWorksWithMultipleOrderings ( )

◆ respectEnableFieldsSettingGeneratesCorrectStatementWithOnlyEndTimeInBackendContext()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::respectEnableFieldsSettingGeneratesCorrectStatementWithOnlyEndTimeInBackendContext ( )

◆ respectEnableFieldsSettingGeneratesCorrectStatementWithOnlyEndTimeInFrontendContext()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::respectEnableFieldsSettingGeneratesCorrectStatementWithOnlyEndTimeInFrontendContext ( )

◆ tcaWithoutCtrlCreatesAValidSQLStatement()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::tcaWithoutCtrlCreatesAValidSQLStatement ( )

◆ visibilityConstraintStatementGenerationThrowsExceptionIfTheQuerySettingsAreInconsistent()

TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::visibilityConstraintStatementGenerationThrowsExceptionIfTheQuerySettingsAreInconsistent ( )

Member Data Documentation

◆ $testExtensionsToLoad

array TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::$testExtensionsToLoad
protected
Initial value:
= [
'typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example',
]

Definition at line 44 of file Typo3DbQueryParserTest.php.