public final class EnvironmentEdgeManagerTestHelper extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
EnvironmentEdgeManagerTestHelper.PackageEnvironmentEdgeWrapper |
Modifier | Constructor and Description |
---|---|
private |
EnvironmentEdgeManagerTestHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
injectEdge(org.apache.hadoop.hbase.util.EnvironmentEdge edge) |
static void |
injectEdgeForPackage(org.apache.hadoop.hbase.util.EnvironmentEdge edge,
String packageName)
Inject a
EnvironmentEdge which only takes effect when calling directly from the classes
in the given package. |
static void |
reset() |
private EnvironmentEdgeManagerTestHelper()
public static void reset()
public static void injectEdge(org.apache.hadoop.hbase.util.EnvironmentEdge edge)
public static void injectEdgeForPackage(org.apache.hadoop.hbase.util.EnvironmentEdge edge, String packageName)
EnvironmentEdge
which only takes effect when calling directly from the classes
in the given package.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.