fauxpark
a5110d597c
Test case for mailmap
2015-03-01 18:50:21 +11:00
DannyvdSluijs
35d2810fa4
Added @covers annotations.
2014-05-23 19:06:04 +02:00
Nico Mandery
0fcd95690e
reorder unittest indices according to new sorting
2014-05-19 12:06:25 +02:00
Klaus Silveira
179aeeff21
Fixing broken tests
2013-06-01 15:04:35 -03:00
Klaus Silveira
5122e91b49
Major refactoring of the codebase, specially in the directory scanning parts.
...
I have removed the directory management features from Gitter and ported them to GitList,
since they are application-specific logic. I was unhappy with the way directories and multiple
directories were handled, so i altered almost everything.
The tests are OK, but the coverage is not good. This means that i'll need som help from all
GitList users that are actively testing the development version with multiple directories.
I have removed the directory caching feature for now, it will be re-implemented soon.
2013-06-01 12:51:25 -03:00
Wim Rijnders
dc263c05f2
Merged master branch to multidir branch.
2013-04-03 12:45:54 +02:00
Klaus Silveira
cf9aeaf773
Oops. I did it again.
2013-03-29 00:20:28 -03:00
Nate Eagleson
dabf4d86d9
Do not crash when a repo has a detached HEAD
...
Instead, we select a default branch - master by default, but the default
branch can be configured using config.ini.
Note that if the default branch does not exist in a repo, that should
not cause any issues.
Also adds phpunit to composer.json's require-dev section.
2013-02-15 07:16:38 -05:00
Wim Rijnders
a22760d5ad
Gitlist php code compliant with PSR-1 and PSR-2.
2013-02-05 11:27:10 +01:00
Wim Rijnders
051c30befb
Small fixes to gitlist multidir.
2013-01-27 23:41:33 +01:00
Wim Rijnders
81ed4648b8
gitlist passes units tests.
2013-01-27 22:06:10 +01:00
Wim Rijnders
2715c5467a
GitList multidir passes unit test.
2013-01-20 14:30:44 +01:00
Klaus Silveira
2625beb393
Fixed failing tests due to trailing backslash in URL
2013-01-17 14:41:25 -02:00
Nate Eagleson
1f8f321037
Fix tests (and this time I tested it).
...
Admittedly, I tested it by modifying composer.json to include phpunit
but then did not commit that change, so it's vaguely possible an older
phpunit would find a way to fail.
I think we should be good, though.
2012-12-20 22:22:47 -05:00
Nate Eagleson
9dfca14f31
Attempt to fix test for repo without master branch.
...
Without a working test environment, it's hard to be confident it will
succeed, but it's certainly a step closer to correct.
2012-12-13 23:21:30 -05:00
Nate Eagleson
0fa349476a
Use checked-out branch as default branch.
...
Previously assumed 'master' was the default branch, when master may not
exist at all.
2012-12-13 15:41:52 -05:00
Christian Schorn
11e662c707
Coding style - camelCase for variables
2012-10-31 19:32:00 +01:00
Christian Schorn
2b43be92b3
Add unit tests for nested repository
2012-10-31 19:09:29 +01:00
Christian Schorn
54e2621333
Added nested repository to fixtures.
2012-10-31 18:49:49 +01:00
Christian Schorn
655ee6b85a
Make unit tests use new configuration constructor
2012-10-31 18:21:52 +01:00
Denys Chmeliuk
a2ec4ae2cb
Added suport for branches with slashes '/' in name
2012-10-26 13:38:48 +03:00
Klaus Silveira
e17ffee12d
Updating GitList to use Gitter
2012-09-11 11:55:03 -03:00
Sebastiaan Stok
607e01ccec
Fixed failing tests on none-Windows OS
2012-08-31 11:52:51 +02:00
Sebastiaan Stok
19feb0d87e
Randomize temp-dir and ignore IOException in tests
...
If the file pointer is not closed or some other program (like TGitcache.exe) is reading the file
the tests don't fail anymore.
2012-08-31 11:36:30 +02:00
Sebastiaan Stok
1afeaea987
Fixed unresolvable TMP dir on Windows
2012-08-31 10:15:46 +02:00
Klaus Silveira
06ec0d2924
Increasing functional test code coverage
2012-08-07 03:36:30 -03:00
Klaus Silveira
58664fefca
Better coverage for the repository page test
2012-07-26 03:50:59 -03:00
Klaus Silveira
3d2c212da4
New functional test suite
2012-07-26 03:43:02 -03:00
Klaus Silveira
11b869f28e
First functional test for interface
2012-07-25 11:46:20 -03:00