summaryrefslogtreecommitdiffstats
path: root/src/test/java/com/gitblit/tests/mock/MockGitblitContext.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com/gitblit/tests/mock/MockGitblitContext.java')
-rw-r--r--src/test/java/com/gitblit/tests/mock/MockGitblitContext.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/java/com/gitblit/tests/mock/MockGitblitContext.java b/src/test/java/com/gitblit/tests/mock/MockGitblitContext.java
new file mode 100644
index 00000000..e51d7b85
--- /dev/null
+++ b/src/test/java/com/gitblit/tests/mock/MockGitblitContext.java
@@ -0,0 +1,12 @@
+package com.gitblit.tests.mock;
+
+import com.gitblit.manager.IManager;
+import com.gitblit.servlet.GitblitContext;
+
+public class MockGitblitContext extends GitblitContext
+{
+ public <X extends IManager> void addManager(X x)
+ {
+ startManager(x);
+ }
+}