Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Genesys Backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
17
Issues
17
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Genesys PGR
Genesys Backend
Commits
b4fc6413
Commit
b4fc6413
authored
Dec 03, 2013
by
Matija Obreza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates for HSQL during tests
parent
5016a8f0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
7 deletions
+16
-7
pom.xml
pom.xml
+1
-1
src/main/resources/ehcache.xml
src/main/resources/ehcache.xml
+1
-1
src/test/java/org/genesys2/server/test/HtmlSanitizerTest.java
...test/java/org/genesys2/server/test/HtmlSanitizerTest.java
+1
-3
src/test/resources/spring/spring.properties
src/test/resources/spring/spring.properties
+13
-2
No files found.
pom.xml
View file @
b4fc6413
...
...
@@ -31,7 +31,7 @@
<hibernate.version>
4.2.7.SP1
</hibernate.version>
<hibernate.annotations.version>
4.0.4.Final
</hibernate.annotations.version>
<hsqldb.version>
2.
2.9
</hsqldb.version>
<hsqldb.version>
2.
3.1
</hsqldb.version>
<ehcache.version>
2.7.0
</ehcache.version>
<slf4j.version>
1.7.5
</slf4j.version>
...
...
src/main/resources/ehcache.xml
View file @
b4fc6413
...
...
@@ -45,7 +45,7 @@
<!--ACL in-memory cache-->
<cache
name=
"acl"
maxElementsInMemory=
"0"
maxBytesLocalHeap=
"
512
M"
maxBytesLocalHeap=
"
64
M"
eternal=
"false"
timeToIdleSeconds=
"1800"
timeToLiveSeconds=
"3600"
...
...
src/test/java/org/genesys2/server/test/HtmlSanitizerTest.java
View file @
b4fc6413
...
...
@@ -14,7 +14,6 @@
* limitations under the License.
**/
package
org.genesys2.server.test
;
import
static
org
.
junit
.
Assert
.
assertEquals
;
...
...
@@ -29,8 +28,7 @@ import org.springframework.test.context.ContextConfiguration;
import
org.springframework.test.context.junit4.SpringJUnit4ClassRunner
;
@RunWith
(
SpringJUnit4ClassRunner
.
class
)
@ContextConfiguration
(
locations
=
{
"classpath:spring/servlet.xml"
,
"classpath:spring/spring-common.xml"
,
"classpath:spring/spring-db.xml"
,
"classpath:spring/spring-security.xml"
,
"classpath:spring/spring-security-acl.xml"
,
"classpath:spring/spring-cache.xml"
})
@ContextConfiguration
(
locations
=
{
"classpath:spring/servlet.xml"
,
"classpath:spring/application-context.xml"
})
public
class
HtmlSanitizerTest
{
@Autowired
...
...
src/test/resources/spring/spring.properties
View file @
b4fc6413
...
...
@@ -15,7 +15,7 @@
#-------------------------------------------------------------------------------
#DB connection properties
#In-memory HSQLDB
db.url
=
jdbc:hsqldb:mem:test
db.url
=
jdbc:hsqldb:mem:test
;sql.syntax_mys=true
db.driverClassName
=
org.hsqldb.jdbc.JDBCDriver
db.username
=
sa
db.password
=
...
...
@@ -29,4 +29,15 @@ captcha.publicKey=B
lucene.indexDir
=
./lucene/
# paths
download.files.dir
=
/Users/mobreza/Downloads
\ No newline at end of file
download.files.dir
=
./data/
# ITPGRFA Easy-SMTA account (if you have one)
itpgrfa.easysmta.username
=
itpgrfa.easysmta.password
=
# GA Account
google.analytics.account
=
# CDN
cdn.base
=
http://cdn.sandbox.genesys-pgr.org
cdn.flags.url
=
${cdn.base}/flags
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment