blob: 8b7c594f837be89595f52d393c1d1662ab6f1459 [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
# Custom configuration file used by most JUnit tests overriding
# certain default values in src/main/resources/ini/jspwiki.properties
#
jspwiki.fileSystemProvider.pageDir = target/test-classes/testrepository
jspwiki.workDir = target/test-classes/testworkdir
jspwiki.searchProvider = BasicSearchProvider
jspwiki.translatorReader.camelCaseLinks = true
jspwiki.breakTitleWithSpaces = true
jspwiki.translatorReader.useOutlinkImage = false
jspwiki.basicAttachmentProvider.storageDir = target/test-classes/testrepository
jspwiki.encoding = ISO-8859-1
jspwiki.filterConfig = /filters.xml
jspwiki.referenceStyle = relative
jspwiki.authorizer=org.apache.wiki.auth.TestAuthorizer
# log file under ./target
log4j.appender.FileLog.File=./target/logs/jspwiki.log
# RSS under ./target
jspwiki.rss.fileName=./target/rss.rdf
#
# Security: use standard providers for user/group auth, user management
# and ACLs. Use a test userdatabase for storing users.
#
jspwiki.xmlGroupDatabaseFile = target/test-classes/groupdatabase.xml
jspwiki.xmlUserDatabaseFile = target/test-classes/userdatabase.xml
log4j.logger.SecurityLog=INFO, SecurityAppender
log4j.appender.SecurityAppender = org.apache.log4j.RollingFileAppender
log4j.appender.SecurityAppender.File = ./target/logs/security.log
log4j.appender.SecurityAppender.layout = org.apache.log4j.PatternLayout
log4j.appender.SecurityAppender.layout.ConversionPattern=%d %p - %m%n
# Used by CommandResolverTest
jspwiki.specialPage.RecentChanges = RecentChanges.jsp
jspwiki.specialPage.Search = Search.jsp
# Used by JSPWikiMarkupParserTest
jspwiki.translatorReader.inlinePattern.1 = *.jpg
jspwiki.translatorReader.inlinePattern.2 = *.png
jspwiki.translatorReader.inlinePattern.3 = http://images.com/*
# Used by WorkflowManagerTest
jspwiki.approver.workflow.saveWikiPage=
jspwiki.approver.workflow.foo=janne
jspwiki.approver.workflow.bar=Admin
# Fields needed in order to run MailUtilTest
#mail.smtp.host = 127.0.0.1
#mail.smtp.port = 25
#mail.from = JSPWiki <JSPWiki@localhost>
#mail.smtp.account =
#mail.smtp.password =
# for JDBC tests
server.port=9321
server.database.0=file:target/jspwiki.hsqldb
server.dbname.0=jspwiki
jdbc.admin.id=SA
jdbc.admin.password=
jdbc.driver.class=org.hsqldb.jdbc.JDBCDriver
jdbc.driver.id=hsql
jdbc.driver.url=jdbc\:hsqldb\:hsql\://localhost:9321/jspwiki
jdbc.user.id=jspwiki
jdbc.user.password=password