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

Method addType

code/src/test/pcgen/util/TestHelper.java:445–452  ·  view source on GitHub ↗
(CDOMObject cdo, String string)

Source from the content-addressed store, hash-verified

443 }
444
445 public static void addType(CDOMObject cdo, String string)
446 {
447 String[] stringList = string.split("\\.");
448 for (String s : stringList)
449 {
450 cdo.addToListFor(ListKey.TYPE, Type.getConstant(s));
451 }
452 }
453
454 /**
455 * Checks to see if this PC has the weapon proficiency key aKey

Callers 13

setUpMethod · 0.95
setUpMethod · 0.95
setUpMethod · 0.95
setUpMethod · 0.95
setUpMethod · 0.95
setUpMethod · 0.95
setUpMethod · 0.95
testMultiSkillsMethod · 0.95
setUpMethod · 0.95
setUpMethod · 0.95
makeSkillMethod · 0.95
makeAbilityMethod · 0.95

Calls 3

getConstantMethod · 0.95
addToListForMethod · 0.65
splitMethod · 0.45

Tested by

no test coverage detected