Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Analyze
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
John Samuel Ako Deutesfeld
ARSnova Backend
Commits
f4b3ddc9
Commit
f4b3ddc9
authored
8 years ago
by
Daniel Gerhardt
Browse files
Options
Downloads
Patches
Plain Diff
Disable broken test
SessionServiceTest.testShouldDeleteAllSessionData fails when run on JDK 8.
parent
470b0601
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/test/java/de/thm/arsnova/services/SessionServiceTest.java
+3
-0
3 additions, 0 deletions
...test/java/de/thm/arsnova/services/SessionServiceTest.java
with
3 additions
and
0 deletions
src/test/java/de/thm/arsnova/services/SessionServiceTest.java
+
3
−
0
View file @
f4b3ddc9
...
...
@@ -23,6 +23,7 @@ import de.thm.arsnova.entities.Session;
import
de.thm.arsnova.exceptions.NotFoundException
;
import
org.junit.After
;
import
org.junit.Before
;
import
org.junit.Ignore
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
import
org.springframework.aop.framework.Advised
;
...
...
@@ -154,7 +155,9 @@ public class SessionServiceTest {
}
@Test
@Ignore
(
"Test fails on JDK 8 (ClassCastException)"
)
public
void
testShouldDeleteAllSessionData
()
{
/* FIXME: fails with ClassCastException on JDK 8 */
final
IDatabaseDao
tempDatabase
=
(
IDatabaseDao
)
ReflectionTestUtils
.
getField
(
getTargetObject
(
sessionService
),
"databaseDao"
);
try
{
setAuthenticated
(
true
,
"ptsr00"
);
...
...
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