diff options
author | James Moger <james.moger@gitblit.com> | 2011-12-07 19:14:34 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2011-12-07 19:14:34 -0500 |
commit | 7e8873a14ccc2cb25213489d7d7ba97f09673831 (patch) | |
tree | 04642e587f8c8e90dca870edfe82e9d6cf1cb89a /test-gitblit.properties | |
parent | 93f4729cdfc856d2a3b155bcf3e97f85b47ce760 (diff) | |
download | gitblit-7e8873a14ccc2cb25213489d7d7ba97f09673831.tar.gz gitblit-7e8873a14ccc2cb25213489d7d7ba97f09673831.zip |
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.
Diffstat (limited to 'test-gitblit.properties')
-rw-r--r-- | test-gitblit.properties | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/test-gitblit.properties b/test-gitblit.properties new file mode 100644 index 00000000..22556a2f --- /dev/null +++ b/test-gitblit.properties @@ -0,0 +1,84 @@ +# +# Gitblit Unit Testing properties +# + +git.repositoriesFolder = git +git.searchRepositoriesSubfolders = true +git.enableGitServlet = true +web.authenticateViewPages = false +web.authenticateAdminPages = true +web.allowCookieAuthentication = true +realm.userService = test-users.conf +realm.passwordStorage = md5 +realm.minPasswordLength = 5 +web.siteName = +web.allowAdministration = true +web.enableRpcServlet = true +web.enableRpcManagement = true +web.enableRpcAdministration = true +web.allowGravatar = true +web.allowZipDownloads = true +web.syndicationEntries = 25 +web.showRepositorySizes = true +web.showFederationRegistrations = false +web.loginMessage = gitblit +web.repositoriesMessage = gitblit +web.useClientTimezone = false +web.timeFormat = HH:mm +web.datestampShortFormat = yyyy-MM-dd +web.datestampLongFormat = EEEE, MMMM d, yyyy +web.datetimestampLongFormat = EEEE, MMMM d, yyyy h:mm a z +web.mountParameters = true +web.forwardSlashCharacter = / +web.otherUrls = +web.repositoryListType = grouped +web.repositoryRootGroupName = main +web.repositoryListSwatches = true +web.diffStyle = gitblit +web.showEmailAddresses = true +web.showSearchTypeSelection = false +web.generateActivityGraph = true +web.activityDuration = 14 +web.summaryCommitCount = 16 +web.summaryRefsCount = 5 +web.itemsPerPage = 50 +web.prettyPrintExtensions = c cpp cs css htm html java js php pl prefs properties py rb sh sql xml vb +web.markdownExtensions = md mkd markdown MD MKD +web.imageExtensions = bmp jpg gif png +web.binaryExtensions = jar pdf tar.gz zip +web.aggressiveHeapManagement = false +web.debugMode = false +regex.global = true +regex.global.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://somehost/bug/$3">Bug-Id: $3</a> +regex.global.changeid = \\b(Change-Id:\\s*)([A-Za-z0-9]*)\\b!!!<a href="http://somehost/changeid/$2">Change-Id: $2</a> +regex.myrepository.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://elsewhere/bug/$3">Bug-Id: $3</a> +mail.server = +mail.port = 25 +mail.debug = false +mail.username = +mail.password = +mail.fromAddress = +mail.adminAddresses = +federation.name = Unit Test +federation.passphrase = Unit Testing +federation.allowProposals = false +federation.proposalsFolder = proposals +federation.defaultFrequency = 60 mins +federation.sets = animal mineral vegetable +federation.example1.url = https://go.gitblit.com +federation.example1.token = 6f3b8a24bf970f17289b234284c94f43eb42f0e4 +federation.example1.frequency = 120 mins +federation.example1.folder = +federation.example1.bare = true +federation.example1.mirror = true +federation.example1.mergeAccounts = true + +server.tempFolder = temp +server.useNio = true +server.contextPath = / +server.httpPort = 0 +server.httpsPort = 8443 +server.httpBindInterface = localhost +server.httpsBindInterface = localhost +server.storePassword = gitblit +server.shutdownPort = 8081 |