Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Plan
Issues
27
Issue boards
Milestones
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
ARSnova Backend
Commits
8be5ff81
There was a problem fetching the latest pipeline status.
Commit
8be5ff81
authored
7 years ago
by
Daniel Gerhardt
Browse files
Options
Downloads
Patches
Plain Diff
Adjust testing configuration for use of AspectJ
parent
2026da5c
1 merge request
!67
AspectJ fixes
Pipeline
#9180
passed with stages
in 2 minutes and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/test/java/de/thm/arsnova/config/TestAppConfig.java
+4
-3
4 additions, 3 deletions
src/test/java/de/thm/arsnova/config/TestAppConfig.java
with
4 additions
and
3 deletions
src/test/java/de/thm/arsnova/config/TestAppConfig.java
+
4
−
3
View file @
8be5ff81
...
...
@@ -8,12 +8,13 @@ import de.thm.arsnova.socket.ARSnovaSocketIOServer;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.beans.factory.config.CustomScopeConfigurer
;
import
org.springframework.cache.annotation.EnableCaching
;
import
org.springframework.context.annotation.AdviceMode
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.ComponentScan
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.EnableAspectJAutoProxy
;
import
org.springframework.context.annotation.Profile
;
import
org.springframework.context.annotation.PropertySource
;
import
org.springframework.context.annotation.aspectj.EnableSpringConfigured
;
import
org.springframework.context.support.SimpleThreadScope
;
import
org.springframework.mock.web.MockServletContext
;
import
org.springframework.test.context.ContextConfiguration
;
...
...
@@ -32,8 +33,8 @@ import org.springframework.web.servlet.config.annotation.EnableWebMvc;
"de.thm.arsnova.web"
})
@Configuration
@ContextConfiguration
(
loader
=
AnnotationConfigContextLoader
.
class
)
@Enable
AspectJAutoProxy
(
exposeProxy
=
true
)
@Enable
Caching
@Enable
Caching
(
mode
=
AdviceMode
.
ASPECTJ
)
@Enable
SpringConfigured
@EnableWebMvc
@PropertySource
(
value
=
{
"classpath:arsnova.properties.example"
,
"file:/etc/arsnova/arsnova.properties"
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment