Searched refs:getContext (Results 1 - 7 of 7) sorted by relevance

/opengrok-sun/test/org/opensolaris/opengrok/search/context/
H A DHistoryContextTest.java91 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(q4).getContext(filename, path, hits));
135 assertTrue(new HistoryContext(q1).getContext(parent, base, path, sw, null));
144 assertTrue(new HistoryContext(q2).getContext(parent, base, path, sw, null));
151 assertFalse(new HistoryContext(q3).getContext(parent, base, path, sw, null));
159 assertTrue(new HistoryContext(q4).getContext(parent, base, path, sw, null));
H A DContextTest.java107 * Tests for the getContext() method.
118 * Helper method for testing various paths through the getContext() method.
135 assertTrue(c.getContext(in, out, "", "", "", null, limit, hits));
159 assertTrue(c.getContext(in, out, "", "", "", defs, limit, hits));
179 assertTrue(c.getContext(in, out, "", "", "", defs, limit, hits));
199 assertFalse(c.getContext(in, out, "", "", "", null, limit, hits));
212 assertFalse(c.getContext(in, out, "", "", "", null, limit, hits));
238 c.getContext(in, out, "", "", "", null, true, null);
266 c.getContext(in, out, "", "", "", null, true, null);
293 c.getContext(i
[all...]
/opengrok-sun/src/org/opensolaris/opengrok/search/context/
H A DHistoryContext.java71 public boolean getContext(String filename, String path, List<Hit> hits) method in class:HistoryContext
83 public boolean getContext( method in class:HistoryContext
87 return getContext(new File(parent, basename), path, out, context);
103 public boolean getContext(File src, String path, Writer out, String context) method in class:HistoryContext
H A DContext.java128 public boolean getContext(Reader in, Writer out, String urlPrefix, method in class:Context
/opengrok-sun/src/org/opensolaris/opengrok/search/
H A DSearchEngine.java351 hasContext = sourceContext.getContext(new InputStreamReader(new FileInputStream(source
382 hasContext |= sourceContext.getContext(null, null, null, null, filename, tags, false, ret);
386 hasContext |= sourceContext.getContext(null, null, null, null, filename, tags, false, ret);
390 hasContext |= historyContext.getContext(source + filename, filename, ret);
H A DResults.java213 sh.sourceContext.getContext(r, out, xrefPrefix,
218 sh.historyContext.getContext(new File(sh.sourceRoot, rpath),
/opengrok-sun/lib/
H A Dservlet-api.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/servlet/ javax/servlet/http/ javax/servlet/resources/ javax/ ...

Completed in 280 milliseconds