Author: konstantin.mishin
Date: 2010-03-11 14:22:30 -0500 (Thu, 11 Mar 2010)
New Revision: 16563
Modified:
root/ui-sandbox/trunk/components/tables/ui/src/test/java/org/richfaces/component/UIDataTableBaseTest.java
Log:
RF-8118 RF-8119
Modified:
root/ui-sandbox/trunk/components/tables/ui/src/test/java/org/richfaces/component/UIDataTableBaseTest.java
===================================================================
---
root/ui-sandbox/trunk/components/tables/ui/src/test/java/org/richfaces/component/UIDataTableBaseTest.java 2010-03-11
18:14:34 UTC (rev 16562)
+++
root/ui-sandbox/trunk/components/tables/ui/src/test/java/org/richfaces/component/UIDataTableBaseTest.java 2010-03-11
19:22:30 UTC (rev 16563)
@@ -233,7 +233,7 @@
public void testFilterVar() {
String string = "fv";
table.setFilterVar(string);
- Assert.assertSame(string, table.getFilterVar());
+ Assert.assertEquals(string, table.getFilterVar());
}
/**
@@ -243,7 +243,7 @@
@Test
public void testSortPriority() {
table.setSortPriority(Collections.EMPTY_LIST);
- Assert.assertSame(Collections.EMPTY_LIST, table.getSortPriority());
+ Assert.assertEquals(Collections.EMPTY_LIST, table.getSortPriority());
}
/**
@@ -253,6 +253,6 @@
@Test
public void testSortMode() {
table.setSortMode(SortMode.multi);
- Assert.assertSame(SortMode.multi, table.getSortMode());
+ Assert.assertEquals(SortMode.multi, table.getSortMode());
}
}
Show replies by date