net.sf.gridarta.model.archetype
public class AttributeListUtilsTest extends Object
AttributeListUtils
.Constructor and Description |
---|
AttributeListUtilsTest() |
Modifier and Type | Method and Description |
---|---|
void |
checkDiffArchTextValues1()
Checks that
AttributeListUtils.diffArchTextValues(BaseObject,
CharSequence) returns correct values. |
private static void |
checkRemoveAttribute(String attributeList,
String key,
String expectedResult)
Calls
AttributeListUtils.removeAttribute(String, String) and
checks for expected results. |
private static BaseObject<?,?,?,?> |
newArchetype(String objectText)
Creates a new archetype.
|
void |
testRemoveAttribute()
Test case for
AttributeListUtils.removeAttribute(String,
String) . |
public AttributeListUtilsTest()
public void testRemoveAttribute()
AttributeListUtils.removeAttribute(String,
String)
.private static void checkRemoveAttribute(@NotNull String attributeList, @NotNull String key, @NotNull String expectedResult)
AttributeListUtils.removeAttribute(String, String)
and
checks for expected results.attributeList
- the attribute list parameter to passkey
- the key parameter to passexpectedResult
- the expected result valuepublic void checkDiffArchTextValues1()
AttributeListUtils.diffArchTextValues(BaseObject,
CharSequence)
returns correct values.@NotNull private static BaseObject<?,?,?,?> newArchetype(@NotNull String objectText)
objectText
- the object text of the new archetypeFeedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.