Commit 7b3beb66 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

test coverage for persist module

parent dc28d58a
......@@ -37,4 +37,9 @@ public class LogDao extends BaseDao<GenericLog> {
}
}
@Override
protected String removableStatemant() {
return super.removableStatemant();
}
}
package lcsb.mapviewer.persist.dao.map.species;
import lcsb.mapviewer.model.map.reaction.Reaction;
import lcsb.mapviewer.persist.dao.BaseDao;
/**
* Data access object for {@link Reaction} class.
*
* @author Piotr Gawron
*
*/
public class ReactionDao extends BaseDao<Reaction> {
/**
* Default constructor.
*/
public ReactionDao() {
super(Reaction.class);
}
}
/**
* Data access objects for {@link lcsb.mapviewer.db.model.map.species.Species
* Species} and {@link lcsb.mapviewer.db.model.map.reaction.Reaction Reaction}
* structures.
*/
package lcsb.mapviewer.persist.dao.map.species;
package lcsb.mapviewer.persist.dao.log;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
......@@ -33,4 +34,14 @@ public class LogDaoTest extends PersistTestFunctions {
}
}
@Test
public void testRemovableStatement() {
try {
assertEquals("",logDao.removableStatemant());
} catch (Exception e) {
e.printStackTrace();
throw e;
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment