diff options
author | acolyer <acolyer> | 2004-08-05 13:32:26 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2004-08-05 13:32:26 +0000 |
commit | ca915c6c85c78ee28b61d64ca5ae9140be2b4be3 (patch) | |
tree | a2414da523b5d096f57797412e0b76bbabf6d6ae /tests/incrementalju | |
parent | 487f62952e93074f4bf43c3890afa49f618ef313 (diff) | |
download | aspectj-ca915c6c85c78ee28b61d64ca5ae9140be2b4be3.tar.gz aspectj-ca915c6c85c78ee28b61d64ca5ae9140be2b4be3.zip |
additional incremental tests : bugs 54622, 54621
Diffstat (limited to 'tests/incrementalju')
41 files changed, 268 insertions, 0 deletions
diff --git a/tests/incrementalju/injarTests/classAdded/MyJar.jar b/tests/incrementalju/injarTests/classAdded/MyJar.jar Binary files differnew file mode 100644 index 000000000..9e4f835e5 --- /dev/null +++ b/tests/incrementalju/injarTests/classAdded/MyJar.jar diff --git a/tests/incrementalju/injarTests/classAdded/changes/MyJar.20.jar b/tests/incrementalju/injarTests/classAdded/changes/MyJar.20.jar Binary files differnew file mode 100644 index 000000000..21464053b --- /dev/null +++ b/tests/incrementalju/injarTests/classAdded/changes/MyJar.20.jar diff --git a/tests/incrementalju/injarTests/classAdded/src/World.java b/tests/incrementalju/injarTests/classAdded/src/World.java new file mode 100644 index 000000000..a5d23f10d --- /dev/null +++ b/tests/incrementalju/injarTests/classAdded/src/World.java @@ -0,0 +1,19 @@ +/* ******************************************************************* + * Copyright (c) 2004 IBM Corporation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * Adrian Colyer, + * ******************************************************************/ + + +public aspect World { + + after() returning : execution(* Hello.*(..)) { + System.out.println("World"); + } +}
\ No newline at end of file diff --git a/tests/incrementalju/injarTests/classRemoved/MyJar.jar b/tests/incrementalju/injarTests/classRemoved/MyJar.jar Binary files differnew file mode 100644 index 000000000..21464053b --- /dev/null +++ b/tests/incrementalju/injarTests/classRemoved/MyJar.jar diff --git a/tests/incrementalju/injarTests/classRemoved/changes/MyJar.20.jar b/tests/incrementalju/injarTests/classRemoved/changes/MyJar.20.jar Binary files differnew file mode 100644 index 000000000..9e4f835e5 --- /dev/null +++ b/tests/incrementalju/injarTests/classRemoved/changes/MyJar.20.jar diff --git a/tests/incrementalju/injarTests/classRemoved/src/World.java b/tests/incrementalju/injarTests/classRemoved/src/World.java new file mode 100644 index 000000000..a5d23f10d --- /dev/null +++ b/tests/incrementalju/injarTests/classRemoved/src/World.java @@ -0,0 +1,19 @@ +/* ******************************************************************* + * Copyright (c) 2004 IBM Corporation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * Adrian Colyer, + * ******************************************************************/ + + +public aspect World { + + after() returning : execution(* Hello.*(..)) { + System.out.println("World"); + } +}
\ No newline at end of file diff --git a/tests/incrementalju/injarTests/src/Hello.class b/tests/incrementalju/injarTests/src/Hello.class Binary files differnew file mode 100644 index 000000000..dd227ecb9 --- /dev/null +++ b/tests/incrementalju/injarTests/src/Hello.class diff --git a/tests/incrementalju/injarTests/src/Hello.java b/tests/incrementalju/injarTests/src/Hello.java new file mode 100644 index 000000000..8d1638709 --- /dev/null +++ b/tests/incrementalju/injarTests/src/Hello.java @@ -0,0 +1,22 @@ +/* ******************************************************************* + * Copyright (c) 2004 IBM Corporation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * Adrian Colyer, + * ******************************************************************/ + +/** + * Used to generate Hello.class that is placed in indir for these resource tests. + */ +public class Hello { + + public static void main(String[] args) { + System.out.println("hello"); + } + +}
\ No newline at end of file diff --git a/tests/incrementalju/injarTests/src/Hello2.class b/tests/incrementalju/injarTests/src/Hello2.class Binary files differnew file mode 100644 index 000000000..eb516c60a --- /dev/null +++ b/tests/incrementalju/injarTests/src/Hello2.class diff --git a/tests/incrementalju/injarTests/src/Hello2.java b/tests/incrementalju/injarTests/src/Hello2.java new file mode 100644 index 000000000..c174af938 --- /dev/null +++ b/tests/incrementalju/injarTests/src/Hello2.java @@ -0,0 +1,22 @@ +/* ******************************************************************* + * Copyright (c) 2004 IBM Corporation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * Adrian Colyer, + * ******************************************************************/ + +/** + * Used to generate Hello2.class that is placed in MyJar.jar for these tests. + */ +public class Hello2 { + + public static void main(String[] args) { + System.out.println("hello"); + } + +}
\ No newline at end of file diff --git a/tests/incrementalju/injarTests/src/HelloHello2.jar b/tests/incrementalju/injarTests/src/HelloHello2.jar Binary files differnew file mode 100644 index 000000000..21464053b --- /dev/null +++ b/tests/incrementalju/injarTests/src/HelloHello2.jar diff --git a/tests/incrementalju/injarTests/src/HelloOnly.jar b/tests/incrementalju/injarTests/src/HelloOnly.jar Binary files differnew file mode 100644 index 000000000..9e4f835e5 --- /dev/null +++ b/tests/incrementalju/injarTests/src/HelloOnly.jar diff --git a/tests/incrementalju/injarTests/src/MyJar.jar b/tests/incrementalju/injarTests/src/MyJar.jar Binary files differnew file mode 100644 index 000000000..2b909601c --- /dev/null +++ b/tests/incrementalju/injarTests/src/MyJar.jar diff --git a/tests/incrementalju/inpathDirTests/classAdded/changes/Hello2.20.class b/tests/incrementalju/inpathDirTests/classAdded/changes/Hello2.20.class Binary files differnew file mode 100644 index 000000000..eb516c60a --- /dev/null +++ b/tests/incrementalju/inpathDirTests/classAdded/changes/Hello2.20.class diff --git a/tests/incrementalju/inpathDirTests/classAdded/indir/Hello.class b/tests/incrementalju/inpathDirTests/classAdded/indir/Hello.class Binary files differnew file mode 100644 index 000000000..dd227ecb9 --- /dev/null +++ b/tests/incrementalju/inpathDirTests/classAdded/indir/Hello.class diff --git a/tests/incrementalju/inpathDirTests/classAdded/src/World.java b/tests/incrementalju/inpathDirTests/classAdded/src/World.java new file mode 100644 index 000000000..a5d23f10d --- /dev/null +++ b/tests/incrementalju/inpathDirTests/classAdded/src/World.java @@ -0,0 +1,19 @@ +/* ******************************************************************* + * Copyright (c) 2004 IBM Corporation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * Adrian Colyer, + * ******************************************************************/ + + +public aspect World { + + after() returning : execution(* Hello.*(..)) { + System.out.println("World"); + } +}
\ No newline at end of file diff --git a/tests/incrementalju/inpathDirTests/classRemoved/indir/Hello.class b/tests/incrementalju/inpathDirTests/classRemoved/indir/Hello.class Binary files differnew file mode 100644 index 000000000..dd227ecb9 --- /dev/null +++ b/tests/incrementalju/inpathDirTests/classRemoved/indir/Hello.class diff --git a/tests/incrementalju/inpathDirTests/classRemoved/indir/Hello2.class b/tests/incrementalju/inpathDirTests/classRemoved/indir/Hello2.class Binary files differnew file mode 100644 index 000000000..eb516c60a --- /dev/null +++ b/tests/incrementalju/inpathDirTests/classRemoved/indir/Hello2.class diff --git a/tests/incrementalju/inpathDirTests/classRemoved/src/World.java b/tests/incrementalju/inpathDirTests/classRemoved/src/World.java new file mode 100644 index 000000000..a5d23f10d --- /dev/null +++ b/tests/incrementalju/inpathDirTests/classRemoved/src/World.java @@ -0,0 +1,19 @@ +/* ******************************************************************* + * Copyright (c) 2004 IBM Corporation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * Adrian Colyer, + * ******************************************************************/ + + +public aspect World { + + after() returning : execution(* Hello.*(..)) { + System.out.println("World"); + } +}
\ No newline at end of file diff --git a/tests/incrementalju/inpathDirTests/classUpdated/changes/Hello.20.class b/tests/incrementalju/inpathDirTests/classUpdated/changes/Hello.20.class Binary files differnew file mode 100644 index 000000000..323393169 --- /dev/null +++ b/tests/incrementalju/inpathDirTests/classUpdated/changes/Hello.20.class diff --git a/tests/incrementalju/inpathDirTests/classUpdated/indir/Hello.class b/tests/incrementalju/inpathDirTests/classUpdated/indir/Hello.class Binary files differnew file mode 100644 index 000000000..dd227ecb9 --- /dev/null +++ b/tests/incrementalju/inpathDirTests/classUpdated/indir/Hello.class diff --git a/tests/incrementalju/inpathDirTests/classUpdated/src/World.java b/tests/incrementalju/inpathDirTests/classUpdated/src/World.java new file mode 100644 index 000000000..a5d23f10d --- /dev/null +++ b/tests/incrementalju/inpathDirTests/classUpdated/src/World.java @@ -0,0 +1,19 @@ +/* ******************************************************************* + * Copyright (c) 2004 IBM Corporation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * Adrian Colyer, + * ******************************************************************/ + + +public aspect World { + + after() returning : execution(* Hello.*(..)) { + System.out.println("World"); + } +}
\ No newline at end of file diff --git a/tests/incrementalju/inpathDirTests/src/Hello.20.class b/tests/incrementalju/inpathDirTests/src/Hello.20.class Binary files differnew file mode 100644 index 000000000..323393169 --- /dev/null +++ b/tests/incrementalju/inpathDirTests/src/Hello.20.class diff --git a/tests/incrementalju/inpathDirTests/src/Hello.20.java b/tests/incrementalju/inpathDirTests/src/Hello.20.java new file mode 100644 index 000000000..f4ebfd724 --- /dev/null +++ b/tests/incrementalju/inpathDirTests/src/Hello.20.java @@ -0,0 +1,22 @@ +/* ******************************************************************* + * Copyright (c) 2004 IBM Corporation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * Adrian Colyer, + * ******************************************************************/ + +/** + * Used to generate Hello.class that is placed in indir for these resource tests. + */ +public class Hello { + + public static void main(String[] args) { + System.out.println("updated hello"); + } + +} diff --git a/tests/incrementalju/inpathDirTests/src/Hello.class b/tests/incrementalju/inpathDirTests/src/Hello.class Binary files differnew file mode 100644 index 000000000..dd227ecb9 --- /dev/null +++ b/tests/incrementalju/inpathDirTests/src/Hello.class diff --git a/tests/incrementalju/inpathDirTests/src/Hello.java b/tests/incrementalju/inpathDirTests/src/Hello.java new file mode 100644 index 000000000..8d1638709 --- /dev/null +++ b/tests/incrementalju/inpathDirTests/src/Hello.java @@ -0,0 +1,22 @@ +/* ******************************************************************* + * Copyright (c) 2004 IBM Corporation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * Adrian Colyer, + * ******************************************************************/ + +/** + * Used to generate Hello.class that is placed in indir for these resource tests. + */ +public class Hello { + + public static void main(String[] args) { + System.out.println("hello"); + } + +}
\ No newline at end of file diff --git a/tests/incrementalju/inpathDirTests/src/Hello2.class b/tests/incrementalju/inpathDirTests/src/Hello2.class Binary files differnew file mode 100644 index 000000000..eb516c60a --- /dev/null +++ b/tests/incrementalju/inpathDirTests/src/Hello2.class diff --git a/tests/incrementalju/inpathDirTests/src/Hello2.java b/tests/incrementalju/inpathDirTests/src/Hello2.java new file mode 100644 index 000000000..c174af938 --- /dev/null +++ b/tests/incrementalju/inpathDirTests/src/Hello2.java @@ -0,0 +1,22 @@ +/* ******************************************************************* + * Copyright (c) 2004 IBM Corporation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * Adrian Colyer, + * ******************************************************************/ + +/** + * Used to generate Hello2.class that is placed in MyJar.jar for these tests. + */ +public class Hello2 { + + public static void main(String[] args) { + System.out.println("hello"); + } + +}
\ No newline at end of file diff --git a/tests/incrementalju/resourceTests/resourceAdded/MyJar.jar b/tests/incrementalju/resourceTests/resourceAdded/MyJar.jar Binary files differnew file mode 100644 index 000000000..2b909601c --- /dev/null +++ b/tests/incrementalju/resourceTests/resourceAdded/MyJar.jar diff --git a/tests/incrementalju/resourceTests/resourceAdded/changes/AResourceFile.txt b/tests/incrementalju/resourceTests/resourceAdded/changes/AResourceFile.txt new file mode 100644 index 000000000..271f1c4dd --- /dev/null +++ b/tests/incrementalju/resourceTests/resourceAdded/changes/AResourceFile.txt @@ -0,0 +1 @@ +Here is some text...
\ No newline at end of file diff --git a/tests/incrementalju/resourceTests/resourceAdded/changes/MyJar.20.jar b/tests/incrementalju/resourceTests/resourceAdded/changes/MyJar.20.jar Binary files differnew file mode 100644 index 000000000..ff932e32d --- /dev/null +++ b/tests/incrementalju/resourceTests/resourceAdded/changes/MyJar.20.jar diff --git a/tests/incrementalju/resourceTests/resourceAdded/indir/Hello.class b/tests/incrementalju/resourceTests/resourceAdded/indir/Hello.class Binary files differnew file mode 100644 index 000000000..dd227ecb9 --- /dev/null +++ b/tests/incrementalju/resourceTests/resourceAdded/indir/Hello.class diff --git a/tests/incrementalju/resourceTests/resourceAdded/src/World.java b/tests/incrementalju/resourceTests/resourceAdded/src/World.java new file mode 100644 index 000000000..a5d23f10d --- /dev/null +++ b/tests/incrementalju/resourceTests/resourceAdded/src/World.java @@ -0,0 +1,19 @@ +/* ******************************************************************* + * Copyright (c) 2004 IBM Corporation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * Adrian Colyer, + * ******************************************************************/ + + +public aspect World { + + after() returning : execution(* Hello.*(..)) { + System.out.println("World"); + } +}
\ No newline at end of file diff --git a/tests/incrementalju/resourceTests/resourceRemoved/MyJar.jar b/tests/incrementalju/resourceTests/resourceRemoved/MyJar.jar Binary files differnew file mode 100644 index 000000000..ff932e32d --- /dev/null +++ b/tests/incrementalju/resourceTests/resourceRemoved/MyJar.jar diff --git a/tests/incrementalju/resourceTests/resourceRemoved/changes/AResourceFile.txt b/tests/incrementalju/resourceTests/resourceRemoved/changes/AResourceFile.txt new file mode 100644 index 000000000..271f1c4dd --- /dev/null +++ b/tests/incrementalju/resourceTests/resourceRemoved/changes/AResourceFile.txt @@ -0,0 +1 @@ +Here is some text...
\ No newline at end of file diff --git a/tests/incrementalju/resourceTests/resourceRemoved/changes/MyJar.20.jar b/tests/incrementalju/resourceTests/resourceRemoved/changes/MyJar.20.jar Binary files differnew file mode 100644 index 000000000..2b909601c --- /dev/null +++ b/tests/incrementalju/resourceTests/resourceRemoved/changes/MyJar.20.jar diff --git a/tests/incrementalju/resourceTests/resourceRemoved/src/World.java b/tests/incrementalju/resourceTests/resourceRemoved/src/World.java new file mode 100644 index 000000000..a5d23f10d --- /dev/null +++ b/tests/incrementalju/resourceTests/resourceRemoved/src/World.java @@ -0,0 +1,19 @@ +/* ******************************************************************* + * Copyright (c) 2004 IBM Corporation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * Adrian Colyer, + * ******************************************************************/ + + +public aspect World { + + after() returning : execution(* Hello.*(..)) { + System.out.println("World"); + } +}
\ No newline at end of file diff --git a/tests/incrementalju/resourceTests/src/AResourceFile.txt b/tests/incrementalju/resourceTests/src/AResourceFile.txt new file mode 100644 index 000000000..271f1c4dd --- /dev/null +++ b/tests/incrementalju/resourceTests/src/AResourceFile.txt @@ -0,0 +1 @@ +Here is some text...
\ No newline at end of file diff --git a/tests/incrementalju/resourceTests/src/Hello.class b/tests/incrementalju/resourceTests/src/Hello.class Binary files differnew file mode 100644 index 000000000..dd227ecb9 --- /dev/null +++ b/tests/incrementalju/resourceTests/src/Hello.class diff --git a/tests/incrementalju/resourceTests/src/Hello.java b/tests/incrementalju/resourceTests/src/Hello.java new file mode 100644 index 000000000..8d1638709 --- /dev/null +++ b/tests/incrementalju/resourceTests/src/Hello.java @@ -0,0 +1,22 @@ +/* ******************************************************************* + * Copyright (c) 2004 IBM Corporation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * Adrian Colyer, + * ******************************************************************/ + +/** + * Used to generate Hello.class that is placed in indir for these resource tests. + */ +public class Hello { + + public static void main(String[] args) { + System.out.println("hello"); + } + +}
\ No newline at end of file diff --git a/tests/incrementalju/resourceTests/src/MyJar.jar b/tests/incrementalju/resourceTests/src/MyJar.jar Binary files differnew file mode 100644 index 000000000..2b909601c --- /dev/null +++ b/tests/incrementalju/resourceTests/src/MyJar.jar |