use of org.eclipse.n4js.cli.helper.ProcessResult in project n4js by eclipse.
the class IncompleteApiImplementationTest method testEnums_literal_in_missing_Enum.
/**
*/
@Test
@Ignore("IDE-1574 decide on Enum-strategy.")
public void testEnums_literal_in_missing_Enum() {
String expectedString = "Loaded Implementation one.x.impl::p.A.n4js";
String fileToRunName = fileToExecute_direct("Exec_AT_IDE_1510_Enums_literal_in_missing_Enum.js");
ProcessResult nodejsResult = nodejsRun(workspace.toPath(), Path.of(fileToRunName));
assertEquals(nodejsResult.toString(), expectedString, nodejsResult.getStdOut());
}
use of org.eclipse.n4js.cli.helper.ProcessResult in project n4js by eclipse.
the class IncompleteApiImplementationTest method testfield_vs_getset_9.
/**
*/
@Test
public void testfield_vs_getset_9() {
String expectedString = "Loaded Implementation one.x.impl::fields.F.n4js";
String fileToRunName = fileToExecute_fields("Exec_AT_IDEBUG-505_field_vs_getset_9.js");
ProcessResult nodejsResult = nodejsRun(workspace.toPath(), Path.of(fileToRunName));
assertEquals(nodejsResult.toString(), expectedString, nodejsResult.getStdOut());
}
use of org.eclipse.n4js.cli.helper.ProcessResult in project n4js by eclipse.
the class IncompleteApiImplementationTest method testfield_vs_getset_1.
// ++ ++ ++++++++ + + ++++ +++ + ++ +
// field versus get/set from supertype.
// ++ ++ ++++++++ + + ++++ +++ + ++ +
/**
*/
@Test
public void testfield_vs_getset_1() {
String expectedString = "Loaded Implementation one.x.impl::fields.F.n4js";
String fileToRunName = fileToExecute_fields("Exec_AT_IDEBUG-505_field_vs_getset_2.js");
ProcessResult nodejsResult = nodejsRun(workspace.toPath(), Path.of(fileToRunName));
assertEquals(nodejsResult.toString(), expectedString, nodejsResult.getStdOut());
}
use of org.eclipse.n4js.cli.helper.ProcessResult in project n4js by eclipse.
the class IncompleteApiImplementationTest method testInterfaces_provided_get_missing.
// ++ ++ ++++++++ + + ++++ +++ + ++ +
// Interfaces
// ++ ++ ++++++++ + + ++++ +++ + ++ +
/**
*/
@Test
@Ignore("IDE-1576 requires mix-in of stub")
public void testInterfaces_provided_get_missing() {
String expectedString = "Loaded Implementation one.x.impl::p.A.n4js";
String fileToRunName = fileToExecute_direct("Exec_AT_IDE-1510_Interfaces_provided_get_missing.js");
ProcessResult nodejsResult = nodejsRun(workspace.toPath(), Path.of(fileToRunName));
assertEquals(nodejsResult.toString(), expectedString, nodejsResult.getStdOut());
}
use of org.eclipse.n4js.cli.helper.ProcessResult in project n4js by eclipse.
the class IncompleteApiImplementationTest method testInterfaces_provided_method_missing.
/**
*/
@Test
@Ignore("IDE-1576 requires mix-in of stub")
public void testInterfaces_provided_method_missing() {
String expectedString = "Loaded Implementation one.x.impl::p.A.n4js";
String fileToRunName = fileToExecute_direct("Exec_AT_IDE-1510_Interfaces_provided_method_missing.js");
ProcessResult nodejsResult = nodejsRun(workspace.toPath(), Path.of(fileToRunName));
assertEquals(nodejsResult.toString(), expectedString, nodejsResult.getStdOut());
}
Aggregations