MCPcopy Create free account
hub / github.com/PCGen/pcgen / setUp

Method setUp

code/src/utest/plugin/function/InputFunctionTest.java:50–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48 private CharID id;
49
50 @BeforeEach
51 @Override
52 public void setUp() throws Exception
53 {
54 super.setUp();
55 getFunctionLibrary().addFunction(new InputFunction());
56 id = CharID.getID(context.getDataSetID());
57 scopeFacet.set(id, getFormulaManager().getScopeInstanceFactory());
58 variableStoreFacet.set(id, getVariableStore());
59 solverManagerFacet.set(id,
60 context.getVariableContext().generateSolverManager(getVariableStore()));
61 }
62
63 @Test
64 public void testInvalidTooFewArg()

Callers

nothing calls this directly

Calls 9

getIDMethod · 0.95
generateSolverManagerMethod · 0.80
addFunctionMethod · 0.65
getDataSetIDMethod · 0.65
setMethod · 0.65
getVariableContextMethod · 0.65
getFunctionLibraryMethod · 0.45
getFormulaManagerMethod · 0.45
getVariableStoreMethod · 0.45

Tested by

no test coverage detected