diff options
author | Julien Dramaix <julien.dramaix@gmail.com> | 2011-02-09 15:53:01 +0000 |
---|---|---|
committer | Julien Dramaix <julien.dramaix@gmail.com> | 2011-02-09 15:53:01 +0000 |
commit | 4b3e9b4f4168d6b059f720f393c74be34e04634a (patch) | |
tree | 2faf268e8c8f97abcc7f4e61f6e4aa7a64f5acfa /gwtquery-core/src/test | |
parent | da27cf1923c40686d39ec350c22c3179381895d8 (diff) | |
download | gwtquery-4b3e9b4f4168d6b059f720f393c74be34e04634a.tar.gz gwtquery-4b3e9b4f4168d6b059f720f393c74be34e04634a.zip |
add EmptyCells property
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>"); |