import org.testng.AssertJUnit;
import org.testng.annotations.Test;
-
public class ViewStyleTest
{
* @throws IllegalAccessException
* @throws IllegalArgumentException
*/
- @Test(groups ={ "Functional" })
+ @Test(groups = { "Functional" })
public void testCopyConstructor() throws IllegalArgumentException,
IllegalAccessException
{
ViewStyle vs2 = new ViewStyle(vs1);
- for (Field field1 : fields) {
+ for (Field field1 : fields)
+ {
final Object value1 = field1.get(vs1);
final Object value2 = field1.get(vs2);
String msg = "Mismatch in " + field1.getName() + "(" + value1 + "/"
}
else
{
- AssertJUnit.fail("Unhandled field type (add to test): " + field.getName()
- + ":" + type);
+ AssertJUnit.fail("Unhandled field type (add to test): "
+ + field.getName() + ":" + type);
}
}
* @throws IllegalAccessException
* @throws IllegalArgumentException
*/
- @Test(groups ={ "Functional" })
+ @Test(groups = { "Functional" })
public void testEquals() throws IllegalArgumentException,
IllegalAccessException
{