Fonata
|
99daaa7235
|
Bugfix: $csv->parseFile now sets $this->data
This adds consistency because $csv->parse() does the same.
Fix #200
Fix #201
|
2021-06-20 23:21:46 +02:00 |
|
Fonata
|
7a066f9d5e
|
Add test for empty first parameter
|
2021-04-14 20:12:43 +02:00 |
|
Fonata
|
e15d144e27
|
Adjust call to static function
|
2021-04-14 20:12:43 +02:00 |
|
Fonata
|
4518e944c4
|
Adjust function signatures for newer PHPUnit versions
Will make an update to PHPUnit 8 or 9 easier.
|
2021-04-14 20:12:43 +02:00 |
|
Fonata
|
fba67b84ff
|
More consistent formatting
|
2021-04-14 20:12:43 +02:00 |
|
Petri Haikonen
|
a3981edb84
|
Added some annotations to tests
|
2020-04-25 19:17:04 +02:00 |
|
Fonata
|
ef5e81f837
|
Added test for our code example in issue #165
Closes #165
|
2019-03-22 08:17:55 +01:00 |
|
Fonata
|
e3105d4003
|
Renamed protected functions: no end user should be tempted to call them
|
2019-03-22 08:17:55 +01:00 |
|
Fonata
|
f97f03a088
|
Only improved code formatting
|
2019-02-23 12:57:48 +01:00 |
|
Fonata
|
3b74f7ce57
|
Added PHPUnit test to make sure very long text doesn't cause E_NOTICE
|
2018-09-25 00:27:04 +02:00 |
|
Fonata
|
1d8e6808bc
|
Added test for issue #145, couldn't reproduce it
|
2018-05-21 21:56:54 +02:00 |
|
Fonata
|
4504f4b158
|
Converted function names to camelCase for PSR karma points
|
2018-04-29 11:21:00 +02:00 |
|
Fonata
|
b82ad03bd5
|
Ignore entirely empty lines at the end of files
Closes #141
|
2018-04-29 11:08:40 +02:00 |
|
Fonata
|
e6ba24b47a
|
Dropping PHP 5.4 support (#131)
Also removed special treatment of PHP 5.4, as we don't support it anymore
|
2018-03-20 11:12:22 +01:00 |
|
Fonata
|
bdd4e5ef25
|
Merge branch 'master' into offset-comment-and-tests
Conflicts:
tests/methods/ParseTest.php
|
2018-03-17 12:42:18 +01:00 |
|
Christian Bläul
|
3cc20fbb47
|
Merge remote-tracking branch 'itexia/auto-detect-file-has-heading'
# Conflicts:
# tests/methods/ParseTest.php
|
2018-03-10 12:46:36 +01:00 |
|
Christian Bläul
|
8f431aa7a4
|
Merge remote-tracking branch 'itexia/refactoring-constants'
|
2018-03-07 09:43:22 +01:00 |
|
Christian Bläul
|
9d7ccab20f
|
Improved comment and test data to show how the offset is counted.
|
2018-03-02 17:50:01 +01:00 |
|
Christian Bläul
|
abecaf1b5d
|
Only re-formated source code slightly
|
2018-03-02 17:25:38 +01:00 |
|
Christian Bläul
|
68239d6859
|
No code changes, just cleaned up comments a bit
|
2018-03-02 17:15:31 +01:00 |
|
Susann Sgorzaly
|
7766bf7c3b
|
added two tests for reproducing the heading and offset bug. test with heading fails at the moment. if this one is green, bug would be solved
|
2018-02-27 15:00:14 +01:00 |
|
Susann Sgorzaly
|
5b1002a677
|
test correction
|
2018-02-26 10:06:59 +01:00 |
|
Susann Sgorzaly
|
4bbc928f09
|
added dependency for test
|
2018-02-26 10:00:52 +01:00 |
|
Susann Sgorzaly
|
951fc68886
|
new feature: auto detect if parsed file has heading
|
2018-02-26 09:46:44 +01:00 |
|
Susann Sgorzaly
|
f8fe4cad03
|
change accessibility of parse_file and parse_string
|
2018-02-23 10:37:12 +01:00 |
|
Christian Bläul
|
2b95ec5aa1
|
Merge remote-tracking branch 'origin/Tests-for-sort-and-cond' into pull-test
# Conflicts:
# tests/Bootstrap.php
# tests/methods/ParseTest.php
# tests/properties/worthless_test.php
|
2018-02-21 18:41:45 +01:00 |
|
Christian Bläul
|
a60aae47a4
|
getDatatypes: Documented the need for PHP 5.5 or higher
|
2018-02-20 22:16:49 +01:00 |
|
Christian Bläul
|
7470d2b804
|
PHPUnit: Repaired file paths in autoQuotesDataProvider()
|
2018-02-19 22:08:59 +01:00 |
|
Susann Sgorzaly
|
52a9b61b97
|
added DatatypeEnum tests; repaired the other test for local execution; small bug fixes
|
2018-02-19 21:36:31 +01:00 |
|
Christian Bläul
|
2b6e38734c
|
Merge remote-tracking branch 'origin/test-helper-for-itexia-master' into delete_this_branch
|
2018-02-18 19:41:38 +01:00 |
|
Christian Bläul
|
9551862a95
|
Allow current working dir to be different when running tests
...By using an absolute path
|
2018-02-18 19:02:37 +01:00 |
|
Susann Sgorzaly
|
17ac1dee1a
|
renamed namespace
|
2018-02-18 12:42:53 +01:00 |
|
Susann Sgorzaly
|
a7a0bc34a4
|
init introduce namespaces
|
2018-02-17 23:41:03 +01:00 |
|
Susann Sgorzaly
|
0e5afb209e
|
test for method getDatatypes added
|
2018-02-17 22:24:50 +01:00 |
|
Susann Sgorzaly
|
f8c68a6cd7
|
test improvements
|
2018-02-17 22:24:19 +01:00 |
|
Christian Bläul
|
488b8f9d9b
|
Prevent an "Uninitialized string offset" error
Got triggered by testMissingEndingLineBreak.
|
2018-02-02 11:13:49 +01:00 |
|
Christian Bläul
|
b004911218
|
$this->auto_non_chars didn't work the way I would have expected:
The "-" was taken literally, and thus 0 was forbidden, but 1 was allowed.
Fixes #55.
Also see #61
|
2018-02-02 11:13:49 +01:00 |
|
Christian Bläul
|
47f691ce33
|
Added new testSingleColumnWithZeros.
Proves that issue #61 is indeed fixed.
|
2018-02-02 11:13:49 +01:00 |
|
Christian Bläul
|
63932f67a4
|
ParseTest: skip 'test_Piwik_data' in PHP 5.4
|
2018-02-02 11:13:49 +01:00 |
|
Christian Bläul
|
6432ba2ced
|
Added test for new field 'use_mb_convert_encoding'
|
2018-02-02 11:13:49 +01:00 |
|
Christian Bläul
|
38944ba221
|
Moved testAutoQuotes into existing test infrastructure
|
2018-01-21 21:47:28 +01:00 |
|
Christian Bläul
|
e419663679
|
Improved name of files and classes within tests/methods folder
This follows PHP best practices for classes.
|
2018-01-21 01:15:56 +01:00 |
|