Program: 92000
Project: 92000
Buggy source:
/** 
 * Getter/Setter tests
 */
@Test public void testGetAndSetter(){
  EventInfo fixture=new EventInfo("String_Node_Str");
  fixture.setEventType(TraceEventType.TRACEPOINT);
  TraceEventType result=fixture.getEventType();
  assertNotNull(result);
  assertEquals("String_Node_Str",result.getInName());
  assertEquals("String_Node_Str",result.name());
  assertEquals("String_Node_Str",result.toString());
  assertEquals(0,result.ordinal());
  fixture.setEventType(TraceEventType.UNKNOWN);
  result=fixture.getEventType();
  assertEquals("String_Node_Str",result.getInName());
  assertEquals("String_Node_Str",result.name());
  assertEquals("String_Node_Str",result.toString());
  assertEquals(3,result.ordinal());
  String typeName="String_Node_Str";
  fixture.setEventType(typeName);
  result=fixture.getEventType();
  assertEquals("String_Node_Str",result.getInName());
  assertEquals("String_Node_Str",result.name());
  assertEquals("String_Node_Str",result.toString());
  assertEquals(3,result.ordinal());
  typeName="String_Node_Str";
  fixture.setEventType(typeName);
  result=fixture.getEventType();
  assertEquals("String_Node_Str",result.getInName());
  assertEquals("String_Node_Str",result.name());
  assertEquals("String_Node_Str",result.toString());
  assertEquals(3,result.ordinal());
  fixture.setState("String_Node_Str");
  TraceEnablement state=fixture.getState();
  assertEquals("String_Node_Str",state.getInName());
  assertEquals("String_Node_Str",state.name());
  assertEquals("String_Node_Str",state.toString());
  assertEquals(0,state.ordinal());
  fixture.setState("String_Node_Str");
  state=fixture.getState();
  assertEquals("String_Node_Str",state.getInName());
  assertEquals("String_Node_Str",state.name());
  assertEquals("String_Node_Str",state.toString());
  assertEquals(0,state.ordinal());
  fixture.setState("String_Node_Str");
  state=fixture.getState();
  assertEquals("String_Node_Str",state.getInName());
  assertEquals("String_Node_Str",state.name());
  assertEquals("String_Node_Str",state.toString());
  assertEquals(1,state.ordinal());
  fixture.setState(TraceEnablement.DISABLED);
  state=fixture.getState();
  assertEquals("String_Node_Str",state.getInName());
  assertEquals("String_Node_Str",state.name());
  assertEquals("String_Node_Str",state.toString());
  assertEquals(0,state.ordinal());
  fixture.setState(TraceEnablement.ENABLED);
  state=fixture.getState();
  assertEquals("String_Node_Str",state.getInName());
  assertEquals("String_Node_Str",state.name());
  assertEquals("String_Node_Str",state.toString());
  assertEquals(1,state.ordinal());
}

Fixed version (ground truth):
/** 
 * Getter/Setter tests
 */
@Test public void testGetAndSetter(){
  EventInfo fixture=new EventInfo("String_Node_Str");
  fixture.setEventType(TraceEventType.TRACEPOINT);
  TraceEventType result=fixture.getEventType();
  assertNotNull(result);
  assertEquals("String_Node_Str",result.getInName());
  assertEquals("String_Node_Str",result.name());
  assertEquals("String_Node_Str",result.toString());
  assertEquals(0,result.ordinal());
  fixture.setEventType(TraceEventType.UNKNOWN);
  result=fixture.getEventType();
  assertEquals("String_Node_Str",result.getInName());
  assertEquals("String_Node_Str",result.name());
  assertEquals("String_Node_Str",result.toString());
  assertEquals(4,result.ordinal());
  String typeName="String_Node_Str";
  fixture.setEventType(typeName);
  result=fixture.getEventType();
  assertEquals("String_Node_Str",result.getInName());
  assertEquals("String_Node_Str",result.name());
  assertEquals("String_Node_Str",result.toString());
  assertEquals(4,result.ordinal());
  typeName="String_Node_Str";
  fixture.setEventType(typeName);
  result=fixture.getEventType();
  assertEquals("String_Node_Str",result.getInName());
  assertEquals("String_Node_Str",result.name());
  assertEquals("String_Node_Str",result.toString());
  assertEquals(4,result.ordinal());
  fixture.setState("String_Node_Str");
  TraceEnablement state=fixture.getState();
  assertEquals("String_Node_Str",state.getInName());
  assertEquals("String_Node_Str",state.name());
  assertEquals("String_Node_Str",state.toString());
  assertEquals(0,state.ordinal());
  fixture.setState("String_Node_Str");
  state=fixture.getState();
  assertEquals("String_Node_Str",state.getInName());
  assertEquals("String_Node_Str",state.name());
  assertEquals("String_Node_Str",state.toString());
  assertEquals(0,state.ordinal());
  fixture.setState("String_Node_Str");
  state=fixture.getState();
  assertEquals("String_Node_Str",state.getInName());
  assertEquals("String_Node_Str",state.name());
  assertEquals("String_Node_Str",state.toString());
  assertEquals(1,state.ordinal());
  fixture.setState(TraceEnablement.DISABLED);
  state=fixture.getState();
  assertEquals("String_Node_Str",state.getInName());
  assertEquals("String_Node_Str",state.name());
  assertEquals("String_Node_Str",state.toString());
  assertEquals(0,state.ordinal());
  fixture.setState(TraceEnablement.ENABLED);
  state=fixture.getState();
  assertEquals("String_Node_Str",state.getInName());
  assertEquals("String_Node_Str",state.name());
  assertEquals("String_Node_Str",state.toString());
  assertEquals(1,state.ordinal());
}