2017-12-03 01:27:00 +01:00
|
|
|
module test.calendarwebapp.testjsonexport;
|
|
|
|
|
2017-12-10 17:04:23 +01:00
|
|
|
import calendarwebapp.event;
|
2017-12-03 01:27:00 +01:00
|
|
|
import calendarwebapp.jsonexport;
|
|
|
|
|
2017-12-10 17:04:23 +01:00
|
|
|
import poodinis;
|
|
|
|
|
|
|
|
import std.algorithm;
|
2017-12-03 01:27:00 +01:00
|
|
|
import std.datetime.date : Date;
|
2017-12-10 17:04:23 +01:00
|
|
|
import std.exception : enforce;
|
|
|
|
import std.range.interfaces : InputRange, inputRangeObject;
|
|
|
|
|
|
|
|
import unit_threaded;
|
2017-12-03 01:27:00 +01:00
|
|
|
|
|
|
|
@("calendarwebapp.JSONExporter")
|
|
|
|
@system unittest
|
|
|
|
{
|
2017-12-10 17:04:23 +01:00
|
|
|
auto container = new shared DependencyContainer();
|
|
|
|
container.register!(EventStore, StubEventStore);
|
|
|
|
container.register!(JSONExporter);
|
2017-12-03 01:27:00 +01:00
|
|
|
}
|