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 37722 Details for
Bug 134541
adviceDidNotMatch's line number doesn't keep up with line number of advice
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
testcase patch synchronized with the latest version in HEAD
pr134541-tests-patch2.txt (text/plain), 2.09 KB, created by
Helen Beeken
on 2006-04-05 07:04:42 EDT
(
hide
)
Description:
testcase patch synchronized with the latest version in HEAD
Filename:
MIME Type:
Creator:
Helen Beeken
Created:
2006-04-05 07:04:42 EDT
Size:
2.09 KB
patch
obsolete
>Index: src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java >=================================================================== >RCS file: /home/technology/org.aspectj/modules/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java,v >retrieving revision 1.43 >diff -u -r1.43 MultiProjectIncrementalTests.java >--- src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java 4 Apr 2006 08:10:07 -0000 1.43 >+++ src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java 5 Apr 2006 10:53:55 -0000 >@@ -846,6 +846,18 @@ > decisions.indexOf(expect)!=-1); > } > >+ public void testPr134541() { >+ initialiseProject("PR134541"); >+ build("PR134541"); >+ assertEquals("[Xlint:adviceDidNotMatch] should be associated with line 5",5, >+ ((IMessage)MyTaskListManager.getWarningMessages().get(0)).getSourceLocation().getLine()); >+ alter("PR134541","inc1"); >+ build("PR134541"); >+ assertEquals("[Xlint:adviceDidNotMatch] should now be associated with line 7",7, >+ ((IMessage)MyTaskListManager.getWarningMessages().get(0)).getSourceLocation().getLine()); >+ } >+ >+ > // other possible tests: > // - memory usage (freemem calls?) > // - relationship map >Index: multiIncremental/PR134541/base/A.aj >=================================================================== >RCS file: multiIncremental/PR134541/base/A.aj >diff -N multiIncremental/PR134541/base/A.aj >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ multiIncremental/PR134541/base/A.aj 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,8 @@ >+public aspect A { >+ >+ pointcut p() : execution(* *.*(..)); >+ >+ before() : p() { >+ } >+ >+} >Index: multiIncremental/PR134541/inc1/A.aj >=================================================================== >RCS file: multiIncremental/PR134541/inc1/A.aj >diff -N multiIncremental/PR134541/inc1/A.aj >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ multiIncremental/PR134541/inc1/A.aj 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,10 @@ >+public aspect A { >+ >+ pointcut p() : execution(* *.*(..)); >+ >+ >+ >+ before() : p() { >+ } >+ >+}
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
Actions:
View
|
Diff
Attachments on
bug 134541
:
37544
|
37720
|
37721
|
37722
|
37727
|
37728