blob: c5793503cfcd4e0461736c9c630f0093ec08a223 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package com.intellij.tasks.integration.live;
import com.intellij.tasks.TaskManagerTestCase;
import com.intellij.tasks.TaskRepository;
/**
* @author Mikhail Golubev
*/
public abstract class LiveIntegrationTestCase<T extends TaskRepository> extends TaskManagerTestCase {
protected T myRepository;
@Override
public void setUp() throws Exception {
super.setUp();
myRepository = createRepository();
}
/**
* @return new instance of task repository <b>with authenticated user<b/>
*/
protected abstract T createRepository() throws Exception;
}
|