@Test public void withContextRootDirectoryAsFile() { final File rootContextDir = Files.createTempDir(); final EmbedVaadinComponent embed = EmbedVaadin.forComponent(component).withContextRootDirectory(rootContextDir); assertEquals("was not detected as expected", rootContextDir, embed.build().getConfig().getContextRootDirectory()); }
public static EmbedVaadinComponent forComponent(Component component) { return new EmbedVaadinComponent(component); }
EmbedVaadin { public static EmbedVaadinComponent forComponent(Component component) { return new EmbedVaadinComponent(component); } }
EmbedVaadin { public static EmbedVaadinComponent forComponent(Component component) { return new EmbedVaadinComponent(component); } private  EmbedVaadin(); }
EmbedVaadin { public static EmbedVaadinComponent forComponent(Component component) { return new EmbedVaadinComponent(component); } private  EmbedVaadin(); static EmbedVaadinComponent forComponent(Component component); static EmbedVaadinApplication forUI(Class<? extends UI> uiClass); }
EmbedVaadin { public static EmbedVaadinComponent forComponent(Component component) { return new EmbedVaadinComponent(component); } private  EmbedVaadin(); static EmbedVaadinComponent forComponent(Component component); static EmbedVaadinApplication forUI(Class<? extends UI> uiClass);  }