summaryrefslogtreecommitdiffstats
path: root/src/test/java/com/gitblit/tests/RpcTests.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix for various test failures.chirontt2019-06-071-2/+13
| | | | | | | | | | | | 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.)
* Revise, complete, and fully test the FORK rpcJames Moger2014-05-081-6/+63
|
* Implement FORK RPC request typemanisha2014-05-081-0/+6
|
* Update unit tests for refactored architectureJames Moger2013-11-291-2/+2
| | | | Change-Id: I04639db977c515e5e1090ef8f0e1ce858820cb03
* Moved servlets and services to separate packagesJames Moger2013-11-291-1/+1
| | | | Change-Id: I5f0f50f4ae7d332e9f724a2e6f074fa71f646035
* Define manager interfaces and update all of Gitblit to use managersJames Moger2013-11-261-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | These manager interfaces define how the GitBlit singleton will eventually be split into smaller component managers. The Wicket app and all servlets have been updated to request the needed managers. There are _very_ few method signature changes - although there are a handful. This is a surgical sharding of responsibility based on a proof of concept refactor. Instead of random references to GittBlit.self() there are now precise references to the manager interface required to accomplish some task. Some tasks may require references to multiple managers. The code is now littered with calls to GitBlit.getManager(class) and those familiar with the code-base will no doubt notice the duplication of methods from IUserService in IUserManager and the addition of implementation methods in the GitBlit context class. When the GitBlit class is broken apart and the existing external authentication user service classes are refactored to AuthenticationService classes, this will again simplify and flatten. But in order to safely and cleanly modularize the stable code-base we will have to live with a little duplication for a short while. Change-Id: I7314ec8acaab2dcc6092785ed4434cc09fdbbe16
* Remove trailing whitespace from unit testsJames Moger2013-09-301-7/+7
| | | | Change-Id: I172bd4d493eee1013ec542ab97f1be29040f816d
* Added GET_USER request to RPC interface (issue-275)James Moger2013-07-221-0/+15
|
* Fix RPC unit testJames Moger2013-07-021-5/+13
|
* Organize importsJames Moger2013-05-021-1/+1
|
* Reorganized to Apache Standard Directory Layout & integrated MoxieJames Moger2013-03-271-0/+382
This is a massive commit which reorganizes the entire project structure (although it is still monolithic), removes the Build classes, and switches to Moxie, a smarter Ant build tookit based on the original Gitblit Build classes. The Ant build script will likely require additional fine-tuning, but this is big step forward.