System.exit(retVal);
vtkTesting.Exit(retVal);
  public static void main (String []args)     {    vtkTesting.Initialize(args);    vtkRenderWindow renWin = new vtkRenderWindow();    vtkRenderer ren1 = new vtkRenderer();    renWin.AddRenderer(ren1);    vtkRenderWindowInteractor iren = new vtkRenderWindowInteractor();    iren.SetRenderWindow(renWin);    vtkConeSource cone = new vtkConeSource();    cone.SetResolution(8);    vtkPolyDataMapper coneMapper = new vtkPolyDataMapper();    coneMapper.SetInput(cone.GetOutput());    vtkActor coneActor = new vtkActor();    coneActor.SetMapper(coneMapper);    ren1.AddActor(coneActor);    renWin.Render();    int retVal = vtkTesting.RegressionTestImage(renWin, args, 10);    if ( retVal == vtkTesting.DO_INTERACTOR )      {      iren.Start();      }    System.exit(retVal);    }