fix broken UT

This commit is contained in:
fjy 2014-07-17 14:39:52 -07:00
parent 8ef380b3f9
commit 465ac77b82
1 changed files with 14 additions and 0 deletions

View File

@ -24,9 +24,11 @@ import com.metamx.common.parsers.ParseException;
import io.druid.data.input.Firehose;
import io.druid.data.input.FirehoseFactory;
import io.druid.data.input.InputRow;
import io.druid.data.input.Row;
import io.druid.data.input.impl.InputRowParser;
import io.druid.segment.realtime.firehose.CombiningFirehoseFactory;
import io.druid.utils.Runnables;
import org.joda.time.DateTime;
import org.junit.Assert;
import org.junit.Test;
@ -76,6 +78,18 @@ public class CombiningFirehoseFactoryTest
return timestamp;
}
@Override
public DateTime getTimestamp()
{
return new DateTime(timestamp);
}
@Override
public int compareTo(Row o)
{
return 0;
}
@Override
public List<String> getDimension(String dimension)
{