diff options
author | Artur Signell <artur.signell@itmill.com> | 2011-10-27 16:15:21 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2011-10-27 16:15:21 +0000 |
commit | 869d81e7fffb7f2f7989979c57cecd860133b58f (patch) | |
tree | 0c0c7fdfcb35b82d24f4de7574f73864a3dcbabf /tests/server-side | |
parent | 0cd52aea2c9637d0ed71c857f43c548af89e038f (diff) | |
download | vaadin-framework-869d81e7fffb7f2f7989979c57cecd860133b58f.tar.gz vaadin-framework-869d81e7fffb7f2f7989979c57cecd860133b58f.zip |
Test for #7698
svn changeset:21815/svn branch:6.7
Diffstat (limited to 'tests/server-side')
-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()); + } +} |