delayTestFinish(15000);
Chronoscope.setMicroformatsEnabled(true);
Microformats.setMicroformatsReadyListener(new Command() {
public void execute() {
Chart c=Chronoscope.getChartById("microformatdemochrono");
XYDataset xy = c.getPlot().getDataset(0);
Date start = new Date(53, 0, 1, 0, 0, 0);
Date end = new Date(64, 0, 1, 0, 0 ,0);
assertEquals(start.getTime(), (long)xy.getX(0));
assertEquals(end.getTime(), (long)xy.getX(xy.getNumSamples()-1));
finishTest();
}
});
Chronoscope.initialize();
}