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

Method setUp

code/src/test/pcgen/core/prereq/PreSizeTest.java:49–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47 Equipment eq3;
48
49 @BeforeEach
50 @Override
51 protected void setUp() throws Exception
52 {
53 super.setUp();
54
55 final PlayerCharacter character = getCharacter();
56
57 TestHelper.makeEquipment("Item One\tTYPE:Goods.Magic\tSIZE:S");
58 TestHelper.makeEquipment("Item Two\tTYPE:Goods.General\tSIZE:M");
59 TestHelper
60 .makeEquipment("Item Three\tTYPE:Weapon.Melee.Finesseable.Simple.Standard.Piercing.Dagger:\tSIZE:L");
61
62 eq1 = EquipmentList.getEquipmentFromName("Item One", character);
63 eq2 = EquipmentList.getEquipmentFromName("Item Two", character);
64 eq3 = EquipmentList.getEquipmentFromName("Item Three", character);
65 }
66
67 @Test
68 public void testEquipmentPreSize() throws Exception

Callers

nothing calls this directly

Calls 3

makeEquipmentMethod · 0.95
getEquipmentFromNameMethod · 0.95
getCharacterMethod · 0.45

Tested by

no test coverage detected