public void testString() { assertEquals(null, conceptClass.getString()); conceptClass.setString(stringValue); assertEquals(stringValue, conceptClass.getString()); assertEquals(null, concept.getString()); concept.setString(stringValue); assertEquals(stringValue, concept.getString()); assertEquals(null, behaviour.getString()); behaviour.setString(stringValue); assertEquals(stringValue, behaviour.getString()); }
public void testInteger() { assertEquals(null, conceptClass.getIn()); conceptClass.setIn(intValue); assertEquals(intValue, conceptClass.getIn()); assertEquals(null, concept.getInt()); concept.setInt(intValue); assertEquals(intValue, concept.getInt()); assertEquals(null, behaviour.getInt()); behaviour.setInt(intValue); assertEquals(intValue, behaviour.getInt()); }
public void testShort() { assertEquals(null, conceptClass.getShor()); conceptClass.setShor(shortValue); assertEquals(shortValue, conceptClass.getShor()); assertEquals(null, concept.getShort()); concept.setShort(shortValue); assertEquals(shortValue, concept.getShort()); assertEquals(null, behaviour.getShort()); behaviour.setShort(shortValue); assertEquals(shortValue, behaviour.getShort()); }
public void testFloat() { assertEquals(null, conceptClass.getFlo()); conceptClass.setFlo(floatValue); assertEquals(floatValue, conceptClass.getFlo()); assertEquals(null, concept.getFloat()); concept.setFloat(floatValue); assertEquals(floatValue, concept.getFloat()); assertEquals(null, behaviour.getFloat()); behaviour.setFloat(floatValue); assertEquals(floatValue, behaviour.getFloat()); }
public void testDouble() { assertEquals(null, conceptClass.getDoub()); conceptClass.setDoub(doubleValue); assertEquals(doubleValue, conceptClass.getDoub()); assertEquals(null, concept.getDouble()); concept.setDouble(doubleValue); assertEquals(doubleValue, concept.getDouble()); assertEquals(null, behaviour.getDouble()); behaviour.setDouble(doubleValue); assertEquals(doubleValue, behaviour.getDouble()); }
public void testCharacter() { assertEquals(null, conceptClass.getChr()); conceptClass.setChr(charValue); assertEquals(charValue, conceptClass.getChr()); assertEquals(null, concept.getChar()); concept.setChar(charValue); assertEquals(charValue, concept.getChar()); assertEquals(null, behaviour.getChar()); behaviour.setChar(charValue); assertEquals(charValue, behaviour.getChar()); }
public void testByte() { assertEquals(null, conceptClass.getB()); conceptClass.setB(byteValue); assertEquals(byteValue, conceptClass.getB()); assertEquals(null, concept.getByte()); concept.setByte(byteValue); assertEquals(byteValue, concept.getByte()); assertEquals(null, behaviour.getByte()); behaviour.setByte(byteValue); assertEquals(byteValue, behaviour.getByte()); }
public void testBoolean() { assertEquals(null, conceptClass.getBool()); conceptClass.setBool(booleanValue); assertEquals(booleanValue, conceptClass.getBool()); assertEquals(null, concept.getBoolean()); concept.setBoolean(booleanValue); assertEquals(booleanValue, concept.getBoolean()); assertEquals(null, behaviour.getBoolean()); behaviour.setBoolean(booleanValue); assertEquals(booleanValue, behaviour.getBoolean()); }