if(generatedGen.indexOf(text) < 0) System.out.println("text:\n%%" + text + "%%\n\n\ngeneratedGen:\n%%" + generatedGen + "%%");
  protected void assertLineSeparator(String lineSeparator) throws IOException, CoreException  {    String text = createTemplateText(lineSeparator);    saveFile(TEMPLATE_FILE, templateHeader(lineSeparator).append(text).toString());        JETEmitter emitter = new JETEmitter(TEMPLATE_FILE.getAbsolutePath());    emitter.generate(new NullProgressMonitor(), new Object[]{""});        IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(emitter.getProjectName());    IFile generatedJavaFile = project.getFile(new Path("src/jetTest/ATemplateGen.java"));    assertTrue(generatedJavaFile.exists());    String generatedGen = readInputStream(generatedJavaFile.getContents());        StringBuffer expectedText = new StringBuffer(text);    while(expectedText.charAt(0) == '\r' | expectedText.charAt(0) == '\n')    {      expectedText.deleteCharAt(0);    }    for(int i=expectedText.length()-1; expectedText.charAt(i) == '\r' | expectedText.charAt(i) == '\n'; i--)    {      expectedText.deleteCharAt(i);    }    text = "\"" + expectedText.toString().replaceAll(lineSeparator, "\" + NL + \"").replaceAll("\t", "\\\\t") + "\"";     if(generatedGen.indexOf(text) < 0)      System.out.println("text:\n%%" + text + "%%\n\n\ngeneratedGen:\n%%" + generatedGen + "%%");                assertTrue(generatedGen.indexOf(text) >= 0);  }