]> source.dussan.org Git - gitblit.git/commit
Fix for various test failures.
authorchirontt <chirontt@chirontt.org>
Sun, 28 Apr 2019 19:51:21 +0000 (15:51 -0400)
committerFlorian Zschocke <florian.zschocke@devolo.de>
Fri, 7 Jun 2019 11:57:47 +0000 (13:57 +0200)
commit694fd8896d2133fd5183349278be37e4f0c53d58
tree76c00fd3001d9c7cb47d8958545bad5ecaaf50a2
parent845de9dbdd4a19ea7d4bd15d66fe9e22a16eae23
Fix for various test failures.

Most of failures were due to temporary test repos, users and/or teams
being left behind after the test run, and these left-over stuff in
$baseFolder/data/git caused assertion errors in many tests in subsequent
test runs. This fix tries to delete those left-over stuff at the end of
each test, mainly in their @Afterclass code blocks.

PushLogTest.java is deleted as it doesn't work, and has been superseded
with better tests in various protocol test suites (GitServletTest,
GitDaemonTest, SshDaemonTest, etc.)
src/test/java/com/gitblit/tests/FederationTests.java
src/test/java/com/gitblit/tests/GitServletTest.java
src/test/java/com/gitblit/tests/HtpasswdAuthenticationTest.java
src/test/java/com/gitblit/tests/JsonUtilsTest.java
src/test/java/com/gitblit/tests/PushLogTest.java [deleted file]
src/test/java/com/gitblit/tests/RpcTests.java
src/test/java/com/gitblit/tests/TicketReferenceTest.java
src/test/java/com/gitblit/tests/TicketServiceTest.java
src/test/java/com/gitblit/tests/UITicketTest.java