forked from fanruan/finekit
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
882 B
48 lines
882 B
6 years ago
|
package com.fanruan.api.session;
|
||
|
|
||
|
import com.fr.stable.script.CalculatorProvider;
|
||
|
import com.fr.stable.web.WebContextProvider;
|
||
|
import com.fr.web.session.SessionIDInfo;
|
||
|
|
||
|
/**
|
||
|
* @author richie
|
||
|
* @version 10.0
|
||
|
* Created by richie on 2019-08-30
|
||
|
*/
|
||
|
class MockSession extends SessionIDInfo {
|
||
|
|
||
|
MockSession(String sessionID) {
|
||
|
this.sessionID = sessionID;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public String getWebTitle() {
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public String getRelativePath() {
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public WebContextProvider getWebContext() {
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public Object resolveVariable(Object var, CalculatorProvider cal) {
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public Object getParameterValue(String parameterName) {
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public void release() {
|
||
|
|
||
|
}
|
||
|
}
|