GeodeOqlInterpreter extends Interpreter { @Override public FormType getFormType() { return FormType.SIMPLE; } GeodeOqlInterpreter(Properties property); @Override void open(); @Override void close(); @Override InterpreterResult interpret(String cmd, InterpreterContext contextInterpreter); @Override void cancel(InterpreterContext context); @Override FormType getFormType(); @Override int getProgress(InterpreterContext context); @Override Scheduler getScheduler(); @Override List<InterpreterCompletion> completion(String buf, int cursor); int getMaxResult(); static final String DEFAULT_PORT; static final String DEFAULT_HOST; static final String DEFAULT_MAX_RESULT; static final String LOCATOR_HOST; static final String LOCATOR_PORT; static final String MAX_RESULT; }
@Test public void testFormType() { assertEquals(FormType.SIMPLE, new GeodeOqlInterpreter(new Properties()).getFormType()); }