‪TYPO3CMS  ‪main
TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\QueryTest Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\QueryTest:

Public Member Functions

 executeReturnsQueryResultInstanceAndInjectsItself ()
 
 executeReturnsRawObjectDataIfReturnRawQueryResultIsSet ()
 
 setLimitAcceptsOnlyIntegers ()
 
 setLimitRejectsIntegersLessThanOne ()
 
 setLimitSetsLimit ()
 
 unsetLimitWillResetLimitToNull ()
 
 setOffsetAcceptsOnlyIntegers ()
 
 setOffsetRejectsIntegersLessThanZero ()
 
 equalsForCaseSensitiveFalseLowercasesOperand (string $propertyName, $operand, string $expectedOperand)
 
 logicalAndSupportsMultipleConstraintsAsMethodArguments ()
 
 logicalOrSupportsMultipleConstraintsAsMethodArguments ()
 

Static Public Member Functions

static equalsForCaseSensitiveFalseLowercasesOperandProvider ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

Query &MockObject &AccessibleObjectInterface $query
 
QuerySettingsInterface $querySettings
 
PersistenceManagerInterface $persistenceManager
 
DataMapFactory $dataMapFactory
 
ContainerInterface $container
 

Detailed Description

Definition at line 39 of file QueryTest.php.

Member Function Documentation

◆ equalsForCaseSensitiveFalseLowercasesOperand()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\QueryTest::equalsForCaseSensitiveFalseLowercasesOperand ( string  $propertyName,
  $operand,
string  $expectedOperand 
)

Checks if equals condition makes utf-8 argument lowercase correctly

Parameters
string$propertyName‪The name of the property to compare against
mixed$operand‪The value to compare with

Definition at line 154 of file QueryTest.php.

◆ equalsForCaseSensitiveFalseLowercasesOperandProvider()

static TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\QueryTest::equalsForCaseSensitiveFalseLowercasesOperandProvider ( )
static

Definition at line 136 of file QueryTest.php.

◆ executeReturnsQueryResultInstanceAndInjectsItself()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\QueryTest::executeReturnsQueryResultInstanceAndInjectsItself ( )

Definition at line 65 of file QueryTest.php.

◆ executeReturnsRawObjectDataIfReturnRawQueryResultIsSet()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\QueryTest::executeReturnsRawObjectDataIfReturnRawQueryResultIsSet ( )

Definition at line 74 of file QueryTest.php.

◆ logicalAndSupportsMultipleConstraintsAsMethodArguments()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\QueryTest::logicalAndSupportsMultipleConstraintsAsMethodArguments ( )

◆ logicalOrSupportsMultipleConstraintsAsMethodArguments()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\QueryTest::logicalOrSupportsMultipleConstraintsAsMethodArguments ( )

◆ setLimitAcceptsOnlyIntegers()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\QueryTest::setLimitAcceptsOnlyIntegers ( )

Definition at line 83 of file QueryTest.php.

◆ setLimitRejectsIntegersLessThanOne()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\QueryTest::setLimitRejectsIntegersLessThanOne ( )

Definition at line 91 of file QueryTest.php.

◆ setLimitSetsLimit()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\QueryTest::setLimitSetsLimit ( )

Definition at line 99 of file QueryTest.php.

◆ setOffsetAcceptsOnlyIntegers()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\QueryTest::setOffsetAcceptsOnlyIntegers ( )

Definition at line 121 of file QueryTest.php.

◆ setOffsetRejectsIntegersLessThanZero()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\QueryTest::setOffsetRejectsIntegersLessThanZero ( )

Definition at line 129 of file QueryTest.php.

◆ setUp()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\QueryTest::setUp ( )
protected

Sets up this test case

Definition at line 50 of file QueryTest.php.

◆ unsetLimitWillResetLimitToNull()

TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\QueryTest::unsetLimitWillResetLimitToNull ( )

Definition at line 110 of file QueryTest.php.

Member Data Documentation

◆ $container

ContainerInterface TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\QueryTest::$container
protected

Definition at line 45 of file QueryTest.php.

◆ $dataMapFactory

DataMapFactory TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\QueryTest::$dataMapFactory
protected

Definition at line 44 of file QueryTest.php.

◆ $persistenceManager

PersistenceManagerInterface TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\QueryTest::$persistenceManager
protected

Definition at line 43 of file QueryTest.php.

◆ $query

Query& MockObject& AccessibleObjectInterface TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\QueryTest::$query
protected

Definition at line 41 of file QueryTest.php.

◆ $querySettings

QuerySettingsInterface TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\QueryTest::$querySettings
protected

Definition at line 42 of file QueryTest.php.