diff options
Diffstat (limited to 'gwtquery-core/src/test')
-rw-r--r-- | gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCssTest.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCssTest.java b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCssTest.java index 8cb98138..710d1c5c 100644 --- a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCssTest.java +++ b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCssTest.java @@ -32,6 +32,7 @@ import com.google.gwt.dom.client.Style.Visibility; import com.google.gwt.junit.client.GWTTestCase; import com.google.gwt.query.client.css.CSS; import com.google.gwt.query.client.css.CssNumber; +import com.google.gwt.query.client.css.EmptyCellsProperty; import com.google.gwt.query.client.css.ImageValue; import com.google.gwt.query.client.css.Length; import com.google.gwt.query.client.css.RGBColor; @@ -224,6 +225,18 @@ public class GQueryCssTest extends GWTTestCase { } + + public void testEmptyCellsProperty() { + + $(e).html("<table id='test'><tr><td>Content<td></tr></table>"); + + $("#test").css(CSS.EMPTY_CELLS, EmptyCellsProperty.EmptyCells.HIDE); + assertEquals("hide", $("#test").css("emptyCells")); + assertEquals("hide", $("#test").css(CSS.EMPTY_CELLS)); + + } + + public void testBorderSpacingProperty() { $(e).html("<table id='test'><tr><td>Content<td></tr></table>"); |