1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package uut;
22
23 import java.util.List;
24
25
26
27
28
29
30
31
32
33 /***
34 * TODO Add docs
35 * @author michaellif
36 * @version $Revision: 1.3 $ ($Author: vlads $)
37 */
38 public class TestCase01 implements PointcutCaseInterface {
39
40 public static void main(String[] args) {
41
42 System.out.println("main()");
43
44 new net.sf.jour.rt.agent.MapedEventID(0);
45
46 TestCase01 main = new TestCase01();
47
48 main.method1();
49 main.method2();
50 main.method1(30);
51 method2(null, null);
52
53 while (true) {
54 try {
55 Thread.sleep(200);
56 } catch (InterruptedException e) {
57 break;
58 }
59 main.method1();
60 main.method2();
61 main.method1(10);
62 method2(null, null);
63 }
64 }
65
66 public void method1() {
67 System.out.println("method1()");
68 }
69
70 public void method1(int bob) {
71 System.out.println("method1(int)");
72 getFooBar(bob);
73 }
74
75 public int method2() {
76 System.out.println("method2()");
77 for (int i = 1; i <= 100; i ++) {
78 Math.sin(10);
79 }
80 return 22;
81 }
82
83 public static java.util.Vector method2(java.io.File f, String s) {
84 return null;
85 }
86
87 public String getFooBar(int bar) {
88 System.out.println("getFooBar(int)");
89 return null;
90 }
91
92 public List getBar() {
93 System.out.println("getBar()");
94 return null;
95 }
96
97 }