use of org.eclipse.n4js.projectModel.IN4JSProject in project n4js by eclipse.
the class AbstractN4JSCoreTest method testCreateProjectAndCheckExists_01.
@SuppressWarnings("javadoc")
@Test
public void testCreateProjectAndCheckExists_01() {
IN4JSProject project = getN4JSCore().create(myProjectURI.trimSegments(1).appendSegment("doesNotExist"));
assertNotNull(project);
assertFalse(project.exists());
}
use of org.eclipse.n4js.projectModel.IN4JSProject in project n4js by eclipse.
the class AbstractN4JSCoreTest method testCreateProjectAndCheckExists_02.
@SuppressWarnings("javadoc")
@Test
public void testCreateProjectAndCheckExists_02() {
IN4JSProject project = getN4JSCore().create(myProjectURI);
assertNotNull(project);
assertTrue(project.exists());
}
use of org.eclipse.n4js.projectModel.IN4JSProject in project n4js by eclipse.
the class AbstractN4JSProjectTest method testGetLocation_01.
@SuppressWarnings("javadoc")
@Test
public void testGetLocation_01() {
IN4JSProject project = getN4JSCore().create(myProjectURI);
assertEquals(myProjectURI, project.getLocation());
}
use of org.eclipse.n4js.projectModel.IN4JSProject in project n4js by eclipse.
the class AbstractN4JSProjectTest method testGetSourceContainers_02.
@SuppressWarnings("javadoc")
@Test
public void testGetSourceContainers_02() {
URI doesNotExist = myProjectURI.trimSegments(1).appendSegment("doesNotExist");
IN4JSProject project = getN4JSCore().create(doesNotExist);
ImmutableList<? extends IN4JSSourceContainer> sourceContainers = project.getSourceContainers();
assertEquals(0, sourceContainers.size());
}
use of org.eclipse.n4js.projectModel.IN4JSProject in project n4js by eclipse.
the class AbstractN4JSProjectTest method testGetLibraries_02.
@SuppressWarnings("javadoc")
@Test
public void testGetLibraries_02() {
URI doesNotExist = myProjectURI.trimSegments(1).appendSegment("doesNotExist");
IN4JSProject project = getN4JSCore().create(doesNotExist);
ImmutableList<? extends IN4JSArchive> libraries = project.getLibraries();
assertEquals(0, libraries.size());
}
Aggregations