use of com.gitblit.tests.mock.MockGitblitContext in project gitblit by gitblit.
the class RawServletTest method init.
@BeforeClass
public static void init() {
MockGitblitContext gitblitContext = new MockGitblitContext();
gitblitContext.addManager(mockRuntimeManager);
settings = mockRuntimeManager.getSettings();
}
use of com.gitblit.tests.mock.MockGitblitContext in project gitblit by gitblit.
the class MarkupProcessorTest method setUp.
@Before
public void setUp() {
IRuntimeManager rm = new MockRuntimeManager(getSettings());
gbctx = new MockGitblitContext();
gbctx.addManager(rm);
tester = new WicketTester(new GitBlitWebApp(null, null, rm, getPluginManager(), null, null, null, null, null, null, null, null, null));
}
Aggregations