Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 50809 Details for
Bug 148285
[plan] [incremental] Exception when moving an aspect to it own source file...
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
failing testcase
pr148285-tests.txt (text/plain), 2.60 KB, created by
Helen Beeken
on 2006-09-25 06:33:40 EDT
(
hide
)
Description:
failing testcase
Filename:
MIME Type:
Creator:
Helen Beeken
Created:
2006-09-25 06:33:40 EDT
Size:
2.60 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P tests >Index: src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java >=================================================================== >RCS file: /cvsroot/tools/org.aspectj/modules/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java,v >retrieving revision 1.70 >diff -u -r1.70 MultiProjectIncrementalTests.java >--- src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java 22 Sep 2006 10:49:39 -0000 1.70 >+++ src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java 25 Sep 2006 10:32:08 -0000 >@@ -260,6 +260,21 @@ > } > */ > >+ public void testPr148285() { >+ initialiseProject("PR148285_2"); >+ build("PR148285_2"); >+ alter("PR148285_2","inc1"); >+ build("PR148285_2"); >+ assertEquals("error message should be 'The type C is already defined' ", >+ "The type C is already defined", >+ ((IMessage)MyTaskListManager.getErrorMessages().get(0)) >+ .getMessage()); >+ alter("PR148285_2","inc2"); >+ build("PR148285_2"); >+ assertTrue("There should be no errors reported:\n"+MyTaskListManager.getErrorMessages(), >+ MyTaskListManager.getErrorMessages().isEmpty()); >+ } >+ > > /** > * In order for this next test to run, I had to move the weaver/world pair we keep in the >Index: multiIncremental/PR148285_2/base/A.aj >=================================================================== >RCS file: multiIncremental/PR148285_2/base/A.aj >diff -N multiIncremental/PR148285_2/base/A.aj >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ multiIncremental/PR148285_2/base/A.aj 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,11 @@ >+public aspect A { >+ >+ before() : execution(* *.*(..)) {} >+ >+} >+ >+class C { >+ >+ public void m() {} >+ >+} >Index: multiIncremental/PR148285_2/inc2/A.aj >=================================================================== >RCS file: multiIncremental/PR148285_2/inc2/A.aj >diff -N multiIncremental/PR148285_2/inc2/A.aj >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ multiIncremental/PR148285_2/inc2/A.aj 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,11 @@ >+public aspect A { >+ >+ before() : execution(* *.*(..)) {} >+ >+} >+ >+//class C { >+// >+// public void m() {} >+// >+//} >Index: multiIncremental/PR148285_2/inc1/C.java >=================================================================== >RCS file: multiIncremental/PR148285_2/inc1/C.java >diff -N multiIncremental/PR148285_2/inc1/C.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ multiIncremental/PR148285_2/inc1/C.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,5 @@ >+public class C { >+ >+ public void m() {} >+ >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
aclement
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 148285
: 50809