From 5bc48d3686ce24cc30ea836bf7b6977985440805 Mon Sep 17 00:00:00 2001 From: wisberg Date: Wed, 14 May 2003 05:13:24 +0000 Subject: [PATCH] test data upgrades for adding new command-line error tests --- tests/harness/oneInjar.jar | Bin 0 -> 23726 bytes .../defaultPackage/src/lib/Lib.java | 2 ++ .../new/binaryWarnings/injars/app-ajc-1.1.jar | Bin 1180 -> 1569 bytes .../binaryWarnings/injars/app-javac-1.4.jar | Bin 1275 -> 1657 bytes tests/new/binaryWarnings/readme.txt | 6 +----- tests/new/binaryWarnings/src/app/Main.java | 15 ++++++++++---- .../aspects/ConstructorExecutionWarning.java | 12 +++++++++++ .../src/aspects/MainWarnings.java | 19 +++++++++--------- 8 files changed, 36 insertions(+), 18 deletions(-) create mode 100644 tests/harness/oneInjar.jar create mode 100644 tests/new/binaryWarnings/src/aspects/ConstructorExecutionWarning.java diff --git a/tests/harness/oneInjar.jar b/tests/harness/oneInjar.jar new file mode 100644 index 0000000000000000000000000000000000000000..44eaf54bdad5de737686bf8e7d67be9750ccf17a GIT binary patch literal 23726 zcmZ6xW2`Vr)TMcB+qP}nwte1X+qP}nwr$(C?Y`g4Bt6|#*-53cv;M49@~oXwkOl@p z0f6{#H>z6F0sQ|K(tl@3TT4Snd0SIiLkn9vV{1bvCmY2nIUqrV>eH6`S{~2`*jzN^ zgLA;6k>OzzRAd-*d0;vFalYxs^mk3q`Qae^eQ``LG$aN?c-@T5+S<(ByuCU*5{F3R zK$jbNk@csO7=>OyA{6pNQD>clIPRVUkys*NNug7n52{WAlABfk_)ZwSk`NXqGNo}O zsMyDon`!LHdp#IkNeb=(iFRN_Dj&W0igQU>NDuRs)~W6>iSiBj*~MP`kV$;EmOZKR z-z%2H+yEkTNHfF&uC(%er?DTzs^a@jw8`>gg+a7}+V9ayL+!4O8&~Qmtb#@{+k82O zT-F1}+R7ff)DYe4jP(INet}?PUky`P-@pxcvjYh|%AUZ*K9WvsSrYfCPig;Wr4B6b zO9mw4&tv3{w)f5B%!m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{Y+%it_!R&6PAnv?EZj}pJ&7DV3N_Efrc=1XyDD8)b>bkm!&uzBc*2M zQi7u}J0&r5CdQg3w|HCD5-%i&QsHu0$?oVFl2hOxlPc#wsuK&8SGs+d5}ldM&s$lW z;n`VFE>xK-iOkTSO}(pMxaPj&h_~SQm|Ot9ZXl}FqPHy3)Hus&i(m57W(y*dQg>FR`s+b(Ww{ul8BCedTrTt~$uaF0NSxsEtwoow?PlD#C^I@)#2k zHdl${G}g~2n0nS=f8yDjS+&9KYZNByI9&|~9H(YHoEs0c-P2@c@V=gGZm)aUdc5oo zoeR9Z5f;wFEMQqKNV;7eT=ov=c|7*xW`Q4farKsd*I2j*CuD}*GlXhB;rB(@w!9~F zWyM zhs;v!Y-vwHNk4-cuFq^{QRivzg@#GZ%|*C;WR}1@Y@HEthF_WCruLVyC}PD|pzE{+ z;`QDV-hu7&r=u+a9nLWF_OdX)D1mpMOT1&kZVg;hH*DwB!?vP*HBpg2*$4HdbfHmSE|M}=&D*E62 z^It0ZpKAKk^uOWge=qni5dCj<@GlVkPrd%_{TCPg@6Nw0;lH=xFH87O^&tJvQvZz< WDoDe?{(T7M&jtMRatp1$cmD<5umk}B literal 0 HcmV?d00001 diff --git a/tests/incremental/defaultPackage/src/lib/Lib.java b/tests/incremental/defaultPackage/src/lib/Lib.java index ec9ffe351..8ac8a0172 100644 --- a/tests/incremental/defaultPackage/src/lib/Lib.java +++ b/tests/incremental/defaultPackage/src/lib/Lib.java @@ -2,6 +2,8 @@ package lib; public class Lib { + public static void main(String[] args) { + } public static void f(){} } diff --git a/tests/new/binaryWarnings/injars/app-ajc-1.1.jar b/tests/new/binaryWarnings/injars/app-ajc-1.1.jar index 020b5d00e37952d9abe8eaf50af8f9e8b0c5d5ad..e286805cd9f821c4a54d7396d557ded46c94a4de 100644 GIT binary patch delta 1299 zcmbQkxsazmz?+#xgnbg3`%D>$)nqT!!zuFfX*CxL-Qo2=SGhwJ})QUidnH{{d5Ou zvHj}~KT0v)FlG0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iqR1fS#gKu zbU@TXEe}Rf7F9-{BMCkJ&XT7l+`Hs=mH&fs&DYNKJyTqS><--j7#o{z#X9BIlHX@; zR-fPXrr5~7uGXG;!hy{SAu6GFI1jdGN~W1Cc~TXAbgw}7WurU%3%M^#rKSF!)5flN zMtN;65Lf7P{9KN8>h1}m9QiV{^3SH6(@B~9H73d-gym1=Wj&5B zNAAVEopB?vcIl3E&XSxPtl6t)-QRjj|Lom4s)F5;#@myputdo>qFh_aFJBDx?)wy5^y#`A5aZeg9uy zHS7#*oW`s@eeu_G-RGX~ZVzj#?_*Zk#8u7oF)exLq*dI{B}|sz*ui~wvPkL&^7>>Q!4Ps8prF);A5GB5;qGcs{8 zK=T9>FdOu-8iTXL5mqxdV7AahR?G*^Ixs?>k%1wxpg`X@F*8puIVZ8WIKZ2g4J6A9 MgsXwH6$^+50A_}W5C8xG diff --git a/tests/new/binaryWarnings/readme.txt b/tests/new/binaryWarnings/readme.txt index a6f0a69a4..709326d57 100644 --- a/tests/new/binaryWarnings/readme.txt +++ b/tests/new/binaryWarnings/readme.txt @@ -15,10 +15,6 @@ Bugs: 37020, 37021, 37023 - the message text in MainWarnings.java correspond with warning text values in the test specifications - -- all the warnings in MainWarnings.java - should resolve to unique lines - (until we verify based on more than line) - all test specifications should have exactly the same warnings as each other as as specified in MainWarnings.java @@ -36,7 +32,7 @@ Using javac: rm -rf classes Using ajc: - ajc -classpath ../../../lib/test/aspectjrt.jar \ + ajc -classpath ../../../../lib/test/aspectjrt.jar \ -outjar ../injars/app-ajc-1.1.jar app/Main.java Using ajc in eclipse, from a module directory: diff --git a/tests/new/binaryWarnings/src/app/Main.java b/tests/new/binaryWarnings/src/app/Main.java index a118555d4..293e506ce 100644 --- a/tests/new/binaryWarnings/src/app/Main.java +++ b/tests/new/binaryWarnings/src/app/Main.java @@ -5,7 +5,7 @@ public class Main { static String staticString = "hello"; - String s = "me"; + String s = "me"; // bug 8 initializer picked out as execution public static void main(String[] args) { @@ -20,7 +20,7 @@ public class Main { } } - Main() { // 23 + Main() { s += "pick me, not initializer"; // 23 } void go(String s) { String t = "..".substring(0); // 26 @@ -29,7 +29,7 @@ public class Main { String temp = this.s; // 29 this.s = temp + ", " + s; // 31 - + D.go(); // 32 } catch (RuntimeException e) { String u = "..".substring(0); // 33 stop(); // 35 @@ -39,7 +39,7 @@ public class Main { void stop() { // 40 - new Main(); // 42 + D.go(); // 42 } } @@ -53,3 +53,10 @@ class C { } +class D { + + static void go() { + + } + +} diff --git a/tests/new/binaryWarnings/src/aspects/ConstructorExecutionWarning.java b/tests/new/binaryWarnings/src/aspects/ConstructorExecutionWarning.java new file mode 100644 index 000000000..fa55066d4 --- /dev/null +++ b/tests/new/binaryWarnings/src/aspects/ConstructorExecutionWarning.java @@ -0,0 +1,12 @@ + +package aspects; + +import app.Main; + +// WARNING: do not change message text without changing test specification +public privileged aspect ConstructorExecutionWarning { + + declare warning : execution(Main.new()) // 23 (bug: 8) + : "execution(Main.new())"; + +} \ No newline at end of file diff --git a/tests/new/binaryWarnings/src/aspects/MainWarnings.java b/tests/new/binaryWarnings/src/aspects/MainWarnings.java index 4debf1f3b..218968f94 100644 --- a/tests/new/binaryWarnings/src/aspects/MainWarnings.java +++ b/tests/new/binaryWarnings/src/aspects/MainWarnings.java @@ -7,14 +7,11 @@ import app.Main; public privileged aspect MainWarnings { declare warning : staticinitialization(Main) - : "staticinitializtion(Main)"; + : "staticinitialization(Main)"; - declare warning : initialization(Main.new()) + declare warning : initialization(Main.new()) // 23 : "initialization(Main.new())"; - declare warning : execution(Main.new()) - : "execution(Main.new())"; - declare warning : execution(void Main.go(String)) : "execution(void Main.go(String))"; @@ -24,13 +21,17 @@ public privileged aspect MainWarnings { declare warning : call(void Main.go(String)) : "call(void Main.go(String))"; - declare warning : call(Main.new()) + declare warning : call(void app.D.go()) // 42 (bug missing) && withincode(void Main.stop()) - : "call(Main.new()) && withincode(void Main.stop())"; + : "withincode(void Main.stop())"; + + declare warning : call(void app.D.go()) // 32 + && withincode(void Main.go(String)) + : "D.go withincode(void Main.go(String))"; - declare warning : call(void Main.stop()) + declare warning : call(void Main.stop()) // 35 && withincode(void Main.go(String)) - : "call(void Main.stop()) && withincode(void Main.go(String))"; + : "Main.stop withincode(void Main.go(String))"; declare warning : get(String Main.s) : "get(String Main.s)"; -- 2.39.5