Search in sources :

Example 6 with AnalyzeCasLogResultInfo

use of com.cubrid.cubridmanager.core.logs.model.AnalyzeCasLogResultInfo in project cubrid-manager by CUBRID.

the class LogsModelTest method testModelAnalyzeCasLogResultList.

public void testModelAnalyzeCasLogResultList() {
    AnalyzeCasLogResultList bean = new AnalyzeCasLogResultList();
    bean.addResultFile(new AnalyzeCasLogResultInfo());
    // assertEquals(bean.getResultFile() instanceof List, true);
    bean.setResultfile("resultfile");
    assertEquals(bean.getResultfile(), "resultfile");
    bean.getTaskName();
    bean.getLogFileInfoList();
    AnalyzeCasLogResultInfo analyzeCasLogResultInfo = new AnalyzeCasLogResultInfo();
    analyzeCasLogResultInfo.setQindex("qindex");
    bean.addResultFile(analyzeCasLogResultInfo);
}
Also used : AnalyzeCasLogResultList(com.cubrid.cubridmanager.core.logs.model.AnalyzeCasLogResultList) AnalyzeCasLogResultInfo(com.cubrid.cubridmanager.core.logs.model.AnalyzeCasLogResultInfo)

Example 7 with AnalyzeCasLogResultInfo

use of com.cubrid.cubridmanager.core.logs.model.AnalyzeCasLogResultInfo in project cubrid-manager by CUBRID.

the class LogsModelTest method testModelAnalyzeCasLogResultInfo.

public void testModelAnalyzeCasLogResultInfo() {
    AnalyzeCasLogResultInfo bean = new AnalyzeCasLogResultInfo();
    bean.setQindex("qindex");
    assertEquals(bean.getQindex(), "qindex");
    bean.setMax("max");
    assertEquals(bean.getMax(), "max");
    bean.setMin("min");
    assertEquals(bean.getMin(), "min");
    bean.setAvg("avg");
    assertEquals(bean.getAvg(), "avg");
    bean.setCnt("cnt");
    assertEquals(bean.getCnt(), "cnt");
    bean.setErr("err");
    assertEquals(bean.getErr(), "err");
    bean.setExecTime("execTime");
    assertEquals(bean.getExecTime(), "execTime");
    bean.setQueryString("queryString");
    assertEquals(bean.getQueryString(), "queryString");
    bean.setSavedFileName("savedFileName");
    assertEquals(bean.getSavedFileName(), "savedFileName");
}
Also used : AnalyzeCasLogResultInfo(com.cubrid.cubridmanager.core.logs.model.AnalyzeCasLogResultInfo)

Example 8 with AnalyzeCasLogResultInfo

use of com.cubrid.cubridmanager.core.logs.model.AnalyzeCasLogResultInfo in project cubrid-manager by CUBRID.

the class LogsModelTest method testModelAnalyzeCasLogResultList.

public void testModelAnalyzeCasLogResultList() {
    AnalyzeCasLogResultList bean = new AnalyzeCasLogResultList();
    bean.addResultFile(new AnalyzeCasLogResultInfo());
    // assertEquals(bean.getResultFile() instanceof List, true);
    bean.setResultfile("resultfile");
    assertEquals(bean.getResultfile(), "resultfile");
    bean.getTaskName();
    bean.getLogFileInfoList();
}
Also used : AnalyzeCasLogResultList(com.cubrid.cubridmanager.core.logs.model.AnalyzeCasLogResultList) AnalyzeCasLogResultInfo(com.cubrid.cubridmanager.core.logs.model.AnalyzeCasLogResultInfo)

Example 9 with AnalyzeCasLogResultInfo

use of com.cubrid.cubridmanager.core.logs.model.AnalyzeCasLogResultInfo in project cubrid-manager by CUBRID.

the class LogsModelTest method testModelAnalyzeCasLogResultInfo.

