Searched refs:HistoryContext (Results 1 - 4 of 4) sorted by relevance

/opengrok-sun/test/org/opensolaris/opengrok/search/context/
H A DHistoryContextTest.java43 * Unit tests for the {@code HistoryContext} class.
76 assertTrue(new HistoryContext(q1).isEmpty());
77 assertTrue(new HistoryContext(q2).isEmpty());
78 assertFalse(new HistoryContext(q3).isEmpty());
79 assertTrue(new HistoryContext(q4).isEmpty());
80 assertFalse(new HistoryContext(q5).isEmpty());
91 assertTrue(new HistoryContext(q1).getContext(filename, path, hits));
101 assertTrue(new HistoryContext(q2).getContext(filename, path, hits));
109 assertFalse(new HistoryContext(q3).getContext(filename, path, hits));
117 assertTrue(new HistoryContext(q
[all...]
/opengrok-sun/src/org/opensolaris/opengrok/web/
H A DSearchHelper.java52 import org.opensolaris.opengrok.search.context.HistoryContext;
163 public HistoryContext historyContext;
427 historyContext = new HistoryContext(query);
429 OpenGrokLogger.getLogger().log(Level.WARNING, "HistoryContext: {0}", e.getMessage());
/opengrok-sun/src/org/opensolaris/opengrok/search/context/
H A DHistoryContext.java48 public class HistoryContext { class
60 public HistoryContext(Query query) { method in class:HistoryContext
/opengrok-sun/src/org/opensolaris/opengrok/search/
H A DSearchEngine.java53 import org.opensolaris.opengrok.search.context.HistoryContext;
105 private HistoryContext historyContext;
273 historyContext = new HistoryContext(query);

Completed in 12 milliseconds