@Test
public void testALL() throws Exception { testALL$(); }
public void testALL$() throws Exception {
testFindDefinition(BASIC_FOO_FilePath, indexOf(BASIC_FOO_Contents, "/*defA_REF1*/"),
new FindDefinitionResultEntry(
"defA", false, BASIC_FOO_FilePath, new SourceRange(indexOf(BASIC_FOO_Contents, "defA/*DEF*/"), 4))
);
// Test implicit source module
testFindDefinition(BASIC_FOO_FilePath, indexOf(BASIC_FOO_Contents, "implicit_name/*MARKER*/"),
new FindDefinitionResultEntry(
"implicit_name", false, BUNDLE_FOO__SRC_FOLDER.resolve("basic_pack/implicit_name.d"),
new SourceRange(0, 0))
);
// Test intrinsic
testFindDefinition(BASIC_FOO_FilePath, indexOf(BASIC_FOO_Contents, "int/*int_ref*/"),
new FindDefinitionResultEntry(
"int", true, null, null)
);
// Test error cases
testFindDefinition(BASIC_FOO_FilePath, indexOf(BASIC_FOO_Contents, "intvar ="),