[seam-commits] Seam SVN: r7526 - trunk/src/test/integration/src/org/jboss/seam/test/integration/databinding.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Mar 11 10:42:59 EDT 2008
Author: pete.muir at jboss.org
Date: 2008-03-11 10:42:59 -0400 (Tue, 11 Mar 2008)
New Revision: 7526
Modified:
trunk/src/test/integration/src/org/jboss/seam/test/integration/databinding/DataModelTest.java
Log:
Enable some tests
Modified: trunk/src/test/integration/src/org/jboss/seam/test/integration/databinding/DataModelTest.java
===================================================================
--- trunk/src/test/integration/src/org/jboss/seam/test/integration/databinding/DataModelTest.java 2008-03-11 11:10:25 UTC (rev 7525)
+++ trunk/src/test/integration/src/org/jboss/seam/test/integration/databinding/DataModelTest.java 2008-03-11 14:42:59 UTC (rev 7526)
@@ -171,7 +171,7 @@
assert mapDataModel.getRowCount() == 2;
// JBSEAM-1660
- /*try
+ try
{
mapDataModel.setWrappedData(null);
}
@@ -179,12 +179,12 @@
{
// Spec allows passing null
assert false;
- }*/
+ }
}
//JBSEAM-1659
- /*@Test
+ @Test
public void testMapDataModelSerialization() throws Exception
{
@@ -213,7 +213,7 @@
assert serializedMapDataModel.getRowIndex() == 1;
assert map.get("0").equals(serializedMap.get("0"));
assert map.get("1").equals(serializedMap.get("1"));
- }*/
+ }
@Test
public void testSetDataModel() throws IOException, ClassNotFoundException
@@ -261,7 +261,7 @@
assert setDataModel.getRowCount() == 2;
// JBSEAM-1660
- /*try
+ try
{
setDataModel.setWrappedData(null);
}
@@ -269,7 +269,7 @@
{
// Spec allows passing null
assert false;
- }*/
+ }
}
@Test
@@ -316,7 +316,6 @@
protected void renderResponse() throws Exception
{
Object people = getValue("#{peopleList}");
- System.out.println(people);
assert people instanceof DataModel;
DataModel dataModel = (DataModel) people;
assert dataModel.getRowCount() == 4;
More information about the seam-commits
mailing list