Definition at line 6 of file TextDataTest.php.
◆ providerCHAR()
TextDataTest::providerCHAR |
( |
| ) |
|
◆ providerCLEAN()
TextDataTest::providerCLEAN |
( |
| ) |
|
◆ providerCODE()
TextDataTest::providerCODE |
( |
| ) |
|
◆ providerCONCATENATE()
TextDataTest::providerCONCATENATE |
( |
| ) |
|
◆ providerDOLLAR()
TextDataTest::providerDOLLAR |
( |
| ) |
|
◆ providerFIND()
TextDataTest::providerFIND |
( |
| ) |
|
◆ providerFIXED()
TextDataTest::providerFIXED |
( |
| ) |
|
◆ providerLEFT()
TextDataTest::providerLEFT |
( |
| ) |
|
◆ providerLEN()
TextDataTest::providerLEN |
( |
| ) |
|
◆ providerLOWER()
TextDataTest::providerLOWER |
( |
| ) |
|
◆ providerMID()
TextDataTest::providerMID |
( |
| ) |
|
◆ providerPROPER()
TextDataTest::providerPROPER |
( |
| ) |
|
◆ providerREPLACE()
TextDataTest::providerREPLACE |
( |
| ) |
|
◆ providerRIGHT()
TextDataTest::providerRIGHT |
( |
| ) |
|
◆ providerSEARCH()
TextDataTest::providerSEARCH |
( |
| ) |
|
◆ providerSUBSTITUTE()
TextDataTest::providerSUBSTITUTE |
( |
| ) |
|
◆ providerT()
TextDataTest::providerT |
( |
| ) |
|
◆ providerTEXT()
TextDataTest::providerTEXT |
( |
| ) |
|
◆ providerTRIM()
TextDataTest::providerTRIM |
( |
| ) |
|
◆ providerUPPER()
TextDataTest::providerUPPER |
( |
| ) |
|
◆ providerVALUE()
TextDataTest::providerVALUE |
( |
| ) |
|
◆ setUp()
◆ testCHAR()
TextDataTest::testCHAR |
( |
| ) |
|
providerCHAR
Definition at line 23 of file TextDataTest.php.
References $result, and array.
25 $args = func_get_args();
26 $expectedResult = array_pop($args);
27 $result = call_user_func_array(
array(
'PHPExcel_Calculation_TextData',
'CHARACTER'),$args);
28 $this->assertEquals($expectedResult,
$result);
Create styles array
The data for the language used.
◆ testCLEAN()
TextDataTest::testCLEAN |
( |
| ) |
|
providerCLEAN
Definition at line 263 of file TextDataTest.php.
References $result, and array.
265 $args = func_get_args();
266 $expectedResult = array_pop($args);
267 $result = call_user_func_array(
array(
'PHPExcel_Calculation_TextData',
'TRIMNONPRINTABLE'),$args);
268 $this->assertEquals($expectedResult,
$result);
Create styles array
The data for the language used.
◆ testCODE()
TextDataTest::testCODE |
( |
| ) |
|
providerCODE
Definition at line 39 of file TextDataTest.php.
References $result, and array.
41 $args = func_get_args();
42 $expectedResult = array_pop($args);
43 $result = call_user_func_array(
array(
'PHPExcel_Calculation_TextData',
'ASCIICODE'),$args);
44 $this->assertEquals($expectedResult,
$result);
Create styles array
The data for the language used.
◆ testCONCATENATE()
TextDataTest::testCONCATENATE |
( |
| ) |
|
providerCONCATENATE
Definition at line 55 of file TextDataTest.php.
References $result, and array.
57 $args = func_get_args();
58 $expectedResult = array_pop($args);
59 $result = call_user_func_array(
array(
'PHPExcel_Calculation_TextData',
'CONCATENATE'),$args);
60 $this->assertEquals($expectedResult,
$result);
Create styles array
The data for the language used.
◆ testDOLLAR()
TextDataTest::testDOLLAR |
( |
| ) |
|
providerDOLLAR
Definition at line 279 of file TextDataTest.php.
References $result, and array.
281 $args = func_get_args();
282 $expectedResult = array_pop($args);
283 $result = call_user_func_array(
array(
'PHPExcel_Calculation_TextData',
'DOLLAR'),$args);
284 $this->assertEquals($expectedResult,
$result);
Create styles array
The data for the language used.
◆ testFIND()
TextDataTest::testFIND |
( |
| ) |
|
providerFIND
Definition at line 199 of file TextDataTest.php.
References $result, and array.
201 $args = func_get_args();
202 $expectedResult = array_pop($args);
203 $result = call_user_func_array(
array(
'PHPExcel_Calculation_TextData',
'SEARCHSENSITIVE'),$args);
204 $this->assertEquals($expectedResult,
$result);
Create styles array
The data for the language used.
◆ testFIXED()
TextDataTest::testFIXED |
( |
| ) |
|
providerFIXED
Definition at line 295 of file TextDataTest.php.
References $result, and array.
297 $args = func_get_args();
298 $expectedResult = array_pop($args);
299 $result = call_user_func_array(
array(
'PHPExcel_Calculation_TextData',
'FIXEDFORMAT'),$args);
300 $this->assertEquals($expectedResult,
$result);
Create styles array
The data for the language used.
◆ testLEFT()
TextDataTest::testLEFT |
( |
| ) |
|
providerLEFT
Definition at line 71 of file TextDataTest.php.
References $result, and array.
73 $args = func_get_args();
74 $expectedResult = array_pop($args);
75 $result = call_user_func_array(
array(
'PHPExcel_Calculation_TextData',
'LEFT'),$args);
76 $this->assertEquals($expectedResult,
$result);
Create styles array
The data for the language used.
◆ testLEN()
TextDataTest::testLEN |
( |
| ) |
|
providerLEN
Definition at line 167 of file TextDataTest.php.
References $result, and array.
169 $args = func_get_args();
170 $expectedResult = array_pop($args);
171 $result = call_user_func_array(
array(
'PHPExcel_Calculation_TextData',
'STRINGLENGTH'),$args);
172 $this->assertEquals($expectedResult,
$result);
Create styles array
The data for the language used.
◆ testLOWER()
TextDataTest::testLOWER |
( |
| ) |
|
providerLOWER
Definition at line 119 of file TextDataTest.php.
References $result, and array.
121 $args = func_get_args();
122 $expectedResult = array_pop($args);
123 $result = call_user_func_array(
array(
'PHPExcel_Calculation_TextData',
'LOWERCASE'),$args);
124 $this->assertEquals($expectedResult,
$result);
Create styles array
The data for the language used.
◆ testMID()
TextDataTest::testMID |
( |
| ) |
|
providerMID
Definition at line 87 of file TextDataTest.php.
References $result, and array.
89 $args = func_get_args();
90 $expectedResult = array_pop($args);
91 $result = call_user_func_array(
array(
'PHPExcel_Calculation_TextData',
'MID'),$args);
92 $this->assertEquals($expectedResult,
$result);
Create styles array
The data for the language used.
◆ testPROPER()
TextDataTest::testPROPER |
( |
| ) |
|
providerPROPER
Definition at line 151 of file TextDataTest.php.
References $result, and array.
153 $args = func_get_args();
154 $expectedResult = array_pop($args);
155 $result = call_user_func_array(
array(
'PHPExcel_Calculation_TextData',
'PROPERCASE'),$args);
156 $this->assertEquals($expectedResult,
$result);
Create styles array
The data for the language used.
◆ testREPLACE()
TextDataTest::testREPLACE |
( |
| ) |
|
providerREPLACE
Definition at line 215 of file TextDataTest.php.
References $result, and array.
217 $args = func_get_args();
218 $expectedResult = array_pop($args);
219 $result = call_user_func_array(
array(
'PHPExcel_Calculation_TextData',
'REPLACE'),$args);
220 $this->assertEquals($expectedResult,
$result);
Create styles array
The data for the language used.
◆ testRIGHT()
TextDataTest::testRIGHT |
( |
| ) |
|
providerRIGHT
Definition at line 103 of file TextDataTest.php.
References $result, and array.
105 $args = func_get_args();
106 $expectedResult = array_pop($args);
107 $result = call_user_func_array(
array(
'PHPExcel_Calculation_TextData',
'RIGHT'),$args);
108 $this->assertEquals($expectedResult,
$result);
Create styles array
The data for the language used.
◆ testSEARCH()
TextDataTest::testSEARCH |
( |
| ) |
|
providerSEARCH
Definition at line 183 of file TextDataTest.php.
References $result, and array.
185 $args = func_get_args();
186 $expectedResult = array_pop($args);
187 $result = call_user_func_array(
array(
'PHPExcel_Calculation_TextData',
'SEARCHINSENSITIVE'),$args);
188 $this->assertEquals($expectedResult,
$result);
Create styles array
The data for the language used.
◆ testSUBSTITUTE()
TextDataTest::testSUBSTITUTE |
( |
| ) |
|
providerSUBSTITUTE
Definition at line 231 of file TextDataTest.php.
References $result, and array.
233 $args = func_get_args();
234 $expectedResult = array_pop($args);
235 $result = call_user_func_array(
array(
'PHPExcel_Calculation_TextData',
'SUBSTITUTE'),$args);
236 $this->assertEquals($expectedResult,
$result);
Create styles array
The data for the language used.
◆ testT()
providerT
Definition at line 311 of file TextDataTest.php.
References $result, and array.
313 $args = func_get_args();
314 $expectedResult = array_pop($args);
315 $result = call_user_func_array(
array(
'PHPExcel_Calculation_TextData',
'RETURNSTRING'),$args);
316 $this->assertEquals($expectedResult,
$result);
Create styles array
The data for the language used.
◆ testTEXT()
TextDataTest::testTEXT |
( |
| ) |
|
providerTEXT
Definition at line 327 of file TextDataTest.php.
References $result, and array.
330 call_user_func(
array(
'PHPExcel_Shared_String',
'setDecimalSeparator'),
'.');
331 call_user_func(
array(
'PHPExcel_Shared_String',
'setThousandsSeparator'),
',');
332 call_user_func(
array(
'PHPExcel_Shared_String',
'setCurrencyCode'),
'$');
334 $args = func_get_args();
335 $expectedResult = array_pop($args);
336 $result = call_user_func_array(
array(
'PHPExcel_Calculation_TextData',
'TEXTFORMAT'),$args);
337 $this->assertEquals($expectedResult,
$result);
Create styles array
The data for the language used.
◆ testTRIM()
TextDataTest::testTRIM |
( |
| ) |
|
providerTRIM
Definition at line 247 of file TextDataTest.php.
References $result, and array.
249 $args = func_get_args();
250 $expectedResult = array_pop($args);
251 $result = call_user_func_array(
array(
'PHPExcel_Calculation_TextData',
'TRIMSPACES'),$args);
252 $this->assertEquals($expectedResult,
$result);
Create styles array
The data for the language used.
◆ testUPPER()
TextDataTest::testUPPER |
( |
| ) |
|
providerUPPER
Definition at line 135 of file TextDataTest.php.
References $result, and array.
137 $args = func_get_args();
138 $expectedResult = array_pop($args);
139 $result = call_user_func_array(
array(
'PHPExcel_Calculation_TextData',
'UPPERCASE'),$args);
140 $this->assertEquals($expectedResult,
$result);
Create styles array
The data for the language used.
◆ testVALUE()
TextDataTest::testVALUE |
( |
| ) |
|
providerVALUE
Definition at line 348 of file TextDataTest.php.
References $result, and array.
350 call_user_func(
array(
'PHPExcel_Shared_String',
'setDecimalSeparator'),
'.');
351 call_user_func(
array(
'PHPExcel_Shared_String',
'setThousandsSeparator'),
' ');
352 call_user_func(
array(
'PHPExcel_Shared_String',
'setCurrencyCode'),
'$');
354 $args = func_get_args();
355 $expectedResult = array_pop($args);
356 $result = call_user_func_array(
array(
'PHPExcel_Calculation_TextData',
'VALUE'),$args);
357 $this->assertEquals($expectedResult,
$result, NULL, 1E-8);
Create styles array
The data for the language used.
The documentation for this class was generated from the following file:
- libs/composer/vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Calculation/TextDataTest.php