You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

FileSystemContainerTest.java 359B

12345678910111213141516
  1. package com.vaadin.data.util;
  2. import java.io.File;
  3. import org.junit.Assert;
  4. import org.junit.Test;
  5. public class FileSystemContainerTest {
  6. @Test
  7. public void nonExistingDirectory() {
  8. FilesystemContainer fsc = new FilesystemContainer(
  9. new File("/non/existing"));
  10. Assert.assertTrue(fsc.getItemIds().isEmpty());
  11. }
  12. }