Skip to content

Commit 051dc50

Browse files
new use cases
1 parent c4cefc0 commit 051dc50

File tree

9 files changed

+163
-8
lines changed

9 files changed

+163
-8
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package org.woehlke.twitterwall.oodm.service;
2+
3+
import org.woehlke.twitterwall.oodm.entities.Task;
4+
5+
public interface DomainServiceWithTaskTest {
6+
7+
void store() throws Exception;
8+
9+
void create() throws Exception;
10+
11+
void update() throws Exception;
12+
}

src/test/java/org/woehlke/twitterwall/oodm/service/HashTagServiceTest.java

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
@RunWith(SpringRunner.class)
1919
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE)
20-
public class HashTagServiceTest implements DomainObjectMinimalServiceTest {
20+
public class HashTagServiceTest implements DomainObjectMinimalServiceTest,DomainServiceWithTaskTest {
2121

2222
private static final Logger log = LoggerFactory.getLogger(HashTagServiceTest.class);
2323

@@ -132,4 +132,21 @@ public void findByUniqueId() throws Exception {
132132

133133
}
134134

135+
@Test
136+
@Override
137+
public void store() throws Exception {
138+
139+
}
140+
141+
@Test
142+
@Override
143+
public void create() throws Exception {
144+
145+
}
146+
147+
@Test
148+
@Override
149+
public void update() throws Exception {
150+
151+
}
135152
}

src/test/java/org/woehlke/twitterwall/oodm/service/MediaServiceTest.java

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
@RunWith(SpringRunner.class)
1818
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE)
19-
public class MediaServiceTest implements DomainObjectMinimalServiceTest {
19+
public class MediaServiceTest implements DomainObjectMinimalServiceTest,DomainServiceWithTaskTest {
2020

2121
private static final Logger log = LoggerFactory.getLogger(MediaServiceTest.class);
2222

@@ -110,4 +110,22 @@ public void count() throws Exception {
110110
public void findByUniqueId() throws Exception {
111111

112112
}
113+
114+
@Test
115+
@Override
116+
public void store() throws Exception {
117+
118+
}
119+
120+
@Test
121+
@Override
122+
public void create() throws Exception {
123+
124+
}
125+
126+
@Test
127+
@Override
128+
public void update() throws Exception {
129+
130+
}
113131
}

src/test/java/org/woehlke/twitterwall/oodm/service/MentionServiceTest.java

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
@RunWith(SpringRunner.class)
2323
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE)
24-
public class MentionServiceTest implements DomainObjectMinimalServiceTest {
24+
public class MentionServiceTest implements DomainObjectMinimalServiceTest,DomainServiceWithTaskTest {
2525

2626
private static final Logger log = LoggerFactory.getLogger(MentionServiceTest.class);
2727

@@ -150,4 +150,22 @@ public void count() throws Exception {
150150
public void findByUniqueId() throws Exception {
151151

152152
}
153+
154+
@Test
155+
@Override
156+
public void store() throws Exception {
157+
158+
}
159+
160+
@Test
161+
@Override
162+
public void create() throws Exception {
163+
164+
}
165+
166+
@Test
167+
@Override
168+
public void update() throws Exception {
169+
170+
}
153171
}

src/test/java/org/woehlke/twitterwall/oodm/service/TickerSymbolServiceTest.java

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
@RunWith(SpringRunner.class)
1919
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE)
20-
public class TickerSymbolServiceTest implements DomainObjectMinimalServiceTest {
20+
public class TickerSymbolServiceTest implements DomainObjectMinimalServiceTest,DomainServiceWithTaskTest {
2121

2222
private static final Logger log = LoggerFactory.getLogger(TaskServiceTest.class);
2323

@@ -94,4 +94,22 @@ public void count() throws Exception {
9494
public void findByUniqueId() throws Exception {
9595

9696
}
97+
98+
@Test
99+
@Override
100+
public void store() throws Exception {
101+
102+
}
103+
104+
@Test
105+
@Override
106+
public void create() throws Exception {
107+
108+
}
109+
110+
@Test
111+
@Override
112+
public void update() throws Exception {
113+
114+
}
97115
}

src/test/java/org/woehlke/twitterwall/oodm/service/TweetServiceTest.java

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
@RunWith(SpringRunner.class)
2121
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE)
22-
public class TweetServiceTest implements DomainObjectMinimalServiceTest {
22+
public class TweetServiceTest implements DomainObjectMinimalServiceTest,DomainServiceWithTaskTest {
2323

2424
private static final Logger log = LoggerFactory.getLogger(TweetServiceTest.class);
2525

@@ -289,4 +289,22 @@ public void count() throws Exception {
289289
public void findByUniqueId() throws Exception {
290290

291291
}
292+
293+
@Test
294+
@Override
295+
public void store() throws Exception {
296+
297+
}
298+
299+
@Test
300+
@Override
301+
public void create() throws Exception {
302+
303+
}
304+
305+
@Test
306+
@Override
307+
public void update() throws Exception {
308+
309+
}
292310
}

src/test/java/org/woehlke/twitterwall/oodm/service/UrlServiceTest.java

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
@RunWith(SpringRunner.class)
1818
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE)
19-
public class UrlServiceTest implements DomainObjectMinimalServiceTest,DomainServiceWithUrlTest {
19+
public class UrlServiceTest implements DomainObjectMinimalServiceTest,DomainServiceWithTaskTest,DomainServiceWithUrlTest {
2020

2121
private static final Logger log = LoggerFactory.getLogger(UrlServiceTest.class);
2222

@@ -91,4 +91,22 @@ public void count() throws Exception {
9191
public void findByUniqueId() throws Exception {
9292

9393
}
94+
95+
@Test
96+
@Override
97+
public void store() throws Exception {
98+
99+
}
100+
101+
@Test
102+
@Override
103+
public void create() throws Exception {
104+
105+
}
106+
107+
@Test
108+
@Override
109+
public void update() throws Exception {
110+
111+
}
94112
}

src/test/java/org/woehlke/twitterwall/oodm/service/UserListServiceTest.java

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
@RunWith(SpringRunner.class)
1313
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE)
14-
public class UserListServiceTest implements DomainObjectMinimalServiceTest {
14+
public class UserListServiceTest implements DomainObjectMinimalServiceTest,DomainServiceWithTaskTest {
1515

1616
private static final Logger log = LoggerFactory.getLogger(UserListServiceTest.class);
1717

@@ -54,4 +54,22 @@ public void count() throws Exception {
5454
public void findByUniqueId() throws Exception {
5555

5656
}
57+
58+
@Test
59+
@Override
60+
public void store() throws Exception {
61+
62+
}
63+
64+
@Test
65+
@Override
66+
public void create() throws Exception {
67+
68+
}
69+
70+
@Test
71+
@Override
72+
public void update() throws Exception {
73+
74+
}
5775
}

src/test/java/org/woehlke/twitterwall/oodm/service/UserServiceTest.java

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
@RunWith(SpringRunner.class)
2525
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE)
26-
public class UserServiceTest implements DomainObjectMinimalServiceTest {
26+
public class UserServiceTest implements DomainObjectMinimalServiceTest,DomainServiceWithTaskTest {
2727

2828
private static final Logger log = LoggerFactory.getLogger(UserServiceTest.class);
2929

@@ -402,4 +402,22 @@ public void count() throws Exception {
402402
public void findByUniqueId() throws Exception {
403403

404404
}
405+
406+
@Test
407+
@Override
408+
public void store() throws Exception {
409+
410+
}
411+
412+
@Test
413+
@Override
414+
public void create() throws Exception {
415+
416+
}
417+
418+
@Test
419+
@Override
420+
public void update() throws Exception {
421+
422+
}
405423
}

0 commit comments

Comments
 (0)