public class CoverageUtil extends Object
Constructor and Description |
---|
CoverageUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cover(String filename,
String lineNumber)
Updates the coverage object, marking the given filename-line number pair as executed.
|
static void |
onBeforeUnload()
Reads existing coverage data from localStorage, merges it with data collected on this page,
and flushes it back to localStorage.
|
public static void cover(String filename, String lineNumber)
public static void onBeforeUnload()
Copyright © 2018. All rights reserved.