stable
Clone or download
Read-only
Transform remaining Git/Gitolite driver SimpleTest tests in PHPUnit integration tests
Those tests have far too much side effects (I/O accesses everywhere) to be considered as unit tests and they need access to a version of Git similar to what's available on production environnements. With this contribution, the Git plugin is now free of SimpleTest. This is part of request #14150: Get rid of SimpleTest Change-Id: Iee87555ac10b9fd97d65bd500c78fa626bcb0ea4
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/composer.json | +5 | −0 | Go to diff View file |
D | plugins/git/tests/GitDriverTest.php | +0 | −292 | Go to diff View file |
D | plugins/git/tests/Git_GitoliteDriverTest.php | +0 | −276 | Go to diff View file |
D | plugins/git/tests/Git_GitoliteTestCase.class.php | +0 | −147 | Go to diff View file |
D | plugins/git/tests/Git_Gitolite_SSHKeyDumperTest.php | +0 | −166 | Go to diff View file |
D | plugins/git/tests/Git_Gitolite_SSHKeyMassDumperTest.php | +0 | −137 | Go to diff View file |
D | plugins/git/tests/_fixtures/perms/coincoin.git.git/.gitdummy | +0 | −0 | Go to diff View file |
D | plugins/git/tests/_fixtures/perms/default.conf | +0 | −2 | Go to diff View file |
D | plugins/git/tests/_fixtures/perms/restricted.conf | +0 | −2 | Go to diff View file |
A | plugins/git/tests/integration/GitDriverTest.php | +299 | −0 | Go to diff View file |
A | plugins/git/tests/integration/Gitolite/GitoliteDriverTest.php | +255 | −0 | Go to diff View file |
A | plugins/git/tests/integration/Gitolite/GitoliteTestCase.php | +182 | −0 | Go to diff View file |
A | plugins/git/tests/integration/Gitolite/SSHKeyDumperTest.php | +172 | −0 | Go to diff View file |
A | plugins/git/tests/integration/Gitolite/SSHKeyMassDumperTest.php | +148 | −0 | Go to diff View file |
R | plugins/git/tests/_fixtures/gitolite-admin-ref.tar | Binary file | Go to diff View file | |
R | plugins/git/tests/_fixtures/headless.git/README | Go to diff View file | ||
R | plugins/git/tests/_fixtures/headless.git/refs/heads/default | Go to diff View file | ||
R | plugins/git/tests/_fixtures/perms/newone.conf | Go to diff View file | ||
R | plugins/git/tests/_fixtures/config | Go to diff View file | ||
R | plugins/git/tests/_fixtures/hooks/post-receive | Go to diff View file |