diff options
author | Henri Sara <hesara@vaadin.com> | 2011-11-08 18:08:51 +0200 |
---|---|---|
committer | Henri Sara <hesara@vaadin.com> | 2011-11-08 18:08:51 +0200 |
commit | e049c5a6573feb65c3536cb0839534f02c2e95f3 (patch) | |
tree | a97a145ce3e1f2137d456a53a8dafc57d67eea6d /tests/server-side/com/vaadin/data | |
parent | 0ab1d01c8da1f280370452fa2427708fd6de513e (diff) | |
parent | 2eff8c02aba3d9dc0dd74b0aff9c114a3dc29201 (diff) | |
download | vaadin-framework-e049c5a6573feb65c3536cb0839534f02c2e95f3.tar.gz vaadin-framework-e049c5a6573feb65c3536cb0839534f02c2e95f3.zip |
Merge branch 'master' into databinding
Diffstat (limited to 'tests/server-side/com/vaadin/data')
-rw-r--r-- | tests/server-side/com/vaadin/data/util/FileSystemContainerTest.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/server-side/com/vaadin/data/util/FileSystemContainerTest.java b/tests/server-side/com/vaadin/data/util/FileSystemContainerTest.java new file mode 100644 index 0000000000..f4bb794e5c --- /dev/null +++ b/tests/server-side/com/vaadin/data/util/FileSystemContainerTest.java @@ -0,0 +1,16 @@ +package com.vaadin.data.util; + +import java.io.File; + +import org.junit.Assert; +import org.junit.Test; + +public class FileSystemContainerTest { + + @Test + public void nonExistingDirectory() { + FilesystemContainer fsc = new FilesystemContainer(new File( + "/non/existing")); + Assert.assertTrue(fsc.getItemIds().isEmpty()); + } +} |