mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
update unittest
This commit is contained in:
parent
7d5e0ae402
commit
e142336932
1 changed files with 5 additions and 5 deletions
|
|
@ -54,13 +54,13 @@ public class HeliumVisualizationFactoryTest {
|
|||
|
||||
@After
|
||||
public void tearDown() throws IOException {
|
||||
//FileUtils.deleteDirectory(tmpDir);
|
||||
FileUtils.deleteDirectory(tmpDir);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testInstallNpm() throws InstallationException {
|
||||
assertTrue(new File(tmpDir, "node/npm").isFile());
|
||||
assertTrue(new File(tmpDir, "node/node").isFile());
|
||||
assertTrue(new File(tmpDir, "vis/node/npm").isFile());
|
||||
assertTrue(new File(tmpDir, "vis/node/node").isFile());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
@ -69,13 +69,13 @@ public class HeliumVisualizationFactoryTest {
|
|||
HeliumPackage.Type.VISUALIZATION,
|
||||
"lodash",
|
||||
"lodash",
|
||||
"lodash^3.9.3",
|
||||
"lodash@3.9.3",
|
||||
"",
|
||||
null,
|
||||
"icon"
|
||||
);
|
||||
hvf.install(pkg);
|
||||
assertTrue(new File(tmpDir, "node_modules/lodash").isDirectory());
|
||||
assertTrue(new File(tmpDir, "vis/node_modules/lodash").isDirectory());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
|||
Loading…
Reference in a new issue