Toggle navigation
Toggle navigation
This project
Loading...
Sign in
grogv3
/
grog-cubi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jean-Francois Leveque
2016-11-16 09:57:40 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c75b3cc8ca94014233af4b1b492519b2989c1956
c75b3cc8
1 parent
5c472835
Cleanup traces
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
7 deletions
src/test/java/org/legrog/web/publisher/ListPublisherVersionsViewTest.java
src/test/java/org/legrog/web/publisher/PublisherVersionViewTest.java
src/test/java/org/legrog/web/publisher/ListPublisherVersionsViewTest.java
View file @
c75b3cc
...
...
@@ -51,14 +51,10 @@ public class ListPublisherVersionsViewTest {
Publisher
publisher1
=
new
Publisher
();
publisher
.
setPublisherId
(
0
);
publisher1
.
setPublisherId
(
1
);
logger
.
trace
(
"publisher {}"
,
publisher
);
logger
.
trace
(
"publisher1 {}"
,
publisher1
);
publisherVersion
.
setPublisher
(
publisher
);
publisherVersion1
.
setPublisher
(
publisher1
);
publisherVersion2
.
setPublisher
(
publisher
);
publisher
.
setValidatedVersion
(
publisherVersion
);
logger
.
trace
(
"publisherVersion {}"
,
publisherVersion
);
logger
.
trace
(
"publisherVersion1 {}"
,
publisherVersion1
);
publisherVersions
=
new
ArrayList
<
PublisherVersion
>();
publisherVersions
.
add
(
publisherVersion
);
publisherVersions
.
add
(
publisherVersion1
);
...
...
@@ -67,8 +63,6 @@ public class ListPublisherVersionsViewTest {
when
(
publisherService
.
getAllPublisherVersions
()).
thenReturn
(
publisherVersions
);
listPublisherVersionsView
=
new
ListPublisherVersionsView
(
publisherService
);
logger
.
trace
(
"listPublisherVersionsView : {}"
,
listPublisherVersionsView
);
logger
.
trace
(
"listPublisherVersionsView, publisherVersions : {}"
,
publisherVersions
);
}
@Test
...
...
src/test/java/org/legrog/web/publisher/PublisherVersionViewTest.java
View file @
c75b3cc
...
...
@@ -52,7 +52,6 @@ public class PublisherVersionViewTest {
publisherVersion
.
setPublisherActive
(
true
);
publisherVersion
.
setPublisherHistory
(
"J"
);
publisherVersion
.
setPublisher
(
new
Publisher
());
logger
.
trace
(
"publisherVersion = {}"
,
publisherVersion
);
// todo uncomment when need to use it (new mockito refuses unnecessary stubbing)
// when(publisherService.getPublisherVersion(0)).thenReturn(publisherVersion);
...
...
Please
register
or
login
to post a comment