]> source.dussan.org Git - gitblit.git/commit
Unit testing overhaul.
authorJames Moger <james.moger@gitblit.com>
Thu, 8 Dec 2011 00:14:34 +0000 (19:14 -0500)
committerJames Moger <james.moger@gitblit.com>
Thu, 8 Dec 2011 00:14:34 +0000 (19:14 -0500)
commit7e8873a14ccc2cb25213489d7d7ba97f09673831
tree04642e587f8c8e90dca870edfe82e9d6cf1cb89a
parent93f4729cdfc856d2a3b155bcf3e97f85b47ce760
Unit testing overhaul.

Migrated to JUnit4-style tests.
Replaced assertTrue with assertEquals where appropriate.
Start Gitblit instance with dedicated unit testing settings file and
user service.
Integrated RPC, Federation, and Git servlet unit tests into suite.
24 files changed:
src/com/gitblit/GitBlitServer.java
test-gitblit.properties [new file with mode: 0644]
test-users.conf [new file with mode: 0644]
tests/com/gitblit/tests/ActivityTest.java
tests/com/gitblit/tests/Base64Test.java
tests/com/gitblit/tests/ByteFormatTest.java
tests/com/gitblit/tests/DiffUtilsTest.java
tests/com/gitblit/tests/FederationTests.java
tests/com/gitblit/tests/FileUtilsTest.java
tests/com/gitblit/tests/GitBlitSuite.java
tests/com/gitblit/tests/GitBlitTest.java
tests/com/gitblit/tests/GitServletTest.java
tests/com/gitblit/tests/JGitUtilsTest.java
tests/com/gitblit/tests/JsonUtilsTest.java
tests/com/gitblit/tests/MailTest.java
tests/com/gitblit/tests/MarkdownUtilsTest.java
tests/com/gitblit/tests/MetricUtilsTest.java
tests/com/gitblit/tests/ObjectCacheTest.java
tests/com/gitblit/tests/RpcTests.java
tests/com/gitblit/tests/StringUtilsTest.java
tests/com/gitblit/tests/SyndicationUtilsTest.java
tests/com/gitblit/tests/TicgitUtilsTest.java
tests/com/gitblit/tests/TimeUtilsTest.java
tests/com/gitblit/tests/UserServiceTest.java