Search in sources :

Example 1 with SetListCalc

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);
}
Also used : ResolvedFunCall(mondrian.mdx.ResolvedFunCall) SetListCalc(mondrian.olap.fun.SetFunDef.SetListCalc) Exp(mondrian.olap.Exp)

Aggregations

ResolvedFunCall (mondrian.mdx.ResolvedFunCall)1 Exp (mondrian.olap.Exp)1 SetListCalc (mondrian.olap.fun.SetFunDef.SetListCalc)1