Jordi Boggiano
2a771dfb2d
Update PHPUnit to 8.5
2022-01-01 14:54:19 +01:00
Jordi Boggiano
24ce1eddbd
Add composer/pcre dependency and use it everywhere instead of preg_*
2021-12-07 12:37:19 +01:00
Jordi Boggiano
126f95a8d7
Get rid of gitignore/hgignore handling ( fixes #7358 ), Add support for -export-ignore ( fixes #9153 )
2021-11-24 22:56:51 +01:00
Martin Herndl
bcbd8fdb61
Add types to `Package` tests ( #10245 )
2021-11-01 21:44:12 +01:00
Jordi Boggiano
c3c6969cf5
Type annotations
2021-10-16 10:25:12 +02:00
Jordi Boggiano
21ab2f85bb
Fix 7.4 build
2020-02-07 23:21:48 +01:00
Jordi Boggiano
169fb2347a
Avoid issues with git signatures when running tests
2019-02-18 17:00:57 +01:00
Gabriel Caruso
2a13bb2649
Fixes from PHPStan ( #7687 )
...
* fix docblocks
* remove redundant conditional
* fix wrong variable name
* fix wrong namespaces
* add missing private members
* remove unused/redundant arguments
* move testcase class
* exclude TestCase.php
* Tweak RuleWatchGraph type hints
* Tweak doc comment
2018-11-12 15:23:32 +01:00
Jordi Boggiano
ff59bbdab0
CS fixer
2018-07-24 14:32:52 +02:00
jbixler
dac51c7f4b
Add ignore filters option to archive command
2017-01-11 16:21:44 -06:00
AnrDaemon
ab70601700
Skip git-related tests if no git found.
2016-12-22 20:14:57 +03:00
Rob Bast
adf3b956d0
try to use unique test directories
...
any tests that use the filesystem should have their own unique directory, as we run our test suite in parallel and
cleanup of tests (removing directories) should not interfere with currently running tests
2016-01-26 09:41:21 +01:00
Jordi Boggiano
ce08582671
Fix CS
2015-09-28 10:53:24 +01:00
Rob Bast
e698636af4
added test to reproduce #4183
2015-06-29 09:42:40 +02:00
David Prévot
e5ede671d2
Config Git repository user
...
One can’t assume a Git user is already setup for the tests.
2015-02-16 11:55:56 -04:00
Sandy Pleyte
3e161e8ea9
Updated the regexp and added an other test case for sub dirs
2014-02-28 16:30:55 +01:00
Sandy Pleyte
1d51e54a31
Updated the regexp and added more test cases.
2014-02-28 11:43:28 +01:00
Sandy Pleyte
21109ada22
Fix for #2739 (and #1755 ), added support for directory excludes in the .gitignore file like /directory or directory/
2014-02-27 15:17:15 +01:00
Jordi Boggiano
3aa7843146
Use ExecutableFinder instead of relying on exit codes, refs #1829
2013-04-26 11:02:53 +02:00
Rob Loach
692c63cdd2
Fix for tests when Mercurial or git are not available
2013-04-25 14:57:58 -04:00
Nils Adermann
57c34033ff
Merge pull request #1754 from njam/issue-1754
...
Fix file pattern start matching if no slash
2013-04-03 05:45:50 -07:00
Jordi Boggiano
fc54a48b52
Fix archiver tests on windows
2013-04-02 11:32:11 +02:00
Reto Kaiser
6f72e9570c
Add a / to the beginning of a file matchin pattern if no / in rule.
...
See https://www.kernel.org/pub/software/scm/git/docs/gitignore.html
2013-04-01 23:04:00 +02:00
Reto Kaiser
918a55659e
Call realpath() on result of sys_get_temp_dir()
...
On OSX the temp dir is within /var, which is a symlink to /private/var.
If this is not resolved, the comparison will fail when comparing to the result of `git archive` in testGitExcludes().
2013-04-01 21:37:47 +02:00
Nils Adermann
6066359944
Skip directories in zip generation, empty dirs won't get archived
...
This seems ok as we currently rely on git generating archives which does
not archive empty directories either.
2013-03-28 12:49:53 +01:00
Nils Adermann
deae50392f
Respect gitignore, gitattributes and hgignore files in archiving
2013-03-28 12:49:53 +01:00