public class SourceRenderHelper extends Object
| Constructor and Description |
|---|
SourceRenderHelper(CloverDatabase database,
Current report,
HtmlRenderingSupportImpl renderingHelper) |
| Modifier and Type | Method and Description |
|---|---|
LineRenderInfo[] |
gatherSrcRenderInfo(clover.org.apache.velocity.VelocityContext vc,
FullFileInfo finfo,
ContextSet contextSet,
String emptyCoverageChar,
List<TestCaseInfo>[] testLineInfo)
WARN: the FullFileInfo object passed here will have another data provider set on it.
|
static String |
getRegionStartStr(SourceInfo region) |
static List<String> |
getSrcLines(FullFileInfo finfo) |
void |
insertLineInfosForFile(FullFileInfo fileInfo,
clover.org.apache.velocity.VelocityContext context,
ContextSet contextSet,
String emptyChar,
List[] testLineInfo) |
public SourceRenderHelper(CloverDatabase database, Current report, HtmlRenderingSupportImpl renderingHelper)
public void insertLineInfosForFile(FullFileInfo fileInfo, clover.org.apache.velocity.VelocityContext context, ContextSet contextSet, String emptyChar, List[] testLineInfo)
public LineRenderInfo[] gatherSrcRenderInfo(clover.org.apache.velocity.VelocityContext vc, FullFileInfo finfo, ContextSet contextSet, String emptyCoverageChar, List<TestCaseInfo>[] testLineInfo) throws Exception
vc - velocity contextfinfo - a writable copy of the file info to gather the render info foremptyCoverageChar - the String to use when there is no coverageIOException - if an error occurs rendering this file pageclover.antlr.TokenStreamException - if an error occurs reading the source fileExceptionpublic static List<String> getSrcLines(FullFileInfo finfo) throws IOException
IOExceptionpublic static String getRegionStartStr(SourceInfo region)
Copyright © 2024 OpenClover.org. All rights reserved.