use of org.eclipse.linuxtools.changelog.tests.fixtures.ChangeLogTestProject in project linuxtools by eclipse.
the class GNUFormatTest method setUp.
@Before
public void setUp() throws Exception {
gnuFormatter = new GNUFormat();
project = new ChangeLogTestProject("GNUFormatterTest");
}
use of org.eclipse.linuxtools.changelog.tests.fixtures.ChangeLogTestProject in project linuxtools by eclipse.
the class ChangeLogWriterTest method setUp.
/**
* @throws java.lang.Exception
*/
@Before
public void setUp() throws Exception {
clogWriter = new ChangeLogWriter();
// create a testproject and add a file to it
project = new ChangeLogTestProject("changelogWriterProject");
// Generate full path to ChangeLog file
changelogFilePath = CHANGELOG_FILE_PATH + CHANGELOG_FILE_NAME;
// add a ChangeLog file to the project at the path specified by
// CHANGELOG_FILE_PATH_SEGMENTS
InputStream newFileInputStream = new ByteArrayInputStream(changeLogContent.getBytes());
changelogFile = project.addFileToProject(CHANGELOG_FILE_PATH + CHANGELOG_FILE_NAME, CHANGELOG_FILE_NAME, newFileInputStream);
}
use of org.eclipse.linuxtools.changelog.tests.fixtures.ChangeLogTestProject in project linuxtools by eclipse.
the class CParserTest method setUp.
@Before
public void setUp() throws Exception {
cParser = ChangeLogExtensionManager.getExtensionManager().getParserContributor("CEditor");
project = new ChangeLogTestProject("c-parser-test-project");
}
use of org.eclipse.linuxtools.changelog.tests.fixtures.ChangeLogTestProject in project linuxtools by eclipse.
the class JavaParserTest method setUp.
@Before
public void setUp() throws Exception {
javaParser = ChangeLogExtensionManager.getExtensionManager().getParserContributor("CompilationUnitEditor");
project = new ChangeLogTestProject("java-parser-test-project");
// make it a Java project
project.addJavaNature();
}
Aggregations