Program: 76416
Project: 76416
Buggy source:
/** 
 * Regression Test for  SRC #78568 Filetr on date time doesn't work properly
 */
public void regressionTest78568() throws Exception {
  String[] bindingNameGroup=new String[2];
  bindingNameGroup[0]="String_Node_Str";
  bindingNameGroup[1]="String_Node_Str";
  IBaseExpression[] bindingExprGroup=new IBaseExpression[2];
  bindingExprGroup[0]=new ScriptExpression("String_Node_Str");
  bindingExprGroup[1]=new ScriptExpression("String_Node_Str");
  GroupDefinition[] groupDefn=new GroupDefinition[]{new GroupDefinition("String_Node_Str"),new GroupDefinition("String_Node_Str")};
  groupDefn[0].setKeyExpression("String_Node_Str");
  groupDefn[1].setKeyExpression("String_Node_Str");
  String[] bindingNameSort=new String[1];
  bindingNameSort[0]="String_Node_Str";
  IBaseExpression[] bindingExprSort=new IBaseExpression[1];
  bindingExprSort[0]=new ScriptExpression("String_Node_Str");
  SortDefinition[] sortDefn=new SortDefinition[]{new SortDefinition()};
  sortDefn[0].setColumn("String_Node_Str");
  sortDefn[0].setSortDirection(ISortDefinition.SORT_DESC);
  String[] bindingNameFilter=new String[1];
  bindingNameFilter[0]="String_Node_Str";
  IBaseExpression[] bindingExprFilter=new IBaseExpression[1];
  bindingExprFilter[0]=new ScriptExpression("String_Node_Str");
  FilterDefinition[] filterDefn=new FilterDefinition[]{new FilterDefinition(new ConditionalExpression("String_Node_Str",ConditionalExpression.OP_GE,"String_Node_Str"))};
  String[] bindingNameRow=new String[4];
  bindingNameRow[0]="String_Node_Str";
  bindingNameRow[1]="String_Node_Str";
  bindingNameRow[2]="String_Node_Str";
  bindingNameRow[3]="String_Node_Str";
  IBaseExpression[] bindingExprRow=new IBaseExpression[4];
  bindingExprRow[0]=new ScriptExpression("String_Node_Str");
  bindingExprRow[1]=new ScriptExpression("String_Node_Str");
  bindingExprRow[2]=new ScriptExpression("String_Node_Str");
  bindingExprRow[3]=new ScriptExpression("String_Node_Str");
  createAndRunQuery(bindingNameGroup,bindingExprGroup,groupDefn,bindingNameSort,bindingExprSort,sortDefn,bindingNameFilter,bindingExprFilter,filterDefn,bindingNameRow,bindingExprRow);
  checkOutputFile();
}

Fixed version (ground truth):
/** 
 * Regression Test for SRC #78568 Filetr on date time doesn't work properly
 */
public void regressionTest78568() throws Exception {
  String[] bindingNameGroup=new String[2];
  bindingNameGroup[0]="String_Node_Str";
  bindingNameGroup[1]="String_Node_Str";
  IBaseExpression[] bindingExprGroup=new IBaseExpression[2];
  bindingExprGroup[0]=new ScriptExpression("String_Node_Str");
  bindingExprGroup[1]=new ScriptExpression("String_Node_Str");
  GroupDefinition[] groupDefn=new GroupDefinition[]{new GroupDefinition("String_Node_Str"),new GroupDefinition("String_Node_Str")};
  groupDefn[0].setKeyExpression("String_Node_Str");
  groupDefn[1].setKeyExpression("String_Node_Str");
  String[] bindingNameSort=new String[1];
  bindingNameSort[0]="String_Node_Str";
  IBaseExpression[] bindingExprSort=new IBaseExpression[1];
  bindingExprSort[0]=new ScriptExpression("String_Node_Str");
  SortDefinition[] sortDefn=new SortDefinition[]{new SortDefinition()};
  sortDefn[0].setColumn("String_Node_Str");
  sortDefn[0].setSortDirection(ISortDefinition.SORT_DESC);
  String[] bindingNameFilter=new String[1];
  bindingNameFilter[0]="String_Node_Str";
  IBaseExpression[] bindingExprFilter=new IBaseExpression[1];
  bindingExprFilter[0]=new ScriptExpression("String_Node_Str");
  FilterDefinition[] filterDefn=new FilterDefinition[]{new FilterDefinition(new ConditionalExpression("String_Node_Str",ConditionalExpression.OP_GE,"String_Node_Str"))};
  String[] bindingNameRow=new String[4];
  bindingNameRow[0]="String_Node_Str";
  bindingNameRow[1]="String_Node_Str";
  bindingNameRow[2]="String_Node_Str";
  bindingNameRow[3]="String_Node_Str";
  IBaseExpression[] bindingExprRow=new IBaseExpression[4];
  bindingExprRow[0]=new ScriptExpression("String_Node_Str");
  bindingExprRow[1]=new ScriptExpression("String_Node_Str");
  bindingExprRow[2]=new ScriptExpression("String_Node_Str");
  bindingExprRow[3]=new ScriptExpression("String_Node_Str");
  createAndRunQuery(bindingNameGroup,bindingExprGroup,groupDefn,bindingNameSort,bindingExprSort,sortDefn,bindingNameFilter,bindingExprFilter,filterDefn,bindingNameRow,bindingExprRow);
  checkOutputFile();
}