use of pcgen.cdom.content.DatasetVariable in project pcgen by PCGen.
the class GlobalTokenTest method testInvalidDupeVarName.
@Test
public void testInvalidDupeVarName() throws PersistenceLayerException {
DatasetVariable dv = new DatasetVariable();
ParseResult pr = token.parseToken(primaryContext, dv, "MyVar");
assertTrue(pr.passed());
assertFalse(parse("STRING=MyVar"));
assertNoSideEffects();
}
Aggregations