Added opened database test in method for FileTree implementation.

This commit is contained in:
Christian P. MOMON 2018-02-28 10:29:13 +01:00
parent 4f1a466007
commit eaacc3a3d6
2 changed files with 533 additions and 389 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,5 @@
/** /**
* Copyright (C) 2013-2017 Christian Pierre MOMON, DEVINSY * Copyright (C) 2013-2018 Christian Pierre MOMON, DEVINSY
* *
* This file is part of SikevaDB, simple key value database. * This file is part of SikevaDB, simple key value database.
* *
@ -34,6 +34,7 @@ import org.junit.Test;
import fr.devinsy.sikevadb.core.Element; import fr.devinsy.sikevadb.core.Element;
import fr.devinsy.sikevadb.core.Elements; import fr.devinsy.sikevadb.core.Elements;
import fr.devinsy.sikevadb.core.SikevaDBException; import fr.devinsy.sikevadb.core.SikevaDBException;
import fr.devinsy.sikevadb.core.UnopenedDatabaseException;
import fr.devinsy.util.strings.StringList; import fr.devinsy.util.strings.StringList;
/** /**
@ -607,10 +608,11 @@ public class TreeFileSikevaDBTest
} }
/** /**
* @throws UnopenedDatabaseException
* *
*/ */
@AfterClass @AfterClass
public static void afterClass() public static void afterClass() throws UnopenedDatabaseException
{ {
if (database != null) if (database != null)
{ {