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

Method setUp

code/src/utest/actor/add/AbilityTokenTest.java:58–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 protected LoadContext context;
57
58 @Override
59 @BeforeEach
60 public void setUp() throws Exception
61 {
62 super.setUp();
63 SettingsHandler.getGameAsProperty().get().clearLoadContext();
64 context = Globals.getContext();
65 context.getReferenceContext().importObject(BuildUtilities.getFeatCat());
66 }
67
68 @AfterEach
69 @Override

Callers

nothing calls this directly

Calls 7

getGameAsPropertyMethod · 0.95
getContextMethod · 0.95
getFeatCatMethod · 0.95
clearLoadContextMethod · 0.80
importObjectMethod · 0.80
getMethod · 0.65
getReferenceContextMethod · 0.65

Tested by

no test coverage detected