public void testModelAnalyzeCasLogResultInfo() {
    AnalyzeCasLogResultInfo bean = new AnalyzeCasLogResultInfo();
    bean.setQindex("qindex");
    assertEquals(bean.getQindex(), "qindex");
    bean.setMax("max");
    assertEquals(bean.getMax(), "max");
    bean.setMin("min");
    assertEquals(bean.getMin(), "min");
    bean.setAvg("avg");
    assertEquals(bean.getAvg(), "avg");
    bean.setCnt("cnt");
    assertEquals(bean.getCnt(), "cnt");
    bean.setErr("err");
    assertEquals(bean.getErr(), "err");
    bean.setExecTime("execTime");
    assertEquals(bean.getExecTime(), "execTime");
    bean.setQueryString("queryString");
    assertEquals(bean.getQueryString(), "queryString");
    bean.setSavedFileName("savedFileName");
    assertEquals(bean.getSavedFileName(), "savedFileName");
}
Also used : AnalyzeCasLogResultInfo(com.cubrid.cubridmanager.core.logs.model.AnalyzeCasLogResultInfo)

Example 10 with AnalyzeCasLogResultInfo

use of com.cubrid.cubridmanager.core.logs.model.AnalyzeCasLogResultInfo in project cubrid-manager by CUBRID.

the class ManagerLogInfoListTest method testModelAnalyzeCasLogResultInfo.

public void testModelAnalyzeCasLogResultInfo() {
    AnalyzeCasLogResultInfo bean = new AnalyzeCasLogResultInfo();
    bean.setQindex("qindex");
    assertEquals(bean.getQindex(), "qindex");
    bean.setMax("max");
    assertEquals(bean.getMax(), "max");
    bean.setMin("min");
    assertEquals(bean.getMin(), "min");
    bean.setAvg("avg");
    assertEquals(bean.getAvg(), "avg");
    bean.setCnt("cnt");
    assertEquals(bean.getCnt(), "cnt");
    bean.setErr("err");
    assertEquals(bean.getErr(), "err");
    bean.setExecTime("execTime");
    assertEquals(bean.getExecTime(), "execTime");
    bean.setQueryString("queryString");
    assertEquals(bean.getQueryString(), "queryString");
    bean.setSavedFileName("savedFileName");
    assertEquals(bean.getSavedFileName(), "savedFileName");
}
Also used : AnalyzeCasLogResultInfo(com.cubrid.cubridmanager.core.logs.model.AnalyzeCasLogResultInfo)

Aggregations

AnalyzeCasLogResultInfo (com.cubrid.cubridmanager.core.logs.model.AnalyzeCasLogResultInfo)12 AnalyzeCasLogResultList (com.cubrid.cubridmanager.core.logs.model.AnalyzeCasLogResultList)5 SelectionAdapter (org.eclipse.swt.events.SelectionAdapter)3 SelectionEvent (org.eclipse.swt.events.SelectionEvent)3 ColumnWeightData (org.eclipse.jface.viewers.ColumnWeightData)2 TableColumn (org.eclipse.swt.widgets.TableColumn)2 TableItem (org.eclipse.swt.widgets.TableItem)2 CommonTaskExec (com.cubrid.common.ui.spi.progress.CommonTaskExec)1 ExecTaskWithProgress (com.cubrid.common.ui.spi.progress.ExecTaskWithProgress)1 TaskExecutor (com.cubrid.common.ui.spi.progress.TaskExecutor)1 BrokerInfos (com.cubrid.cubridmanager.core.broker.model.BrokerInfos)1 TreeNode (com.cubrid.cubridmanager.core.common.socket.TreeNode)1 GetExecuteCasRunnerResultInfo (com.cubrid.cubridmanager.core.logs.model.GetExecuteCasRunnerResultInfo)1 LogInfo (com.cubrid.cubridmanager.core.logs.model.LogInfo)1 GetExecuteCasRunnerContentResultTask (com.cubrid.cubridmanager.core.logs.task.GetExecuteCasRunnerContentResultTask)1 List (java.util.List)1 GridData (org.eclipse.swt.layout.GridData)1 GridLayout (org.eclipse.swt.layout.GridLayout)1 Button (org.eclipse.swt.widgets.Button)1 Group (org.eclipse.swt.widgets.Group)1