use of mondrian.olap.fun.SetFunDef.SetListCalc in project mondrian by pentaho.
the class IifFunDefTest method setUp.
@Override
protected void setUp() throws Exception {
when(trueCaseParamMock.getType()).thenReturn(setTypeMock);
setListCalc = new SetListCalc(trueCaseParamMock, new Exp[] { args[1] }, compilerMock, ResultStyle.LIST_MUTABLELIST);
call = new ResolvedFunCall(funDefMock, args, setTypeMock);
when(compilerMock.compileAs(any(), any(), any())).thenReturn(setListCalc);
}
Aggregations