import org.aspectj.asm.internal.ProgramElement;
import org.aspectj.asm.internal.Relationship;
import org.aspectj.bridge.IMessage;
+import org.aspectj.bridge.Message;
import org.aspectj.tools.ajc.Ajc;
import org.aspectj.util.FileUtil;
*/
public class MultiProjectIncrementalTests extends AbstractMultiProjectIncrementalAjdeInteractionTestbed {
+ public void testBrokenCodeDeca_268611() {
+ String p = "pr268611";
+ initialiseProject(p);
+ build(p);
+ checkWasFullBuild();
+ assertEquals(1, getErrorMessages(p).size());
+ assertTrue(((Message) getErrorMessages(p).get(0)).getMessage().indexOf(
+ "Syntax error on token \")\", \"name pattern\" expected") != -1);
+ }
+
public void testIncrementalMixin() {
String p = "mixin";
initialiseProject(p);