Project

General

Profile

« Previous | Next » 

Revision 7839

add simple test for the IndexEventDAO class -- adding, removing, listing events in the DB table. https://projects.ecoinformatics.org/ecoinfo/issues/5944

View differences:

IndexEventDAO.java
118 118

  
119 119
				event = new IndexEvent();
120 120
				event.setIdentifier(identifier);
121
				event.setAction(Event.valueOf(action));
121
				event.setAction(Event.convert(action));
122 122
				event.setDate(timestamp);
123 123
				event.setDescription(description);
124 124
			}

Also available in: Unified diff