public function SqlsrvConditionTest::dataProviderForTestLike in Drupal driver for SQL Server and SQL Azure 3.0.x
Same name and namespace in other branches
- 8.2 tests/src/Unit/SqlsrvConditionTest.php \Drupal\Tests\sqlsrv\Unit\SqlsrvConditionTest::dataProviderForTestLike()
- 4.2.x tests/src/Unit/SqlsrvConditionTest.php \Drupal\Tests\sqlsrv\Unit\SqlsrvConditionTest::dataProviderForTestLike()
- 3.1.x tests/src/Unit/SqlsrvConditionTest.php \Drupal\Tests\sqlsrv\Unit\SqlsrvConditionTest::dataProviderForTestLike()
- 4.0.x tests/src/Unit/SqlsrvConditionTest.php \Drupal\Tests\sqlsrv\Unit\SqlsrvConditionTest::dataProviderForTestLike()
- 4.1.x tests/src/Unit/SqlsrvConditionTest.php \Drupal\Tests\sqlsrv\Unit\SqlsrvConditionTest::dataProviderForTestLike()
Data Provider.
File
- tests/
src/ Unit/ SqlsrvConditionTest.php, line 65
Class
- SqlsrvConditionTest
- Test the behavior of the custom Condition class.
Namespace
Drupal\Tests\sqlsrv\UnitCode
public function dataProviderForTestLike() {
return [
[
'%',
'%',
],
[
'\\%',
'[%]',
],
[
'\\_',
'[_]',
],
[
'\\\\',
'\\',
],
[
'[\\%]',
'[[][%]]',
],
];
}