use of org.eclipse.n4js.projectModel.IN4JSProject in project n4js by eclipse.
the class AbstractN4JSCoreTest method testCreateYieldsEqualsInstances_01.
@SuppressWarnings("javadoc")
@Test
public void testCreateYieldsEqualsInstances_01() {
IN4JSProject first = getN4JSCore().create(myProjectURI);
IN4JSProject second = getN4JSCore().create(myProjectURI);
assertEquals(first, second);
}
use of org.eclipse.n4js.projectModel.IN4JSProject in project n4js by eclipse.
the class AbstractN4JSArchiveTest method getArchive.
/**
*/
protected IN4JSArchive getArchive() {
IN4JSProject project = getN4JSCore().create(myProjectURI);
assertEquals(1, project.getLibraries().size());
return project.getLibraries().get(0);
}
use of org.eclipse.n4js.projectModel.IN4JSProject in project n4js by eclipse.
the class AbstractN4JSProjectTest method testGetSourceContainers_03.
@SuppressWarnings("javadoc")
@Test
public void testGetSourceContainers_03() {
IN4JSProject project = getN4JSCore().create(myProjectURI);
ImmutableList<? extends IN4JSSourceContainer> first = project.getSourceContainers();
ImmutableList<? extends IN4JSSourceContainer> second = project.getSourceContainers();
assertEquals(first, second);
}
use of org.eclipse.n4js.projectModel.IN4JSProject in project n4js by eclipse.
the class AbstractN4JSProjectTest method testGetDependencies_02.
@SuppressWarnings("javadoc")
@Test
public void testGetDependencies_02() {
URI doesNotExist = myProjectURI.trimSegments(1).appendSegment("doesNotExist");
IN4JSProject project = getN4JSCore().create(doesNotExist);
ImmutableList<? extends IN4JSProject> dependencies = project.getDependencies();
assertEquals(0, dependencies.size());
}
use of org.eclipse.n4js.projectModel.IN4JSProject in project n4js by eclipse.
the class AbstractN4JSProjectTest method testGetLibraries_03.
@SuppressWarnings("javadoc")
@Test
public void testGetLibraries_03() {
IN4JSProject project = getN4JSCore().create(myProjectURI);
ImmutableList<? extends IN4JSArchive> first = project.getLibraries();
ImmutableList<? extends IN4JSArchive> second = project.getLibraries();
assertEquals(first, second);
}
Aggregations