This is an automated email from the ASF dual-hosted git repository. juanpablo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/jspwiki.git
commit b6a41b847aae9c7862310a24d38088e1de6f3592 Author: juanpablo <juanpa...@apache.org> AuthorDate: Fri Oct 26 20:19:54 2018 +0200 Upgrade to JUnit 5 (II): remove all JUnit 4 test suites - there's no direct replacement yet on JUnit 5, and right now they don't seem to be widely used --- .../src/test/java/org/apache/wiki/AllTests.java | 69 ---------------------- .../java/org/apache/wiki/attachment/AllTests.java | 28 --------- .../test/java/org/apache/wiki/auth/AllTests.java | 36 ----------- .../java/org/apache/wiki/auth/acl/AllTests.java | 29 --------- .../org/apache/wiki/auth/authorize/AllTests.java | 30 ---------- .../java/org/apache/wiki/auth/login/AllTests.java | 30 ---------- .../org/apache/wiki/auth/permissions/AllTests.java | 31 ---------- .../java/org/apache/wiki/auth/user/AllTests.java | 29 --------- .../java/org/apache/wiki/content/AllTests.java | 29 --------- .../test/java/org/apache/wiki/diff/AllTests.java | 32 ---------- .../java/org/apache/wiki/filters/AllTests.java | 29 --------- .../java/org/apache/wiki/htmltowiki/AllTests.java | 28 --------- .../test/java/org/apache/wiki/parser/AllTests.java | 33 ----------- .../test/java/org/apache/wiki/plugin/AllTests.java | 39 ------------ .../java/org/apache/wiki/providers/AllTests.java | 31 ---------- .../test/java/org/apache/wiki/render/AllTests.java | 33 ----------- .../test/java/org/apache/wiki/rss/AllTests.java | 31 ---------- .../test/java/org/apache/wiki/search/AllTests.java | 27 --------- .../src/test/java/org/apache/wiki/ui/AllTests.java | 36 ----------- .../test/java/org/apache/wiki/url/AllTests.java | 33 ----------- .../test/java/org/apache/wiki/util/AllTests.java | 41 ------------- .../org/apache/wiki/util/comparators/AllTests.java | 29 --------- .../test/java/org/apache/wiki/web/AllTests.java | 28 --------- .../java/org/apache/wiki/workflow/AllTests.java | 34 ----------- .../test/java/org/apache/wiki/xmlrpc/AllTests.java | 28 --------- 25 files changed, 823 deletions(-) diff --git a/jspwiki-war/src/test/java/org/apache/wiki/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/AllTests.java deleted file mode 100644 index 79d7279..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/AllTests.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ - -package org.apache.wiki; - -import java.util.Properties; - -import org.apache.log4j.PropertyConfigurator; -import org.junit.Assert; -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { PageManagerTest.class, - PageSorterTest.class, - ReferenceManagerTest.class, - ReleaseTest.class, - VariableManagerTest.class, - WikiEngineTest.class, - WikiSessionTest.class, - org.apache.wiki.attachment.AllTests.class, - org.apache.wiki.auth.AllTests.class, - org.apache.wiki.content.AllTests.class, - org.apache.wiki.diff.AllTests.class, - org.apache.wiki.filters.AllTests.class, - org.apache.wiki.htmltowiki.AllTests.class, - org.apache.wiki.parser.AllTests.class, - org.apache.wiki.plugin.AllTests.class, - org.apache.wiki.providers.AllTests.class, - org.apache.wiki.render.AllTests.class, - org.apache.wiki.rss.AllTests.class, - org.apache.wiki.search.AllTests.class, - org.apache.wiki.ui.AllTests.class, - org.apache.wiki.url.AllTests.class, - org.apache.wiki.util.AllTests.class, - // org.apache.wiki.web.AllTests.class // These are not runnable without a running tomcat - org.apache.wiki.workflow.AllTests.class, - org.apache.wiki.xmlrpc.AllTests.class } ) -public class AllTests -{ - // - // Ensure everything runs properly and that we can locate all necessary thingies. - // - static { - Properties props = TestEngine.getTestProperties(); - if( props == null ) { - Assert.fail( "No property file found!" ); - } - PropertyConfigurator.configure( props ); - } - -} diff --git a/jspwiki-war/src/test/java/org/apache/wiki/attachment/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/attachment/AllTests.java deleted file mode 100644 index 907b120..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/attachment/AllTests.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ - -package org.apache.wiki.attachment; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { AttachmentManagerTest.class } ) -public class AllTests { -} diff --git a/jspwiki-war/src/test/java/org/apache/wiki/auth/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/auth/AllTests.java deleted file mode 100644 index 104d401..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/auth/AllTests.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ - -package org.apache.wiki.auth; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { AuthenticationManagerTest.class, - AuthorizationManagerTest.class, - GroupManagerTest.class, - UserManagerTest.class, - org.apache.wiki.auth.acl.AllTests.class, - org.apache.wiki.auth.authorize.AllTests.class, - org.apache.wiki.auth.login.AllTests.class, - org.apache.wiki.auth.permissions.AllTests.class, - org.apache.wiki.auth.user.AllTests.class } ) -public class AllTests { -} diff --git a/jspwiki-war/src/test/java/org/apache/wiki/auth/acl/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/auth/acl/AllTests.java deleted file mode 100644 index 023ca50..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/auth/acl/AllTests.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ -package org.apache.wiki.auth.acl; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { AclEntryImplTest.class, - AclImplTest.class, - DefaultAclManagerTest.class } ) -public class AllTests { -} diff --git a/jspwiki-war/src/test/java/org/apache/wiki/auth/authorize/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/auth/authorize/AllTests.java deleted file mode 100644 index af3ab1f..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/auth/authorize/AllTests.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ -package org.apache.wiki.auth.authorize; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { GroupTest.class, - JDBCGroupDatabaseTest.class, - WebContainerAuthorizerTest.class, - XMLGroupDatabaseTest.class } ) -public class AllTests { -} \ No newline at end of file diff --git a/jspwiki-war/src/test/java/org/apache/wiki/auth/login/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/auth/login/AllTests.java deleted file mode 100644 index ba795f7..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/auth/login/AllTests.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ -package org.apache.wiki.auth.login; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { AnonymousLoginModuleTest.class, - CookieAssertionLoginModuleTest.class, - UserDatabaseLoginModuleTest.class, - WebContainerLoginModuleTest.class } ) -public class AllTests { -} \ No newline at end of file diff --git a/jspwiki-war/src/test/java/org/apache/wiki/auth/permissions/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/auth/permissions/AllTests.java deleted file mode 100644 index 62fd344..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/auth/permissions/AllTests.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ -package org.apache.wiki.auth.permissions; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { AllPermissionTest.class, - AllPermissionCollectionTest.class, - GroupPermissionTest.class, - PagePermissionTest.class, - WikiPermissionTest.class } ) -public class AllTests { -} \ No newline at end of file diff --git a/jspwiki-war/src/test/java/org/apache/wiki/auth/user/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/auth/user/AllTests.java deleted file mode 100644 index 1e23624..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/auth/user/AllTests.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ -package org.apache.wiki.auth.user; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { UserProfileTest.class, - JDBCUserDatabaseTest.class, - XMLUserDatabaseTest.class } ) -public class AllTests { -} diff --git a/jspwiki-war/src/test/java/org/apache/wiki/content/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/content/AllTests.java deleted file mode 100644 index eed1549..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/content/AllTests.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ - -package org.apache.wiki.content; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { PageRenamerTest.class } ) -public class AllTests { -} diff --git a/jspwiki-war/src/test/java/org/apache/wiki/diff/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/diff/AllTests.java deleted file mode 100644 index f15953b..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/diff/AllTests.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ -/* - * (C) Janne Jalkanen 2005 - * - */ -package org.apache.wiki.diff; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { ContextualDiffProviderTest.class } ) -public class AllTests { -} diff --git a/jspwiki-war/src/test/java/org/apache/wiki/filters/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/filters/AllTests.java deleted file mode 100644 index 9b946fd..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/filters/AllTests.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ - -package org.apache.wiki.filters; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { DefaultFilterManagerTest.class } ) -public class AllTests { -} diff --git a/jspwiki-war/src/test/java/org/apache/wiki/htmltowiki/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/htmltowiki/AllTests.java deleted file mode 100644 index 4cf713f..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/htmltowiki/AllTests.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ -package org.apache.wiki.htmltowiki; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { HtmlStringToWikiTranslatorTest.class } ) -public class AllTests { -} diff --git a/jspwiki-war/src/test/java/org/apache/wiki/parser/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/parser/AllTests.java deleted file mode 100644 index 08b4723..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/parser/AllTests.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ -/* - * (C) Janne Jalkanen 2005 - * - */ -package org.apache.wiki.parser; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { CreoleToJSPWikiTranslatorTest.class, - JSPWikiMarkupParserTest.class, - MarkupParserTest.class} ) -public class AllTests { -} diff --git a/jspwiki-war/src/test/java/org/apache/wiki/plugin/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/plugin/AllTests.java deleted file mode 100644 index b392ec2..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/plugin/AllTests.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ - -package org.apache.wiki.plugin; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { CounterPluginTest.class, - GroupsTest.class, - IfPluginTest.class, - InsertPageTest.class, - DefaultPluginManagerTest.class, - ReferringPagesPluginTest.class, - TableOfContentsTest.class, - UndefinedPagesPluginTest.class, - RecentChangesPluginTest.class, - PageViewPluginTest.class, - ReferringUndefinedPagesPluginTest.class } ) -public class AllTests { -} diff --git a/jspwiki-war/src/test/java/org/apache/wiki/providers/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/providers/AllTests.java deleted file mode 100644 index 1ecabf5..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/providers/AllTests.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ - -package org.apache.wiki.providers; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { BasicAttachmentProviderTest.class, - CachingProviderTest.class, - FileSystemProviderTest.class, - VersioningFileProviderTest.class } ) -public class AllTests { -} diff --git a/jspwiki-war/src/test/java/org/apache/wiki/render/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/render/AllTests.java deleted file mode 100644 index e7de0d2..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/render/AllTests.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ -/* - * (C) Janne Jalkanen 2005 - * - */ -package org.apache.wiki.render; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { CreoleRendererTest.class, - RenderingManagerTest.class, - WysiwygEditingRendererTest.class } ) -public class AllTests { -} diff --git a/jspwiki-war/src/test/java/org/apache/wiki/rss/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/rss/AllTests.java deleted file mode 100644 index 08df2a2..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/rss/AllTests.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ -/* - * (C) Janne Jalkanen 2005 - * - */ -package org.apache.wiki.rss; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { RSSGeneratorTest.class } ) -public class AllTests { -} diff --git a/jspwiki-war/src/test/java/org/apache/wiki/search/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/search/AllTests.java deleted file mode 100644 index 76ab38b..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/search/AllTests.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ -package org.apache.wiki.search; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { SearchManagerTest.class } ) -public class AllTests { -} diff --git a/jspwiki-war/src/test/java/org/apache/wiki/ui/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/ui/AllTests.java deleted file mode 100644 index ddaf636..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/ui/AllTests.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ -/* - * (C) Janne Jalkanen 2005 - * - */ -package org.apache.wiki.ui; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { CommandResolverTest.class, - GroupCommandTest.class, - InputValidatorTest.class, - PageCommandTest.class, - RedirectCommandTest.class, - WikiCommandTest.class } ) -public class AllTests { -} \ No newline at end of file diff --git a/jspwiki-war/src/test/java/org/apache/wiki/url/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/url/AllTests.java deleted file mode 100644 index 854d095..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/url/AllTests.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ -/* - * (C) Janne Jalkanen 2005 - * - */ -package org.apache.wiki.url; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { DefaultURLConstructorTest.class, - ShortViewURLConstructorTest.class, - ShortURLConstructorTest.class } ) -public class AllTests { -} diff --git a/jspwiki-war/src/test/java/org/apache/wiki/util/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/util/AllTests.java deleted file mode 100644 index 19cb934..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/util/AllTests.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ -package org.apache.wiki.util; - -import org.apache.wiki.PropertyReaderTest; -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { ByteUtilsTest.class, - ClassUtilTest.class, - CommentedPropertiesTest.class, - CryptoUtilTest.class, - FileUtilTest.class, - MailUtilTest.class, - PriorityListTest.class, - PropertyReaderTest.class, - SerializerTest.class, - TextUtilTest.class, - TimedCounterListTest.class, - XmlUtilTest.class, - org.apache.wiki.util.comparators.AllTests.class } ) -public class AllTests { -} diff --git a/jspwiki-war/src/test/java/org/apache/wiki/util/comparators/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/util/comparators/AllTests.java deleted file mode 100644 index a752d05..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/util/comparators/AllTests.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ - -package org.apache.wiki.util.comparators; - - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { HumanComparatorTest.class } ) -public class AllTests { -} diff --git a/jspwiki-war/src/test/java/org/apache/wiki/web/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/web/AllTests.java deleted file mode 100644 index d674984..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/web/AllTests.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ - -package org.apache.wiki.web; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { /**/ } ) -public class AllTests { -} diff --git a/jspwiki-war/src/test/java/org/apache/wiki/workflow/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/workflow/AllTests.java deleted file mode 100644 index 0cbaaf0..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/workflow/AllTests.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ -package org.apache.wiki.workflow; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { ApprovalWorkflowTest.class, - DecisionQueueTest.class, - FactTest.class, - OutcomeTest.class, - SimpleDecisionTest.class, - TaskTest.class, - WorkflowManagerTest.class, - WorkflowTest.class } ) -public class AllTests { -} \ No newline at end of file diff --git a/jspwiki-war/src/test/java/org/apache/wiki/xmlrpc/AllTests.java b/jspwiki-war/src/test/java/org/apache/wiki/xmlrpc/AllTests.java deleted file mode 100644 index 84cc656..0000000 --- a/jspwiki-war/src/test/java/org/apache/wiki/xmlrpc/AllTests.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. - */ - -package org.apache.wiki.xmlrpc; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - -@RunWith( Suite.class ) -@Suite.SuiteClasses( { RPCHandlerTest.class } ) -public class AllTests { -}