diff options
author | mattinger <[email protected]> | 2007-03-07 21:25:39 +0000 |
---|---|---|
committer | mattinger <[email protected]> | 2007-03-07 21:25:39 +0000 |
commit | 1bce0a66a11f4cbf8d6bcc46fbd9a36cb7ebe64a (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /test/resources/design | |
parent | 391a3b1becbcb9b778b8f86ff11793123ec04f78 (diff) |
Removing old stuff
git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/branches/ant-1.7.0-upgrade@99 32d7a393-a5a9-423c-abd3-5d954feb1f2f
Diffstat (limited to 'test/resources/design')
82 files changed, 0 insertions, 1958 deletions
diff --git a/test/resources/design/designfiles/arraydepend.xml b/test/resources/design/designfiles/arraydepend.xml deleted file mode 100644 index cdd0aeb..0000000 --- a/test/resources/design/designfiles/arraydepend.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.arraydepend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/arraydepend2.xml b/test/resources/design/designfiles/arraydepend2.xml deleted file mode 100644 index ab8d8e4..0000000 --- a/test/resources/design/designfiles/arraydepend2.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.arraydepend2"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/arraydepend3.xml b/test/resources/design/designfiles/arraydepend3.xml deleted file mode 100644 index 1e30b7c..0000000 --- a/test/resources/design/designfiles/arraydepend3.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.arraydepend3"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/badxml.xml b/test/resources/design/designfiles/badxml.xml deleted file mode 100644 index 63c82f0..0000000 --- a/test/resources/design/designfiles/badxml.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.arraydepend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/castdepend.xml b/test/resources/design/designfiles/castdepend.xml deleted file mode 100644 index ac16d41..0000000 --- a/test/resources/design/designfiles/castdepend.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.castdepend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/catchdepend.xml b/test/resources/design/designfiles/catchdepend.xml deleted file mode 100644 index 2ff6387..0000000 --- a/test/resources/design/designfiles/catchdepend.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.catchdepend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/declarejavautil.xml b/test/resources/design/designfiles/declarejavautil.xml deleted file mode 100644 index e2fb08e..0000000 --- a/test/resources/design/designfiles/declarejavautil.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.declarejavautil"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/declarejavautilfail.xml b/test/resources/design/designfiles/declarejavautilfail.xml deleted file mode 100644 index fd43256..0000000 --- a/test/resources/design/designfiles/declarejavautilfail.xml +++ /dev/null @@ -1,8 +0,0 @@ -<design> -<!-- needdeclarations is by default true, so we don't need that here --> -<package name="javautil" package="java.util"/> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.declarejavautil"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/declarejavax.xml b/test/resources/design/designfiles/declarejavax.xml deleted file mode 100644 index f2b7d13..0000000 --- a/test/resources/design/designfiles/declarejavax.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.declarejavax"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/declarejavaxpass.xml b/test/resources/design/designfiles/declarejavaxpass.xml deleted file mode 100644 index 7e55849..0000000 --- a/test/resources/design/designfiles/declarejavaxpass.xml +++ /dev/null @@ -1,7 +0,0 @@ -<design> -<package name="swing" package="javax.swing" needdeclarations="false"/> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.declarejavax"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/fielddepend.xml b/test/resources/design/designfiles/fielddepend.xml deleted file mode 100644 index 409427c..0000000 --- a/test/resources/design/designfiles/fielddepend.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.fielddepend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/fieldrefdepend.xml b/test/resources/design/designfiles/fieldrefdepend.xml deleted file mode 100644 index 3a04f6a..0000000 --- a/test/resources/design/designfiles/fieldrefdepend.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.fieldrefdepend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/innerclassdepend.xml b/test/resources/design/designfiles/innerclassdepend.xml deleted file mode 100644 index 2be90f6..0000000 --- a/test/resources/design/designfiles/innerclassdepend.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.innerclassdepend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/instanceofdepend.xml b/test/resources/design/designfiles/instanceofdepend.xml deleted file mode 100644 index 2e9a3f8..0000000 --- a/test/resources/design/designfiles/instanceofdepend.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.instanceofdepend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/interfacedepend.xml b/test/resources/design/designfiles/interfacedepend.xml deleted file mode 100644 index 9f11581..0000000 --- a/test/resources/design/designfiles/interfacedepend.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.interfacedepend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/localvardepend.xml b/test/resources/design/designfiles/localvardepend.xml deleted file mode 100644 index 518bae1..0000000 --- a/test/resources/design/designfiles/localvardepend.xml +++ /dev/null @@ -1,9 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="factory" package="mod.temp" depends="dummy"/> -<package name="client" package="mod.localvardepend"> - <depends>factory</depends> -</package> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/localvarrefdepend.xml b/test/resources/design/designfiles/localvarrefdepend.xml deleted file mode 100644 index 6160330..0000000 --- a/test/resources/design/designfiles/localvarrefdepend.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.localvarrefdepend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/missingattribute.xml b/test/resources/design/designfiles/missingattribute.xml deleted file mode 100644 index 5397c51..0000000 --- a/test/resources/design/designfiles/missingattribute.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package package="mod.dummy"/> -<package name="client" package="mod.arraydepend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/multipleerrors.xml b/test/resources/design/designfiles/multipleerrors.xml deleted file mode 100644 index 3c6780d..0000000 --- a/test/resources/design/designfiles/multipleerrors.xml +++ /dev/null @@ -1,7 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.arraydepend"/> -<package name="client2" package="mod.catchdepend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/newdepend.xml b/test/resources/design/designfiles/newdepend.xml deleted file mode 100644 index b924645..0000000 --- a/test/resources/design/designfiles/newdepend.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.newdepend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/newdepend2.xml b/test/resources/design/designfiles/newdepend2.xml deleted file mode 100644 index 4efc5bf..0000000 --- a/test/resources/design/designfiles/newdepend2.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.newdepend2"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/nodebugoption.xml b/test/resources/design/designfiles/nodebugoption.xml deleted file mode 100644 index 8ab00b7..0000000 --- a/test/resources/design/designfiles/nodebugoption.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.nodebugoption"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/nojar.xml b/test/resources/design/designfiles/nojar.xml deleted file mode 100644 index cdd0aeb..0000000 --- a/test/resources/design/designfiles/nojar.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.arraydepend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/paramdepend.xml b/test/resources/design/designfiles/paramdepend.xml deleted file mode 100644 index 4c24f4f..0000000 --- a/test/resources/design/designfiles/paramdepend.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.paramdepend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/passlocaldepend.xml b/test/resources/design/designfiles/passlocaldepend.xml deleted file mode 100644 index 8544ed5..0000000 --- a/test/resources/design/designfiles/passlocaldepend.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.passlocaldepend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/pathelementpath.xml b/test/resources/design/designfiles/pathelementpath.xml deleted file mode 100644 index 84bd103..0000000 --- a/test/resources/design/designfiles/pathelementpath.xml +++ /dev/null @@ -1,7 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client1" package="mod.putstatic"/> -<package name="client2" package="mod.arraydepend2"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/putstatic.xml b/test/resources/design/designfiles/putstatic.xml deleted file mode 100644 index 92464e0..0000000 --- a/test/resources/design/designfiles/putstatic.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.putstatic"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/recursion.xml b/test/resources/design/designfiles/recursion.xml deleted file mode 100644 index 9aedd9e..0000000 --- a/test/resources/design/designfiles/recursion.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="temp" package="mod.recursion.rec" subpackages="include"/> -<package name="client" package="mod.recursion.client" depends="temp"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/recursion2.xml b/test/resources/design/designfiles/recursion2.xml deleted file mode 100644 index 94b41cd..0000000 --- a/test/resources/design/designfiles/recursion2.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="temp" package="mod.recursion2.dependency"/> -<package name="client" package="mod.recursion2.rec" depends="temp" subpackages="include"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/recursion3.xml b/test/resources/design/designfiles/recursion3.xml deleted file mode 100644 index 7fef148..0000000 --- a/test/resources/design/designfiles/recursion3.xml +++ /dev/null @@ -1,5 +0,0 @@ -<design> - -<package name="recursion" package="mod.recursion3" subpackages="include"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/returnvaldepend.xml b/test/resources/design/designfiles/returnvaldepend.xml deleted file mode 100644 index d1abdab..0000000 --- a/test/resources/design/designfiles/returnvaldepend.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.returnvaldepend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/signatureexceptiondepend.xml b/test/resources/design/designfiles/signatureexceptiondepend.xml deleted file mode 100644 index 446333e..0000000 --- a/test/resources/design/designfiles/signatureexceptiondepend.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.signatureexceptiondepend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/staticdepend.xml b/test/resources/design/designfiles/staticdepend.xml deleted file mode 100644 index 94e41c8..0000000 --- a/test/resources/design/designfiles/staticdepend.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.staticdepend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/staticfield2depend.xml b/test/resources/design/designfiles/staticfield2depend.xml deleted file mode 100644 index 69a1e4f..0000000 --- a/test/resources/design/designfiles/staticfield2depend.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.staticfield2depend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/staticfielddepend.xml b/test/resources/design/designfiles/staticfielddepend.xml deleted file mode 100644 index d477496..0000000 --- a/test/resources/design/designfiles/staticfielddepend.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.staticfielddepend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/staticfinaldepend.xml b/test/resources/design/designfiles/staticfinaldepend.xml deleted file mode 100644 index a264547..0000000 --- a/test/resources/design/designfiles/staticfinaldepend.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.staticfinaldepend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/superdepend.xml b/test/resources/design/designfiles/superdepend.xml deleted file mode 100644 index 153ee2b..0000000 --- a/test/resources/design/designfiles/superdepend.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.superdepend"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/warfailure.xml b/test/resources/design/designfiles/warfailure.xml deleted file mode 100644 index daf5368..0000000 --- a/test/resources/design/designfiles/warfailure.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.warfailure"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/designfiles/warsuccess.xml b/test/resources/design/designfiles/warsuccess.xml deleted file mode 100644 index 3e100e9..0000000 --- a/test/resources/design/designfiles/warsuccess.xml +++ /dev/null @@ -1,6 +0,0 @@ -<design> - -<package name="dummy" package="mod.dummy"/> -<package name="client" package="mod.warsuccess" depends="dummy"/> - -</design>
\ No newline at end of file diff --git a/test/resources/design/src/mod/arraydepend/ClassDependsOnArray.java b/test/resources/design/src/mod/arraydepend/ClassDependsOnArray.java deleted file mode 100644 index ed4b01c..0000000 --- a/test/resources/design/src/mod/arraydepend/ClassDependsOnArray.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Jan 9, 2005 - */ -package mod.arraydepend; - -import mod.dummy.DummyClass; - -/** - * - * @author dhiller - */ -public class ClassDependsOnArray { - - public void something() { - Object[] o = new DummyClass[5]; - } -} diff --git a/test/resources/design/src/mod/arraydepend2/ClassDependsOnArray.java b/test/resources/design/src/mod/arraydepend2/ClassDependsOnArray.java deleted file mode 100644 index 4d65a7a..0000000 --- a/test/resources/design/src/mod/arraydepend2/ClassDependsOnArray.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Jan 9, 2005 - */ -package mod.arraydepend2; - - - -/** - * - * @author dhiller - */ -public class ClassDependsOnArray { - - public void testArray() throws Exception { - Class c = String[].class; - } -} diff --git a/test/resources/design/src/mod/arraydepend3/ClassDependsOnArray.java b/test/resources/design/src/mod/arraydepend3/ClassDependsOnArray.java deleted file mode 100644 index 2ff6d67..0000000 --- a/test/resources/design/src/mod/arraydepend3/ClassDependsOnArray.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Jan 9, 2005 - */ -package mod.arraydepend3; - -import mod.dummy.DummyClass; - - - -/** - * - * @author dhiller - */ -public class ClassDependsOnArray { - - public void testArray() throws Exception { - Class c = DummyClass[].class; - } -} diff --git a/test/resources/design/src/mod/castdepend/ClassDependsOnCast.java b/test/resources/design/src/mod/castdepend/ClassDependsOnCast.java deleted file mode 100644 index b6ad33a..0000000 --- a/test/resources/design/src/mod/castdepend/ClassDependsOnCast.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Dec 29, 2004 - */ -package mod.castdepend; - -import mod.dummy.DummyInterface; - -/** - * - * @author dhiller - */ -public class ClassDependsOnCast { - - public void getSomething(Object obj) { - Object o = (DummyInterface)obj; - } -} diff --git a/test/resources/design/src/mod/catchdepend/ClassDependsOnCatch.java b/test/resources/design/src/mod/catchdepend/ClassDependsOnCatch.java deleted file mode 100644 index a103240..0000000 --- a/test/resources/design/src/mod/catchdepend/ClassDependsOnCatch.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Dec 29, 2004 - */ -package mod.catchdepend; - -import mod.dummy.DummyRuntimeException; - -/** - * - * @author dhiller - */ -public class ClassDependsOnCatch { - - public void doNothing() { - try { - int x = 0; - int y = x+4; - } catch(DummyRuntimeException e) { - - } - } -} diff --git a/test/resources/design/src/mod/declarejavautil/ClassDependsOnJavaUtil.java b/test/resources/design/src/mod/declarejavautil/ClassDependsOnJavaUtil.java deleted file mode 100644 index 077da65..0000000 --- a/test/resources/design/src/mod/declarejavautil/ClassDependsOnJavaUtil.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Jan 19, 2005 - */ -package mod.declarejavautil; - -import java.util.List; - -/** - * - * @author dhiller - */ -public class ClassDependsOnJavaUtil { - - public List list; -} diff --git a/test/resources/design/src/mod/declarejavax/ClassDependsOnJavax.java b/test/resources/design/src/mod/declarejavax/ClassDependsOnJavax.java deleted file mode 100644 index cd79675..0000000 --- a/test/resources/design/src/mod/declarejavax/ClassDependsOnJavax.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Jan 19, 2005 - */ -package mod.declarejavax; - -import javax.swing.JButton; - -/** - * - * @author dhiller - */ -public class ClassDependsOnJavax { - - public JButton b = null; - -} diff --git a/test/resources/design/src/mod/dummy/DummyClass.java b/test/resources/design/src/mod/dummy/DummyClass.java deleted file mode 100644 index f2f48df..0000000 --- a/test/resources/design/src/mod/dummy/DummyClass.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Dec 29, 2004 - */ -package mod.dummy; - -/** - * - * @author dhiller - */ -public class DummyClass { - - public static final String CONSTANT = "asdf"; - public static String staticField = "xxxx"; - - public static String returnSomething() { - return "Xxx"; - } -} diff --git a/test/resources/design/src/mod/dummy/DummyException.java b/test/resources/design/src/mod/dummy/DummyException.java deleted file mode 100644 index 3884fc1..0000000 --- a/test/resources/design/src/mod/dummy/DummyException.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Dec 29, 2004 - */ -package mod.dummy; - -/** - * - * @author dhiller - */ -public class DummyException extends Exception { - -} diff --git a/test/resources/design/src/mod/dummy/DummyInterface.java b/test/resources/design/src/mod/dummy/DummyInterface.java deleted file mode 100644 index e7432fa..0000000 --- a/test/resources/design/src/mod/dummy/DummyInterface.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Dec 29, 2004 - */ -package mod.dummy; - -/** - * - * @author dhiller - */ -public interface DummyInterface { - -} diff --git a/test/resources/design/src/mod/dummy/DummyRuntimeException.java b/test/resources/design/src/mod/dummy/DummyRuntimeException.java deleted file mode 100644 index 53cb35a..0000000 --- a/test/resources/design/src/mod/dummy/DummyRuntimeException.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Dec 29, 2004 - */ -package mod.dummy; - -/** - * - * @author dhiller - */ -public class DummyRuntimeException extends RuntimeException { - -} diff --git a/test/resources/design/src/mod/fielddepend/ClassDependsOnField.java b/test/resources/design/src/mod/fielddepend/ClassDependsOnField.java deleted file mode 100644 index 226003b..0000000 --- a/test/resources/design/src/mod/fielddepend/ClassDependsOnField.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Dec 29, 2004 - */ -package mod.fielddepend; - -import mod.dummy.DummyClass; - -/** - * This class depends on a field in another package. - * - * @author dhiller - */ -public class ClassDependsOnField { - - private DummyClass f; -} diff --git a/test/resources/design/src/mod/fieldrefdepend/ClassDependsOnReferenceInFieldDeclaration.java b/test/resources/design/src/mod/fieldrefdepend/ClassDependsOnReferenceInFieldDeclaration.java deleted file mode 100644 index 8329bfc..0000000 --- a/test/resources/design/src/mod/fieldrefdepend/ClassDependsOnReferenceInFieldDeclaration.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Dec 29, 2004 - */ -package mod.fieldrefdepend; - -import mod.dummy.DummyClass; - -/** - * - * @author dhiller - */ -public class ClassDependsOnReferenceInFieldDeclaration { - - private Class c = DummyClass.class; - -} diff --git a/test/resources/design/src/mod/innerclassdepend/InnerClassDependsOnSuper.java b/test/resources/design/src/mod/innerclassdepend/InnerClassDependsOnSuper.java deleted file mode 100644 index ee882e5..0000000 --- a/test/resources/design/src/mod/innerclassdepend/InnerClassDependsOnSuper.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Dec 29, 2004 - */ -package mod.innerclassdepend; - -import mod.dummy.DummyClass; - -/** - * - * @author dhiller - */ -public class InnerClassDependsOnSuper { - - private class Inner extends DummyClass { - - } -} diff --git a/test/resources/design/src/mod/instanceofdepend/ClassDependsOnInstanceOf.java b/test/resources/design/src/mod/instanceofdepend/ClassDependsOnInstanceOf.java deleted file mode 100644 index 55a78bb..0000000 --- a/test/resources/design/src/mod/instanceofdepend/ClassDependsOnInstanceOf.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Dec 29, 2004 - */ -package mod.instanceofdepend; - -import mod.dummy.DummyInterface; - -/** - * - * @author dhiller - */ -public class ClassDependsOnInstanceOf { - - public void getSomething(Object o) { - int x = 0; - if(o instanceof DummyInterface) { - x = 4; - } - } -} diff --git a/test/resources/design/src/mod/interfacedepend/ClassDependsOnInterfaceMod2.java b/test/resources/design/src/mod/interfacedepend/ClassDependsOnInterfaceMod2.java deleted file mode 100644 index 6713b1c..0000000 --- a/test/resources/design/src/mod/interfacedepend/ClassDependsOnInterfaceMod2.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Dec 29, 2004 - */ -package mod.interfacedepend; - -import mod.dummy.DummyInterface; - -/** - * This class depends on an interface in another package creating a dependency - * between packages. - * - * @author dhiller - */ -public class ClassDependsOnInterfaceMod2 implements DummyInterface { - -} diff --git a/test/resources/design/src/mod/localvardepend/ClassDependsOnLocalVar.java b/test/resources/design/src/mod/localvardepend/ClassDependsOnLocalVar.java deleted file mode 100644 index cd177da..0000000 --- a/test/resources/design/src/mod/localvardepend/ClassDependsOnLocalVar.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Dec 29, 2004 - */ -package mod.localvardepend; - -import mod.dummy.DummyClass; - -/** - * - * @author dhiller - */ -public class ClassDependsOnLocalVar { - - public String doNothing() { - DummyClass c = null; - - return ""+c; - } -} diff --git a/test/resources/design/src/mod/localvarrefdepend/ClassDependsOnLocalVariableReference.java b/test/resources/design/src/mod/localvarrefdepend/ClassDependsOnLocalVariableReference.java deleted file mode 100644 index 8e77433..0000000 --- a/test/resources/design/src/mod/localvarrefdepend/ClassDependsOnLocalVariableReference.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Dec 29, 2004 - */ -package mod.localvarrefdepend; - -import mod.dummy.DummyInterface; - -/** - * - * @author dhiller - */ -public class ClassDependsOnLocalVariableReference { - - public void doNothing() { - Class c = DummyInterface.class; - } -} diff --git a/test/resources/design/src/mod/newdepend/ClassDependsOnNew.java b/test/resources/design/src/mod/newdepend/ClassDependsOnNew.java deleted file mode 100644 index efcaa49..0000000 --- a/test/resources/design/src/mod/newdepend/ClassDependsOnNew.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Dec 29, 2004 - */ -package mod.newdepend; - -import mod.dummy.DummyClass; - -/** - * - * @author dhiller - */ -public class ClassDependsOnNew { - - public void doNothing() { - new DummyClass(); - } -} diff --git a/test/resources/design/src/mod/newdepend2/ClassDependsOnNewInField.java b/test/resources/design/src/mod/newdepend2/ClassDependsOnNewInField.java deleted file mode 100644 index d76ade3..0000000 --- a/test/resources/design/src/mod/newdepend2/ClassDependsOnNewInField.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Dec 29, 2004 - */ -package mod.newdepend2; - -import mod.dummy.DummyClass; - -/** - * - * @author dhiller - */ -public class ClassDependsOnNewInField { - - public Object o = new DummyClass(); -} diff --git a/test/resources/design/src/mod/nodebugoption/ClassDependsOnLocalVar.java b/test/resources/design/src/mod/nodebugoption/ClassDependsOnLocalVar.java deleted file mode 100644 index bb65e63..0000000 --- a/test/resources/design/src/mod/nodebugoption/ClassDependsOnLocalVar.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Jan 13, 2005 - */ -package mod.nodebugoption; - -import mod.dummy.DummyClass; - -/** - * - * @author dhiller - */ -public class ClassDependsOnLocalVar { - - public void doSomething() { - DummyClass c = null; - //without debug option enabled, the type DummyClass is lost so we - //must fail with the error saying class wasn't compiled with -g option - //enabled in javac. - } -} diff --git a/test/resources/design/src/mod/paramdepend/ClassDependsOnParameter.java b/test/resources/design/src/mod/paramdepend/ClassDependsOnParameter.java deleted file mode 100644 index 12866b1..0000000 --- a/test/resources/design/src/mod/paramdepend/ClassDependsOnParameter.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Dec 29, 2004 - */ -package mod.paramdepend; - -import mod.dummy.DummyClass; - -/** - * - * @author dhiller - */ -public class ClassDependsOnParameter { - - public void setSomething(String dummy, DummyClass c) { - - } -} diff --git a/test/resources/design/src/mod/passlocaldepend/ClassDependsOnClassInSamePackage.java b/test/resources/design/src/mod/passlocaldepend/ClassDependsOnClassInSamePackage.java deleted file mode 100644 index a2ae720..0000000 --- a/test/resources/design/src/mod/passlocaldepend/ClassDependsOnClassInSamePackage.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Jan 13, 2005 - */ -package mod.passlocaldepend; - -/** - * - * @author dhiller - */ -public class ClassDependsOnClassInSamePackage { - - public void doSomething(FakeClass c) { - - } -} diff --git a/test/resources/design/src/mod/passlocaldepend/FakeClass.java b/test/resources/design/src/mod/passlocaldepend/FakeClass.java deleted file mode 100644 index ed35025..0000000 --- a/test/resources/design/src/mod/passlocaldepend/FakeClass.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Jan 13, 2005 - */ -package mod.passlocaldepend; - -/** - * - * @author dhiller - */ -public class FakeClass { - -} diff --git a/test/resources/design/src/mod/putstatic/ClassDependsOnNothing.java b/test/resources/design/src/mod/putstatic/ClassDependsOnNothing.java deleted file mode 100644 index fbedddf..0000000 --- a/test/resources/design/src/mod/putstatic/ClassDependsOnNothing.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Jan 13, 2005 - */ -package mod.putstatic; - - -/** - * - * @author dhiller - */ -public class ClassDependsOnNothing { - - private static String s; - public static void setJarLocator(String l) { - s = l; - } -} diff --git a/test/resources/design/src/mod/recursion/client/ClassDependsOnSubPackage.java b/test/resources/design/src/mod/recursion/client/ClassDependsOnSubPackage.java deleted file mode 100644 index ce95d9c..0000000 --- a/test/resources/design/src/mod/recursion/client/ClassDependsOnSubPackage.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Jan 13, 2005 - */ -package mod.recursion.client; - -import mod.recursion.rec.a.FakeClass; - -/** - * - * @author dhiller - */ -public class ClassDependsOnSubPackage { - - public FakeClass getSoemthing() { - return null; - } -} diff --git a/test/resources/design/src/mod/recursion/rec/a/FakeClass.java b/test/resources/design/src/mod/recursion/rec/a/FakeClass.java deleted file mode 100644 index ada6615..0000000 --- a/test/resources/design/src/mod/recursion/rec/a/FakeClass.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Jan 13, 2005 - */ -package mod.recursion.rec.a; - -/** - * - * @author dhiller - */ -public class FakeClass { - -} diff --git a/test/resources/design/src/mod/recursion2/dependency/Dependency.java b/test/resources/design/src/mod/recursion2/dependency/Dependency.java deleted file mode 100644 index dc9b594..0000000 --- a/test/resources/design/src/mod/recursion2/dependency/Dependency.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Jan 13, 2005 - */ -package mod.recursion2.dependency; - -/** - * - * @author dhiller - */ -public class Dependency { - -} diff --git a/test/resources/design/src/mod/recursion2/rec/client/SubpackageClassDependsOnPackage.java b/test/resources/design/src/mod/recursion2/rec/client/SubpackageClassDependsOnPackage.java deleted file mode 100644 index 57dc96a..0000000 --- a/test/resources/design/src/mod/recursion2/rec/client/SubpackageClassDependsOnPackage.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Jan 16, 2005 - */ -package mod.recursion2.rec.client; - -import mod.recursion2.dependency.Dependency; - -/** - * - * @author dhiller - */ -public class SubpackageClassDependsOnPackage { - - public Dependency doNothing() { - return null; - } -} diff --git a/test/resources/design/src/mod/recursion3/client/SubpackageClassDependsOnSubpackage.java b/test/resources/design/src/mod/recursion3/client/SubpackageClassDependsOnSubpackage.java deleted file mode 100644 index 64dd1ce..0000000 --- a/test/resources/design/src/mod/recursion3/client/SubpackageClassDependsOnSubpackage.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Jan 16, 2005 - */ -package mod.recursion3.client; - -import mod.recursion3.svc.DependencyClass; - -/** - * - * @author dhiller - */ -public class SubpackageClassDependsOnSubpackage { - - public void doSomething(DependencyClass c) { - - } -} diff --git a/test/resources/design/src/mod/recursion3/svc/DependencyClass.java b/test/resources/design/src/mod/recursion3/svc/DependencyClass.java deleted file mode 100644 index e3bc462..0000000 --- a/test/resources/design/src/mod/recursion3/svc/DependencyClass.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Jan 16, 2005 - */ -package mod.recursion3.svc; - -/** - * - * @author dhiller - */ -public class DependencyClass { - -} diff --git a/test/resources/design/src/mod/returnvaldepend/ClassDependsOnReturnValue.java b/test/resources/design/src/mod/returnvaldepend/ClassDependsOnReturnValue.java deleted file mode 100644 index 61f00ae..0000000 --- a/test/resources/design/src/mod/returnvaldepend/ClassDependsOnReturnValue.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Dec 29, 2004 - */ -package mod.returnvaldepend; - -import mod.dummy.DummyInterface; - -/** - * - * @author dhiller - */ -public class ClassDependsOnReturnValue { - - public DummyInterface getSomething() { - return null; - } -} diff --git a/test/resources/design/src/mod/signatureexceptiondepend/ClassDependsOnExceptionInMethodSignature.java b/test/resources/design/src/mod/signatureexceptiondepend/ClassDependsOnExceptionInMethodSignature.java deleted file mode 100644 index a235e12..0000000 --- a/test/resources/design/src/mod/signatureexceptiondepend/ClassDependsOnExceptionInMethodSignature.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Dec 29, 2004 - */ -package mod.signatureexceptiondepend; - -import mod.dummy.DummyException; - -/** - * - * @author dhiller - */ -public class ClassDependsOnExceptionInMethodSignature { - - public String doNothing() throws DummyException { - return null; - } -} diff --git a/test/resources/design/src/mod/staticdepend/ClassDependsOnStatic.java b/test/resources/design/src/mod/staticdepend/ClassDependsOnStatic.java deleted file mode 100644 index 60b1f53..0000000 --- a/test/resources/design/src/mod/staticdepend/ClassDependsOnStatic.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Dec 29, 2004 - */ -package mod.staticdepend; - -import mod.dummy.DummyClass; - -/** - * - * @author dhiller - */ -public class ClassDependsOnStatic { - - public String getSomething() { - return DummyClass.returnSomething(); - } -} diff --git a/test/resources/design/src/mod/staticfield2depend/ClassDependsOnStaticField.java b/test/resources/design/src/mod/staticfield2depend/ClassDependsOnStaticField.java deleted file mode 100644 index 6d2a587..0000000 --- a/test/resources/design/src/mod/staticfield2depend/ClassDependsOnStaticField.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Jan 9, 2005 - */ -package mod.staticfield2depend; - -import mod.dummy.DummyClass; - -/** - * - * @author dhiller - */ -public class ClassDependsOnStaticField { - - public static DummyClass x = null; - - -} diff --git a/test/resources/design/src/mod/staticfielddepend/ClassDependsOnStaticField.java b/test/resources/design/src/mod/staticfielddepend/ClassDependsOnStaticField.java deleted file mode 100644 index 67f35db..0000000 --- a/test/resources/design/src/mod/staticfielddepend/ClassDependsOnStaticField.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Jan 9, 2005 - */ -package mod.staticfielddepend; - -import mod.dummy.DummyClass; - -/** - * - * @author dhiller - */ -public class ClassDependsOnStaticField { - - public void doNothing() { - String s = DummyClass.staticField; - } -} diff --git a/test/resources/design/src/mod/staticfinaldepend/ClassDependsOnConstant.java b/test/resources/design/src/mod/staticfinaldepend/ClassDependsOnConstant.java deleted file mode 100644 index 6273c9a..0000000 --- a/test/resources/design/src/mod/staticfinaldepend/ClassDependsOnConstant.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Jan 9, 2005 - */ -package mod.staticfinaldepend; - -import mod.dummy.DummyClass; - -/** - * - * @author dhiller - */ -public class ClassDependsOnConstant { - - public void doNothing() { - String s = ""+DummyClass.CONSTANT; - } -} diff --git a/test/resources/design/src/mod/superdepend/ClassDependsOnSuperMod2.java b/test/resources/design/src/mod/superdepend/ClassDependsOnSuperMod2.java deleted file mode 100644 index 880f757..0000000 --- a/test/resources/design/src/mod/superdepend/ClassDependsOnSuperMod2.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Dec 29, 2004 - */ -package mod.superdepend; - -import mod.dummy.DummyClass; - -/** - * This class depends on a superclass in another package creating a dependency - * between packages. - * @author dhiller - */ -public class ClassDependsOnSuperMod2 extends DummyClass { - -} diff --git a/test/resources/design/src/mod/temp/Factory.java b/test/resources/design/src/mod/temp/Factory.java deleted file mode 100644 index a05622e..0000000 --- a/test/resources/design/src/mod/temp/Factory.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Jan 13, 2005 - */ -package mod.temp; - -import mod.dummy.DummyClass; - -/** - * - * @author dhiller - */ -public class Factory { - - public static DummyClass create() { - return new DummyClass(); - } -} diff --git a/test/resources/design/src/mod/warfailure/ClassDependsOnSuperMod2.java b/test/resources/design/src/mod/warfailure/ClassDependsOnSuperMod2.java deleted file mode 100644 index 3ee27c7..0000000 --- a/test/resources/design/src/mod/warfailure/ClassDependsOnSuperMod2.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Dec 29, 2004 - */ -package mod.warfailure; - -import mod.dummy.DummyClass; - -/** - * This class depends on a superclass in another package creating a dependency - * between packages. - * @author dhiller - */ -public class ClassDependsOnSuperMod2 extends DummyClass { - -} diff --git a/test/resources/design/src/mod/warsuccess/ClassDependsOnSuperMod2.java b/test/resources/design/src/mod/warsuccess/ClassDependsOnSuperMod2.java deleted file mode 100644 index da5e8a2..0000000 --- a/test/resources/design/src/mod/warsuccess/ClassDependsOnSuperMod2.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * Created on Dec 29, 2004 - */ -package mod.warsuccess; - -import mod.dummy.DummyClass; - -/** - * This class depends on a superclass in another package creating a dependency - * between packages. - * @author dhiller - */ -public class ClassDependsOnSuperMod2 extends DummyClass { - -} diff --git a/test/resources/design/verifydesign.xml b/test/resources/design/verifydesign.xml deleted file mode 100644 index 53d7d17..0000000 --- a/test/resources/design/verifydesign.xml +++ /dev/null @@ -1,440 +0,0 @@ -<project name="test_verifydesign" basedir="." default="cleanup"> - <property name="output" value="build"/> - <property name="classes" value="${output}/classes"/> - <property name="jardir" value="${output}/jar"/> - <property name="jar" value="${jardir}/test.jar"/> - <property name="war" value="${jardir}/test.war"/> - <property name="src" value="src"/> - <property name="mod" value="mod"/> - <property name="dummy" value="dummy"/> - <property name="designs" value="designfiles"/> - <property name="webxml" value="web.xml"/> - - <taskdef resource="net/sf/antcontrib/antcontrib.properties"> - <classpath location="${antcontrib.jar}"/> - </taskdef> - - <target name="cleanup"> - <delete quiet="yes" dir="${output}"/> - </target> - - <target name="init"> - <mkdir dir="${jardir}"/> - </target> - - <target name="templateTest"> - <delete dir="${classes}"/> - <mkdir dir="${classes}"/> - <javac srcdir="${src}" debug="true" destdir="${classes}"> - <include name="${mod}/${dummy}/**"/> - <include name="${mod}/${package.under.test}/**"/> - </javac> - <jar destfile="${jar}" basedir="${classes}"/> - </target> - - <target name="templateWar"> - <delete dir="${classes}"/> - <mkdir dir="${classes}"/> - <javac srcdir="${src}" debug="true" destdir="${classes}"> - <include name="${mod}/${dummy}/**"/> - <include name="${mod}/${package.under.test}/**"/> - </javac> - - <war destfile="${war}" webxml="${webxml}"> - <classes dir="${classes}"/> - </war> - </target> - - <target name="testArrayDepend" depends="init"> - <property name="package" value="arraydepend"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testArrayDepend2" depends="init"> - <property name="package" value="arraydepend2"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testArrayDepend3" depends="init"> - <property name="package" value="arraydepend3"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testBadXML" depends="init"> - <property name="package" value="badxml"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testCastDepend" depends="init"> - <property name="package" value="castdepend"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testCatchDepend" depends="init"> - <property name="package" value="catchdepend"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testClassFiles" depends="init"> - <property name="package" value="castdepend"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign design="${designs}/${package}.xml"> - <path> - <fileset dir="${classes}"> - <include name="**/*.class"/> - </fileset> - </path> - </verifydesign> - </target> - - <target name="testDeclareJavaUtil" depends="init"> - <property name="package" value="declarejavautil"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testDeclareJavaUtilFail" depends="init"> - <property name="package" value="declarejavautil"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}fail.xml"/> - </target> - - <target name="testDeclareJavax" depends="init"> - <property name="package" value="declarejavax"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testDeclareJavaxPass" depends="init"> - <property name="package" value="declarejavax"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}pass.xml"/> - </target> - - <target name="testFieldDepend" depends="init"> - <property name="package" value="fielddepend"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testFieldRefDepend" depends="init"> - <property name="package" value="fieldrefdepend"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testInnerClassDepend" depends="init"> - <property name="package" value="innerclassdepend"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testInstanceOfDepend" depends="init"> - <property name="package" value="instanceofdepend"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testInterfaceDepend" depends="init"> - <property name="package" value="interfacedepend"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testLocalVarDepend" depends="init"> - <property name="package" value="localvardepend"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testLocalVarRefDepend" depends="init"> - <property name="package" value="localvarrefdepend"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testMissingAttribute" depends="init"> - <property name="package" value="missingattribute"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testMultipleErrors" depends="init"> - <property name="package" value="multipleerrors"/> - - <delete dir="${classes}"/> - <mkdir dir="${classes}"/> - <javac srcdir="${src}" debug="true" destdir="${classes}"> - <include name="${mod}/${dummy}/**"/> - <include name="${mod}/arraydepend/**"/> - <include name="${mod}/castdepend/**"/> - <include name="${mod}/catchdepend/**"/> - </javac> - <jar destfile="${jar}" basedir="${classes}"/> - - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testNewDepend" depends="init"> - <property name="package" value="newdepend"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testNewDepend2" depends="init"> - <property name="package" value="newdepend2"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testNoDebugOption" depends="init"> - <property name="package" value="nodebugoption"/> - - <delete dir="${classes}"/> - <mkdir dir="${classes}"/> - <javac srcdir="${src}" debug="true" destdir="${classes}"> - <include name="${mod}/${dummy}/**"/> - </javac> - <javac srcdir="${src}" debug="false" destdir="${classes}"> - <include name="${mod}/${package}/**"/> - </javac> - - <jar destfile="${jar}" basedir="${classes}"/> - - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testNoJar" depends="init"> - <property name="package" value="nojar"/> - - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testParamDepend" depends="init"> - <property name="package" value="paramdepend"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testPassLocalDepend" depends="init"> - <property name="package" value="passlocaldepend"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testPathElementLocation" depends="init"> - <property name="package" value="putstatic"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign design="${designs}/${package}.xml"> - <path> - <pathelement location="${classes}"/> - </path> - </verifydesign> - </target> - - <target name="testPathElementPath" depends="init"> - <property name="package" value="pathelementpath"/> - <property name="classes2" value="${output}/classes2"/> - <property name="classes3" value="${output}/classes3"/> - <mkdir dir="${classes}"/> - <mkdir dir="${classes2}"/> - <mkdir dir="${classes3}"/> - - <javac srcdir="${src}" debug="true" destdir="${classes}"> - <include name="${mod}/${dummy}/**"/> - </javac> - - <javac srcdir="${src}" debug="true" destdir="${classes2}" classpath="${classes}"> - <include name="${mod}/putstatic/**"/> - </javac> - - <javac srcdir="${src}" debug="true" destdir="${classes3}" classpath="${classes}"> - <include name="${mod}/arraydepend2/**"/> - </javac> - - <jar destfile="${jar}" basedir="${classes3}"/> - - <verifydesign design="${designs}/${package}.xml"> - <path> - <pathelement path="${classes2}:${jar}:${classes}"/> - </path> - </verifydesign> - </target> - - <target name="testPutStatic" depends="init"> - <property name="package" value="putstatic"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testRecursion" depends="init"> - <property name="package" value="recursion"/> - - <delete dir="${classes}"/> - <mkdir dir="${classes}"/> - <javac srcdir="${src}" debug="true" destdir="${classes}"> - <include name="${mod}/${package}/**"/> - </javac> - - <jar destfile="${jar}" basedir="${classes}"/> - - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testRecursion2" depends="init"> - <property name="package" value="recursion2"/> - - <delete dir="${classes}"/> - <mkdir dir="${classes}"/> - <javac srcdir="${src}" debug="true" destdir="${classes}"> - <include name="${mod}/${package}/**"/> - </javac> - - <jar destfile="${jar}" basedir="${classes}"/> - - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testRecursion3" depends="init"> - <property name="package" value="recursion3"/> - - <delete dir="${classes}"/> - <mkdir dir="${classes}"/> - <javac srcdir="${src}" debug="true" destdir="${classes}"> - <include name="${mod}/${package}/**"/> - </javac> - - <jar destfile="${jar}" basedir="${classes}"/> - - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testReturnValDepend" depends="init"> - <property name="package" value="returnvaldepend"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testSignatureExceptionDepend" depends="init"> - <property name="package" value="signatureexceptiondepend"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testStaticDepend" depends="init"> - <property name="package" value="staticdepend"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testStaticField2Depend" depends="init"> - <property name="package" value="staticfield2depend"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testStaticFieldDepend" depends="init"> - <property name="package" value="staticfielddepend"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testStaticFinalDepend" depends="init"> - <property name="package" value="staticfinaldepend"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml"/> - </target> - - <target name="testSuperDepend" depends="init"> - <property name="package" value="superdepend"/> - <antcall target="templateTest"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${jar}" design="${designs}/${package}.xml" - deletefiles="true"/> - </target> - - <target name="testWarSuccess" depends="init"> - <property name="package" value="warsuccess"/> - <antcall target="templateWar"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${war}" design="${designs}/${package}.xml"/> - </target> - - <target name="testWarFailure" depends="init"> - <property name="package" value="warfailure"/> - <antcall target="templateWar"> - <param name="package.under.test" value="${package}"/> - </antcall> - <verifydesign jar="${war}" design="${designs}/${package}.xml"/> - </target> -</project> diff --git a/test/resources/design/web.xml b/test/resources/design/web.xml deleted file mode 100644 index e69de29..0000000 --- a/test/resources/design/web.xml +++ /dev/null |