]> source.dussan.org Git - sonarqube.git/commitdiff
Move integration & volume tests
authorsimonbrandhof <simon.brandhof@gmail.com>
Mon, 7 Feb 2011 13:22:42 +0000 (14:22 +0100)
committersimonbrandhof <simon.brandhof@gmail.com>
Mon, 7 Feb 2011 13:23:02 +0000 (14:23 +0100)
494 files changed:
tests/integration/checkstyle-extensions/checkstyle-extensions.xml [deleted file]
tests/integration/checkstyle-extensions/pom.xml [deleted file]
tests/integration/checkstyle-extensions/src/main/java/org/sonar/it/checkstyle/MethodsCountCheck.java [deleted file]
tests/integration/pmd-extensions/pmd-extensions.xml [deleted file]
tests/integration/pmd-extensions/pom.xml [deleted file]
tests/integration/pmd-extensions/src/main/java/org/sonar/it/pmd/MaximumMethodsCountCheck.java [deleted file]
tests/integration/pmd-extensions/src/main/resources/rulesets/extensions.xml [deleted file]
tests/integration/pom.xml [deleted file]
tests/integration/sonar-it-reference-plugin/pom.xml [deleted file]
tests/integration/sonar-it-reference-plugin/src/main/java/itests/ExcludedResourceFilter.java [deleted file]
tests/integration/sonar-it-reference-plugin/src/main/java/itests/ITestsPlugin.java [deleted file]
tests/integration/sonar-it-reference-plugin/src/main/java/itests/SampleSensor.java [deleted file]
tests/integration/sonar-it-reference-plugin/src/main/java/itests/ServerSideExtensionUsingExternalDependency.java [deleted file]
tests/integration/sonar-it-reference-plugin/src/main/java/itests/footer/SampleFooter.java [deleted file]
tests/integration/sonar-it-reference-plugin/src/main/java/itests/languages/LanguageWithoutRulesEngine.java [deleted file]
tests/integration/sonar-it-reference-plugin/src/main/java/itests/page/GwtSamplePage.java [deleted file]
tests/integration/sonar-it-reference-plugin/src/main/java/itests/page/RubyApiTestsPage.java [deleted file]
tests/integration/sonar-it-reference-plugin/src/main/java/itests/page/client/GwtModule.java [deleted file]
tests/integration/sonar-it-reference-plugin/src/main/java/itests/resourcetab/SampleResourceTab.java [deleted file]
tests/integration/sonar-it-reference-plugin/src/main/java/itests/resourcetab/client/GwtSampleResourceTab.java [deleted file]
tests/integration/sonar-it-reference-plugin/src/main/java/itests/ws/RubyWebService.java [deleted file]
tests/integration/sonar-it-reference-plugin/src/main/resources/itests/page/GwtModule.gwt.xml [deleted file]
tests/integration/sonar-it-reference-plugin/src/main/resources/itests/page/ruby_api_tests_page.html.erb [deleted file]
tests/integration/sonar-it-reference-plugin/src/main/resources/itests/resourcetab/GwtSampleResourceTab.gwt.xml [deleted file]
tests/integration/sonar-it-reference-plugin/src/main/resources/itests/resourcetab/public/sample.html [deleted file]
tests/integration/sonar-it-reference-plugin/src/main/resources/itests/ws/ruby_ws_controller.rb [deleted file]
tests/integration/sonar-it-reference-plugin/src/main/resources/static/file.html [deleted file]
tests/integration/tests/build.xml [deleted file]
tests/integration/tests/custom-projects/.gitignore [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-clover/build.xml [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-clover/lib/clover/clover.jar [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-clover/lib/clover/clover.license [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-clover/lib/cpl-v10.html [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-clover/lib/junit-3.8.2.jar [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-clover/pom.xml [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-clover/src/main/java/com/cenqua/samples/money/IMoney.java [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-clover/src/main/java/com/cenqua/samples/money/Money.java [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-clover/src/main/java/com/cenqua/samples/money/MoneyBag.java [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-clover/src/test/java/com/cenqua/samples/money/MoneyBagTest.java [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-clover/src/test/java/com/cenqua/samples/money/MoneyTest.java [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-cobertura/build.xml [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/asm-3.0.jar [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/asm-tree-3.0.jar [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/cobertura.jar [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/jakarta-oro-2.0.8.jar [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/jakarta-oro-license.txt [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/log4j-1.2.9.jar [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/log4j-license.txt [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/junit-3.8.2.jar [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/log4j-1.2.13.jar [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-cobertura/pom.xml [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-cobertura/src/FailTest.java [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-cobertura/src/ant/HelloWorld.java [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-cobertura/src/ant/HelloWorldTest.java [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-junit/build.xml [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-junit/lib/junit-3.8.2.jar [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-junit/lib/log4j-1.2.13.jar [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-junit/pom.xml [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-junit/src/ant/HelloWorld.java [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-junit/test/FailTest.java [deleted file]
tests/integration/tests/custom-projects/ant-dynamic-junit/test/ant/HelloWorldTest.java [deleted file]
tests/integration/tests/custom-projects/ant-static/build.xml [deleted file]
tests/integration/tests/custom-projects/ant-static/lib/log4j-1.2.13.jar [deleted file]
tests/integration/tests/custom-projects/ant-static/pom.xml [deleted file]
tests/integration/tests/custom-projects/ant-static/src/ant/HelloWorld.java [deleted file]
tests/integration/tests/custom-projects/big-project/generate-sources.rb [deleted file]
tests/integration/tests/custom-projects/big-project/pom.xml [deleted file]
tests/integration/tests/custom-projects/big-project/template.java [deleted file]
tests/integration/tests/custom-projects/deprecated-sonar-light/build.xml [deleted file]
tests/integration/tests/custom-projects/deprecated-sonar-light/lib/log4j-1.2.13.jar [deleted file]
tests/integration/tests/custom-projects/deprecated-sonar-light/pom.xml [deleted file]
tests/integration/tests/custom-projects/deprecated-sonar-light/src/hello/HelloWorld.java [deleted file]
tests/integration/tests/custom-projects/invalid-java-source-dir/pom.xml [deleted file]
tests/integration/tests/custom-projects/invalid-java-source-dir/src/main/java/com/foo/Bar.java [deleted file]
tests/integration/tests/custom-projects/reuse-coverage-reports/pom.xml [deleted file]
tests/integration/tests/custom-projects/reuse-coverage-reports/src/main/java/org/sonar/tests/Hello.java [deleted file]
tests/integration/tests/custom-projects/reuse-coverage-reports/src/test/java/org/sonar/tests/HelloTest.java [deleted file]
tests/integration/tests/custom-projects/timemachine/pom.xml [deleted file]
tests/integration/tests/custom-projects/timemachine/src/main/java/org/sonar/tests/timemachine/Hello.java [deleted file]
tests/integration/tests/custom-projects/violations-timemachine/README.txt [deleted file]
tests/integration/tests/custom-projects/violations-timemachine/v1/pom.xml [deleted file]
tests/integration/tests/custom-projects/violations-timemachine/v1/src/main/java/org/sonar/tests/violationstimemachine/FileRemovedInV2.java [deleted file]
tests/integration/tests/custom-projects/violations-timemachine/v1/src/main/java/org/sonar/tests/violationstimemachine/Hello.java [deleted file]
tests/integration/tests/custom-projects/violations-timemachine/v2/pom.xml [deleted file]
tests/integration/tests/custom-projects/violations-timemachine/v2/src/main/java/org/sonar/tests/violationstimemachine/FileAddedInV2.java [deleted file]
tests/integration/tests/custom-projects/violations-timemachine/v2/src/main/java/org/sonar/tests/violationstimemachine/Hello.java [deleted file]
tests/integration/tests/custom-projects/violations-timemachine/v2/src/main/java/org/sonar/tests/violationstimemachine/SecondFileAddedInV2.java [deleted file]
tests/integration/tests/integration-tests-backup.xml [deleted file]
tests/integration/tests/maven-projects/SONAR-1074-commented-code/pom.xml [deleted file]
tests/integration/tests/maven-projects/SONAR-1074-commented-code/src/main/java/com/test/CommentedCode.java [deleted file]
tests/integration/tests/maven-projects/SONAR-1772/pom.xml [deleted file]
tests/integration/tests/maven-projects/SONAR-1772/src/main/java/org/sonar/tests/Hello.java [deleted file]
tests/integration/tests/maven-projects/SONAR-594-no-violations/pom.xml [deleted file]
tests/integration/tests/maven-projects/SONAR-594-no-violations/src/main/java/org/sonar/tests/Hello.java [deleted file]
tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/pom.xml [deleted file]
tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/src/main/java/org/sonar/tests/CloseableResource.java [deleted file]
tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/src/main/java/org/sonar/tests/ConnectionIsClosed.java [deleted file]
tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/src/main/java/org/sonar/tests/ConnectionIsClosedInOtherMethod.java [deleted file]
tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/src/main/java/org/sonar/tests/ConnectionIsNotClosed.java [deleted file]
tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/src/main/java/org/sonar/tests/ResourceIsClosed.java [deleted file]
tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/src/main/java/org/sonar/tests/ResourceIsClosedInOtherMethod.java [deleted file]
tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/src/main/java/org/sonar/tests/ResourceIsNotClosed.java [deleted file]
tests/integration/tests/maven-projects/SONAR-787-checkstyle-SuppressionCommentFilter/pom.xml [deleted file]
tests/integration/tests/maven-projects/SONAR-787-checkstyle-SuppressionCommentFilter/src/main/java/org/sonar/itests/IgnoreCheckstyleFalsePositives.java [deleted file]
tests/integration/tests/maven-projects/branch/pom.xml [deleted file]
tests/integration/tests/maven-projects/branch/src/main/java/org/sonar/tests/reference/HelloSwiss.java [deleted file]
tests/integration/tests/maven-projects/branch/src/main/java/org/sonar/tests/reference/HelloWorld.java [deleted file]
tests/integration/tests/maven-projects/clover2-skip/module1/pom.xml [deleted file]
tests/integration/tests/maven-projects/clover2-skip/module1/src/main/java/org/sonar/tests/clover2/module1/Hello.java [deleted file]
tests/integration/tests/maven-projects/clover2-skip/module1/src/main/java/org/sonar/tests/clover2/module1/MyInterface.java [deleted file]
tests/integration/tests/maven-projects/clover2-skip/module1/src/main/java/org/sonar/tests/clover2/module1/NotTestedClass.java [deleted file]
tests/integration/tests/maven-projects/clover2-skip/module1/src/test/java/org/sonar/tests/clover2/module1/HelloTest.java [deleted file]
tests/integration/tests/maven-projects/clover2-skip/module2/pom.xml [deleted file]
tests/integration/tests/maven-projects/clover2-skip/module2/src/main/java/org/sonar/tests/clover2/module2/Hello.java [deleted file]
tests/integration/tests/maven-projects/clover2-skip/module2/src/main/java/org/sonar/tests/clover2/module2/NotTestedClass.java [deleted file]
tests/integration/tests/maven-projects/clover2-skip/module2/src/test/java/org/sonar/tests/clover2/module2/HelloTest.java [deleted file]
tests/integration/tests/maven-projects/clover2-skip/pom.xml [deleted file]
tests/integration/tests/maven-projects/clover2/module1/pom.xml [deleted file]
tests/integration/tests/maven-projects/clover2/module1/src/main/java/org/sonar/tests/clover2/module1/Hello.java [deleted file]
tests/integration/tests/maven-projects/clover2/module1/src/main/java/org/sonar/tests/clover2/module1/MyInterface.java [deleted file]
tests/integration/tests/maven-projects/clover2/module1/src/main/java/org/sonar/tests/clover2/module1/NotTestedClass.java [deleted file]
tests/integration/tests/maven-projects/clover2/module1/src/test/java/org/sonar/tests/clover2/module1/HelloTest.java [deleted file]
tests/integration/tests/maven-projects/clover2/module2/pom.xml [deleted file]
tests/integration/tests/maven-projects/clover2/module2/src/main/java/org/sonar/tests/clover2/module2/Hello.java [deleted file]
tests/integration/tests/maven-projects/clover2/module2/src/main/java/org/sonar/tests/clover2/module2/NotTestedClass.java [deleted file]
tests/integration/tests/maven-projects/clover2/module2/src/test/java/org/sonar/tests/clover2/module2/HelloTest.java [deleted file]
tests/integration/tests/maven-projects/clover2/pom.xml [deleted file]
tests/integration/tests/maven-projects/clover3/module1/pom.xml [deleted file]
tests/integration/tests/maven-projects/clover3/module1/src/main/java/org/sonar/tests/clover3/module1/Hello.java [deleted file]
tests/integration/tests/maven-projects/clover3/module1/src/main/java/org/sonar/tests/clover3/module1/MyInterface.java [deleted file]
tests/integration/tests/maven-projects/clover3/module1/src/main/java/org/sonar/tests/clover3/module1/NotTestedClass.java [deleted file]
tests/integration/tests/maven-projects/clover3/module1/src/test/java/org/sonar/tests/clover3/module1/HelloTest.java [deleted file]
tests/integration/tests/maven-projects/clover3/module2/pom.xml [deleted file]
tests/integration/tests/maven-projects/clover3/module2/src/main/java/org/sonar/tests/clover3/module2/Hello.java [deleted file]
tests/integration/tests/maven-projects/clover3/module2/src/main/java/org/sonar/tests/clover3/module2/NotTestedClass.java [deleted file]
tests/integration/tests/maven-projects/clover3/module2/src/test/java/org/sonar/tests/clover3/module2/HelloTest.java [deleted file]
tests/integration/tests/maven-projects/clover3/pom.xml [deleted file]
tests/integration/tests/maven-projects/do-not-import-sources/pom.xml [deleted file]
tests/integration/tests/maven-projects/do-not-import-sources/src/main/java/org/sonar/tests/doNotImportSources/Hello.java [deleted file]
tests/integration/tests/maven-projects/do-not-import-sources/src/main/java/org/sonar/tests/doNotImportSources/Swiss.java [deleted file]
tests/integration/tests/maven-projects/duplications/pom.xml [deleted file]
tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_lines_with_other_package1/DuplicatedLinesWithOtherPackage.java [deleted file]
tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_lines_with_other_package2/DuplicatedLinesWithOtherPackage.java [deleted file]
tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_lines_within_package/DuplicatedLinesInSamePackage1.java [deleted file]
tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_lines_within_package/DuplicatedLinesInSamePackage2.java [deleted file]
tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_lines_within_same_class/DuplicatedLinesInSameClass.java [deleted file]
tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_same_lines_within_3_classes/Class1.java [deleted file]
tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_same_lines_within_3_classes/Class2.java [deleted file]
tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_same_lines_within_3_classes/Class3.java [deleted file]
tests/integration/tests/maven-projects/exclusions/pom.xml [deleted file]
tests/integration/tests/maven-projects/exclusions/src/main/java/ClassOnDefaultPackage.java [deleted file]
tests/integration/tests/maven-projects/exclusions/src/main/java/org/sonar/tests/ClassOne.java [deleted file]
tests/integration/tests/maven-projects/exclusions/src/main/java/org/sonar/tests/ClassToExclude.java [deleted file]
tests/integration/tests/maven-projects/exclusions/src/main/java/org/sonar/tests/ClassTwo.java [deleted file]
tests/integration/tests/maven-projects/exclusions/src/main/java/org/sonar/tests/NoSonarComment.java [deleted file]
tests/integration/tests/maven-projects/exclusions/src/main/java/org/sonar/tests/packageToExclude/ClassThree.java [deleted file]
tests/integration/tests/maven-projects/exclusions/src/test/java/org/sonar/tests/ClassOneTest.java [deleted file]
tests/integration/tests/maven-projects/exclusions/src/test/java/org/sonar/tests/ClassToExcludeTest.java [deleted file]
tests/integration/tests/maven-projects/exclusions/src/test/java/org/sonar/tests/ClassTwoTest.java [deleted file]
tests/integration/tests/maven-projects/jar-without-sources/pom.xml [deleted file]
tests/integration/tests/maven-projects/java-complexity/pom.xml [deleted file]
tests/integration/tests/maven-projects/java-complexity/src/main/java/foo/AnonymousClass.java [deleted file]
tests/integration/tests/maven-projects/java-complexity/src/main/java/foo/ContainsInnerClasses.java [deleted file]
tests/integration/tests/maven-projects/java-complexity/src/main/java/foo/ExcludedByFilter.java [deleted file]
tests/integration/tests/maven-projects/java-complexity/src/main/java/foo/Helloworld.java [deleted file]
tests/integration/tests/maven-projects/java-complexity/src/main/java/foo/ZeroComplexity.java [deleted file]
tests/integration/tests/maven-projects/java-inner-classes/pom.xml [deleted file]
tests/integration/tests/maven-projects/java-inner-classes/src/main/java/WithAnonymousClass.java [deleted file]
tests/integration/tests/maven-projects/java-inner-classes/src/main/java/WithInnerClass.java [deleted file]
tests/integration/tests/maven-projects/java-inner-classes/src/main/java/WithLocalInnerClass.java [deleted file]
tests/integration/tests/maven-projects/java-inner-classes/src/main/java/WithStaticInnerClass.java [deleted file]
tests/integration/tests/maven-projects/java-inner-classes/src/main/java/WithSubClass.java [deleted file]
tests/integration/tests/maven-projects/java-inner-classes/src/test/java/WithAnonymousClassTest.java [deleted file]
tests/integration/tests/maven-projects/java-inner-classes/src/test/java/WithInnerClassTest.java [deleted file]
tests/integration/tests/maven-projects/java-inner-classes/src/test/java/WithLocalInnerClassTest.java [deleted file]
tests/integration/tests/maven-projects/java-inner-classes/src/test/java/WithStaticInnerClassTest.java [deleted file]
tests/integration/tests/maven-projects/java-inner-classes/src/test/java/WithSubClassTest.java [deleted file]
tests/integration/tests/maven-projects/java4/pom.xml [deleted file]
tests/integration/tests/maven-projects/java4/src/main/java/org/sonar/tests/java4/Java4.java [deleted file]
tests/integration/tests/maven-projects/jee-sample/ear-module/pom.xml [deleted file]
tests/integration/tests/maven-projects/jee-sample/ejb-module/pom.xml [deleted file]
tests/integration/tests/maven-projects/jee-sample/ejb-module/src/main/java/org/sonar/tests/App.java [deleted file]
tests/integration/tests/maven-projects/jee-sample/ejb-module/src/main/resources/META-INF/ejb-jar.xml [deleted file]
tests/integration/tests/maven-projects/jee-sample/ejb-module/src/test/java/org/sonar/tests/AppTest.java [deleted file]
tests/integration/tests/maven-projects/jee-sample/java-module/pom.xml [deleted file]
tests/integration/tests/maven-projects/jee-sample/java-module/src/main/java/org/sonar/tests/App.java [deleted file]
tests/integration/tests/maven-projects/jee-sample/java-module/src/test/java/org/sonar/tests/AppTest.java [deleted file]
tests/integration/tests/maven-projects/jee-sample/pom.xml [deleted file]
tests/integration/tests/maven-projects/jee-sample/web-module/pom.xml [deleted file]
tests/integration/tests/maven-projects/jee-sample/web-module/src/main/webapp/WEB-INF/web.xml [deleted file]
tests/integration/tests/maven-projects/jee-sample/web-module/src/main/webapp/index.jsp [deleted file]
tests/integration/tests/maven-projects/many-source-dirs/pom.xml [deleted file]
tests/integration/tests/maven-projects/many-source-dirs/src/main/java/org/sonar/tests/FirstClass.java [deleted file]
tests/integration/tests/maven-projects/many-source-dirs/src/main/java2/org/sonar/tests/SecondClass.java [deleted file]
tests/integration/tests/maven-projects/many-source-dirs/src/test/java/org/sonar/tests/SecondClassTest.java [deleted file]
tests/integration/tests/maven-projects/many-source-dirs/src/test/java2/org/sonar/tests/FirstClassTest.java [deleted file]
tests/integration/tests/maven-projects/maven-custom-type/module.properties [deleted file]
tests/integration/tests/maven-projects/maven-custom-type/pom.xml [deleted file]
tests/integration/tests/maven-projects/maven-custom-type/src/main/config/context/service-context.xml [deleted file]
tests/integration/tests/maven-projects/maven-custom-type/src/main/config/log4j.properties [deleted file]
tests/integration/tests/maven-projects/maven-custom-type/src/main/config/module-context.xml [deleted file]
tests/integration/tests/maven-projects/maven-custom-type/src/main/webapp/css/demoamp.css [deleted file]
tests/integration/tests/maven-projects/maven-custom-type/src/main/webapp/images/sourcesense.gif [deleted file]
tests/integration/tests/maven-projects/maven-custom-type/src/main/webapp/jsp/demoamp.jsp [deleted file]
tests/integration/tests/maven-projects/maven-custom-type/src/main/webapp/licenses/README-licenses.txt [deleted file]
tests/integration/tests/maven-projects/maven-custom-type/src/main/webapp/scripts/demoamp.js [deleted file]
tests/integration/tests/maven-projects/maven-custom-type/src/test/properties/local/application.properties [deleted file]
tests/integration/tests/maven-projects/maven-custom-type/src/test/resources/alfresco/extension/custom-repository-context.xml [deleted file]
tests/integration/tests/maven-projects/maven-custom-type/src/test/resources/alfresco/extension/file-servers-custom.xml [deleted file]
tests/integration/tests/maven-projects/maven-custom-type/src/test/resources/log4j.properties [deleted file]
tests/integration/tests/maven-projects/maven-extensions/pom.xml [deleted file]
tests/integration/tests/maven-projects/maven-extensions/src/main/java/org/sonar/tests/mavenExtensions/Hello.java [deleted file]
tests/integration/tests/maven-projects/maven-invalid-parameters/module_a/pom.xml [deleted file]
tests/integration/tests/maven-projects/maven-invalid-parameters/module_a/src/main/java/org/sonar/tests/Hello.java [deleted file]
tests/integration/tests/maven-projects/maven-invalid-parameters/module_b/pom.xml [deleted file]
tests/integration/tests/maven-projects/maven-invalid-parameters/module_b/src/main/java/org/sonar/tests/Hello.java [deleted file]
tests/integration/tests/maven-projects/maven-invalid-parameters/pom.xml [deleted file]
tests/integration/tests/maven-projects/modules/module_a/pom.xml [deleted file]
tests/integration/tests/maven-projects/modules/module_a/submodule_a1/pom.xml [deleted file]
tests/integration/tests/maven-projects/modules/module_a/submodule_a1/src/main/java/org/codehaus/sonar/samples/samplewithmodules/submodulea1/HelloA1.java [deleted file]
tests/integration/tests/maven-projects/modules/module_a/submodule_a2/pom.xml [deleted file]
tests/integration/tests/maven-projects/modules/module_a/submodule_a2/src/main/java/org/codehaus/sonar/samples/samplewithmodules/submodulea2/HelloA2.java [deleted file]
tests/integration/tests/maven-projects/modules/module_b/pom.xml [deleted file]
tests/integration/tests/maven-projects/modules/module_b/submodule_b1/pom.xml [deleted file]
tests/integration/tests/maven-projects/modules/module_b/submodule_b1/src/main/java/org/codehaus/sonar/samples/samplewithmodules/submoduleb1/HelloB1.java [deleted file]
tests/integration/tests/maven-projects/modules/module_b/submodule_b2/pom.xml [deleted file]
tests/integration/tests/maven-projects/modules/module_b/submodule_b2/src/main/java/org/codehaus/sonar/samples/samplewithmodules/submoduleb2/HelloB2.java [deleted file]
tests/integration/tests/maven-projects/modules/module_to_skip/pom.xml [deleted file]
tests/integration/tests/maven-projects/modules/module_to_skip/src/main/java/org/codehaus/sonar/tests/modules/moduleToSkip/SkippedClass.java [deleted file]
tests/integration/tests/maven-projects/modules/pom.xml [deleted file]
tests/integration/tests/maven-projects/no-tests/pom.xml [deleted file]
tests/integration/tests/maven-projects/no-tests/src/main/java/org/sonar/tests/Hello.java [deleted file]
tests/integration/tests/maven-projects/plugin-build-helper/pom.xml [deleted file]
tests/integration/tests/maven-projects/plugin-build-helper/src/main/java/Java1PackageClass.java [deleted file]
tests/integration/tests/maven-projects/plugin-build-helper/src/main/java2/Java2PackageClass.java [deleted file]
tests/integration/tests/maven-projects/plugin-build-helper/src/main/java3/Java3PackageClass.java [deleted file]
tests/integration/tests/maven-projects/pom-without-modules/pom.xml [deleted file]
tests/integration/tests/maven-projects/project-to-disable/pom.xml [deleted file]
tests/integration/tests/maven-projects/project-to-disable/src/main/java/Hello.java [deleted file]
tests/integration/tests/maven-projects/reference/pom.xml [deleted file]
tests/integration/tests/maven-projects/reference/src/main/java/ClassOnDefaultPackage.java [deleted file]
tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/ClassUnderTest.java [deleted file]
tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/ClassWithComments.java [deleted file]
tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/ClassWithPackageImportsComment.java [deleted file]
tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/EmptyClass.java [deleted file]
tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/EmptyFile.java [deleted file]
tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/HibernateModel.java [deleted file]
tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/InnerClass.java [deleted file]
tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/InterfaceWithConstants.java [deleted file]
tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/PureAbstractClass.java [deleted file]
tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/PureInterface.java [deleted file]
tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/Utf8Characters.java [deleted file]
tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/duplicated_lines_with_other_package1/DuplicatedLinesWithOtherPackage.java [deleted file]
tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/duplicated_lines_with_other_package2/DuplicatedLinesWithOtherPackage.java [deleted file]
tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/duplicated_lines_within_package/DuplicatedLinesInSamePackage1.java [deleted file]
tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/duplicated_lines_within_package/DuplicatedLinesInSamePackage2.java [deleted file]
tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/duplicated_lines_within_same_class/DuplicatedLinesInSameClass.java [deleted file]
tests/integration/tests/maven-projects/reference/src/main/resources/META-INF/persistence.xml [deleted file]
tests/integration/tests/maven-projects/reference/src/test/java/org/sonar/samples/ClassUnderTestTest.java [deleted file]
tests/integration/tests/maven-projects/reference/src/test/java/org/sonar/samples/InnerClassTest.java [deleted file]
tests/integration/tests/maven-projects/rules-on-tests/pom.xml [deleted file]
tests/integration/tests/maven-projects/rules-on-tests/src/main/java/org/sonar/tests/rulesOnTests/Hello.java [deleted file]
tests/integration/tests/maven-projects/rules-on-tests/src/main/java/org/sonar/tests/rulesOnTests/World.java [deleted file]
tests/integration/tests/maven-projects/rules-on-tests/src/test/java/org/sonar/tests/rulesOnTests/HelloTest.java [deleted file]
tests/integration/tests/maven-projects/rules-on-tests/src/test/java/org/sonar/tests/rulesOnTests/WorldTest.java [deleted file]
tests/integration/tests/maven-projects/single-classes/pom.xml [deleted file]
tests/integration/tests/maven-projects/single-classes/src/main/java/org/sonar/tests/SONAR582ViolationsWithoutLines.java [deleted file]
tests/integration/tests/maven-projects/single-classes/src/main/java/org/sonar/tests/SONAR684EncodeViolationMessages.java [deleted file]
tests/integration/tests/maven-projects/sjis-charset/pom.xml [deleted file]
tests/integration/tests/maven-projects/sjis-charset/src/main/java/com/test/App.java [deleted file]
tests/integration/tests/maven-projects/sjis-charset/src/main/java/com/test/AppCpdBug.java [deleted file]
tests/integration/tests/maven-projects/sjis-charset/src/main/java/com/test/AppDuplication.java [deleted file]
tests/integration/tests/maven-projects/sjis-charset/src/test/java/com/test/AppTest.java [deleted file]
tests/integration/tests/maven-projects/skip-surefire-tests/pom.xml [deleted file]
tests/integration/tests/maven-projects/skip-surefire-tests/src/main/java/org/sonar/tests/skipSurefireTests/Hello.java [deleted file]
tests/integration/tests/maven-projects/skip-surefire-tests/src/test/java/org/sonar/tests/skipSurefireTests/HelloTest.java [deleted file]
tests/integration/tests/maven-projects/test-failures/moduleA/pom.xml [deleted file]
tests/integration/tests/maven-projects/test-failures/moduleA/src/main/java/ch/hortis/sonar/samples/testFailures/moduleA/ClassA.java [deleted file]
tests/integration/tests/maven-projects/test-failures/moduleA/src/test/java/ch/hortis/sonar/samples/testFailures/moduleA/FailTest.java [deleted file]
tests/integration/tests/maven-projects/test-failures/moduleB/pom.xml [deleted file]
tests/integration/tests/maven-projects/test-failures/moduleB/src/main/java/ch/hortis/sonar/samples/compileFailures/moduleB/ClassB.java [deleted file]
tests/integration/tests/maven-projects/test-failures/moduleB/src/test/java/ch/hortis/sonar/samples/testFailures/moduleB/NoTest.java [deleted file]
tests/integration/tests/maven-projects/test-failures/moduleB/src/test/java/ch/hortis/sonar/samples/testFailures/moduleB/SkippedTest.java [deleted file]
tests/integration/tests/maven-projects/test-failures/moduleB/src/test/java/ch/hortis/sonar/samples/testFailures/moduleB/SuccessTest.java [deleted file]
tests/integration/tests/maven-projects/test-failures/pom.xml [deleted file]
tests/integration/tests/pom.xml [deleted file]
tests/integration/tests/src/test/java/org/sonar/tests/integration/GzipCompressionIT.java [deleted file]
tests/integration/tests/src/test/java/org/sonar/tests/integration/ITUtils.java [deleted file]
tests/integration/tests/src/test/java/org/sonar/tests/integration/JavaComplexityIT.java [deleted file]
tests/integration/tests/src/test/java/org/sonar/tests/integration/ServerIT.java [deleted file]
tests/integration/tests/src/test/java/org/sonar/tests/integration/Struts139IT.java [deleted file]
tests/integration/tests/src/test/java/org/sonar/tests/integration/UpdateCenterIT.java [deleted file]
tests/integration/tests/src/test/java/org/sonar/tests/integration/VariationsIT.java [deleted file]
tests/integration/tests/src/test/java/org/sonar/tests/integration/ViolationsTimeMachineIT.java [deleted file]
tests/integration/tests/src/test/java/org/sonar/tests/integration/selenium/CustomizeComponentsPageIT.java [deleted file]
tests/integration/tests/src/test/java/org/sonar/tests/integration/selenium/DeployUIExtensionsIT.java [deleted file]
tests/integration/tests/src/test/java/org/sonar/tests/integration/selenium/SonarTestCase.java [deleted file]
tests/integration/tests/src/test/selenium/SONAR-1032-ws-api.html [deleted file]
tests/integration/tests/src/test/selenium/SONAR-1074-commented-code.html [deleted file]
tests/integration/tests/src/test/selenium/SONAR-1709-static-resources.html [deleted file]
tests/integration/tests/src/test/selenium/SONAR-1772-findbugs-violations.html [deleted file]
tests/integration/tests/src/test/selenium/SONAR-222_maven_extensions.html [deleted file]
tests/integration/tests/src/test/selenium/SONAR-594-jee-sample.html [deleted file]
tests/integration/tests/src/test/selenium/SONAR-594-no-violations.html [deleted file]
tests/integration/tests/src/test/selenium/SONAR-684-encode-violation-messages.html [deleted file]
tests/integration/tests/src/test/selenium/SONAR-767-pmd-close-resource-rule.html [deleted file]
tests/integration/tests/src/test/selenium/SONAR-787-checkstyle-SuppressionCommentFilter.html [deleted file]
tests/integration/tests/src/test/selenium/SONAR-981-clover-skip.html [deleted file]
tests/integration/tests/src/test/selenium/alerts/create_and_delete_alert_on_lines_of_code.html [deleted file]
tests/integration/tests/src/test/selenium/alerts/should_validate_alert_on_creation.html [deleted file]
tests/integration/tests/src/test/selenium/all-tests.html [deleted file]
tests/integration/tests/src/test/selenium/authentication/login_cancel.html [deleted file]
tests/integration/tests/src/test/selenium/authentication/login_successful.html [deleted file]
tests/integration/tests/src/test/selenium/authentication/login_wrong_password.html [deleted file]
tests/integration/tests/src/test/selenium/branch.html [deleted file]
tests/integration/tests/src/test/selenium/clover/clover2.html [deleted file]
tests/integration/tests/src/test/selenium/clover/clover3.html [deleted file]
tests/integration/tests/src/test/selenium/contextualized-breadcrumb.html [deleted file]
tests/integration/tests/src/test/selenium/coverage_clouds/clouds_on_packages.html [deleted file]
tests/integration/tests/src/test/selenium/coverage_clouds/coverage_clouds_project_risk.html [deleted file]
tests/integration/tests/src/test/selenium/coverage_clouds/coverage_clouds_quick_wins.html [deleted file]
tests/integration/tests/src/test/selenium/coverage_clouds/coverage_clouds_source_tab.html [deleted file]
tests/integration/tests/src/test/selenium/custom-maven-type.html [deleted file]
tests/integration/tests/src/test/selenium/dashboard/SONAR-601-project-without-measures.html [deleted file]
tests/integration/tests/src/test/selenium/dashboard/basic-archetype-widget.html [deleted file]
tests/integration/tests/src/test/selenium/dashboard/chidamber_kemerer_widget.html [deleted file]
tests/integration/tests/src/test/selenium/dashboard/deprecated-url-format.html [deleted file]
tests/integration/tests/src/test/selenium/dashboard/display_files_and_classes.html [deleted file]
tests/integration/tests/src/test/selenium/dashboard/file_widget_on_packages.html [deleted file]
tests/integration/tests/src/test/selenium/dashboard/no_file_design_widget_on_projects.html [deleted file]
tests/integration/tests/src/test/selenium/dashboard/no_package_design_widget_on_packages.html [deleted file]
tests/integration/tests/src/test/selenium/dashboard/package_design_widget_on_projects.html [deleted file]
tests/integration/tests/src/test/selenium/dashboard/reference.html [deleted file]
tests/integration/tests/src/test/selenium/dependencies/no_results.html [deleted file]
tests/integration/tests/src/test/selenium/dependencies/search_subprojects.html [deleted file]
tests/integration/tests/src/test/selenium/dependencies/standard_usage.html [deleted file]
tests/integration/tests/src/test/selenium/dependencies/too_short_search.html [deleted file]
tests/integration/tests/src/test/selenium/design/drilldown_on_lcom4.html [deleted file]
tests/integration/tests/src/test/selenium/design/drilldown_on_rfc.html [deleted file]
tests/integration/tests/src/test/selenium/design/drilldown_to_dsm.html [deleted file]
tests/integration/tests/src/test/selenium/design/lcom4_tab.html [deleted file]
tests/integration/tests/src/test/selenium/design/load_dsm_at_startup_when_drilldown_to_zero_package_tangles.html [deleted file]
tests/integration/tests/src/test/selenium/disabled-project.html [deleted file]
tests/integration/tests/src/test/selenium/do-not-import-sources.html [deleted file]
tests/integration/tests/src/test/selenium/duplicated-lines/drilldown-without-ratio.html [deleted file]
tests/integration/tests/src/test/selenium/event_categories/should_create_category.html [deleted file]
tests/integration/tests/src/test/selenium/event_categories/should_delete_category.html [deleted file]
tests/integration/tests/src/test/selenium/event_categories/should_edit_category.html [deleted file]
tests/integration/tests/src/test/selenium/event_categories/should_validate_category.html [deleted file]
tests/integration/tests/src/test/selenium/events/create_event_on_last_snapshot.html [deleted file]
tests/integration/tests/src/test/selenium/events/create_event_with_special_characters.html [deleted file]
tests/integration/tests/src/test/selenium/events/create_event_without_snapshot.html [deleted file]
tests/integration/tests/src/test/selenium/events/no_events_widget_on_module_and_package.html [deleted file]
tests/integration/tests/src/test/selenium/events/should_not_create_events_if_anonymous.html [deleted file]
tests/integration/tests/src/test/selenium/events/should_validate_event_on_creation.html [deleted file]
tests/integration/tests/src/test/selenium/exclusions/SONAR-1115-do-not-exclude-unit-tests.html [deleted file]
tests/integration/tests/src/test/selenium/exclusions/cobertura_exclusions.html [deleted file]
tests/integration/tests/src/test/selenium/exclusions/cpd_exclusions.html [deleted file]
tests/integration/tests/src/test/selenium/exclusions/javancss_exclusions.html [deleted file]
tests/integration/tests/src/test/selenium/exclusions/set_exclusions_from_project_settings_page.html [deleted file]
tests/integration/tests/src/test/selenium/filters/anonymous-default-filters.html [deleted file]
tests/integration/tests/src/test/selenium/filters/create-advanced-filter.html [deleted file]
tests/integration/tests/src/test/selenium/filters/create-and-delete-filter.html [deleted file]
tests/integration/tests/src/test/selenium/filters/default-filters-console-for-admins-only.html [deleted file]
tests/integration/tests/src/test/selenium/filters/default-filters-console.html [deleted file]
tests/integration/tests/src/test/selenium/filters/set-favourite-project.html [deleted file]
tests/integration/tests/src/test/selenium/filters/treemap-filter.html [deleted file]
tests/integration/tests/src/test/selenium/footer-data.html [deleted file]
tests/integration/tests/src/test/selenium/google_analytics_plugin/activate_google_analytics.html [deleted file]
tests/integration/tests/src/test/selenium/google_analytics_plugin/deactivate_google_analytics.html [deleted file]
tests/integration/tests/src/test/selenium/hotspots/ccn_hotspot.html [deleted file]
tests/integration/tests/src/test/selenium/hotspots/duplicated_lines_hotspot.html [deleted file]
tests/integration/tests/src/test/selenium/hotspots/function_complexity_hotspot.html [deleted file]
tests/integration/tests/src/test/selenium/hotspots/no_measures.html [deleted file]
tests/integration/tests/src/test/selenium/hotspots/popup-on-rules.html [deleted file]
tests/integration/tests/src/test/selenium/hotspots/rules_violations_hotspot.html [deleted file]
tests/integration/tests/src/test/selenium/hotspots/test_execution_time_hotspot.html [deleted file]
tests/integration/tests/src/test/selenium/hotspots/violations_hotspot.html [deleted file]
tests/integration/tests/src/test/selenium/i18n/default_locale_is_english.html [deleted file]
tests/integration/tests/src/test/selenium/i18n/french-france.html [deleted file]
tests/integration/tests/src/test/selenium/i18n/french-switzerland.html [deleted file]
tests/integration/tests/src/test/selenium/i18n/french.html [deleted file]
tests/integration/tests/src/test/selenium/i18n/japanese_duplications.html [deleted file]
tests/integration/tests/src/test/selenium/i18n/japanese_sources.html [deleted file]
tests/integration/tests/src/test/selenium/java-inner-classes/dashboard.html [deleted file]
tests/integration/tests/src/test/selenium/libraries/display_tests.html [deleted file]
tests/integration/tests/src/test/selenium/libraries/keyword_filter.html [deleted file]
tests/integration/tests/src/test/selenium/libraries/module_libraries.html [deleted file]
tests/integration/tests/src/test/selenium/manual_metrics/predefined_metrics.html [deleted file]
tests/integration/tests/src/test/selenium/many-source-dirs.html [deleted file]
tests/integration/tests/src/test/selenium/measures_drilldown/SONAR-1016_file_level_resources_only.html [deleted file]
tests/integration/tests/src/test/selenium/measures_drilldown/SONAR-268.html [deleted file]
tests/integration/tests/src/test/selenium/measures_drilldown/SONAR-564_show_zero_measures.html [deleted file]
tests/integration/tests/src/test/selenium/measures_drilldown/dont-display-resources-without-violations.html [deleted file]
tests/integration/tests/src/test/selenium/measures_drilldown/show_from_modules_to_classes.html [deleted file]
tests/integration/tests/src/test/selenium/modules.html [deleted file]
tests/integration/tests/src/test/selenium/plugins/settings_on_core_plugins.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/SONAR-560_remove_a_rule_from_sonar_way.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/activate-profile.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/backup-profile.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/bulk-change.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/cancel-profile-creation.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/copy-profile.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/create_java_profile.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/dashboard_links_to_used_profile.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/delete-profile.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/display-permalinks-to-tools.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/do-not-copy-with-blank-name.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/do-not-copy-with-existing-name.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/do-not-create-profile-with-existing-name.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/do-not-delete-provided-profiles.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/link-profile-to-project.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/permalink-to-checkstyle-configuration.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/permalink-to-default-checkstyle-configuration.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/permalink-to-pmd-configuration.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/profile-overriden-by-maven-parameter.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/provided-profiles-are-not-editable.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/read-only-mode-when-anonymous-user.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/should_import_checkstyle_findbugs_pmd.html [deleted file]
tests/integration/tests/src/test/selenium/profiles/user-profiles-are-editable.html [deleted file]
tests/integration/tests/src/test/selenium/projects_columns/projects_columns_add_and_remove_column.html [deleted file]
tests/integration/tests/src/test/selenium/projects_columns/projects_columns_disable_and_enable_treemap.html [deleted file]
tests/integration/tests/src/test/selenium/projects_columns/projects_columns_move_column_to_left_and_right.html [deleted file]
tests/integration/tests/src/test/selenium/projects_columns/projects_columns_remove_default_column_sort.html [deleted file]
tests/integration/tests/src/test/selenium/projects_columns/projects_columns_update_default_column_sort.html [deleted file]
tests/integration/tests/src/test/selenium/reviews/create_then_edit_type.html [deleted file]
tests/integration/tests/src/test/selenium/reviews/insert_then_delete_review_measure.html [deleted file]
tests/integration/tests/src/test/selenium/reviews/reviews_should_not_create_review_in_futur.html [deleted file]
tests/integration/tests/src/test/selenium/ruby-api.html [deleted file]
tests/integration/tests/src/test/selenium/rules-on-tests.html [deleted file]
tests/integration/tests/src/test/selenium/rules/SONAR-1000_quality_profile_with_space_or_dot.html [deleted file]
tests/integration/tests/src/test/selenium/rules/check_rules_extensions.html [deleted file]
tests/integration/tests/src/test/selenium/rules/copy_a_provided_profile_and_modify_a_rule_param.html [deleted file]
tests/integration/tests/src/test/selenium/rules/copy_and_edit_rule_template.html [deleted file]
tests/integration/tests/src/test/selenium/rules/pmd_xpath_rule_extension.html [deleted file]
tests/integration/tests/src/test/selenium/rules/rule_search.html [deleted file]
tests/integration/tests/src/test/selenium/rules/rule_search_verify_form_values_on_first_call.html [deleted file]
tests/integration/tests/src/test/selenium/rules/search_all_rules.html [deleted file]
tests/integration/tests/src/test/selenium/rules/search_and_display_inactive_rules.html [deleted file]
tests/integration/tests/src/test/selenium/rules/search_any_rules.html [deleted file]
tests/integration/tests/src/test/selenium/rules/search_by_plugin.html [deleted file]
tests/integration/tests/src/test/selenium/rules/search_by_rule_priority.html [deleted file]
tests/integration/tests/src/test/selenium/rules/search_by_rule_status.html [deleted file]
tests/integration/tests/src/test/selenium/rules/search_by_rule_title.html [deleted file]
tests/integration/tests/src/test/selenium/rules/violations_tab.html [deleted file]
tests/integration/tests/src/test/selenium/sourceviewers/SONAR-1007_violations_tab_when_no_violations.html [deleted file]
tests/integration/tests/src/test/selenium/sourceviewers/SONAR-300-tests_details.html [deleted file]
tests/integration/tests/src/test/selenium/sourceviewers/SONAR-517_violations_drilldown.html [deleted file]
tests/integration/tests/src/test/selenium/sourceviewers/SONAR-538-duplications_viewer.html [deleted file]
tests/integration/tests/src/test/selenium/sourceviewers/SONAR-582-violations-without-lines.html [deleted file]
tests/integration/tests/src/test/selenium/sourceviewers/SONAR-659-test_success_percentage.html [deleted file]
tests/integration/tests/src/test/selenium/static-analysis/deprecated_light_mode.html [deleted file]
tests/integration/tests/src/test/selenium/static-analysis/static-analysis.html [deleted file]
tests/integration/tests/src/test/selenium/system_info/system_info.html [deleted file]
tests/integration/tests/src/test/selenium/timemachine/SONAR-506_number_of_rules_violations_is_incorrect.html [deleted file]
tests/integration/tests/src/test/selenium/timemachine/display-first-and-last-five-events.html [deleted file]
tests/integration/tests/src/test/selenium/timemachine/should-not-display-rows-without-data.html [deleted file]
tests/integration/tests/src/test/selenium/timemachine/violations-timemachine.html [deleted file]
tests/integration/tests/src/test/selenium/treemap/treemap_check_gradient_direction.html [deleted file]
tests/integration/tests/src/test/selenium/treemap/treemap_file_drilldown_link.html [deleted file]
tests/integration/tests/src/test/selenium/unit_tests/SONAR-1099-html-chars.html [deleted file]
tests/integration/tests/src/test/selenium/unit_tests/no-test-failures.html [deleted file]
tests/integration/tests/src/test/selenium/unit_tests/no-tests-data-on-static-analysis.html [deleted file]
tests/integration/tests/src/test/selenium/unit_tests/reuse-clover-and-junit-reports.html [deleted file]
tests/integration/tests/src/test/selenium/unit_tests/reuse-cobertura-and-junit-reports.html [deleted file]
tests/integration/tests/src/test/selenium/unit_tests/reuse-junit-reports-only.html [deleted file]
tests/integration/tests/src/test/selenium/unit_tests/reuse-maven-coverage-reports.html [deleted file]
tests/integration/tests/src/test/selenium/unit_tests/skip-surefire-tests.html [deleted file]
tests/integration/tests/src/test/selenium/unit_tests/some-test-failures.html [deleted file]
tests/integration/tests/src/test/selenium/unit_tests/zero-when-no-tests.html [deleted file]
tests/integration/tests/src/test/selenium/users/accept-login-with-whitespace.html [deleted file]
tests/integration/tests/src/test/selenium/users/add-user-to-group.html [deleted file]
tests/integration/tests/src/test/selenium/users/admin-has-default-groups.html [deleted file]
tests/integration/tests/src/test/selenium/users/affect-new-user-to-default-group.html [deleted file]
tests/integration/tests/src/test/selenium/users/affect-user-to-group.html [deleted file]
tests/integration/tests/src/test/selenium/users/authenticate-new-user.html [deleted file]
tests/integration/tests/src/test/selenium/users/can-not-delete-myself.html [deleted file]
tests/integration/tests/src/test/selenium/users/change-username-without-changing-password.html [deleted file]
tests/integration/tests/src/test/selenium/users/confirm-password-when-creating-user.html [deleted file]
tests/integration/tests/src/test/selenium/users/create-and-delete-groups.html [deleted file]
tests/integration/tests/src/test/selenium/users/create-and-delete-users.html [deleted file]
tests/integration/tests/src/test/selenium/users/my-profile-display-basic-data.html [deleted file]
tests/integration/tests/src/test/selenium/violations_drilldown/SONAR-455_hide_zero_measures.html [deleted file]
tests/integration/tests/src/test/selenium/violations_drilldown/check_violations_on_extensions.html [deleted file]
tests/integration/tests/src/test/selenium/violations_drilldown/popup-on-rules.html [deleted file]
tests/integration/tests/src/test/selenium/violations_drilldown/select_resource.html [deleted file]
tests/volume/README.txt [deleted file]
tests/volume/build.xml [deleted file]
tests/volume/duplicate_project.rb [deleted file]
tests/volume/lib/ant-contrib-1.0b3.jar [deleted file]
tests/volume/pom.xml [deleted file]
tests/volume/project/Template.java [deleted file]
tests/volume/project/pom.template [deleted file]
tests/volume/src/it/java/org/sonar/tests/volume/HomepageTest.java [deleted file]

diff --git a/tests/integration/checkstyle-extensions/checkstyle-extensions.xml b/tests/integration/checkstyle-extensions/checkstyle-extensions.xml
deleted file mode 100644 (file)
index 3419181..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<rules>\r
-  <rule>
-    <key>org.sonar.it.checkstyle.MethodsCountCheck</key>\r
-    <name>Methods Count Check</name>\r
-    <configKey>Checker/TreeWalker/org.sonar.it.checkstyle.MethodsCountCheck</configKey>\r
-    <category name="Usability"/>\r
-    <description>Count methods.</description>\r
-    <param>
-      <key>minMethodsCount</key>
-      <description>Le nombre minimum de méthodes. 10 par défaut.</description>\r
-
-      <!-- defaultValue is no more used since sonar 1.5. We keep it in this file to test backward compatibility -->\r
-      <defaultValue>10</defaultValue>\r
-    </param>\r
-  </rule>\r
- </rules>
\ No newline at end of file
diff --git a/tests/integration/checkstyle-extensions/pom.xml b/tests/integration/checkstyle-extensions/pom.xml
deleted file mode 100644 (file)
index 6b5d4ed..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.codehaus.sonar.tests</groupId>
-    <artifactId>integration</artifactId>
-    <version>2.6-SNAPSHOT</version>
-  </parent>
-  <artifactId>checkstyle-extensions</artifactId>
-  <name>Sonar :: Integration Tests :: Checkstyle Extensions</name>
-
-  <dependencies>
-    <dependency>
-      <groupId>checkstyle</groupId>
-      <artifactId>checkstyle</artifactId>
-      <version>5.1</version>
-    </dependency>
-
-    <dependency>
-      <groupId>commons-logging</groupId>
-      <artifactId>commons-logging</artifactId>
-      <version>1.1</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>4.7</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-</project>
\ No newline at end of file
diff --git a/tests/integration/checkstyle-extensions/src/main/java/org/sonar/it/checkstyle/MethodsCountCheck.java b/tests/integration/checkstyle-extensions/src/main/java/org/sonar/it/checkstyle/MethodsCountCheck.java
deleted file mode 100644 (file)
index b82a6a9..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-package org.sonar.it.checkstyle;
-
-import com.puppycrawl.tools.checkstyle.api.Check;
-import com.puppycrawl.tools.checkstyle.api.DetailAST;
-import com.puppycrawl.tools.checkstyle.api.TokenTypes;
-
-public class MethodsCountCheck extends Check {
-
-  private int minMethodsCount = 1;
-  
-  private int methodsCount = 0;
-  private DetailAST classAST = null;
-  
-  public void setMinMethodsCount(int minMethodsCount) {
-    this.minMethodsCount = minMethodsCount;
-  }
-  
-  public int[] getDefaultTokens() {
-    return new int[]{TokenTypes.CLASS_DEF, TokenTypes.METHOD_DEF};
-  }
-  
-  public void beginTree(DetailAST rootAST) {
-    methodsCount = 0;
-    classAST = null;
-  }
-  
-  public void visitToken(DetailAST ast) {
-    //ensure this is an unit test.
-    if ( ast.getType() == TokenTypes.CLASS_DEF ) {
-      classAST = ast;
-      
-    } else if ( ast.getType() == TokenTypes.METHOD_DEF ) {
-      methodsCount++;
-    }
-  }
-
-  public void finishTree(DetailAST rootAST) {
-    super.finishTree(rootAST);
-    if (classAST != null && methodsCount < minMethodsCount) {
-        log(classAST.getLineNo(), classAST.getColumnNo(), "Too few methods (" + methodsCount + ") in class" );
-    }
-  }
-}
diff --git a/tests/integration/pmd-extensions/pmd-extensions.xml b/tests/integration/pmd-extensions/pmd-extensions.xml
deleted file mode 100644 (file)
index 720108e..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<rules>\r
-  <rule>
-    <key>MaximumMethodsCountCheck</key>\r
-    <name>Maximum Methods Count Check</name>\r
-    <configKey>rulesets/extensions.xml/MaximumMethodsCountCheck</configKey>\r
-    <category name="Usability"/>\r
-    <description>Maximum number of methods authorised</description>\r
-      <param>
-        <key>maxAuthorisedMethodsCount</key>\r
-        <description>Maximum number of methods authorised. Default is 2.</description>\r
-      </param>\r
-  </rule>\r
-  <rule>
-    <key>AvoidIfWithoutBrace</key>\r
-    <name>Avoid if without using brace</name>\r
-    <configKey>rulesets/extensions.xml/AvoidIfWithoutBrace</configKey>\r
-    <category name="Usability"/>\r
-    <description></description>\r
-  </rule>
-  <rule>
-    <key>PreventUseOfEmptyClass</key>
-    <priority>MAJOR</priority>
-    <name><![CDATA[Prevent use of EmptyClass]]></name>
-    <configKey><![CDATA[net.sourceforge.pmd.rules.XPathRule]]></configKey>
-    <category name="Maintainability"/>
-    <description></description>
-    <param>
-      <key>xpath</key>
-      <description><![CDATA[XPath expressions.]]></description>
-      <defaultValue>//VariableDeclarator[../Type/ReferenceType/ClassOrInterfaceType[@Image='EmptyClass']]</defaultValue>          
-    </param>
-    <param>
-      <key>message</key>
-      <description><![CDATA[Message to display when a violation occurs.]]></description>
-      <defaultValue>Prevent use of EmptyClass class</defaultValue>      
-    </param>    
-  </rule>   \r
- </rules>
\ No newline at end of file
diff --git a/tests/integration/pmd-extensions/pom.xml b/tests/integration/pmd-extensions/pom.xml
deleted file mode 100644 (file)
index 36da9e0..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.codehaus.sonar.tests</groupId>
-    <artifactId>integration</artifactId>
-    <version>2.6-SNAPSHOT</version>
-  </parent>
-
-  <artifactId>pmd-extensions</artifactId>
-  <name>Sonar :: Integration Tests :: PMD Extensions</name>
-  <description>Samples of PMD extensions</description>
-
-  <dependencies>
-    <dependency>
-      <groupId>pmd</groupId>
-      <artifactId>pmd</artifactId>
-      <version>4.1</version>
-    </dependency>
-  </dependencies>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>1.5</source>
-          <target>1.5</target>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-</project>
\ No newline at end of file
diff --git a/tests/integration/pmd-extensions/src/main/java/org/sonar/it/pmd/MaximumMethodsCountCheck.java b/tests/integration/pmd-extensions/src/main/java/org/sonar/it/pmd/MaximumMethodsCountCheck.java
deleted file mode 100644 (file)
index 2d8abb0..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-package org.sonar.it.pmd;
-
-import java.util.ArrayList;
-import java.util.List;
-import net.sourceforge.pmd.AbstractRule;
-import net.sourceforge.pmd.ast.ASTClassOrInterfaceBody;
-import net.sourceforge.pmd.ast.ASTMethodDeclaration;
-import net.sourceforge.pmd.properties.IntegerProperty;
-
-public class MaximumMethodsCountCheck extends AbstractRule {
-  
-  private static final IntegerProperty propertyDescriptor = new IntegerProperty(
-          "maxAuthorisedMethodsCount", "Maximum number of methods authorised", 2, 1.0f); 
-  
-  public Object visit(ASTClassOrInterfaceBody node, Object data) {
-      List<ASTMethodDeclaration> methods = new ArrayList<ASTMethodDeclaration>();
-      methods = (List<ASTMethodDeclaration>)node.findChildrenOfType(ASTMethodDeclaration.class);
-      
-      if (methods.size() > getIntProperty(propertyDescriptor)) {
-          addViolation(data, node);
-      }
-      return super.visit(node,data);
-  }  
-
-}
diff --git a/tests/integration/pmd-extensions/src/main/resources/rulesets/extensions.xml b/tests/integration/pmd-extensions/src/main/resources/rulesets/extensions.xml
deleted file mode 100644 (file)
index 6997ed4..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0"?>
-<ruleset name="PMD extensions"
-         xmlns="http://pmd.sf.net/ruleset/1.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
-         xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
-  <rule name="MaximumMethodsCountCheck"
-        message="Avoid too many methods"
-        class="org.sonar.it.pmd.MaximumMethodsCountCheck">
-    <description>
-      Avoid too many methods
-    </description>
-    <priority>3</priority>
-     <properties>
-      <property name="maxAuthorisedMethodsCount" description="Maximum number of methods authorised" value="3"/>
-     </properties>
-    <example>
-      <![CDATA[
-          // too many methods!
-            public void doSomething() {}
-            public void doSomething2() {}      
-            public void doSomething3() {}
-            public void doSomething4() {}             
-            
-        ]]>
-    </example>
-  </rule>
-  <rule name="AvoidIfWithoutBrace"
-        message="Avoid if without using brace"
-        class="net.sourceforge.pmd.rules.XPathRule">
-    <description>
-      Avoid if without using brace
-    </description>
-    <properties>
-    <property name="xpath">
-      <value>
-        <![CDATA[
-            //IfStatement[not(Statement/Block)]
-        ]]>
-      </value>
-    </property>
-    </properties>
-    <example>
-      <![CDATA[
-       // don't do this!
-       if (true)
-        test = "test";
-      ]]>
-    </example>
-  </rule> 
-</ruleset>
\ No newline at end of file
diff --git a/tests/integration/pom.xml b/tests/integration/pom.xml
deleted file mode 100644 (file)
index 4b48d4b..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.codehaus.sonar</groupId>
-    <artifactId>sonar</artifactId>
-    <version>2.6-SNAPSHOT</version>
-    <relativePath>../..</relativePath>
-  </parent>
-  <groupId>org.codehaus.sonar.tests</groupId>
-  <artifactId>integration</artifactId>
-  <packaging>pom</packaging>
-  <name>Sonar :: Integration Tests</name>
-
-  <modules>
-    <module>sonar-it-reference-plugin</module>
-    <module>checkstyle-extensions</module>
-    <module>pmd-extensions</module>
-    <module>tests</module>
-  </modules>
-  <build>
-    <plugins>
-      <plugin>
-                               <artifactId>maven-deploy-plugin</artifactId>
-                               <configuration>
-                                       <skip>true</skip>
-                               </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
-</project>
\ No newline at end of file
diff --git a/tests/integration/sonar-it-reference-plugin/pom.xml b/tests/integration/sonar-it-reference-plugin/pom.xml
deleted file mode 100644 (file)
index 27d50c1..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.codehaus.sonar.tests</groupId>
-    <artifactId>integration</artifactId>
-    <version>2.6-SNAPSHOT</version>
-  </parent>
-  
-  <artifactId>sonar-it-reference-plugin</artifactId>
-  <name>Sonar :: Integration Tests :: Reference Plugin</name>
-  <packaging>sonar-plugin</packaging>
-  <description>My Sonar plugin</description>
-
-  <licenses>
-    <license>
-      <name>LGPL 3</name>
-    </license>
-  </licenses>
-
-  <organization>
-    <name>SonarSource</name>
-    <url>http://www.sonarsource.org</url>
-  </organization>
-  
-  <dependencies>
-    <dependency>
-      <groupId>org.codehaus.sonar</groupId>
-      <artifactId>sonar-plugin-api</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.codehaus.sonar</groupId>
-      <artifactId>sonar-gwt-api</artifactId>
-      <version>${project.version}</version>
-      <scope>provided</scope>
-    </dependency>
-
-
-    <!-- required dependencies which are not provided by sonar -->
-    <dependency>
-      <groupId>commons-i18n</groupId>
-      <artifactId>commons-i18n</artifactId>
-      <version>0.5</version>
-    </dependency>
-
-    <!-- external dependencies -->
-    <dependency>
-      <groupId>org.apache.maven</groupId>
-      <artifactId>maven-project</artifactId>
-      <version>2.0.7</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.maven</groupId>
-      <artifactId>maven-plugin-api</artifactId>
-      <version>2.0.7</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.maven</groupId>
-      <artifactId>maven-core</artifactId>
-      <version>2.0.7</version>
-      <scope>provided</scope>
-    </dependency>
-
-    <!-- only for GWT extensions -->
-    <dependency>
-      <groupId>com.google.gwt</groupId>
-      <artifactId>gwt-user</artifactId>
-      <version>2.0.3</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>com.google.gwt</groupId>
-      <artifactId>gwt-incubator</artifactId>
-      <version>2.0.1</version>
-      <scope>provided</scope>
-    </dependency>
-
-    <!-- unit tests -->
-    <dependency>
-      <groupId>org.codehaus.sonar</groupId>
-      <artifactId>sonar-testing-harness</artifactId>
-      <version>${project.version}</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.sonar</groupId>
-        <artifactId>sonar-packaging-maven-plugin</artifactId>
-        <version>1.0</version>
-        <extensions>true</extensions>
-        <configuration>
-          <pluginClass>itests.ITestsPlugin</pluginClass>
-        </configuration>
-      </plugin>
-
-      <plugin>
-        <!-- build GWT extensions -->
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>gwt-maven-plugin</artifactId>
-        <version>1.2</version>
-        <executions>
-          <execution>
-            <configuration>
-              <modules>
-                <module>itests.resourcetab.GwtSampleResourceTab</module>
-                <module>itests.page.GwtModule</module>
-              </modules>
-              <webappDirectory>${project.build.directory}/classes</webappDirectory>
-
-              <!-- do not break on two lines -->
-              <extraJvmArgs>-Xmx512m -Dgwt.jjs.permutationWorkerFactory=com.google.gwt.dev.ThreadedPermutationWorkerFactory</extraJvmArgs>
-            </configuration>
-            <goals>
-              <goal>compile</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-
-      <plugin>
-        <!-- Java 1.5 -->
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>1.5</source>
-          <target>1.5</target>
-          <encoding>UTF-8</encoding>
-        </configuration>
-      </plugin>
-
-    </plugins>
-  </build>
-</project>
diff --git a/tests/integration/sonar-it-reference-plugin/src/main/java/itests/ExcludedResourceFilter.java b/tests/integration/sonar-it-reference-plugin/src/main/java/itests/ExcludedResourceFilter.java
deleted file mode 100644 (file)
index 4c045cd..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-package itests;
-
-import org.apache.commons.lang.StringUtils;
-import org.sonar.api.batch.ResourceFilter;
-import org.sonar.api.resources.Resource;
-import org.sonar.api.resources.Scopes;
-
-public final class ExcludedResourceFilter implements ResourceFilter {
-
-  public boolean isIgnored(Resource resource) {
-    return Scopes.isFile(resource) && StringUtils.contains(resource.getName(), "ExcludedByFilter");
-  }
-}
diff --git a/tests/integration/sonar-it-reference-plugin/src/main/java/itests/ITestsPlugin.java b/tests/integration/sonar-it-reference-plugin/src/main/java/itests/ITestsPlugin.java
deleted file mode 100644 (file)
index 3d727a9..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package itests;
-
-import itests.footer.SampleFooter;
-import itests.languages.LanguageWithoutRulesEngine;
-import itests.page.GwtSamplePage;
-import itests.page.RubyApiTestsPage;
-import itests.resourcetab.SampleResourceTab;
-import itests.ws.RubyWebService;
-import org.sonar.api.Plugin;
-
-import java.util.ArrayList;
-import java.util.List;
-
-public class ITestsPlugin implements Plugin {
-
-  public String getKey() {
-    return "it";
-  }
-
-  public String getName() {
-    return "Integration tests";
-  }
-
-  public String getDescription() {
-    return "Integration tests";
-  }
-
-  public List getExtensions() {
-    List extensions = new ArrayList();
-
-    extensions.add(SampleSensor.class);
-    extensions.add(LanguageWithoutRulesEngine.class);
-    extensions.add(ServerSideExtensionUsingExternalDependency.class);
-    extensions.add(ExcludedResourceFilter.class);
-
-    // web
-    extensions.add(SampleResourceTab.class);
-    extensions.add(SampleFooter.class);
-    extensions.add(GwtSamplePage.class);
-    extensions.add(RubyApiTestsPage.class);
-    
-    // web service
-    extensions.add(RubyWebService.class);
-
-    return extensions;
-  }
-
-  @Override
-  public String toString() {
-    return getKey();
-  }
-}
diff --git a/tests/integration/sonar-it-reference-plugin/src/main/java/itests/SampleSensor.java b/tests/integration/sonar-it-reference-plugin/src/main/java/itests/SampleSensor.java
deleted file mode 100644 (file)
index 0ec5c71..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package itests;
-
-import org.apache.commons.i18n.bundles.MessageBundle;
-import org.sonar.api.batch.Sensor;
-import org.sonar.api.batch.SensorContext;
-import org.sonar.api.resources.Project;
-
-public class SampleSensor implements Sensor {
-  public boolean shouldExecuteOnProject(Project project) {
-    return true;
-  }
-
-  public void analyse(Project project, SensorContext context) {
-    System.out.println(" Check usage of plugin dependencies (new feature since sonar 2.2)");
-
-
-    System.out.print("Loading external dependency from " + getClass().getName() + ": ");
-    MessageBundle bundle = new MessageBundle("12345");
-    System.out.println("OK");
-
-    System.out.print("  Plugin isolation (can not access other plugin classes): ");
-    try {
-      Class.forName("org.sonar.plugins.checkstyle.CheckstyleSensor");
-      System.out.println("KO");
-
-    } catch (ClassNotFoundException e) {
-      System.out.println("OK");
-    }
-  }
-
-  @Override
-  public String toString() {
-    return getClass().getSimpleName();
-  }
-}
diff --git a/tests/integration/sonar-it-reference-plugin/src/main/java/itests/ServerSideExtensionUsingExternalDependency.java b/tests/integration/sonar-it-reference-plugin/src/main/java/itests/ServerSideExtensionUsingExternalDependency.java
deleted file mode 100644 (file)
index 53d241c..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package itests;
-
-import org.apache.commons.i18n.bundles.MessageBundle;
-import org.sonar.api.ServerExtension;
-
-public class ServerSideExtensionUsingExternalDependency implements ServerExtension {
-
-  public ServerSideExtensionUsingExternalDependency() {
-    System.out.print("Loading external dependency from " + getClass().getName() + ": ");
-    MessageBundle bundle = new MessageBundle("12345");
-    System.out.println("OK");
-  }
-}
diff --git a/tests/integration/sonar-it-reference-plugin/src/main/java/itests/footer/SampleFooter.java b/tests/integration/sonar-it-reference-plugin/src/main/java/itests/footer/SampleFooter.java
deleted file mode 100644 (file)
index 32895e8..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package itests.footer;
-
-import org.sonar.api.web.Footer;
-
-public class SampleFooter implements Footer {
-  public String getHtml() {
-    return "<div style='background-color: #111;color: #efefef;text-align=left;padding: 5px 10px;'>Sample footer</div>";
-  }
-}
diff --git a/tests/integration/sonar-it-reference-plugin/src/main/java/itests/languages/LanguageWithoutRulesEngine.java b/tests/integration/sonar-it-reference-plugin/src/main/java/itests/languages/LanguageWithoutRulesEngine.java
deleted file mode 100644 (file)
index b4951db..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package itests.languages;
-
-import org.sonar.api.database.model.ResourceModel;
-import org.sonar.api.resources.AbstractLanguage;
-
-public class LanguageWithoutRulesEngine extends AbstractLanguage {
-  private static final String[] SUFFIXES = new String[]{"unknown"};
-
-  public LanguageWithoutRulesEngine() {
-    super("lwre", "Language without rules engine");
-  }
-
-  public ResourceModel getParent(ResourceModel resource) {
-    return null;
-  }
-
-  public boolean matchExclusionPattern(ResourceModel resource, String wildcardPattern) {
-    return false;
-  }
-
-  public String[] getFileSuffixes() {
-    return SUFFIXES;
-  }
-}
diff --git a/tests/integration/sonar-it-reference-plugin/src/main/java/itests/page/GwtSamplePage.java b/tests/integration/sonar-it-reference-plugin/src/main/java/itests/page/GwtSamplePage.java
deleted file mode 100644 (file)
index 9b208ef..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package itests.page;
-
-import itests.page.client.GwtModule;
-import org.sonar.api.web.GwtPage;
-import org.sonar.api.web.NavigationSection;
-
-@NavigationSection({NavigationSection.HOME})
-public class GwtSamplePage extends GwtPage {
-
-  public String getGwtId() {
-    return GwtModule.GWT_ID;
-  }
-
-  public String getTitle() {
-    return "GWT sample";
-  }
-}
diff --git a/tests/integration/sonar-it-reference-plugin/src/main/java/itests/page/RubyApiTestsPage.java b/tests/integration/sonar-it-reference-plugin/src/main/java/itests/page/RubyApiTestsPage.java
deleted file mode 100644 (file)
index f39c949..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package itests.page;
-
-import org.sonar.api.web.AbstractRubyTemplate;
-import org.sonar.api.web.NavigationSection;
-import org.sonar.api.web.RubyRailsPage;
-import org.sonar.api.web.UserRole;
-
-@NavigationSection({NavigationSection.HOME})
-@UserRole(UserRole.USER)
-public class RubyApiTestsPage extends AbstractRubyTemplate implements RubyRailsPage {
-
-  public String getTitle() {
-    return "Ruby API tests";
-  }
-
-  @Override
-  public String getTemplatePath() {
-    return "/itests/page/ruby_api_tests_page.html.erb";
-  }
-
-  public String getId() {
-    return this.getClass().getName();
-  }
-}
diff --git a/tests/integration/sonar-it-reference-plugin/src/main/java/itests/page/client/GwtModule.java b/tests/integration/sonar-it-reference-plugin/src/main/java/itests/page/client/GwtModule.java
deleted file mode 100644 (file)
index 19aa9c2..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package itests.page.client;
-
-import com.google.gwt.user.client.ui.Label;
-import com.google.gwt.user.client.ui.Widget;
-import org.sonar.gwt.ui.Page;
-
-public class GwtModule extends Page {
-  
-  public static final String GWT_ID = "itests.page.GwtModule";
-  
-  @Override
-  protected Widget doOnModuleLoad() {
-    return new Label("this is a GWT sample");
-  }
-}
diff --git a/tests/integration/sonar-it-reference-plugin/src/main/java/itests/resourcetab/SampleResourceTab.java b/tests/integration/sonar-it-reference-plugin/src/main/java/itests/resourcetab/SampleResourceTab.java
deleted file mode 100644 (file)
index 5e87559..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package itests.resourcetab;
-
-import itests.resourcetab.client.GwtSampleResourceTab;
-import org.sonar.api.web.GwtPage;
-import org.sonar.api.web.NavigationSection;
-import org.sonar.api.web.UserRole;
-
-@UserRole(UserRole.USER)
-@NavigationSection(NavigationSection.RESOURCE_TAB)
-public class SampleResourceTab extends GwtPage {
-  public String getTitle() {
-    return "Tab Sample";
-  }
-
-  public String getGwtId() {
-    return GwtSampleResourceTab.GWT_ID;
-  }
-}
\ No newline at end of file
diff --git a/tests/integration/sonar-it-reference-plugin/src/main/java/itests/resourcetab/client/GwtSampleResourceTab.java b/tests/integration/sonar-it-reference-plugin/src/main/java/itests/resourcetab/client/GwtSampleResourceTab.java
deleted file mode 100644 (file)
index efeb007..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package itests.resourcetab.client;
-
-import com.google.gwt.user.client.ui.HTML;
-import com.google.gwt.user.client.ui.Widget;
-import org.sonar.gwt.ui.Page;
-import org.sonar.wsclient.services.Resource;
-
-public class GwtSampleResourceTab extends Page {
-  public static final String GWT_ID = "itests.resourcetab.GwtSampleResourceTab";
-
-  @Override
-  protected Widget doOnResourceLoad(Resource resource) {
-    return new HTML("This is a sample of viewer");
-  }
-
-}
\ No newline at end of file
diff --git a/tests/integration/sonar-it-reference-plugin/src/main/java/itests/ws/RubyWebService.java b/tests/integration/sonar-it-reference-plugin/src/main/java/itests/ws/RubyWebService.java
deleted file mode 100644 (file)
index 9cd8764..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package itests.ws;
-
-import org.sonar.api.web.AbstractRubyTemplate;
-import org.sonar.api.web.RubyRailsWebservice;
-
-public class RubyWebService extends AbstractRubyTemplate implements RubyRailsWebservice {
-
-  @Override
-  public String getTemplatePath() {
-    return "/itests/ws/ruby_ws_controller.rb";
-  }
-
-  public String getId() {
-    return "RubyWebService";
-  }
-
-}
diff --git a/tests/integration/sonar-it-reference-plugin/src/main/resources/itests/page/GwtModule.gwt.xml b/tests/integration/sonar-it-reference-plugin/src/main/resources/itests/page/GwtModule.gwt.xml
deleted file mode 100644 (file)
index 9046f23..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<module>
-
-  <inherits name='com.google.gwt.user.User'/>
-  <inherits name="com.google.gwt.json.JSON"/>
-  <inherits name="com.google.gwt.http.HTTP"/>
-  <inherits name="org.sonar.Sonar"/>
-
-  <entry-point class='itests.page.client.GwtModule'/>
-
-</module>
diff --git a/tests/integration/sonar-it-reference-plugin/src/main/resources/itests/page/ruby_api_tests_page.html.erb b/tests/integration/sonar-it-reference-plugin/src/main/resources/itests/page/ruby_api_tests_page.html.erb
deleted file mode 100644 (file)
index 8326ef1..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<h1>Ruby API tests</h1>
-
-
-<% success=true %>
-
-<% if logged_in? %>
-  <h2>User Properties</h2>
-  <ul id="user_properties">
-      <%
-        current_user.set_property({:prop_key => 'foo', :text_value => 'bar'})
-        test=current_user.property_value('foo')=='bar'
-        success&=test
-      %>
-      <li>create: <%= 'OK' if test -%></li>
-
-      <%
-        current_user.delete_property('foo')
-        test=current_user.property('foo').nil?
-        success&=test
-      %>
-      <li>delete: <%= 'OK' if test -%></li>
-
-      <%
-        current_user.set_property({:prop_key => 'foo', :text_value => 'bar'})
-        current_user.set_property({:prop_key => 'foo', :text_value => 'newbar'})
-        test=current_user.property_value('foo')=='newbar'
-        success&=test
-      %>
-      <li>update: <%= 'OK' if test -%></li>
-  </ul>
-<% end %>
-
-<br/>
-<p>Result: <span id="result"><%= success ? 'OK' : 'FAIL' %></span></p>
\ No newline at end of file
diff --git a/tests/integration/sonar-it-reference-plugin/src/main/resources/itests/resourcetab/GwtSampleResourceTab.gwt.xml b/tests/integration/sonar-it-reference-plugin/src/main/resources/itests/resourcetab/GwtSampleResourceTab.gwt.xml
deleted file mode 100644 (file)
index 5c6f660..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<module>
-
-  <inherits name='com.google.gwt.user.User'/>
-  <inherits name="com.google.gwt.json.JSON"/>
-  <inherits name="com.google.gwt.http.HTTP"/>
-  <inherits name="org.sonar.Sonar"/>
-
-  <entry-point class='itests.resourcetab.client.GwtSampleResourceTab'/>
-
-</module>
diff --git a/tests/integration/sonar-it-reference-plugin/src/main/resources/itests/resourcetab/public/sample.html b/tests/integration/sonar-it-reference-plugin/src/main/resources/itests/resourcetab/public/sample.html
deleted file mode 100644 (file)
index 6aecf69..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
-    "http://www.w3.org/TR/html4/loose.dtd">
-
-<html>
-<head>
-  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-  <title>Metrics</title>
-  <link href="http://localhost:9000/dev/stylesheets/reset-fonts-grids-2.2.2.css" media="all" rel="Stylesheet" type="text/css" />
-  <link href="http://localhost:9000/dev/stylesheets/style.css" media="all" rel="Stylesheet" type="text/css" />
-  <link href="http://localhost:9000/dev/stylesheets/style-gwt.css" media="all" rel="Stylesheet" type="text/css" />
-  <script src="http://localhost:9000/dev/javascripts/application.js" type="text/javascript"></script>
-  <script src="http://localhost:9000/dev/javascripts/prototype.js" type="text/javascript"></script>
-  <script src="http://localhost:9000/dev/javascripts/scriptaculous.js" type="text/javascript"></script>
-</head>
-
-<body>
-<script type="text/javascript">
-var config = {
-  "sonar_url": "http://localhost:9000/dev",
-  "sourceviewer_source_key": "org.sonar.samples:main-sample:org.sonar.samples.ClassUnderTest"
-};
-var sourceviewers = {
-  "Sample": "itests.sourceviewer.GwtSampleSourceViewer"
-};
-</script>
-<div class="error" id="error" style="display:none"><span id="errormsg"></span> &nbsp;&nbsp;[<a href="#" onclick="javascript:$('error').hide();return false;">hide</a>]</div>
-<div class="warning" id="warning" style="display:none"><span id="warningmsg"></span> &nbsp;&nbsp;[<a href="#" onclick="javascript:$('warning').hide();return false;">hide</a>]</div>
-<div class="notice" id="info" style="display:none"><span id="infomsg"></span> &nbsp;&nbsp;[<a href="#" onclick="javascript:$('info').hide();return false;">hide</a>]</div>
-
-
-<a href="#" onclick="load_itests_sourceviewer_GwtSampleSourceViewer();">load source</a>
-
-
-<div id="sourceviewers"></div>
-<script type="text/javascript" language="javascript" src="itests.sourceviewer.GwtSampleSourceViewer.nocache.js"></script>
-</body>
-</html>
\ No newline at end of file
diff --git a/tests/integration/sonar-it-reference-plugin/src/main/resources/itests/ws/ruby_ws_controller.rb b/tests/integration/sonar-it-reference-plugin/src/main/resources/itests/ws/ruby_ws_controller.rb
deleted file mode 100644 (file)
index 40ad00c..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# Sonar, open source software quality management tool.
-# Copyright (C) 2008-2011 SonarSource
-# mailto:contact AT sonarsource DOT com
-#
-# Sonar is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 3 of the License, or (at your option) any later version.
-#
-# Sonar is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with Sonar; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
-#
-class Api::RubyWebServiceController < Api::RestController
-
-  def custom_method
-    render :text => "Custom method output"
-  end
-
-  private
-  
-  def rest_call
-    render :text => "Rest method output"
-  end
-  
-end
\ No newline at end of file
diff --git a/tests/integration/sonar-it-reference-plugin/src/main/resources/static/file.html b/tests/integration/sonar-it-reference-plugin/src/main/resources/static/file.html
deleted file mode 100644 (file)
index 5ae990c..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<html>\r
-<body>\r
-Text from static resource\r
-</body>\r
-</html>\r
diff --git a/tests/integration/tests/build.xml b/tests/integration/tests/build.xml
deleted file mode 100644 (file)
index 75bad16..0000000
+++ /dev/null
@@ -1,194 +0,0 @@
-<project name="Integration tests" basedir=".">
-  <property environment="env"/>
-  <property name="projects.dir" value="${basedir}/custom-projects"/>
-
-  <target name="prepare-extensions" depends="build-extensions">
-    <delete dir="${basedir}/target/extensions"/>
-    <mkdir dir="${basedir}/target/extensions"/>
-    <copy todir="${basedir}/target/extensions/rules/checkstyle" overwrite="true" verbose="true" flatten="true">
-      <fileset dir="${basedir}/../checkstyle-extensions">
-        <include name="checkstyle-extensions.xml"/>
-        <include name="target/checkstyle-extensions-*.jar"/>
-      </fileset>
-    </copy>
-    <copy todir="${basedir}/target/extensions/rules/pmd" overwrite="true" verbose="true" flatten="true">
-      <fileset dir="${basedir}/../pmd-extensions">
-        <include name="pmd-extensions.xml"/>
-        <include name="target/pmd-extensions-*.jar"/>
-      </fileset>
-    </copy>
-    <copy todir="${basedir}/target/extensions/plugins" flatten="true">
-      <fileset dir="${basedir}/target/sonar-basic-sample-plugin/target/">
-        <include name="sonar-basic-sample-plugin-*-SNAPSHOT.jar"/>
-      </fileset>
-      <fileset dir="${basedir}/target/sonar-gwt-sample-plugin/target/">
-        <include name="sonar-gwt-sample-plugin-*-SNAPSHOT.jar"/>
-      </fileset>
-      <fileset dir="${basedir}/../sonar-it-reference-plugin/">
-        <include name="target/sonar-it-reference-plugin-*-SNAPSHOT.jar"/>
-      </fileset>
-    </copy>
-  </target>
-
-  <target name="build-extensions">
-    <mkdir dir="${basedir}/target"/>
-
-    <mvn dir="target"
-         args="archetype:generate -B -DarchetypeGroupId=org.codehaus.sonar.archetypes -DarchetypeArtifactId=sonar-basic-plugin-archetype -DarchetypeVersion=${sonar.runtimeVersion} -DgroupId=com.mycompany.sonar -DartifactId=sonar-basic-sample-plugin -Dversion=0.1-SNAPSHOT"/>
-    <mvn args="install" dir="${basedir}/target/sonar-basic-sample-plugin"/>
-
-    <mvn dir="target"
-         args="archetype:generate -B -DarchetypeGroupId=org.codehaus.sonar.archetypes -DarchetypeArtifactId=sonar-gwt-plugin-archetype -DarchetypeVersion=${sonar.runtimeVersion} -DgroupId=com.mycompany.sonar -DartifactId=sonar-gwt-sample-plugin -Dversion=0.1-SNAPSHOT"/>
-
-    <mvn args="install" dir="${basedir}/target/sonar-gwt-sample-plugin"/>
-  </target>
-
-
-  <target name="analyze-custom-projects"
-          depends="ant-static,ant-dynamic-clover,ant-dynamic-cobertura,ant-dynamic-junit,deprecated-sonar-light,struts,timemachine,violations-timemachine,reuse-coverage-reports"/>
-
-  <target name="ant-static">
-    <execant dir="${projects.dir}/ant-static/"/>
-    <mvnsonar pom="${projects.dir}/ant-static/pom.xml"/>
-  </target>
-  <target name="ant-dynamic-clover">
-    <execant dir="${projects.dir}/ant-dynamic-clover/"/>
-    <mvnsonar pom="${projects.dir}/ant-dynamic-clover/pom.xml"/>
-  </target>
-  <target name="ant-dynamic-cobertura">
-    <execant dir="${projects.dir}/ant-dynamic-cobertura/"/>
-    <mvnsonar pom="${projects.dir}/ant-dynamic-cobertura/pom.xml"/>
-  </target>
-  <target name="ant-dynamic-junit">
-    <execant dir="${projects.dir}/ant-dynamic-junit/"/>
-    <mvnsonar pom="${projects.dir}/ant-dynamic-junit/pom.xml"/>
-  </target>
-  <target name="deprecated-sonar-light">
-    <execant dir="${projects.dir}/deprecated-sonar-light/"/>
-    <mvnsonar pom="${projects.dir}/deprecated-sonar-light/pom.xml"/>
-  </target>
-  <target name="reuse-coverage-reports">
-    <mvn args="clean install" dir="${projects.dir}/reuse-coverage-reports/" failonerror="false"/>
-    <mvnsonar pom="${projects.dir}/reuse-coverage-reports/pom.xml"/>
-  </target>
-
-  <target name="struts">
-    <mvn
-        args="scm:checkout -DconnectionUrl=scm:svn:http://svn.apache.org/repos/asf/struts/struts1/tags/STRUTS_1_3_9 -DcheckoutDirectory=struts-1.3.9"
-        dir="${projects.dir}"/>
-    <mvn args="clean install -DskipTests" dir="${projects.dir}/struts-1.3.9"/>
-    <mvnsonar pom="${projects.dir}/struts-1.3.9/pom.xml"/>
-  </target>
-
-  <target name="timemachine">
-    <mvn args="clean install -DskipTests" dir="${projects.dir}/timemachine"/>
-
-    <!-- last : 1.0-SNAPSHOT -->
-    <mvnsonar failonerror="false" pom="${projects.dir}/timemachine/pom.xml"/>
-
-    <!-- past revisions -->
-    <mvnsonar failonerror="false"
-              args="-Dsonar.projectDate=2007-03-12 -Dsonar.projectVersion=0.5-SNAPSHOT"
-              pom="${projects.dir}/timemachine/pom.xml"/>
-    <mvnsonar failonerror="false"
-              args="-Dsonar.projectDate=2007-04-20 -Dsonar.projectVersion=0.5"
-              pom="${projects.dir}/timemachine/pom.xml"/>
-    <mvnsonar args="-Dsonar.projectDate=2007-10-20 -Dsonar.projectVersion=0.6"
-              pom="${projects.dir}/timemachine/pom.xml"/>
-    <mvnsonar args="-Dsonar.projectDate=2007-12-10 -Dsonar.projectVersion=0.7"
-              pom="${projects.dir}/timemachine/pom.xml"/>
-    <mvnsonar args="-Dsonar.projectDate=2008-02-07 -Dsonar.projectVersion=0.8"
-              pom="${projects.dir}/timemachine/pom.xml"/>
-    <mvnsonar failonerror="false"
-              args="-Dsonar.projectDate=2008-04-15 -Dsonar.projectVersion=0.8"
-              pom="${projects.dir}/timemachine/pom.xml"/>
-    <mvnsonar failonerror="false"
-              args="-Dsonar.projectDate=2008-11-27 -Dsonar.projectVersion=0.9"
-              pom="${projects.dir}/timemachine/pom.xml"/>
-    <mvnsonar failonerror="false"
-              args="-Dsonar.projectDate=2008-10-19 -Dsonar.projectVersion=0.9"
-              pom="${projects.dir}/timemachine/pom.xml"/>
-  </target>
-
-  <target name="violations-timemachine">
-    <mvn args="clean install -DskiptTests" dir="${projects.dir}/violations-timemachine/v1"/>
-    <mvnsonar failonerror="false"
-              pom="${projects.dir}/violations-timemachine/v1/pom.xml"/>
-
-    <mvn args="clean install -DskiptTests" dir="${projects.dir}/violations-timemachine/v2"/>
-    <mvnsonar failonerror="false"
-              pom="${projects.dir}/violations-timemachine/v2/pom.xml"/>
-  </target>
-
-  <target name="big-project">
-    <exec executable="ruby" failonerror="true" dir="${projects.dir}/big-project">
-      <arg line="generate-sources.rb 20 50"/>
-    </exec>
-    <mvn dir="${projects.dir}/big-project" args="clean install -DskipTests"/>
-    <mvnsonar pom="${projects.dir}/big-project/pom.xml" args="-Dcpd.skip=true"/>
-    <delete dir="${projects.dir}/big-project/src/main/java"/>
-  </target>
-
-  <target name="huge-project">
-    <exec executable="ruby" failonerror="true" dir="${projects.dir}/big-project">
-      <arg line="generate-sources.rb 50 500"/>
-    </exec>
-    <mvn dir="${projects.dir}/big-project" args="clean install -DskipTests"/>
-    <mvnsonar pom="${projects.dir}/big-project/pom.xml" args="-Dcpd.skip=true"/>
-    <delete dir="${projects.dir}/big-project/src/main/java"/>
-  </target>
-
-  <macrodef name="execant">
-    <attribute name="failonerror" default="true"/>
-    <attribute name="dir"/>
-
-    <sequential>
-      <exec dir="@{dir}" failonerror="@{failonerror}" executable="${env.ANT_HOME}/bin/ant.bat" osfamily="Windows">
-      </exec>
-      <exec dir="@{dir}" failonerror="@{failonerror}" executable="${env.ANT_HOME}/bin/ant" osfamily="unix">
-      </exec>
-    </sequential>
-  </macrodef>
-
-  <macrodef name="mvn">
-    <attribute name="failonerror" default="true"/>
-    <attribute name="args" default=""/>
-    <attribute name="dir"/>
-
-    <sequential>
-      <echo>Executing ${maven.home}/bin/mvn @{args}</echo>
-      <exec dir="@{dir}" failonerror="@{failonerror}" executable="${maven.home}/bin/mvn.bat" osfamily="Windows">
-        <arg line="@{args} -B -e"/>
-      </exec>
-      <exec dir="@{dir}" failonerror="@{failonerror}" executable="${maven.home}/bin/mvn" osfamily="unix">
-        <arg line="@{args} -B -e"/>
-      </exec>
-    </sequential>
-  </macrodef>
-
-  <macrodef name="mvnsonar">
-    <attribute name="failonerror" default="true"/>
-    <attribute name="args" default=""/>
-    <attribute name="pom"/>
-
-    <sequential>
-      <exec failonerror="@{failonerror}" executable="${maven.home}/bin/mvn.bat" osfamily="Windows">
-        <arg line="org.codehaus.mojo:sonar-maven-plugin:1.0-beta-2:sonar @{args} -B -e"/>
-        <arg line="-f @{pom}"/>
-        <arg value='-Dsonar.jdbc.url="${sonar.jdbc.url}"'/>
-        <arg value="-Dsonar.jdbc.driver=${sonar.jdbc.driver}"/>
-        <arg value="-Dsonar.jdbc.username=${sonar.jdbc.username}"/>
-        <arg value="-Dsonar.jdbc.password=${sonar.jdbc.password}"/>
-      </exec>
-      <exec failonerror="@{failonerror}" executable="${maven.home}/bin/mvn" osfamily="unix">
-        <arg line="org.codehaus.mojo:sonar-maven-plugin:1.0-beta-2:sonar @{args} -B -e"/>
-        <arg line="-f @{pom}"/>
-        <arg value='-Dsonar.jdbc.url=${sonar.jdbc.url}'/>
-        <arg value="-Dsonar.jdbc.driver=${sonar.jdbc.driver}"/>
-        <arg value="-Dsonar.jdbc.username=${sonar.jdbc.username}"/>
-        <arg value="-Dsonar.jdbc.password=${sonar.jdbc.password}"/>
-      </exec>
-    </sequential>
-  </macrodef>
-
-</project>
diff --git a/tests/integration/tests/custom-projects/.gitignore b/tests/integration/tests/custom-projects/.gitignore
deleted file mode 100644 (file)
index d3a4bc7..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-ant-dynamic-clover/.clover/
-ant-dynamic-clover/build/
-ant-dynamic-cobertura/build/
-ant-dynamic-cobertura/cobertura.ser
-ant-dynamic-cobertura/reports/
-ant-dynamic-junit/build/
-ant-dynamic-junit/reports/
-ant-static/build/
-deprecated-sonar-light/build/
-struts-1.3.9/
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-clover/build.xml b/tests/integration/tests/custom-projects/ant-dynamic-clover/build.xml
deleted file mode 100644 (file)
index 6b6be48..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-<project name="ant-dynamic-clover" default="all" basedir=".">
-  <description>
-    money build file
-  </description>
-
-  <property name="src" location="src/main/java"/>
-  <property name="test.src" location="src/test/java"/>
-  <property name="app.build" location="build/app"/>
-  <property name="test.build" location="build/test"/>
-  <property name="test.result" location="build/testresult"/>
-  <property name="junit.jar" location="${basedir}/lib/junit-3.8.2.jar"/>
-
-  <path id="clover.classpath">
-    <fileset dir="lib/clover">
-      <include name="*.jar"/>
-      <include name="clover.license"/>
-    </fileset>
-  </path>
-
-  <property name="clover.jar" location="${basedir}/lib/clover/clover.jar"/>
-  <taskdef resource="cloverlib.xml" classpath="${clover.jar}"/>
-
-  <target name="with.clover">
-    <clover-setup/>
-  </target>
-
-  <target name="clover.xml" depends="with.clover">
-    <mkdir dir="build/reports"/>
-    <clover-report>
-      <current outfile="build/reports/coverage.xml">
-        <format type="xml"/>
-      </current>
-    </clover-report>
-  </target>
-
-  <target name="clover.html" depends="with.clover">
-    <mkdir dir="build/reports"/>
-    <clover-html-report outdir="build/reports"/>
-  </target>
-
-  <path id="build.classpath">
-    <pathelement path="${junit.jar}"/>
-    <pathelement path="${app.build}"/>
-    <path refid="clover.classpath"/>
-  </path>
-
-  <path id="testbuild.classpath">
-    <path refid="build.classpath"/>
-    <pathelement path="${test.build}"/>
-  </path>
-
-
-  <target name="code.compile"
-          description="Creates ${app.build} directory and compiles sources from ${src} to ${app.build}">
-    <mkdir dir="${app.build}"/>
-    <javac srcdir="${src}" destdir="${app.build}" classpathref="build.classpath" source="1.4" fork="true" />
-  </target>
-
-  <target name="test.compile" depends="code.compile"
-          description="Creates ${test.build} directory and compiles sources from ${test.src} to ${test.build}">
-    <mkdir dir="${test.build}"/>
-    <javac srcdir="${test.src}"
-           destdir="${test.build}"
-           classpathref="testbuild.classpath" source="1.4" fork="true"/>
-  </target>
-
-  <target name="test.run" depends="with.clover,test.compile" description="Runs the tests">
-    <mkdir dir="${test.result}"/>
-    <junit printsummary="true" showoutput="true" fork="true" forkmode="once">
-      <classpath refid="testbuild.classpath"/>
-      <formatter type="xml"/>
-      <batchtest fork="yes" todir="${test.result}">
-        <fileset dir="${test.src}" includes="**/*Test.java"/>
-      </batchtest>
-    </junit>
-  </target>
-
-  <target name="clean">
-    <delete dir="build"/>
-  </target>
-
-  <target name="all" depends="clean,test.run,clover.xml,clover.html"/>
-</project>
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-clover/lib/clover/clover.jar b/tests/integration/tests/custom-projects/ant-dynamic-clover/lib/clover/clover.jar
deleted file mode 100644 (file)
index a4ea600..0000000
Binary files a/tests/integration/tests/custom-projects/ant-dynamic-clover/lib/clover/clover.jar and /dev/null differ
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-clover/lib/clover/clover.license b/tests/integration/tests/custom-projects/ant-dynamic-clover/lib/clover/clover.license
deleted file mode 100644 (file)
index d0adeaf..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-opmOXvoSTwRurJtdPUPnnqXUoPxgewBKvhvFsQghghMpHN
-mi2KCHwAl26X>gPZJcsdXAvR2KEZT5o>pDZqs>VNq7CbJD
-OomqxtmMpmQQorqpnOqWVrrrQONpmONrNRUVuWTtSWSoop
-qqnmqmUUnooqqonommmmmUUnooqqonommmmmUUJlkXoUUn
-mmmm
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-clover/lib/cpl-v10.html b/tests/integration/tests/custom-projects/ant-dynamic-clover/lib/cpl-v10.html
deleted file mode 100644 (file)
index 36aa208..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-<HEAD>
-<TITLE>Common Public License - v 1.0</TITLE>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-</HEAD>
-
-<BODY BGCOLOR="#FFFFFF" VLINK="#800000">
-
-
-<P ALIGN="CENTER"><B>Common Public License - v 1.0</B>
-<P><B></B><FONT SIZE="3"></FONT>
-<P><FONT SIZE="3"></FONT><FONT SIZE="2">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT").  ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>1.  DEFINITIONS</B></FONT>
-<P><FONT SIZE="2">"Contribution" means:</FONT>
-
-<UL><FONT SIZE="2">a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and<BR CLEAR="LEFT">
-b) in the case of each subsequent Contributor:</FONT></UL>
-
-
-<UL><FONT SIZE="2">i)          changes to the Program, and</FONT></UL>
-
-
-<UL><FONT SIZE="2">ii)         additions to the Program;</FONT></UL>
-
-
-<UL><FONT SIZE="2">where such changes and/or additions to the Program originate from and are distributed by that particular Contributor.  </FONT><FONT SIZE="2">A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf.  </FONT><FONT SIZE="2">Contributions do not include additions to the Program which:  (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.  </FONT></UL>
-
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Contributor" means any person or entity that distributes the Program.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.  </FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">"Program" means the Contributions distributed in accordance with this Agreement.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.</FONT>
-<P><FONT SIZE="2"><B></B></FONT>
-<P><FONT SIZE="2"><B>2.  GRANT OF RIGHTS</B></FONT>
-
-<UL><FONT SIZE="2"></FONT><FONT SIZE="2">a)    </FONT><FONT SIZE="2">Subject to the terms of this Agreement, each Contributor hereby grants</FONT><FONT SIZE="2"> Recipient a non-exclusive, worldwide, royalty-free copyright license to</FONT><FONT SIZE="2" COLOR="#FF0000"> </FONT><FONT SIZE="2">reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.</FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT><FONT SIZE="2">b)    Subject to the terms of this Agreement, each Contributor hereby grants </FONT><FONT SIZE="2">Recipient a non-exclusive, worldwide,</FONT><FONT SIZE="2" COLOR="#008000"> </FONT><FONT SIZE="2">royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form.  This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents.  The patent license shall not apply to any other combinations which include the Contribution.  No hardware per se is licensed hereunder.   </FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2">c)  Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity.  Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise.  As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any.  For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.</FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2">d)  Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. </FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-<P><FONT SIZE="2"><B>3.  REQUIREMENTS</B></FONT>
-<P><FONT SIZE="2"><B></B>A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:</FONT>
-
-<UL><FONT SIZE="2">a)  it complies with the terms and conditions of this Agreement; and</FONT></UL>
-
-
-<UL><FONT SIZE="2">b)  its license agreement:</FONT></UL>
-
-
-<UL><FONT SIZE="2">i)  effectively disclaims</FONT><FONT SIZE="2"> on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; </FONT></UL>
-
-
-<UL><FONT SIZE="2">ii)         effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; </FONT></UL>
-
-
-<UL><FONT SIZE="2">iii)</FONT><FONT SIZE="2">  states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and</FONT></UL>
-
-
-<UL><FONT SIZE="2">iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.</FONT><FONT SIZE="2" COLOR="#0000FF"> </FONT><FONT SIZE="2" COLOR="#FF0000"></FONT></UL>
-
-
-<UL><FONT SIZE="2" COLOR="#FF0000"></FONT><FONT SIZE="2"></FONT></UL>
-
-<P><FONT SIZE="2">When the Program is made available in source code form:</FONT>
-
-<UL><FONT SIZE="2">a)  it must be made available under this Agreement; and </FONT></UL>
-
-
-<UL><FONT SIZE="2">b)  a copy of this Agreement must be included with each copy of the Program.  </FONT></UL>
-
-<P><FONT SIZE="2"></FONT><FONT SIZE="2" COLOR="#0000FF"><STRIKE></STRIKE></FONT>
-<P><FONT SIZE="2" COLOR="#0000FF"><STRIKE></STRIKE></FONT><FONT SIZE="2">Contributors may not remove or alter any copyright notices contained within the Program.  </FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.  </FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>4.  COMMERCIAL DISTRIBUTION</B></FONT>
-<P><FONT SIZE="2">Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like.  While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors.   Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering.  The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement.  In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations.  The Indemnified Contributor may participate in any such claim at its own expense.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">For example, a Contributor might include the Program in a commercial product offering, Product X.  That Contributor is then a Commercial Contributor.  If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone.  Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2" COLOR="#0000FF"></FONT>
-<P><FONT SIZE="2" COLOR="#0000FF"></FONT><FONT SIZE="2"><B>5.  NO WARRANTY</B></FONT>
-<P><FONT SIZE="2">EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is</FONT><FONT SIZE="2"> solely responsible for determining the appropriateness of using and distributing </FONT><FONT SIZE="2">the Program</FONT><FONT SIZE="2"> and assumes all risks associated with its exercise of rights under this Agreement</FONT><FONT SIZE="2">, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, </FONT><FONT SIZE="2">programs or equipment, and unavailability or interruption of operations</FONT><FONT SIZE="2">.  </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"><B>6.  DISCLAIMER OF LIABILITY</B></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES </FONT><FONT SIZE="2">(INCLUDING WITHOUT LIMITATION LOST PROFITS),</FONT><FONT SIZE="2"> HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>7.  GENERAL</B></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed.  In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance.  If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable.  However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.  </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted  and may only be modified in the following manner. The Agreement Steward reserves the right to </FONT><FONT SIZE="2">publish new versions (including revisions) of this Agreement from time to </FONT><FONT SIZE="2">time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward.   IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity.  </FONT><FONT SIZE="2">Each new version of the Agreement will be given a distinguishing version number.  The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new </FONT><FONT SIZE="2">version.  </FONT><FONT SIZE="2">Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, </FONT><FONT SIZE="2">by implication, estoppel or otherwise</FONT><FONT SIZE="2">.</FONT><FONT SIZE="2">  All rights in the Program not expressly granted under this Agreement are reserved.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose.  Each party waives its rights to a jury trial in any resulting litigation.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-
-</BODY>
-
-</HTML>
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-clover/lib/junit-3.8.2.jar b/tests/integration/tests/custom-projects/ant-dynamic-clover/lib/junit-3.8.2.jar
deleted file mode 100644 (file)
index c8f711d..0000000
Binary files a/tests/integration/tests/custom-projects/ant-dynamic-clover/lib/junit-3.8.2.jar and /dev/null differ
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-clover/pom.xml b/tests/integration/tests/custom-projects/ant-dynamic-clover/pom.xml
deleted file mode 100644 (file)
index f580e84..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<!-- this maven file is used by sonar only. Project is built with ant (see build.xml). -->\r
-\r
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>ant-dynamic-clover</artifactId>\r
-  <name>ant-dynamic-clover</name>\r
-  <version>1.0</version>\r
-\r
-  <properties>\r
-    <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>\r
-    <sonar.core.codeCoveragePlugin>clover</sonar.core.codeCoveragePlugin>\r
-    <sonar.clover.reportPath>build/reports/coverage.xml</sonar.clover.reportPath>\r
-    <sonar.surefire.reportsPath>build/testresult</sonar.surefire.reportsPath>\r
-  </properties>\r
-\r
-  <build>\r
-    <sourceDirectory>src/main/java</sourceDirectory>\r
-\r
-    <!-- ant compiles sources into this directory -->\r
-    <outputDirectory>build/app</outputDirectory>\r
-\r
-    <plugins>\r
-      <plugin>\r
-        <groupId>org.apache.maven.plugins</groupId>\r
-        <artifactId>maven-compiler-plugin</artifactId>\r
-        <configuration>\r
-          <source>1.5</source>\r
-          <target>1.5</target>\r
-          <failOnError>false</failOnError>\r
-          <excludes>\r
-            <exclude>**/*</exclude>\r
-          </excludes>\r
-        </configuration>\r
-      </plugin>\r
-    </plugins>\r
-  </build>\r
-\r
-  <!--\r
-  Findbugs needs the auxiliary classpath to get results as accurate as possible. It avoids getting warnings like :\r
-\r
-  The following classes needed for analysis were missing:\r
-    junit.framework.TestCase\r
-  -->\r
-  <dependencies>\r
-    <dependency>\r
-      <groupId>deps</groupId>\r
-      <artifactId>dep1</artifactId>\r
-      <version>0.1</version>\r
-      <scope>system</scope>\r
-      <systemPath>${basedir}/lib/junit-3.8.2.jar</systemPath>\r
-    </dependency>\r
-  </dependencies>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-clover/src/main/java/com/cenqua/samples/money/IMoney.java b/tests/integration/tests/custom-projects/ant-dynamic-clover/src/main/java/com/cenqua/samples/money/IMoney.java
deleted file mode 100644 (file)
index 21aab99..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-//package junit.samples.money;
-package com.cenqua.samples.money;
-
-/**
- * The common interface for simple Monies and MoneyBags
- */
-public interface IMoney {
-    /**
-     * Adds a money to this money.
-     */
-    public abstract IMoney add(IMoney m);
-
-    /**
-     * Adds a simple Money to this money. This is a helper method for
-     * implementing double dispatch
-     */
-    public abstract IMoney addMoney(Money m);
-
-    /**
-     * Adds a MoneyBag to this money. This is a helper method for
-     * implementing double dispatch
-     */
-    public abstract IMoney addMoneyBag(MoneyBag s);
-
-    /**
-     * Tests whether this money is zero
-     */
-    public abstract boolean isZero();
-
-    /**
-     * Multiplies a money by the given factor.
-     */
-    public abstract IMoney multiply(int factor);
-
-    /**
-     * Negates this money.
-     */
-    public abstract IMoney negate();
-
-    /**
-     * Subtracts a money from this money.
-     */
-    public abstract IMoney subtract(IMoney m);
-
-    /**
-     * Append this to a MoneyBag m.
-     */
-    public abstract void appendTo(MoneyBag m);
-}
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-clover/src/main/java/com/cenqua/samples/money/Money.java b/tests/integration/tests/custom-projects/ant-dynamic-clover/src/main/java/com/cenqua/samples/money/Money.java
deleted file mode 100644 (file)
index 7e41cf5..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-//package junit.samples.money;
-package com.cenqua.samples.money;
-
-/**
- * A simple Money.
- */
-public class Money implements IMoney {
-
-    private int fAmount;
-    private String fCurrency;
-
-    /**
-     * Constructs a money from the given amount and currency.
-     */
-    public Money(int amount, String currency) {
-        fAmount = amount;
-        fCurrency = currency;
-    }
-
-    /**
-     * Adds a money to this money. Forwards the request to the addMoney helper.
-     */
-    public IMoney add(IMoney m) {
-        return m.addMoney(this);
-    }
-
-    public IMoney addMoney(Money m) {
-        if (m.currency().equals(currency()))
-            return new Money(amount() + m.amount(), currency());
-        return MoneyBag.create(this, m);
-    }
-
-    public IMoney addMoneyBag(MoneyBag s) {
-        return s.addMoney(this);
-    }
-
-    public int amount() {
-        return fAmount;
-    }
-
-    public String currency() {
-        return fCurrency;
-    }
-
-    public boolean equals(Object anObject) {
-        if (isZero())
-            if (anObject instanceof IMoney)
-                return ((IMoney) anObject).isZero();
-        if (anObject instanceof Money) {
-            Money aMoney = (Money) anObject;
-            return aMoney.currency().equals(currency())
-                    && amount() == aMoney.amount();
-        }
-        return false;
-    }
-
-    public int hashCode() {
-        return fCurrency.hashCode() + fAmount;
-    }
-
-    public boolean isZero() {
-        return amount() == 0;
-    }
-
-    public IMoney multiply(int factor) {
-        return new Money(amount() * factor, currency());
-    }
-
-    public IMoney negate() {
-        return new Money(-amount(), currency());
-    }
-
-    public IMoney subtract(IMoney m) {
-        return add(m.negate());
-    }
-
-    public String toString() {
-        StringBuffer buffer = new StringBuffer();
-        buffer.append("[" + amount() + " " + currency() + "]");
-        return buffer.toString();
-    }
-
-    public /*this makes no sense*/ void appendTo(MoneyBag m) {
-        m.appendMoney(this);
-    }
-}
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-clover/src/main/java/com/cenqua/samples/money/MoneyBag.java b/tests/integration/tests/custom-projects/ant-dynamic-clover/src/main/java/com/cenqua/samples/money/MoneyBag.java
deleted file mode 100644 (file)
index 354f1d7..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-//package junit.samples.money;
-package com.cenqua.samples.money;
-
-import java.util.*;
-
-/**
- * A MoneyBag defers exchange rate conversions. For example adding
- * 12 Swiss Francs to 14 US Dollars is represented as a bag
- * containing the two Monies 12 CHF and 14 USD. Adding another
- * 10 Swiss francs gives a bag with 22 CHF and 14 USD. Due to
- * the deferred exchange rate conversion we can later value a
- * MoneyBag with different exchange rates.
- * <p/>
- * A MoneyBag is represented as a list of Monies and provides
- * different constructors to create a MoneyBag.
- */
-class MoneyBag implements IMoney {
-    private Vector fMonies = new Vector(5);
-
-    static IMoney create(IMoney m1, IMoney m2) {
-        MoneyBag result = new MoneyBag();
-        m1.appendTo(result);
-        m2.appendTo(result);
-        return result.simplify();
-    }
-
-    public IMoney add(IMoney m) {
-        return m.addMoneyBag(this);
-    }
-
-    public IMoney addMoney(Money m) {
-        return MoneyBag.create(m, this);
-    }
-
-    public IMoney addMoneyBag(MoneyBag s) {
-        return MoneyBag.create(s, this);
-    }
-
-    void appendBag(MoneyBag aBag) {
-        for (Enumeration e = aBag.fMonies.elements(); e.hasMoreElements();)
-            appendMoney((Money) e.nextElement());
-    }
-
-    void appendMoney(Money aMoney) {
-        if (aMoney.isZero()) return;
-        IMoney old = findMoney(aMoney.currency());
-        if (old == null) {
-            fMonies.addElement(aMoney);
-            return;
-        }
-        fMonies.removeElement(old);
-        IMoney sum = old.add(aMoney);
-        if (sum.isZero())
-            return;
-        fMonies.addElement(sum);
-    }
-
-    public boolean equals(Object anObject) {
-        if (isZero())
-            if (anObject instanceof IMoney)
-                return ((IMoney) anObject).isZero();
-
-        if (anObject instanceof MoneyBag) {
-            MoneyBag aMoneyBag = (MoneyBag) anObject;
-            if (aMoneyBag.fMonies.size() != fMonies.size())
-                return false;
-
-            for (Enumeration e = fMonies.elements(); e.hasMoreElements();) {
-                Money m = (Money) e.nextElement();
-                if (!aMoneyBag.contains(m))
-                    return false;
-            }
-            return true;
-        }
-        return false;
-    }
-
-    private Money findMoney(String currency) {
-        for (Enumeration e = fMonies.elements(); e.hasMoreElements();) {
-            Money m = (Money) e.nextElement();
-            if (m.currency().equals(currency))
-                return m;
-        }
-        return null;
-    }
-
-    private boolean contains(Money m) {
-        Money found = findMoney(m.currency());
-        if (found == null) return false;
-        return found.amount() == m.amount();
-    }
-
-    public int hashCode() {
-        int hash = 0;
-        for (Enumeration e = fMonies.elements(); e.hasMoreElements();) {
-            Object m = e.nextElement();
-            hash ^= m.hashCode();
-        }
-        return hash;
-    }
-
-    public boolean isZero() {
-        return fMonies.size() == 0;
-    }
-
-    public IMoney multiply(int factor) {
-        MoneyBag result = new MoneyBag();
-        if (factor != 0) {
-            for (Enumeration e = fMonies.elements(); e.hasMoreElements();) {
-                Money m = (Money) e.nextElement();
-                result.appendMoney((Money) m.multiply(factor));
-            }
-        }
-        return result;
-    }
-
-    public IMoney negate() {
-        MoneyBag result = new MoneyBag();
-        for (Enumeration e = fMonies.elements(); e.hasMoreElements();) {
-            Money m = (Money) e.nextElement();
-            result.appendMoney((Money) m.negate());
-        }
-        return result;
-    }
-
-    private IMoney simplify() {
-        if (fMonies.size() == 1)
-            return (IMoney) fMonies.elements().nextElement();
-        return this;
-    }
-
-    public IMoney subtract(IMoney m) {
-        return add(m.negate());
-    }
-
-    public String toString() {
-        StringBuffer buffer = new StringBuffer();
-        buffer.append("{");
-        for (Enumeration e = fMonies.elements(); e.hasMoreElements();)
-            buffer.append(e.nextElement());
-        buffer.append("}");
-        return buffer.toString();
-    }
-
-    public void appendTo(MoneyBag m) {
-        m.appendBag(this);
-    }
-}
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-clover/src/test/java/com/cenqua/samples/money/MoneyBagTest.java b/tests/integration/tests/custom-projects/ant-dynamic-clover/src/test/java/com/cenqua/samples/money/MoneyBagTest.java
deleted file mode 100644 (file)
index 1da75a9..0000000
+++ /dev/null
@@ -1,174 +0,0 @@
-//package junit.samples.money;
-package com.cenqua.samples.money;
-
-import junit.framework.TestCase;
-
-
-public class MoneyBagTest extends TestCase {
-    private Money f12CHF;
-    private Money f14CHF;
-    private Money f7USD;
-    private Money f21USD;
-
-    private IMoney fMB1;
-    private IMoney fMB2;
-
-    public static void main(String args[]) {
-        junit.textui.TestRunner.run(MoneyBagTest.class);
-    }
-
-    protected void setUp() {
-        f12CHF = new Money(12, "CHF");
-        f14CHF = new Money(14, "CHF");
-        f7USD = new Money(7, "USD");
-        f21USD = new Money(21, "USD");
-
-        fMB1 = MoneyBag.create(f12CHF, f7USD);
-        fMB2 = MoneyBag.create(f14CHF, f21USD);
-    }
-
-    protected void tearDown() throws Exception {
-        // call toString, guranteed to be only called from here.
-        // this is for testing, coverage by test.
-        fMB1.toString();
-    }
-
-    public void testBagMultiply() {
-        // {[12 CHF][7 USD]} *2 == {[24 CHF][14 USD]}
-        IMoney expected = MoneyBag.create(new Money(24, "CHF"), new Money(14, "USD"));
-        assertEquals(expected, fMB1.multiply(2));
-        assertEquals(fMB1, fMB1.multiply(1));
-        assertTrue(fMB1.multiply(0).isZero());
-    }
-
-    public void testBagNegate() {
-        // {[12 CHF][7 USD]} negate == {[-12 CHF][-7 USD]}
-        IMoney expected = MoneyBag.create(new Money(-12, "CHF"), new Money(-7, "USD"));
-        assertEquals(expected, fMB1.negate());
-    }
-
-    public void testBagSimpleAdd() {
-        // {[12 CHF][7 USD]} + [14 CHF] == {[26 CHF][7 USD]}
-        IMoney expected = MoneyBag.create(new Money(26, "CHF"), new Money(7, "USD"));
-        assertEquals(expected, fMB1.add(f14CHF));
-    }
-
-    public void testBagSubtract() {
-        // {[12 CHF][7 USD]} - {[14 CHF][21 USD] == {[-2 CHF][-14 USD]}
-        IMoney expected = MoneyBag.create(new Money(-2, "CHF"), new Money(-14, "USD"));
-        assertEquals(expected, fMB1.subtract(fMB2));
-    }
-
-    public void testBagSumAdd() {
-        // {[12 CHF][7 USD]} + {[14 CHF][21 USD]} == {[26 CHF][28 USD]}
-        IMoney expected = MoneyBag.create(new Money(26, "CHF"), new Money(28, "USD"));
-        assertEquals(expected, fMB1.add(fMB2));
-    }
-
-    public void testIsZero() {
-        assertTrue(fMB1.subtract(fMB1).isZero());
-        assertTrue(MoneyBag.create(new Money(0, "CHF"), new Money(0, "USD")).isZero());
-    }
-
-    public void testMixedSimpleAdd() {
-        // [12 CHF] + [7 USD] == {[12 CHF][7 USD]}
-        IMoney expected = MoneyBag.create(f12CHF, f7USD);
-        assertEquals(expected, f12CHF.add(f7USD));
-    }
-
-    public void testBagNotEquals() {
-        IMoney bag = MoneyBag.create(f12CHF, f7USD);
-        assertFalse(bag.equals(new Money(12, "DEM").add(f7USD)));
-    }
-
-    public void testMoneyBagEquals() {
-        assertTrue(!fMB1.equals(null));
-
-        assertEquals(fMB1, fMB1);
-        IMoney equal = MoneyBag.create(new Money(12, "CHF"), new Money(7, "USD"));
-        assertTrue(fMB1.equals(equal));
-        assertTrue(!fMB1.equals(f12CHF));
-        assertTrue(!f12CHF.equals(fMB1));
-        assertTrue(!fMB1.equals(fMB2));
-    }
-
-    public void testMoneyBagHash() {
-        IMoney equal = MoneyBag.create(new Money(12, "CHF"), new Money(7, "USD"));
-        assertEquals(fMB1.hashCode(), equal.hashCode());
-    }
-
-    public void testMoneyEquals() {
-        assertTrue(!f12CHF.equals(null));
-        Money equalMoney = new Money(12, "CHF");
-        assertEquals(f12CHF, f12CHF);
-        assertEquals(f12CHF, equalMoney);
-        assertEquals(f12CHF.hashCode(), equalMoney.hashCode());
-        assertTrue(!f12CHF.equals(f14CHF));
-    }
-
-    public void testMoneyHash() {
-        assertTrue(!f12CHF.equals(null));
-        Money equal = new Money(12, "CHF");
-        assertEquals(f12CHF.hashCode(), equal.hashCode());
-    }
-
-    public void testSimplify() {
-        IMoney money = MoneyBag.create(new Money(26, "CHF"), new Money(28, "CHF"));
-        assertEquals(new Money(54, "CHF"), money);
-    }
-
-    public void testNormalize2() {
-        // {[12 CHF][7 USD]} - [12 CHF] == [7 USD]
-        Money expected = new Money(7, "USD");
-        assertEquals(expected, fMB1.subtract(f12CHF));
-    }
-
-    public void testNormalize3() {
-        // {[12 CHF][7 USD]} - {[12 CHF][3 USD]} == [4 USD]
-        IMoney ms1 = MoneyBag.create(new Money(12, "CHF"), new Money(3, "USD"));
-        Money expected = new Money(4, "USD");
-        assertEquals(expected, fMB1.subtract(ms1));
-    }
-
-    public void testNormalize4() {
-        // [12 CHF] - {[12 CHF][3 USD]} == [-3 USD]
-        IMoney ms1 = MoneyBag.create(new Money(12, "CHF"), new Money(3, "USD"));
-        Money expected = new Money(-3, "USD");
-        assertEquals(expected, f12CHF.subtract(ms1));
-    }
-
-    public void testPrint() {
-        assertEquals("[12 CHF]", f12CHF.toString());
-    }
-
-    public void testSimpleAdd() {
-        // [12 CHF] + [14 CHF] == [26 CHF]
-        Money expected = new Money(26, "CHF");
-        assertEquals(expected, f12CHF.add(f14CHF));
-    }
-
-    public void testSimpleBagAdd() {
-        // [14 CHF] + {[12 CHF][7 USD]} == {[26 CHF][7 USD]}
-        IMoney expected = MoneyBag.create(new Money(26, "CHF"), new Money(7, "USD"));
-        assertEquals(expected, f14CHF.add(fMB1));
-    }
-
-    public void testSimpleMultiply() {
-        // [14 CHF] *2 == [28 CHF]
-        Money expected = new Money(28, "CHF");
-        assertEquals(expected, f14CHF.multiply(2));
-    }
-
-    public void testSimpleNegate() {
-        // [14 CHF] negate == [-14 CHF]
-        Money expected = new Money(-14, "CHF");
-        assertEquals(expected, f14CHF.negate());
-    }
-
-    public void testSimpleSubtract() {
-        // [14 CHF] - [12 CHF] == [2 CHF]
-        Money expected = new Money(2, "CHF");
-        assertEquals(expected, f14CHF.subtract(f12CHF));
-    }
-    
-}
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-clover/src/test/java/com/cenqua/samples/money/MoneyTest.java b/tests/integration/tests/custom-projects/ant-dynamic-clover/src/test/java/com/cenqua/samples/money/MoneyTest.java
deleted file mode 100644 (file)
index e352457..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-package com.cenqua.samples.money;
-
-import junit.framework.TestCase;
-
-/**
- * This is a trivial test which only tests the Money class.
- * If you modify the MoneyBag class, and run Clover with optimization, this test will not be run.
- */
-public class MoneyTest extends TestCase {
-
-    public void testAdd() throws InterruptedException {
-        Money tenEuro = new Money(10, "EURO");
-        assertEquals(10, tenEuro.amount());
-        assertEquals("EURO", tenEuro.currency());
-        System.out.println("Tests taking too long? Try clover's test optimization.");
-        Thread.sleep(3000);
-    }
-    
-}
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-cobertura/build.xml b/tests/integration/tests/custom-projects/ant-dynamic-cobertura/build.xml
deleted file mode 100644 (file)
index 1415ca2..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-\r
-<project name="ant-dynamic-cobertura" default="coverage" basedir=".">\r
-\r
-    <property name="src.dir" value="src"/>\r
-         <property name="lib.dir" value="lib"/>\r
-    <property name="lib.cobertura.dir" value="${lib.dir}/cobertura"/>\r
-    <property name="build.dir" value="build"/>\r
-    <property name="classes.dir" value="${build.dir}/classes"/>\r
-    <property name="classes.instrumented.dir" value="${build.dir}/instrumented"/>\r
-    <property name="reports.dir" value="reports"/>\r
-    <property name="reports.junit.xml.dir" value="${reports.dir}/junit/xml"/>\r
-    <property name="reports.junit.html.dir" value="${reports.dir}/junit/html"/>\r
-    <property name="reports.cobertura.xml.dir" value="${reports.dir}/cobertura/xml"/>\r
-    <property name="reports.cobertura.html.dir" value="${reports.dir}/cobertura/html"/>\r
-\r
-  <path id="classpath">\r
-    <fileset dir="${lib.dir}" includes="*.jar"/>\r
-  </path>\r
-\r
-       <path id="cobertura.classpath">\r
-               <fileset dir="${lib.cobertura.dir}">\r
-                       <include name="*.jar" />\r
-               </fileset>
-       </path>\r
-\r
-       <taskdef classpathref="cobertura.classpath" resource="tasks.properties"/>\r
-
-  <taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask">
-    <classpath>
-      <path refid="classpath"/>
-    </classpath>
-  </taskdef>
-  
-  <taskdef name="junitreport" classname="org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator">
-    <classpath>
-      <path refid="classpath"/>
-    </classpath>
-  </taskdef>  
-  \r
-       <target name="init">\r
-       <mkdir dir="${build.dir}" />\r
-               <mkdir dir="${classes.dir}" />\r
-               <mkdir dir="${classes.instrumented.dir}" />\r
-               <mkdir dir="${reports.dir}" />\r
-               <mkdir dir="${reports.junit.xml.dir}" />\r
-    <mkdir dir="${reports.junit.html.dir}" />\r
-               <mkdir dir="${reports.cobertura.xml.dir}" />\r
-               <mkdir dir="${reports.cobertura.html.dir}" />\r
-       </target>\r
-\r
-    \r
-\r
-       <target name="compile" depends="init">\r
-               <javac srcdir="${src.dir}" destdir="${classes.dir}" classpathref="classpath" fork="true" debug="true"/>\r
-       </target>\r
-\r
-       <target name="instrument" depends="init,compile">\r
-               <!--\r
-                       Remove the coverage data file and any old instrumentation.\r
-               -->\r
-               <delete file="cobertura.ser"/>\r
-               <delete dir="${classes.instrumented.dir}" />\r
-\r
-               <cobertura-instrument todir="${classes.instrumented.dir}">\r
-                       <fileset dir="${classes.dir}">\r
-                               <!--\r
-                                       Instrument all the application classes, but\r
-                                       don't instrument the test classes.\r
-                               -->\r
-                               <include name="**/*.class" />\r
-                               <exclude name="**/*Test.class" />\r
-                       </fileset>\r
-               </cobertura-instrument>\r
-       </target>\r
-\r
-       <target name="test" depends="init,compile">\r
-               <junit fork="yes" dir="${basedir}" failureProperty="test.failed">\r
-                       <!--\r
-                               Note the classpath order: instrumented classes are before the\r
-                               original (uninstrumented) classes.  This is important.\r
-                       -->\r
-                       <classpath location="${classes.instrumented.dir}" />\r
-                       <classpath location="${classes.dir}" />\r
-\r
-                       <!--\r
-                               The instrumented classes reference classes used by the\r
-                               Cobertura runtime, so Cobertura and its dependencies\r
-                               must be on your classpath.\r
-                       -->\r
-                       <classpath refid="cobertura.classpath" />\r
-      <classpath refid="classpath" />\r
-\r
-                       <formatter type="xml" />\r
-                       <batchtest todir="${reports.junit.xml.dir}">\r
-                               <fileset dir="${src.dir}">\r
-                                       <include name="**/*Test.java" />\r
-                               </fileset>\r
-                       </batchtest>\r
-               </junit>\r
-\r
-               <junitreport todir="${reports.junit.html.dir}">\r
-                       <fileset dir="${reports.junit.xml.dir}">\r
-                               <include name="TEST-*.xml" />\r
-                       </fileset>\r
-                       <report format="frames" todir="${reports.junit.html.dir}" />
-               </junitreport>\r
-       </target>\r
-\r
-       <target name="coverage-report">\r
-               <!--\r
-                       Generate an XML file containing the coverage data using\r
-                       the "srcdir" attribute.\r
-               -->\r
-               <cobertura-report srcdir="${src.dir}" destdir="${reports.cobertura.xml.dir}" format="xml" />\r
-       </target>\r
-\r
-       <target name="alternate-coverage-report">\r
-               <!--\r
-                       Generate a series of HTML files containing the coverage\r
-                       data in a user-readable form using nested source filesets.\r
-               -->\r
-               <cobertura-report destdir="${reports.cobertura.html.dir}">\r
-                       <fileset dir="${src.dir}">\r
-                               <include name="**/*.java"/>\r
-                       </fileset>\r
-               </cobertura-report>\r
-       </target>\r
-\r
-       <target name="clean" description="Remove all files created by the build/test process.">\r
-               <delete dir="${build.dir}" />\r
-               <delete dir="${instrumented.dir}" />\r
-               <delete dir="${reports.dir}" />\r
-               <delete file="cobertura.log" />\r
-               <delete file="cobertura.ser" />\r
-       </target>\r
-\r
-       <target name="coverage" depends="compile,instrument,test,coverage-report,alternate-coverage-report" description="Compile, instrument ourself, run the tests and generate JUnit and coverage reports."/>\r
-\r
-</project>\r
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/asm-3.0.jar b/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/asm-3.0.jar
deleted file mode 100644 (file)
index 112f5bd..0000000
Binary files a/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/asm-3.0.jar and /dev/null differ
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/asm-tree-3.0.jar b/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/asm-tree-3.0.jar
deleted file mode 100644 (file)
index 2a4b208..0000000
Binary files a/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/asm-tree-3.0.jar and /dev/null differ
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/cobertura.jar b/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/cobertura.jar
deleted file mode 100644 (file)
index 5cabbf2..0000000
Binary files a/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/cobertura.jar and /dev/null differ
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/jakarta-oro-2.0.8.jar b/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/jakarta-oro-2.0.8.jar
deleted file mode 100644 (file)
index 23488d2..0000000
Binary files a/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/jakarta-oro-2.0.8.jar and /dev/null differ
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/jakarta-oro-license.txt b/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/jakarta-oro-license.txt
deleted file mode 100644 (file)
index 100f86b..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================\r
- * The Apache Software License, Version 1.1\r
- *\r
- * Copyright (c) 2000-2002 The Apache Software Foundation.  All rights\r
- * reserved.\r
- *\r
- * Redistribution and use in source and binary forms, with or without\r
- * modification, are permitted provided that the following conditions\r
- * are met:\r
- *\r
- * 1. Redistributions of source code must retain the above copyright\r
- *    notice, this list of conditions and the following disclaimer.\r
- *\r
- * 2. Redistributions in binary form must reproduce the above copyright\r
- *    notice, this list of conditions and the following disclaimer in\r
- *    the documentation and/or other materials provided with the\r
- *    distribution.\r
- *\r
- * 3. The end-user documentation included with the redistribution,\r
- *    if any, must include the following acknowledgment:\r
- *       "This product includes software developed by the\r
- *        Apache Software Foundation (http://www.apache.org/)."\r
- *    Alternately, this acknowledgment may appear in the software itself,\r
- *    if and wherever such third-party acknowledgments normally appear.\r
- *\r
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro" \r
- *    must not be used to endorse or promote products derived from this\r
- *    software without prior written permission. For written\r
- *    permission, please contact apache@apache.org.\r
- *\r
- * 5. Products derived from this software may not be called "Apache" \r
- *    or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their \r
- *    name, without prior written permission of the Apache Software Foundation.\r
- *\r
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED\r
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\r
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\r
- * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR\r
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\r
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\r
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\r
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\r
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\r
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\r
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\r
- * SUCH DAMAGE.\r
- * ====================================================================\r
- *\r
- * This software consists of voluntary contributions made by many\r
- * individuals on behalf of the Apache Software Foundation.  For more\r
- * information on the Apache Software Foundation, please see\r
- * <http://www.apache.org/>.\r
- */\r
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/log4j-1.2.9.jar b/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/log4j-1.2.9.jar
deleted file mode 100644 (file)
index a6568b0..0000000
Binary files a/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/log4j-1.2.9.jar and /dev/null differ
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/log4j-license.txt b/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/cobertura/log4j-license.txt
deleted file mode 100644 (file)
index 030564f..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/*\r
- * ============================================================================\r
- *                   The Apache Software License, Version 1.1\r
- * ============================================================================\r
- * \r
- *    Copyright (C) 1999 The Apache Software Foundation. All rights reserved.\r
- * \r
- * Redistribution and use in source and binary forms, with or without modifica-\r
- * tion, are permitted provided that the following conditions are met:\r
- * \r
- * 1. Redistributions of  source code must  retain the above copyright  notice,\r
- *    this list of conditions and the following disclaimer.\r
- * \r
- * 2. Redistributions in binary form must reproduce the above copyright notice,\r
- *    this list of conditions and the following disclaimer in the documentation\r
- *    and/or other materials provided with the distribution.\r
- * \r
- * 3. The end-user documentation included with the redistribution, if any, must\r
- *    include  the following  acknowledgment:  "This product includes  software\r
- *    developed  by the  Apache Software Foundation  (http://www.apache.org/)."\r
- *    Alternately, this  acknowledgment may  appear in the software itself,  if\r
- *    and wherever such third-party acknowledgments normally appear.\r
- * \r
- * 4. The names "log4j" and  "Apache Software Foundation"  must not be used to\r
- *    endorse  or promote  products derived  from this  software without  prior\r
- *    written permission. For written permission, please contact\r
- *    apache@apache.org.\r
- * \r
- * 5. Products  derived from this software may not  be called "Apache", nor may\r
- *    "Apache" appear  in their name,  without prior written permission  of the\r
- *    Apache Software Foundation.\r
- * \r
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,\r
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\r
- * FITNESS  FOR A PARTICULAR  PURPOSE ARE  DISCLAIMED.  IN NO  EVENT SHALL  THE\r
- * APACHE SOFTWARE  FOUNDATION  OR ITS CONTRIBUTORS  BE LIABLE FOR  ANY DIRECT,\r
- * INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLU-\r
- * DING, BUT NOT LIMITED TO, PROCUREMENT  OF SUBSTITUTE GOODS OR SERVICES; LOSS\r
- * OF USE, DATA, OR  PROFITS; OR BUSINESS  INTERRUPTION)  HOWEVER CAUSED AND ON\r
- * ANY  THEORY OF LIABILITY,  WHETHER  IN CONTRACT,  STRICT LIABILITY,  OR TORT\r
- * (INCLUDING  NEGLIGENCE OR  OTHERWISE) ARISING IN  ANY WAY OUT OF THE  USE OF\r
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
- * \r
- * This software  consists of voluntary contributions made  by many individuals\r
- * on  behalf of the Apache Software  Foundation.  For more  information on the \r
- * Apache Software Foundation, please see <http://www.apache.org/>.\r
- *\r
- */\r
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/junit-3.8.2.jar b/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/junit-3.8.2.jar
deleted file mode 100644 (file)
index c8f711d..0000000
Binary files a/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/junit-3.8.2.jar and /dev/null differ
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/log4j-1.2.13.jar b/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/log4j-1.2.13.jar
deleted file mode 100644 (file)
index dde9972..0000000
Binary files a/tests/integration/tests/custom-projects/ant-dynamic-cobertura/lib/log4j-1.2.13.jar and /dev/null differ
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-cobertura/pom.xml b/tests/integration/tests/custom-projects/ant-dynamic-cobertura/pom.xml
deleted file mode 100644 (file)
index f22d23f..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<!-- this maven file is used by sonar only. Project is built with ant (see build.xml). -->\r
-\r
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>ant-dynamic-cobertura</artifactId>\r
-  <name>ant-dynamic-cobertura</name>\r
-  <version>1.0</version>\r
-\r
-  <build>\r
-    <sourceDirectory>src</sourceDirectory>\r
-\r
-    <!-- ant compiles sources into this directory -->\r
-    <outputDirectory>build/classes</outputDirectory>\r
-\r
-    <plugins>\r
-      <plugin>\r
-        <groupId>org.apache.maven.plugins</groupId>\r
-        <artifactId>maven-compiler-plugin</artifactId>\r
-        <configuration>\r
-          <source>1.5</source>\r
-          <target>1.5</target>\r
-          <failOnError>false</failOnError>\r
-          <excludes>\r
-            <exclude>**/*</exclude>\r
-          </excludes>\r
-        </configuration>\r
-      </plugin>\r
-    </plugins>\r
-  </build>\r
-\r
-  <!--\r
-  Findbugs needs the auxiliary classpath to get results as accurate as possible. It avoids getting warnings like :\r
-\r
-  The following classes needed for analysis were missing:\r
-    junit.framework.TestCase\r
-  -->\r
-  <dependencies>\r
-    <dependency>\r
-      <groupId>deps</groupId>\r
-      <artifactId>dep1</artifactId>\r
-      <version>0.1</version>\r
-      <scope>system</scope>\r
-      <systemPath>${basedir}/lib/log4j-1.2.13.jar</systemPath>\r
-    </dependency>\r
-    <dependency>\r
-      <groupId>deps</groupId>\r
-      <artifactId>dep2</artifactId>\r
-      <version>0.1</version>\r
-      <scope>system</scope>\r
-      <systemPath>${basedir}/lib/junit-3.8.2.jar</systemPath>\r
-    </dependency>\r
-  </dependencies>\r
-\r
-  <properties>\r
-    <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>\r
-    <sonar.exclusions>**/*Test.java</sonar.exclusions>\r
-    <sonar.cobertura.reportPath>reports/cobertura/xml/coverage.xml</sonar.cobertura.reportPath>\r
-    <sonar.surefire.reportsPath>reports/junit/xml</sonar.surefire.reportsPath>\r
-  </properties>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-cobertura/src/FailTest.java b/tests/integration/tests/custom-projects/ant-dynamic-cobertura/src/FailTest.java
deleted file mode 100644 (file)
index d75067c..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-public class FailTest extends junit.framework.TestCase {\r
-\r
-    public void testNothing() {\r
-    }\r
-    \r
-    public void testWillAlwaysFail() {\r
-        fail("An error message");\r
-    }\r
-    \r
-}
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-cobertura/src/ant/HelloWorld.java b/tests/integration/tests/custom-projects/ant-dynamic-cobertura/src/ant/HelloWorld.java
deleted file mode 100644 (file)
index 6c9c7a9..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-package ant;\r
-\r
-import org.apache.log4j.Logger;\r
-import org.apache.log4j.BasicConfigurator;\r
-import java.util.Vector;\r
-\r
-public class HelloWorld {\r
-    static Logger logger = Logger.getLogger(HelloWorld.class);\r
-\r
-    public static void main(String[] args) {\r
-        BasicConfigurator.configure();\r
-        logger.info("Hello World");          // the old SysO-statement\r
-        \r
-        String temp = new String();\r
-        Vector<String> v = new Vector<String>();\r
-    }\r
-\r
-    public Object clone() {\r
-           return new HelloWorld();\r
-    }\r
-    public boolean equals(Object o) {\r
-         return true;\r
-    }\r
-\r
-    public boolean Equals(Object o) {\r
-         return true;\r
-    }\r
-}
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-cobertura/src/ant/HelloWorldTest.java b/tests/integration/tests/custom-projects/ant-dynamic-cobertura/src/ant/HelloWorldTest.java
deleted file mode 100644 (file)
index 891a5bd..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-package ant;\r
-\r
-public class HelloWorldTest extends junit.framework.TestCase {\r
-\r
-    public void testClone() {\r
-         HelloWorld hello = new HelloWorld();\r
-         assertEquals(hello, hello.clone());\r
-    }\r
-    \r
-    public void testWillAlwaysFail() {\r
-        fail("An error message");\r
-    }\r
-    \r
-}
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-junit/build.xml b/tests/integration/tests/custom-projects/ant-dynamic-junit/build.xml
deleted file mode 100644 (file)
index 72a7217..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<project name="ant-dynamic-junit" default="all" basedir=".">
-
-  <property name="src.dir" value="src"/>
-  <property name="test.dir" value="test"/>
-  <property name="lib.dir" value="lib"/>
-  <property name="build.dir" value="build"/>
-  <property name="classes.main.dir" value="${build.dir}/classes"/>
-  <property name="classes.test.dir" value="${build.dir}/test"/>
-  <property name="reports.dir" value="reports"/>
-  <property name="reports.junit.xml.dir" value="${reports.dir}/junit/xml"/>
-  <property name="reports.junit.html.dir" value="${reports.dir}/junit/html"/>
-
-  <path id="classpath">
-    <fileset dir="${lib.dir}" includes="*.jar"/>
-  </path>
-
-  <taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask">
-    <classpath>
-      <path refid="classpath"/>
-    </classpath>
-  </taskdef>
-
-  <taskdef name="junitreport" classname="org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator">
-    <classpath>
-      <path refid="classpath"/>
-    </classpath>
-  </taskdef>
-
-  <target name="init">
-    <mkdir dir="${build.dir}"/>
-    <mkdir dir="${classes.main.dir}"/>
-    <mkdir dir="${classes.test.dir}"/>
-    <mkdir dir="${reports.dir}"/>
-    <mkdir dir="${reports.junit.xml.dir}"/>
-    <mkdir dir="${reports.junit.html.dir}"/>
-  </target>
-
-  <target name="compile" depends="init">
-    <javac srcdir="${src.dir}" destdir="${classes.main.dir}" classpathref="classpath" fork="true"/>
-    <javac srcdir="${test.dir}" destdir="${classes.test.dir}" fork="true">
-      <classpath location="${classes.main.dir}"/>
-      <classpath refid="classpath"/>
-    </javac>
-  </target>
-
-  <target name="test" depends="init,compile">
-    <junit fork="yes" dir="${basedir}" failureProperty="test.failed">
-      <classpath>
-        <pathelement location="${classes.main.dir}"/>
-        <pathelement location="${classes.test.dir}"/>
-        <fileset dir="${lib.dir}" includes="*.jar"/>
-      </classpath>
-
-      <formatter type="xml"/>
-      <batchtest todir="${reports.junit.xml.dir}">
-        <fileset dir="${test.dir}">
-          <include name="**/*Test.java"/>
-        </fileset>
-      </batchtest>
-    </junit>
-
-    <junitreport todir="${reports.junit.html.dir}">
-      <fileset dir="${reports.junit.xml.dir}">
-        <include name="TEST-*.xml"/>
-      </fileset>
-      <report format="frames" todir="${reports.junit.html.dir}"/>
-    </junitreport>
-  </target>
-
-
-  <target name="clean" description="Remove all files created by the build/test process.">
-    <delete dir="${build.dir}"/>
-    <delete dir="${reports.dir}"/>
-    <delete dir="target"/>
-  </target>
-
-  <target name="all" depends="clean,compile,test"/>
-
-</project>
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-junit/lib/junit-3.8.2.jar b/tests/integration/tests/custom-projects/ant-dynamic-junit/lib/junit-3.8.2.jar
deleted file mode 100644 (file)
index c8f711d..0000000
Binary files a/tests/integration/tests/custom-projects/ant-dynamic-junit/lib/junit-3.8.2.jar and /dev/null differ
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-junit/lib/log4j-1.2.13.jar b/tests/integration/tests/custom-projects/ant-dynamic-junit/lib/log4j-1.2.13.jar
deleted file mode 100644 (file)
index dde9972..0000000
Binary files a/tests/integration/tests/custom-projects/ant-dynamic-junit/lib/log4j-1.2.13.jar and /dev/null differ
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-junit/pom.xml b/tests/integration/tests/custom-projects/ant-dynamic-junit/pom.xml
deleted file mode 100644 (file)
index cda311e..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<!-- this maven file is used by sonar only. Project is built with ant (see build.xml). -->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.sonar.tests</groupId>
-  <artifactId>ant-dynamic-junit</artifactId>
-  <name>ant-dynamic-junit</name>
-  <version>1.0</version>  
-  
-  <build>
-       <sourceDirectory>src</sourceDirectory>
-    <testSourceDirectory>test</testSourceDirectory>
-    
-    <!-- ant compiles sources into this directory -->
-    <outputDirectory>build/classes</outputDirectory>
-    <testOutputDirectory>build/test</testOutputDirectory>
-
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>1.5</source>
-          <target>1.5</target>
-          <failOnError>false</failOnError>
-          <excludes><exclude>**/*</exclude></excludes>
-        </configuration>
-      </plugin>
-    </plugins>         
-  </build> 
-
-  <!--
-       Findbugs needs the auxiliary classpath to get results as accurate as possible. It avoids getting warnings like :
-       
-       The following classes needed for analysis were missing:
-         junit.framework.TestCase
-  -->
-  <dependencies>
-    <dependency>
-      <groupId>deps</groupId>
-      <artifactId>dep1</artifactId>
-      <version>0.1</version>
-      <scope>system</scope>
-      <systemPath>${basedir}/lib/log4j-1.2.13.jar</systemPath>
-    </dependency>
-       <dependency>
-      <groupId>deps</groupId>
-      <artifactId>dep2</artifactId>
-      <version>0.1</version>
-      <scope>system</scope>
-      <systemPath>${basedir}/lib/junit-3.8.2.jar</systemPath>
-    </dependency>
-  </dependencies>
-
-  <properties>
-       <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
-    <sonar.surefire.reportsPath>reports/junit/xml</sonar.surefire.reportsPath>
-  </properties>
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-junit/src/ant/HelloWorld.java b/tests/integration/tests/custom-projects/ant-dynamic-junit/src/ant/HelloWorld.java
deleted file mode 100644 (file)
index 6c9c7a9..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-package ant;\r
-\r
-import org.apache.log4j.Logger;\r
-import org.apache.log4j.BasicConfigurator;\r
-import java.util.Vector;\r
-\r
-public class HelloWorld {\r
-    static Logger logger = Logger.getLogger(HelloWorld.class);\r
-\r
-    public static void main(String[] args) {\r
-        BasicConfigurator.configure();\r
-        logger.info("Hello World");          // the old SysO-statement\r
-        \r
-        String temp = new String();\r
-        Vector<String> v = new Vector<String>();\r
-    }\r
-\r
-    public Object clone() {\r
-           return new HelloWorld();\r
-    }\r
-    public boolean equals(Object o) {\r
-         return true;\r
-    }\r
-\r
-    public boolean Equals(Object o) {\r
-         return true;\r
-    }\r
-}
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-junit/test/FailTest.java b/tests/integration/tests/custom-projects/ant-dynamic-junit/test/FailTest.java
deleted file mode 100644 (file)
index 7cdd825..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-public class FailTest extends junit.framework.TestCase {
-
-    public void testNothing() {
-    }
-    
-    public void testWillAlwaysFail() {
-        fail("An error message");
-    }
-    
-}
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-junit/test/ant/HelloWorldTest.java b/tests/integration/tests/custom-projects/ant-dynamic-junit/test/ant/HelloWorldTest.java
deleted file mode 100644 (file)
index 47ae3ad..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-package ant;
-
-public class HelloWorldTest extends junit.framework.TestCase {
-
-    public void testClone() {
-         HelloWorld hello = new HelloWorld();
-         assertEquals(hello, hello.clone());
-    }
-    
-    public void testWillAlwaysFail() {
-        fail("An error message");
-    }
-    
-}
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/ant-static/build.xml b/tests/integration/tests/custom-projects/ant-static/build.xml
deleted file mode 100644 (file)
index c49b8a9..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<project name="ant-static" basedir="." default="all">\r
-       <property environment="env"/>\r
-\r
-    <property name="src.dir"     value="src"/>\r
-\r
-    <property name="build.dir"   value="build"/>\r
-    <property name="classes.dir" value="${build.dir}/classes"/>\r
-    <property name="jar.dir"     value="${build.dir}/jar"/>\r
-\r
-    <property name="lib.dir"     value="lib"/>\r
-\r
-    <path id="classpath">\r
-        <fileset dir="${lib.dir}" includes="**/*.jar"/>\r
-    </path>\r
-\r
-    <target name="clean">\r
-        <delete dir="${build.dir}"/>\r
-    </target>\r
-\r
-    <target name="compile">\r
-        <mkdir dir="${classes.dir}"/>\r
-        <javac srcdir="${src.dir}" destdir="${classes.dir}" classpathref="classpath" fork="true" />\r
-    </target>\r
-\r
-    <target name="jar" depends="compile">\r
-        <mkdir dir="${jar.dir}"/>\r
-        <jar destfile="${jar.dir}/${ant.project.name}.jar" basedir="${classes.dir}">\r
-        </jar>\r
-    </target>\r
-\r
-    <target name="junit" depends="jar">\r
-        <junit printsummary="yes">\r
-            <classpath>\r
-                <path refid="classpath"/>\r
-                <path refid="application"/>\r
-            </classpath>\r
-            \r
-            <batchtest fork="yes">\r
-                <fileset dir="${src.dir}" includes="*Test.java"/>\r
-            </batchtest>\r
-        </junit>\r
-    </target>\r
-\r
-    <target name="all" depends="clean,jar"/>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/ant-static/lib/log4j-1.2.13.jar b/tests/integration/tests/custom-projects/ant-static/lib/log4j-1.2.13.jar
deleted file mode 100644 (file)
index dde9972..0000000
Binary files a/tests/integration/tests/custom-projects/ant-static/lib/log4j-1.2.13.jar and /dev/null differ
diff --git a/tests/integration/tests/custom-projects/ant-static/pom.xml b/tests/integration/tests/custom-projects/ant-static/pom.xml
deleted file mode 100644 (file)
index f4f4375..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<!-- this maven file is used by sonar only. Project is built with ant (see build.xml). -->\r
-\r
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>ant-static</artifactId>\r
-  <name>ant-static</name>\r
-  <version>1.0</version>  \r
-  <description>Static analysis of Ant project</description>\r
-  \r
-  <build>\r
-       <sourceDirectory>src</sourceDirectory>\r
-\r
-    <!-- ant compiles sources into this directory -->\r
-    <outputDirectory>build/classes</outputDirectory>\r
-\r
-    <plugins>\r
-      <plugin>\r
-        <groupId>org.apache.maven.plugins</groupId>\r
-        <artifactId>maven-compiler-plugin</artifactId>\r
-        <configuration>\r
-          <source>1.5</source>\r
-          <target>1.5</target>\r
-          <failOnError>false</failOnError>\r
-          <excludes><exclude>**/*</exclude></excludes>\r
-        </configuration>\r
-      </plugin>\r
-\r
-    </plugins>         \r
-  </build> \r
-\r
-  <!--\r
-       Findbugs needs the auxiliary classpath to get results as accurate as possible. It avoids getting warnings like :\r
-       \r
-       The following classes needed for analysis were missing:\r
-         junit.framework.TestCase\r
-  -->\r
-  <dependencies>\r
-    <dependency>\r
-      <groupId>deps</groupId>\r
-      <artifactId>dep1</artifactId>\r
-      <version>0.1</version>\r
-      <scope>system</scope>\r
-      <systemPath>${basedir}/lib/log4j-1.2.13.jar</systemPath>\r
-    </dependency>\r
-  </dependencies>\r
-  \r
-  <properties>\r
-       <sonar.dynamicAnalysis>false</sonar.dynamicAnalysis>\r
-  </properties>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/ant-static/src/ant/HelloWorld.java b/tests/integration/tests/custom-projects/ant-static/src/ant/HelloWorld.java
deleted file mode 100644 (file)
index 6c9c7a9..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-package ant;\r
-\r
-import org.apache.log4j.Logger;\r
-import org.apache.log4j.BasicConfigurator;\r
-import java.util.Vector;\r
-\r
-public class HelloWorld {\r
-    static Logger logger = Logger.getLogger(HelloWorld.class);\r
-\r
-    public static void main(String[] args) {\r
-        BasicConfigurator.configure();\r
-        logger.info("Hello World");          // the old SysO-statement\r
-        \r
-        String temp = new String();\r
-        Vector<String> v = new Vector<String>();\r
-    }\r
-\r
-    public Object clone() {\r
-           return new HelloWorld();\r
-    }\r
-    public boolean equals(Object o) {\r
-         return true;\r
-    }\r
-\r
-    public boolean Equals(Object o) {\r
-         return true;\r
-    }\r
-}
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/big-project/generate-sources.rb b/tests/integration/tests/custom-projects/big-project/generate-sources.rb
deleted file mode 100644 (file)
index 719b8b1..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-require 'fileutils.rb'
-
-class GenerateSources
-  
-  def initialize
-     FileUtils.remove_dir "src/main/java", true
-  end
-  
-       def template
-           if @template.nil?
-                       @template = ''
-                       f = File.open("template.java", "r") 
-                       f.each_line do |line|
-                               @template += line
-                       end
-            end
-            @template
-       end
-       
-       def sources(package_name, class_name)
-         template.gsub(/#PACKAGE/,package_name).gsub(/#CLASS/, class_name)
-       end
-       
-       def generate(package_name, class_name)
-         content=sources(package_name, class_name)
-         dir="src/main/java/" + package_name.gsub(/\./, '/')
-         save(dir, "#{class_name}.java", content)
-       end
-       
-       private
-       def save(dir, filename,content)
-               FileUtils::mkdir_p dir
-               my_file = File.new("#{dir}/#{filename}", 'w')
-               my_file<<content
-               my_file.close
-       end
-end
-
-packages_count=(ARGV.size>0 ? ARGV[0].to_i : 10)
-classes_count=(ARGV.size>1 ? ARGV[1].to_i : 500)
-generator=GenerateSources.new
-
-for index_package in (1..packages_count)
-  for index_class in (1..classes_count)
-    generator.generate("org.sonar.tests.bigproject#{index_package}", "Class#{index_class}")
-  end
-end
-
-puts "#{classes_count * packages_count} classes saved in #{packages_count} packages."
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/big-project/pom.xml b/tests/integration/tests/custom-projects/big-project/pom.xml
deleted file mode 100644 (file)
index 9637d50..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>big-project</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <packaging>jar</packaging>\r
-  <name>Sonar tests - big project</name>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/big-project/template.java b/tests/integration/tests/custom-projects/big-project/template.java
deleted file mode 100644 (file)
index 94e7e57..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-package #PACKAGE;
-
-import java.util.*;
-
-public class #CLASS {
-       public void hello( ) {
-               System.out.println("hello");;
-               int index=333;
-       }
-
-       public void Hello( ) {
-               for (int i=0 ; i<1000 ; i++) {
-                  int j=i*2;   
-               }
-       }       
-       
-       public static final int FOO() {
-         int j=111;
-         j++;
-         Vector v = new Vector();      
-      Vector v2 = new Vector();        
-      String s=null;
-         System.out.println(s);
-         return 222;
-       }
-       
-       public Object clone() {
-         return new Object();  
-       }
-       
-       public String toString() {
-          return "xxxxxxxxxxxxxxxx";   
-       }
-       
-       public String toString(String s) {
-          return s;    
-       }
-}
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/deprecated-sonar-light/build.xml b/tests/integration/tests/custom-projects/deprecated-sonar-light/build.xml
deleted file mode 100644 (file)
index 6e9b394..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<project name="deprecated-light-mode" basedir="." default="all">\r
-\r
-    <property name="src.dir"     value="src"/>\r
-\r
-    <property name="build.dir"   value="build"/>\r
-    <property name="classes.dir" value="${build.dir}/classes"/>\r
-    <property name="jar.dir"     value="${build.dir}/jar"/>\r
-\r
-    <property name="lib.dir"     value="lib"/>\r
-\r
-    <path id="classpath">\r
-        <fileset dir="${lib.dir}" includes="**/*.jar"/>\r
-    </path>\r
-\r
-\r
-    <target name="clean">\r
-        <delete dir="${build.dir}"/>\r
-    </target>\r
-\r
-    <target name="compile">\r
-        <mkdir dir="${classes.dir}"/>\r
-        <javac srcdir="${src.dir}" destdir="${classes.dir}" classpathref="classpath" fork="true"/>\r
-    </target>\r
-\r
-    <target name="jar" depends="compile">\r
-        <mkdir dir="${jar.dir}"/>\r
-        <jar destfile="${jar.dir}/${ant.project.name}.jar" basedir="${classes.dir}">\r
-        </jar>\r
-    </target>\r
-\r
-    <target name="junit" depends="jar">\r
-        <junit printsummary="yes">\r
-            <classpath>\r
-                <path refid="classpath"/>\r
-                <path refid="application"/>\r
-            </classpath>\r
-            \r
-            <batchtest fork="yes">\r
-                <fileset dir="${src.dir}" includes="*Test.java"/>\r
-            </batchtest>\r
-        </junit>\r
-    </target>\r
-\r
-    <target name="all" depends="clean,jar"/>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/deprecated-sonar-light/lib/log4j-1.2.13.jar b/tests/integration/tests/custom-projects/deprecated-sonar-light/lib/log4j-1.2.13.jar
deleted file mode 100644 (file)
index dde9972..0000000
Binary files a/tests/integration/tests/custom-projects/deprecated-sonar-light/lib/log4j-1.2.13.jar and /dev/null differ
diff --git a/tests/integration/tests/custom-projects/deprecated-sonar-light/pom.xml b/tests/integration/tests/custom-projects/deprecated-sonar-light/pom.xml
deleted file mode 100644 (file)
index b017cda..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<!-- this maven file is used by sonar only. Project is built with ant (see build.xml). -->\r
-\r
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>deprecated-sonar-light</artifactId>\r
-  <name>deprecated-sonar-light</name>\r
-  <version>1.0</version>  \r
-  <description>Deprecated "light mode"</description>\r
-  \r
-  <build>\r
-       <sourceDirectory>src</sourceDirectory>\r
-\r
-    <!-- ant compiles sources into this directory -->\r
-    <outputDirectory>build/classes</outputDirectory>\r
-\r
-    <plugins>\r
-      <plugin>\r
-        <groupId>org.apache.maven.plugins</groupId>\r
-        <artifactId>maven-compiler-plugin</artifactId>\r
-        <configuration>\r
-          <source>1.5</source>\r
-          <target>1.5</target>\r
-          <failOnError>false</failOnError>\r
-          <excludes><exclude>**/*</exclude></excludes>\r
-        </configuration>\r
-      </plugin>\r
-\r
-    </plugins>         \r
-  </build> \r
-\r
-  <!--\r
-       Findbugs needs the auxiliary classpath to get results as accurate as possible. It avoids getting warnings like :\r
-       \r
-       The following classes needed for analysis were missing:\r
-         junit.framework.TestCase\r
-  -->\r
-  <dependencies>\r
-    <dependency>\r
-      <groupId>deps</groupId>\r
-      <artifactId>dep1</artifactId>\r
-      <version>0.1</version>\r
-      <scope>system</scope>\r
-      <systemPath>${basedir}/lib/log4j-1.2.13.jar</systemPath>\r
-    </dependency>\r
-  </dependencies>\r
-  \r
-  <properties>\r
-       <sonar.light>true</sonar.light>\r
-    <sonar.classesDir>build/classes</sonar.classesDir>\r
-  </properties>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/deprecated-sonar-light/src/hello/HelloWorld.java b/tests/integration/tests/custom-projects/deprecated-sonar-light/src/hello/HelloWorld.java
deleted file mode 100644 (file)
index 1411f9f..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-package hello;\r
-\r
-import org.apache.log4j.Logger;\r
-import org.apache.log4j.BasicConfigurator;\r
-import java.util.Vector;\r
-\r
-public class HelloWorld {\r
-    static Logger logger = Logger.getLogger(HelloWorld.class);\r
-\r
-    public static void main(String[] args) {\r
-        BasicConfigurator.configure();\r
-        logger.info("Hello World");          // the old SysO-statement\r
-        \r
-        String temp = new String();\r
-        Vector<String> v = new Vector<String>();\r
-    }\r
-\r
-    public Object clone() {\r
-           return new HelloWorld();\r
-    }\r
-    public boolean equals(Object o) {\r
-         return true;\r
-    }\r
-\r
-    public boolean Equals(Object o) {\r
-         return true;\r
-    }\r
-}
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/invalid-java-source-dir/pom.xml b/tests/integration/tests/custom-projects/invalid-java-source-dir/pom.xml
deleted file mode 100644 (file)
index 814f2a8..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<!-- this maven file is used by sonar only. Project is built with ant (see build.xml). -->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.sonar.tests</groupId>
-  <artifactId>invalid-java-source-dir</artifactId>
-  <name>invalid-java-source-dir</name>
-  <version>1.0-SNAPSHOT</version>  
-  <description>
-       SONAR-791 When the source directory is not exactly the java package root, Sonar should stop the analysis.
-       See http://jira.codehaus.org/browse/SONAR-791
-  </description>
-  
-  <build>
-       <!-- source directory should be src/main/java. 
-            The class com.foo.Bar should not be considered in Sonar as the class main.java.com.foo.Bar
-       -->
-       <sourceDirectory>src</sourceDirectory>
-  </build> 
-
-  <properties>
-       <sonar.dynamicAnalysis>false</sonar.dynamicAnalysis>
-  </properties>
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/invalid-java-source-dir/src/main/java/com/foo/Bar.java b/tests/integration/tests/custom-projects/invalid-java-source-dir/src/main/java/com/foo/Bar.java
deleted file mode 100644 (file)
index 94482bf..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-package com.foo;
-
-public class Bar {
-       public void hello(String param) {
-               String s="hello";
-               int i=3000;
-       }
-}
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/reuse-coverage-reports/pom.xml b/tests/integration/tests/custom-projects/reuse-coverage-reports/pom.xml
deleted file mode 100644 (file)
index 0a9d066..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>reuse-coverage-reports</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <packaging>jar</packaging>\r
-  <name>[SONAR-415] reuse-coverage-reports</name>\r
-  <description>see http://jira.codehaus.org/browse/SONAR-415</description>\r
-  <build>\r
-    <plugins>\r
-      <plugin>\r
-        <groupId>org.apache.maven.plugins</groupId>\r
-        <artifactId>maven-compiler-plugin</artifactId>\r
-        <configuration>\r
-          <source>1.5</source>\r
-          <target>1.5</target>\r
-        </configuration>\r
-      </plugin>\r
-\r
-      <plugin>\r
-        <groupId>org.codehaus.mojo</groupId>\r
-        <artifactId>cobertura-maven-plugin</artifactId>\r
-        <version>2.3</version>\r
-        <configuration>\r
-          <formats>\r
-            <format>xml</format>\r
-          </formats>\r
-        </configuration>\r
-        <executions>\r
-          <execution>\r
-            <goals>\r
-              <goal>cobertura</goal>\r
-            </goals>\r
-            <phase>package</phase>\r
-          </execution>\r
-        </executions>\r
-      </plugin>\r
-    </plugins>\r
-  </build>\r
-\r
-  <properties>\r
-    <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>\r
-    <!-- reuse surefire reports from default directory /target/surefire-reports) -->\r
-  </properties>\r
-\r
-  <dependencies>\r
-    <dependency>\r
-      <groupId>junit</groupId>\r
-      <artifactId>junit</artifactId>\r
-      <version>4.4</version>\r
-      <scope>test</scope>\r
-    </dependency>\r
-  </dependencies>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/reuse-coverage-reports/src/main/java/org/sonar/tests/Hello.java b/tests/integration/tests/custom-projects/reuse-coverage-reports/src/main/java/org/sonar/tests/Hello.java
deleted file mode 100644 (file)
index 33ad2d0..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-package org.sonar.tests;
-
-public class Hello {
-  private String hello;
-  
-  public Hello(String s){
-    this.hello = s;
-  }
-  
-  public String say() {
-       return hello;
-  }
-  
-  protected int notCalled() {
-    int i=0;
-    i++;
-    return i+3;        
-  }
-}
diff --git a/tests/integration/tests/custom-projects/reuse-coverage-reports/src/test/java/org/sonar/tests/HelloTest.java b/tests/integration/tests/custom-projects/reuse-coverage-reports/src/test/java/org/sonar/tests/HelloTest.java
deleted file mode 100644 (file)
index f268c71..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-package org.sonar.tests;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.fail;
-import org.junit.Test;
-
-
-public class HelloTest {
-
-  @Test
-  public void shouldSayHello() {
-    assertEquals("hi", new Hello("hi").say());
-  }
-  
-  @Test
-  public void shouldNotFail() {
-    assertEquals(true, true);
-  }
-}
diff --git a/tests/integration/tests/custom-projects/timemachine/pom.xml b/tests/integration/tests/custom-projects/timemachine/pom.xml
deleted file mode 100644 (file)
index fe72398..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>timemachine</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <packaging>jar</packaging>\r
-  <name>Sonar tests - time machine</name>\r
-  <description>Sonar integration tests - time machine</description>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/timemachine/src/main/java/org/sonar/tests/timemachine/Hello.java b/tests/integration/tests/custom-projects/timemachine/src/main/java/org/sonar/tests/timemachine/Hello.java
deleted file mode 100644 (file)
index f28489b..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-
-package org.sonar.tests.timemachine;
-
-public class Hello {
-
-  protected void methodOne() {
-    int i = 0;
-    i++;
-  }
-
-  protected void methodTwo() {
-    int i = 0;
-    i++;
-  }
-
-  protected int methodReturnThree() {
-    return 3;
-  }
-}
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/violations-timemachine/README.txt b/tests/integration/tests/custom-projects/violations-timemachine/README.txt
deleted file mode 100644 (file)
index 23df016..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-Use-cases to check:
-* File added
-* File removed
-* File with new/fixed violations
diff --git a/tests/integration/tests/custom-projects/violations-timemachine/v1/pom.xml b/tests/integration/tests/custom-projects/violations-timemachine/v1/pom.xml
deleted file mode 100644 (file)
index 3d8995b..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.sonar.tests</groupId>
-  <artifactId>violations-timemachine</artifactId>
-  <version>1.0-SNAPSHOT</version>
-  <packaging>jar</packaging>
-  <name>Violations timemachine</name>
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>1.5</source>
-          <target>1.5</target>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
-  <properties>
-    <sonar.profile>violations-timemachine</sonar.profile>
-    <sonar.projectDate>2010-10-19</sonar.projectDate>
-  </properties>
-</project>
diff --git a/tests/integration/tests/custom-projects/violations-timemachine/v1/src/main/java/org/sonar/tests/violationstimemachine/FileRemovedInV2.java b/tests/integration/tests/custom-projects/violations-timemachine/v1/src/main/java/org/sonar/tests/violationstimemachine/FileRemovedInV2.java
deleted file mode 100644 (file)
index 6666868..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-package org.sonar.tests.violationstimemachine;
-
-public class FileRemovedInV2 {
-
-  protected void methodOne() {
-    int i = 0; // unused local variable
-    i++;
-  }
-
-}
diff --git a/tests/integration/tests/custom-projects/violations-timemachine/v1/src/main/java/org/sonar/tests/violationstimemachine/Hello.java b/tests/integration/tests/custom-projects/violations-timemachine/v1/src/main/java/org/sonar/tests/violationstimemachine/Hello.java
deleted file mode 100644 (file)
index 4bbc1fc..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-package org.sonar.tests.violationstimemachine;
-
-public class Hello {
-
-  // We need two similar violations here to check that they would be associated correctly
-
-  protected void methodOne() { // design for extension
-    int i = 0; // unused local variable
-    i++;
-  }
-
-  protected void methodTwo() { // design for extension
-    int i = 0; // unused local variable
-    i++;
-  }
-
-  public int methodReturnThree() { // design for extension
-    return 3;
-  }
-}
diff --git a/tests/integration/tests/custom-projects/violations-timemachine/v2/pom.xml b/tests/integration/tests/custom-projects/violations-timemachine/v2/pom.xml
deleted file mode 100644 (file)
index d61f947..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.sonar.tests</groupId>
-  <artifactId>violations-timemachine</artifactId>
-  <version>1.0-SNAPSHOT</version>
-  <packaging>jar</packaging>
-  <name>Violations timemachine</name>
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>1.5</source>
-          <target>1.5</target>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
-  <properties>
-    <sonar.profile>violations-timemachine</sonar.profile>
-    <sonar.projectDate>2010-11-13</sonar.projectDate>
-  </properties>
-</project>
diff --git a/tests/integration/tests/custom-projects/violations-timemachine/v2/src/main/java/org/sonar/tests/violationstimemachine/FileAddedInV2.java b/tests/integration/tests/custom-projects/violations-timemachine/v2/src/main/java/org/sonar/tests/violationstimemachine/FileAddedInV2.java
deleted file mode 100644 (file)
index 0d60263..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-package org.sonar.tests.violationstimemachine;
-
-public class FileAddedInV2 {
-
-  protected void methodOne() { // design for extension
-    int i = 0; // unused local variable
-    i++;
-  }
-
-}
diff --git a/tests/integration/tests/custom-projects/violations-timemachine/v2/src/main/java/org/sonar/tests/violationstimemachine/Hello.java b/tests/integration/tests/custom-projects/violations-timemachine/v2/src/main/java/org/sonar/tests/violationstimemachine/Hello.java
deleted file mode 100644 (file)
index c3c8e1c..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-package org.sonar.tests.violationstimemachine;
-
-public class Hello {
-
-  // We need two similar violations here to check that they would be associated correctly
-
-  protected void methodOne() { // design for extension
-    int i = 0; // unused local variable
-    i++;
-  }
-
-  protected void methodTwo() { // design for extension
-    int i = 0; // unused local variable
-    i++;
-  }
-
-  public final int methodReturnThree() { // fixed - design for extension
-    int j = 0; // new - unused local variable
-    return 3;
-  }
-}
diff --git a/tests/integration/tests/custom-projects/violations-timemachine/v2/src/main/java/org/sonar/tests/violationstimemachine/SecondFileAddedInV2.java b/tests/integration/tests/custom-projects/violations-timemachine/v2/src/main/java/org/sonar/tests/violationstimemachine/SecondFileAddedInV2.java
deleted file mode 100644 (file)
index bddd7f0..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-package org.sonar.tests.violationstimemachine;
-
-public class SecondFileAddedInV2 {
-
-  public void hasOneViolation() {
-    int i = 0; // unused local variable
-    i++;
-  }
-
-}
diff --git a/tests/integration/tests/integration-tests-backup.xml b/tests/integration/tests/integration-tests-backup.xml
deleted file mode 100644 (file)
index 820563a..0000000
+++ /dev/null
@@ -1,2025 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<sonar-config>
-  <version><![CDATA[59]]></version>
-  <date><![CDATA[2009-02-19]]></date>
-  <metrics/>
-  <properties>
-    <property>
-      <key><![CDATA[tendency.depth]]></key>
-      <value><![CDATA[3]]></value>
-    </property>
-  </properties>
-  <profiles>
-    <profile>
-      <name><![CDATA[SONAR-787-checkstyle-SuppressionCommentFilter]]></name>
-      <default-profile><![CDATA[false]]></default-profile>
-      <provided><![CDATA[false]]></provided>
-      <language><![CDATA[java]]></language>
-      <active-rules>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.blocks.EmptyBlockCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-      </active-rules>
-      <alerts/>
-    </profile>
-    <profile>
-      <name><![CDATA[SONAR-767-pmd-close-resource-rule]]></name>
-      <default-profile><![CDATA[false]]></default-profile>
-      <provided><![CDATA[false]]></provided>
-      <language><![CDATA[java]]></language>
-      <active-rules>
-        <active-rule>
-          <key><![CDATA[CloseResource]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[types]]></key>
-              <value><![CDATA[Connection,CloseableResource]]></value>
-            </param>
-            <param>
-              <key><![CDATA[closeTargets]]></key>
-              <value><![CDATA[close,closeSilently]]></value>
-            </param>
-          </params>
-        </active-rule>
-      </active-rules>
-      <alerts/>
-    </profile>
-
-    <profile>
-      <name>turbo</name>
-      <default-profile>false</default-profile>
-      <provided>true</provided>
-      <language>java</language>
-      <active-rules/>
-      <alerts/>
-    </profile>
-    <profile>
-      <name><![CDATA[Sonar way]]></name>
-      <default-profile><![CDATA[false]]></default-profile>
-      <provided><![CDATA[true]]></provided>
-      <language><![CDATA[java]]></language>
-      <active-rules>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.ParameterAssignmentCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.whitespace.FileTabCharacterCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.design.HideUtilityClassConstructorCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanExpressionCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.StaticVariableNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.modifier.ModifierOrderCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.design.FinalClassCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.EmptyStatementCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.InnerAssignmentCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.DoubleCheckedLockingCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.StringLiteralEqualityCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.modifier.RedundantModifierCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.RedundantThrowsCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.IllegalThrowsCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.sizes.AnonInnerLengthCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.ConstantNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.PackageNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.DefaultComesLastCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.EqualsHashCodeCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[CRITICAL]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanReturnCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.HiddenFieldCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[tokens]]></key>
-              <value><![CDATA[VARIABLE_DEF]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.LocalFinalVariableNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.metrics.CyclomaticComplexityCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[max]]></key>
-              <value><![CDATA[7]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.design.DesignForExtensionCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.LocalVariableNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.ParameterNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.metrics.BooleanExpressionComplexityCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UnusedNullCheckInEquals]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[StringInstantiation]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[ConstructorCallsOverridableMethod]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidCatchingNPE]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidRethrowingException]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[ReplaceEnumerationWithIterator]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidArrayLoops]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UnusedFormalParameter]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[EmptySwitchStatements]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[ClassCastExceptionWithToArray]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidThrowingNullPointerException]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UnusedPrivateField]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[CompareObjectsWithEquals]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UseIndexOfChar]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[BigIntegerInstantiation]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[FinalFieldCouldBeStatic]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[IfStmtsMustUseBraces]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[SuspiciousEqualsMethodName]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[InstantiationToGetClass]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[SuspiciousHashcodeMethodName]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[LooseCoupling]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UnusedLocalVariable]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UnnecessaryCaseChange]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[EmptySynchronizedBlock]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[SingularField]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UnusedPrivateMethod]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[CloseResource]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidCatchingThrowable]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[EmptyWhileStmt]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[CollapsibleIfStatements]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UselessOperationOnImmutable]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UselessOverridingMethod]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UnusedModifier]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[PreserveStackTrace]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UseArraysAsList]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidThrowingRawExceptionTypes]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[EmptyIfStmt]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[EqualsNull]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[BrokenNullCheck]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UseCorrectExceptionLogging]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[InefficientStringBuffering]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[ArrayIsStoredDirectly]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[FinalizeOverloaded]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[ClassNamingConventions]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[DontImportSun]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[DontImportJavaLang]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[MissingStaticMethodInNonInstantiatableClass]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[StringBufferInstantiationWithChar]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UseArrayListInsteadOfVector]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[WhileLoopsMustUseBraces]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[StringToString]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[SimplifyConditional]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[ReplaceVectorWithList]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[NcssMethodCount]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[minimum]]></key>
-              <value><![CDATA[50]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidPrintStackTrace]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[MethodWithSameNameAsEnclosingClass]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[SuspiciousConstantFieldName]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[NcssTypeCount]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[minimum]]></key>
-              <value><![CDATA[800]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidInstanceofChecksInCatchClause]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[EmptyFinallyBlock]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[IntegerInstantiation]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidDollarSigns]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidAssertAsIdentifier]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UnnecessaryLocalBeforeReturn]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidCallingFinalize]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[BooleanInstantiation]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UnconditionalIfStatement]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[CloneThrowsCloneNotSupportedException]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[ReplaceHashtableWithMap]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidDecimalLiteralsInBigDecimalConstructor]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[ForLoopsMustUseBraces]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[EmptyTryBlock]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[SignatureDeclareThrowsException]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[EmptyFinalizer]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[IdempotentOperations]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[ExceptionAsFlowControl]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[EmptyStaticInitializer]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[FinalizeDoesNotCallSuperFinalize]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UseStringBufferLength]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidEnumAsIdentifier]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[IfElseStmtsMustUseBraces]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[SystemPrintln]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UselessStringValueOf]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidDuplicateLiterals]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-      </active-rules>
-      <alerts/>
-    </profile>
-    <profile>
-      <name><![CDATA[Sun checks]]></name>
-      <default-profile><![CDATA[false]]></default-profile>
-      <provided><![CDATA[true]]></provided>
-      <language><![CDATA[java]]></language>
-      <active-rules>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocPackageCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.NewlineAtEndOfFileCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[lineSeparator]]></key>
-              <value><![CDATA[system]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAfterCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[tokens]]></key>
-              <value><![CDATA[COMMA,SEMI,TYPECAST]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.whitespace.FileTabCharacterCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.whitespace.ParenPadCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[tokens]]></key>
-              <value><![CDATA[CTOR_CALL,LPAREN,METHOD_CALL,RPAREN,SUPER_CTOR_CALL]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[tokens]]></key>
-              <value><![CDATA[LITERAL_DO,LITERAL_ELSE,LITERAL_IF,LITERAL_FOR,LITERAL_WHILE]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.MissingSwitchDefaultCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyForIteratorPadCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.StaticVariableNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[format]]></key>
-              <value><![CDATA[^[a-z][a-zA-Z0-9]*$]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanExpressionCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.modifier.ModifierOrderCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[format]]></key>
-              <value><![CDATA[^[a-z][a-zA-Z0-9]*$]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[allowUndeclaredRTE]]></key>
-              <value><![CDATA[false]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.IllegalInstantiationCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.design.HideUtilityClassConstructorCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.FinalParametersCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[tokens]]></key>
-              <value><![CDATA[METHOD_DEF,CTOR_DEF]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.design.FinalClassCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.EmptyStatementCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.blocks.EmptyBlockCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[tokens]]></key>
-              <value><![CDATA[LITERAL_CATCH,LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_IF,LITERAL_FOR,LITERAL_TRY,LITERAL_WHILE,INSTANCE_INIT,STATIC_INIT]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.UpperEllCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.TodoCommentCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[format]]></key>
-              <value><![CDATA[TODO:]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.InnerAssignmentCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[tokens]]></key>
-              <value><![CDATA[ASSIGN,BAND_ASSIGN,BOR_ASSIGN,BSR_ASSIGN,BXOR_ASSIGN,DIV_ASSIGN,MINUS_ASSIGN,MOD_ASSIGN,PLUS_ASSIGN,SL_ASSIGN,SR_ASSIGN,STAR_ASSIGN]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.DoubleCheckedLockingCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.whitespace.TypecastParenPadCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[tokens]]></key>
-              <value><![CDATA[TYPECAST,RPAREN]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.RedundantThrowsCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[allowUnchecked]]></key>
-              <value><![CDATA[false]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.modifier.RedundantModifierCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[tokens]]></key>
-              <value><![CDATA[METHOD_DEF,VARIABLE_DEF,ANNOTATION_FIELD_DEF]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[ignorePattern]]></key>
-              <value><![CDATA[^$]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.sizes.FileLengthCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[max]]></key>
-              <value><![CDATA[2000]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.sizes.ParameterNumberCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[max]]></key>
-              <value><![CDATA[7]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.whitespace.OperatorWrapCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[option]]></key>
-              <value><![CDATA[nl]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[format]]></key>
-              <value><![CDATA[^[a-z][a-zA-Z0-9]*$]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanReturnCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[tokens]]></key>
-              <value><![CDATA[LITERAL_TRY,LITERAL_CATCH,LITERAL_FINALLY,LITERAL_IF,LITERAL_ELSE]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.PackageNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[format]]></key>
-              <value><![CDATA[^[a-z]+(.[a-zA-Z_][a-zA-Z0-9_]*)*$]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.EqualsHashCodeCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.ConstantNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[format]]></key>
-              <value><![CDATA[^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.TypeNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[format]]></key>
-              <value><![CDATA[^[a-z][a-zA-Z0-9]*$]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.sizes.MethodLengthCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[max]]></key>
-              <value><![CDATA[150]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.LocalFinalVariableNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[format]]></key>
-              <value><![CDATA[^[a-z][a-zA-Z0-9]*$]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[allowMissingParamTags]]></key>
-              <value><![CDATA[false]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[checkFirstSentence]]></key>
-              <value><![CDATA[true]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.design.InterfaceIsTypeCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[allowMarkerInterfaces]]></key>
-              <value><![CDATA[true]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.HiddenFieldCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[tokens]]></key>
-              <value><![CDATA[PARAMETER_DEF,VARIABLE_DEF]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.AvoidInlineConditionalsCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.whitespace.NoWhitespaceAfterCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[allowLineBreaks]]></key>
-              <value><![CDATA[true]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.blocks.LeftCurlyCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[option]]></key>
-              <value><![CDATA[eol]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[format]]></key>
-              <value><![CDATA[\s+$]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[packageAllowed]]></key>
-              <value><![CDATA[false]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.ParameterNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[format]]></key>
-              <value><![CDATA[^[a-z][a-zA-Z0-9]*$]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.whitespace.NoWhitespaceBeforeCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[allowLineBreaks]]></key>
-              <value><![CDATA[false]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.whitespace.MethodParamPadCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[allowLineBreaks]]></key>
-              <value><![CDATA[false]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[tokens]]></key>
-              <value><![CDATA[NUM_DOUBLE,NUM_FLOAT,NUM_INT,NUM_LONG]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.LocalVariableNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[format]]></key>
-              <value><![CDATA[^[a-z][a-zA-Z0-9]*$]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.design.DesignForExtensionCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.blocks.AvoidNestedBlocksCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[allowInSwitchCase]]></key>
-              <value><![CDATA[false]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[tokens]]></key>
-              <value><![CDATA[ASSIGN,BAND,BAND_ASSIGN,BOR,BOR_ASSIGN,BSR,BSR_ASSIGN,BXOR,BXOR_ASSIGN,COLON,DIV,DIV_ASSIGN,EQUAL,GE,GT,LAND,LCURLY,LE,LITERAL_ASSERT,LITERAL_CATCH,LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,LITERAL_RETURN,LITERAL_SYNCHRONIZED,LITERAL_TRY,LITERAL_WHILE,LOR,LT,MINUS,MINUS_ASSIGN,MOD,MOD_ASSIGN,NOT_EQUAL,PLUS,PLUS_ASSIGN,QUESTION,RCURLY,SL,SLIST,SL_ASSIGN,SR,SR_ASSIGN,STAR,STAR_ASSIGN,GENERIC_START,GENERIC_END,TYPE_EXTENSION_AND,WILDCARD_TYPE]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.ArrayTypeStyleCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[javaStyle]]></key>
-              <value><![CDATA[true]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[MethodReturnsInternalArray]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[ArrayIsStoredDirectly]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-      </active-rules>
-      <alerts/>
-    </profile>
-    <profile>
-      <name><![CDATA[Integration tests]]></name>
-      <default-profile><![CDATA[true]]></default-profile>
-      <provided><![CDATA[false]]></provided>
-      <language><![CDATA[java]]></language>
-      <active-rules>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.ParameterAssignmentCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.whitespace.FileTabCharacterCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.design.HideUtilityClassConstructorCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanExpressionCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.StaticVariableNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.modifier.ModifierOrderCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.design.FinalClassCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.EmptyStatementCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.InnerAssignmentCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.DoubleCheckedLockingCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.StringLiteralEqualityCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.modifier.RedundantModifierCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.RedundantThrowsCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.IllegalThrowsCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.sizes.AnonInnerLengthCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.ConstantNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.PackageNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.DefaultComesLastCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.EqualsHashCodeCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanReturnCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.HiddenFieldCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[tokens]]></key>
-              <value><![CDATA[VARIABLE_DEF]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.LocalFinalVariableNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.metrics.CyclomaticComplexityCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[max]]></key>
-              <value><![CDATA[7]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.design.DesignForExtensionCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.LocalVariableNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.ParameterNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.metrics.BooleanExpressionComplexityCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[org.sonar.it.checkstyle.MethodsCountCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UnusedNullCheckInEquals]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[StringInstantiation]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[ConstructorCallsOverridableMethod]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidCatchingNPE]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidRethrowingException]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[ReplaceEnumerationWithIterator]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidArrayLoops]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UnusedFormalParameter]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[EmptySwitchStatements]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[ClassCastExceptionWithToArray]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidThrowingNullPointerException]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UnusedPrivateField]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[CompareObjectsWithEquals]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UseIndexOfChar]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[BigIntegerInstantiation]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[FinalFieldCouldBeStatic]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[IfStmtsMustUseBraces]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[SuspiciousEqualsMethodName]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[InstantiationToGetClass]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[SuspiciousHashcodeMethodName]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[LooseCoupling]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UnusedLocalVariable]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UnnecessaryCaseChange]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[EmptySynchronizedBlock]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[SingularField]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UnusedPrivateMethod]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[CloseResource]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidCatchingThrowable]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[EmptyWhileStmt]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[CollapsibleIfStatements]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UselessOperationOnImmutable]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UselessOverridingMethod]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UnusedModifier]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[PreserveStackTrace]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UseArraysAsList]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidThrowingRawExceptionTypes]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[EmptyIfStmt]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[EqualsNull]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[BrokenNullCheck]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UseCorrectExceptionLogging]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[InefficientStringBuffering]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[ArrayIsStoredDirectly]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[FinalizeOverloaded]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[ClassNamingConventions]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[DontImportSun]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[DontImportJavaLang]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[MissingStaticMethodInNonInstantiatableClass]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[StringBufferInstantiationWithChar]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UseArrayListInsteadOfVector]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[WhileLoopsMustUseBraces]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[StringToString]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[SimplifyConditional]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[ReplaceVectorWithList]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[NcssMethodCount]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[minimum]]></key>
-              <value><![CDATA[50]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidPrintStackTrace]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[MethodWithSameNameAsEnclosingClass]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[SuspiciousConstantFieldName]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[NcssTypeCount]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[minimum]]></key>
-              <value><![CDATA[800]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidInstanceofChecksInCatchClause]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[EmptyFinallyBlock]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[IntegerInstantiation]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidDollarSigns]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidAssertAsIdentifier]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UnnecessaryLocalBeforeReturn]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidCallingFinalize]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[BooleanInstantiation]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UnconditionalIfStatement]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[CloneThrowsCloneNotSupportedException]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[ReplaceHashtableWithMap]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidDecimalLiteralsInBigDecimalConstructor]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[ForLoopsMustUseBraces]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[EmptyTryBlock]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[SignatureDeclareThrowsException]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[EmptyFinalizer]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[IdempotentOperations]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[ExceptionAsFlowControl]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[EmptyStaticInitializer]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[FinalizeDoesNotCallSuperFinalize]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UseStringBufferLength]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidEnumAsIdentifier]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[IfElseStmtsMustUseBraces]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[SystemPrintln]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[UselessStringValueOf]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidDuplicateLiterals]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[WARNING]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[MaximumMethodsCountCheck]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidIfWithoutBrace]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE]]></key>
-          <plugin><![CDATA[findbugs]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[CN_IDIOM]]></key>
-          <plugin><![CDATA[findbugs]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[CN_IDIOM_NO_SUPER_CALL]]></key>
-          <plugin><![CDATA[findbugs]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[NP_CLONE_COULD_RETURN_NULL]]></key>
-          <plugin><![CDATA[findbugs]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[PreventUseOfEmptyClass]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[INFO]]></level>
-          <params>
-            <param>
-              <key><![CDATA[xpath]]></key>
-              <value><![CDATA[//VariableDeclarator[../Type/ReferenceType/ClassOrInterfaceType[@Image='EmptyClass']]]]></value>
-            </param>
-            <param>
-              <key><![CDATA[message]]></key>
-              <value><![CDATA[Prevent use of EmptyClass class]]></value>
-            </param>
-          </params>
-        </active-rule>        
-      </active-rules>
-      <alerts>
-        <alert>
-          <operator><![CDATA[>]]></operator>
-          <value-error><![CDATA[10]]></value-error>
-          <value-warning><![CDATA[30]]></value-warning>
-          <metric-key><![CDATA[class_complexity]]></metric-key>
-        </alert>
-        <alert>
-          <operator><![CDATA[<]]></operator>
-          <value-error><![CDATA[50]]></value-error>
-          <value-warning><![CDATA[80]]></value-warning>
-          <metric-key><![CDATA[coverage]]></metric-key>
-        </alert>
-      </alerts>
-    </profile>
-    <profile>
-      <name><![CDATA[SONAR-594-no-violations]]></name>
-      <default-profile><![CDATA[false]]></default-profile>
-      <provided><![CDATA[false]]></provided>
-      <language><![CDATA[java]]></language>
-      <active-rules>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.naming.AbstractClassNameCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AbstractClassWithoutAbstractMethod]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[CO_ABSTRACT_SELF]]></key>
-          <plugin><![CDATA[findbugs]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-      </active-rules>
-      <alerts/>
-    </profile>
-    <profile>
-      <name><![CDATA[single-classes]]></name>
-      <default-profile><![CDATA[false]]></default-profile>
-      <provided><![CDATA[false]]></provided>
-      <language><![CDATA[java]]></language>
-      <active-rules>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocPackageCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.sizes.FileLengthCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-          <params>
-            <param>
-              <key><![CDATA[max]]></key>
-              <value><![CDATA[2]]></value>
-            </param>
-          </params>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.NewlineAtEndOfFileCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[AvoidDuplicateLiterals]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-      </active-rules>
-      <alerts/>
-    </profile>
-    <profile>
-      <name><![CDATA[Empty profile]]></name>
-      <default-profile><![CDATA[false]]></default-profile>
-      <provided><![CDATA[false]]></provided>
-      <language><![CDATA[java]]></language>
-      <active-rules/>
-      <alerts/>
-    </profile>
-    <profile>
-      <name><![CDATA[SONAR-1772]]></name>
-      <default-profile><![CDATA[false]]></default-profile>
-      <provided><![CDATA[false]]></provided>
-      <language><![CDATA[java]]></language>
-      <active-rules>
-        <active-rule>
-          <key><![CDATA[NP_DEREFERENCE_OF_READLINE_VALUE]]></key>
-          <plugin><![CDATA[findbugs]]></plugin>
-          <level><![CDATA[ERROR]]></level>
-        </active-rule>
-      </active-rules>
-      <alerts/>
-    </profile>
-    <profile>
-      <name><![CDATA[violations-timemachine]]></name>
-      <default-profile><![CDATA[false]]></default-profile>
-      <provided><![CDATA[false]]></provided>
-      <language><![CDATA[java]]></language>
-      <active-rules>
-        <active-rule>
-          <key><![CDATA[UnusedLocalVariable]]></key>
-          <plugin><![CDATA[pmd]]></plugin>
-          <level><![CDATA[MAJOR]]></level>
-        </active-rule>
-        <active-rule>
-          <key><![CDATA[com.puppycrawl.tools.checkstyle.checks.design.DesignForExtensionCheck]]></key>
-          <plugin><![CDATA[checkstyle]]></plugin>
-          <level><![CDATA[MINOR]]></level>
-        </active-rule>
-      </active-rules>
-      <alerts/>
-    </profile>
-  </profiles>
-</sonar-config>
diff --git a/tests/integration/tests/maven-projects/SONAR-1074-commented-code/pom.xml b/tests/integration/tests/maven-projects/SONAR-1074-commented-code/pom.xml
deleted file mode 100644 (file)
index 689a7a1..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-       <modelVersion>4.0.0</modelVersion>
-       <groupId>org.sonar.tests</groupId>
-       <artifactId>commented-code</artifactId>
-       <packaging>jar</packaging>
-       <version>1.0-SNAPSHOT</version>
-       <name>commented-code</name>
-       <description>Commented code</description>
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-compiler-plugin</artifactId>
-                               <configuration>
-                                       <source>1.5</source>
-                                       <target>1.5</target>
-                               </configuration>
-                       </plugin>
-               </plugins>
-       </build>
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/SONAR-1074-commented-code/src/main/java/com/test/CommentedCode.java b/tests/integration/tests/maven-projects/SONAR-1074-commented-code/src/main/java/com/test/CommentedCode.java
deleted file mode 100644 (file)
index cb543d8..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-package com.test;
-
-import java.io.PrintWriter;
-
-/**
- * Commented Code
- */
-public class CommentedCode {
-
-    public void test(PrintWriter pw) {
-      System.out.println("this code is not commented");
-    }
-    
-    //public void test1(PrintWriter pw) {
-    //    System.out.println("this code seems to be commented");
-    //}
-    
-    /*public void test1(PrintWriter pw) {
-        System.out.println("this code seems also to be commented");
-    }*/
-    
-    /**
-     * public boolean test2(PrintWriter pw) {
-     *   System.out.println("this code is not considered as commented");
-     *   return true;
-     * }
-     */
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/SONAR-1772/pom.xml b/tests/integration/tests/maven-projects/SONAR-1772/pom.xml
deleted file mode 100644 (file)
index 40993ba..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.sonar.tests</groupId>
-  <artifactId>findbugs</artifactId>
-  <version>1.0-SNAPSHOT</version>
-  <packaging>jar</packaging>
-  <name>[SONAR-1772]</name>
-  <description>see http://jira.codehaus.org/browse/SONAR-1772</description>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>1.5</source>
-          <target>1.5</target>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
-  <properties>
-    <sonar.profile>SONAR-1772</sonar.profile>
-  </properties>
-</project>
diff --git a/tests/integration/tests/maven-projects/SONAR-1772/src/main/java/org/sonar/tests/Hello.java b/tests/integration/tests/maven-projects/SONAR-1772/src/main/java/org/sonar/tests/Hello.java
deleted file mode 100644 (file)
index 4591cf3..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-package org.sonar.tests;
-
-import java.io.IOException;
-import java.io.LineNumberReader;
-import java.io.Reader;
-
-public final class Hello {
-  private final LineNumberReader reader;
-
-  public Hello(Reader r) {
-    this.reader = new LineNumberReader(r);
-  }
-
-  public String[] readTokens() throws IOException {
-    return reader.readLine().split("\\|"); // Dodgy - Dereference of the result of readLine() without nullcheck
-  }
-}
diff --git a/tests/integration/tests/maven-projects/SONAR-594-no-violations/pom.xml b/tests/integration/tests/maven-projects/SONAR-594-no-violations/pom.xml
deleted file mode 100644 (file)
index f279726..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>SONAR-594-no-violations</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <packaging>jar</packaging>\r
-  <name>SONAR-594 no violations</name>
-  
-  <properties>
-    <sonar.profile>SONAR-594-no-violations</sonar.profile>
-  </properties>\r
-\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/SONAR-594-no-violations/src/main/java/org/sonar/tests/Hello.java b/tests/integration/tests/maven-projects/SONAR-594-no-violations/src/main/java/org/sonar/tests/Hello.java
deleted file mode 100644 (file)
index e762b8f..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-package org.sonar.tests;
-
-public class Hello {
-  private String hello;
-  
-  public Hello(String s){
-    this.hello = s;
-  }
-  
-  public String say() {
-       return hello;
-  }
-}
diff --git a/tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/pom.xml b/tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/pom.xml
deleted file mode 100644 (file)
index 0e439f2..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.sonar.tests</groupId>
-  <artifactId>SONAR-767-pmd-close-resource-rule</artifactId>
-  <version>1.0-SNAPSHOT</version>
-  <packaging>jar</packaging>
-  <name>SONAR-767-pmd-close-resource-rule</name>
-  
-  <properties>
-    <sonar.profile>SONAR-767-pmd-close-resource-rule</sonar.profile>
-  </properties>
-
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/src/main/java/org/sonar/tests/CloseableResource.java b/tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/src/main/java/org/sonar/tests/CloseableResource.java
deleted file mode 100644 (file)
index 61455ae..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests;
-
-public class CloseableResource {
-  public void init() {
-
-  }
-
-  public void close() {
-
-  }
-}
diff --git a/tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/src/main/java/org/sonar/tests/ConnectionIsClosed.java b/tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/src/main/java/org/sonar/tests/ConnectionIsClosed.java
deleted file mode 100644 (file)
index 7a2af01..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-package org.sonar.tests;
-
-import java.sql.Connection;
-
-public class ConnectionIsClosed {
-
-  public void connectionIsClosed() throws Exception {
-    Connection c = getConnection();
-    try {
-      // do stuff
-      c.commit();
-
-    } finally {
-      c.close();
-    }
-  }
-
-  protected Connection getConnection() {
-    return null;
-  }
-}
diff --git a/tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/src/main/java/org/sonar/tests/ConnectionIsClosedInOtherMethod.java b/tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/src/main/java/org/sonar/tests/ConnectionIsClosedInOtherMethod.java
deleted file mode 100644 (file)
index 62e663d..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests;
-
-import java.sql.Connection;
-import java.sql.SQLException;
-
-public class ConnectionIsClosedInOtherMethod {
-
-  public void connectionIsClosedInOtherMethod() throws Exception {
-    Connection c = getConnection();
-    try {
-      // do stuff
-      c.commit();
-
-    } finally {
-      closeSilently(c);
-    }
-  }
-
-  protected Connection getConnection() {
-    return null;
-  }
-
-  protected void closeSilently(Connection c) {
-    try {
-      c.close();
-    } catch (SQLException e) {
-      // nothing to do
-    }
-  }
-
-}
diff --git a/tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/src/main/java/org/sonar/tests/ConnectionIsNotClosed.java b/tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/src/main/java/org/sonar/tests/ConnectionIsNotClosed.java
deleted file mode 100644 (file)
index 39d1d64..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-package org.sonar.tests;
-
-import java.sql.Connection;
-
-public class ConnectionIsNotClosed {
-  public void connectionIsNotClosed() throws Exception {
-    Connection c = getConnection();
-    try {
-      // do stuff
-      c.commit();
-
-    } finally {
-      // c.close();
-    }
-  }
-
-  protected Connection getConnection() {
-    return null;
-  }
-}
diff --git a/tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/src/main/java/org/sonar/tests/ResourceIsClosed.java b/tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/src/main/java/org/sonar/tests/ResourceIsClosed.java
deleted file mode 100644 (file)
index f07140c..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-package org.sonar.tests;
-
-public class ResourceIsClosed {
-  
-  public void resourceIsStopped() throws Exception {
-    CloseableResource resource = new CloseableResource();
-    try {
-      resource.init();
-
-    } finally {
-      resource.close();
-    }
-  }
-}
diff --git a/tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/src/main/java/org/sonar/tests/ResourceIsClosedInOtherMethod.java b/tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/src/main/java/org/sonar/tests/ResourceIsClosedInOtherMethod.java
deleted file mode 100644 (file)
index a0736b2..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests;
-
-
-public class ResourceIsClosedInOtherMethod {
-
-  public void resourceIsClosedInOtherMethod() {
-    CloseableResource resource = new CloseableResource();
-    try {
-      // do stuff
-      resource.init();
-
-    } finally {
-      closeSilently(resource);
-    }
-  }
-
-
-  protected void closeSilently(CloseableResource resource) {
-    try {
-      resource.close();
-    } catch (Exception e) {
-      // nothing to do
-    }
-  }
-
-}
diff --git a/tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/src/main/java/org/sonar/tests/ResourceIsNotClosed.java b/tests/integration/tests/maven-projects/SONAR-767-pmd-close-resource-rule/src/main/java/org/sonar/tests/ResourceIsNotClosed.java
deleted file mode 100644 (file)
index 4643806..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-package org.sonar.tests;
-
-public class ResourceIsNotClosed {
-
-  public void resourceIsNotStopped() throws Exception {
-    CloseableResource resource = new CloseableResource();
-    try {
-      resource.init();
-
-    } finally {
-      //resource.stop();
-    }
-  }
-}
diff --git a/tests/integration/tests/maven-projects/SONAR-787-checkstyle-SuppressionCommentFilter/pom.xml b/tests/integration/tests/maven-projects/SONAR-787-checkstyle-SuppressionCommentFilter/pom.xml
deleted file mode 100644 (file)
index 2848c47..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>SONAR-787-checkstyle-SuppressionCommentFilter</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <packaging>jar</packaging>\r
-  <name>SONAR-787-checkstyle-SuppressionCommentFilter</name>
-  
-  <properties>
-    <sonar.profile>SONAR-787-checkstyle-SuppressionCommentFilter</sonar.profile>
-  </properties>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/SONAR-787-checkstyle-SuppressionCommentFilter/src/main/java/org/sonar/itests/IgnoreCheckstyleFalsePositives.java b/tests/integration/tests/maven-projects/SONAR-787-checkstyle-SuppressionCommentFilter/src/main/java/org/sonar/itests/IgnoreCheckstyleFalsePositives.java
deleted file mode 100644 (file)
index 5a4e649..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-package org.sonar.tests;
-
-public class IgnoreCheckstyleFalsePositives {
-       
-  public void ignoreFalsePositive(){
-       //CHECKSTYLE:OFF
-       try {
-         int i=2;      
-       } catch (Exception e) {
-       }
-    //CHECKSTYLE:ON
-  }
-  
-  public void ruleIsViolated(){
-    try {
-         int i=2;      
-       } catch (Exception e) {
-       }
-  }
-}
diff --git a/tests/integration/tests/maven-projects/branch/pom.xml b/tests/integration/tests/maven-projects/branch/pom.xml
deleted file mode 100644 (file)
index 89638e1..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>reference</artifactId>\r
-  <version>0.9-SNAPSHOT</version>\r
-  <packaging>jar</packaging>\r
-  <name>Sonar tests - reference</name>\r
-\r
-  <properties>\r
-    <sonar.branch>BRANCH-0.9</sonar.branch>\r
-  </properties>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/branch/src/main/java/org/sonar/tests/reference/HelloSwiss.java b/tests/integration/tests/maven-projects/branch/src/main/java/org/sonar/tests/reference/HelloSwiss.java
deleted file mode 100644 (file)
index 2ac386e..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-package org.sonar.tests.reference;
-
-public interface HelloSwiss {
-
-  void doSomething();
-
-  void doSomethingElse();
-
-}
diff --git a/tests/integration/tests/maven-projects/branch/src/main/java/org/sonar/tests/reference/HelloWorld.java b/tests/integration/tests/maven-projects/branch/src/main/java/org/sonar/tests/reference/HelloWorld.java
deleted file mode 100644 (file)
index a079f69..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-package org.sonar.tests.reference;
-
-public class HelloWorld {
-
-  public void hello() {
-       
-  }
-
-  public Object clone() {
-    return null;       
-  }
-}
diff --git a/tests/integration/tests/maven-projects/clover2-skip/module1/pom.xml b/tests/integration/tests/maven-projects/clover2-skip/module1/pom.xml
deleted file mode 100644 (file)
index 937e826..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <parent>\r
-    <groupId>org.sonar.tests.clover2skip</groupId>\r
-    <artifactId>parent</artifactId>\r
-    <version>1.0-SNAPSHOT</version>\r
-  </parent>\r
-  <artifactId>module1-skip</artifactId>\r
-  <name>module1-skip</name>\r
-  <build>\r
-    <plugins>\r
-      <plugin>\r
-        <groupId>com.atlassian.maven.plugins</groupId>\r
-        <artifactId>maven-clover2-plugin</artifactId>\r
-        <configuration>\r
-          <licenseLocation>${basedir}/src/test/clover/clover2.license</licenseLocation>\r
-          <skip>true</skip>\r
-        </configuration>\r
-      </plugin>\r
-    </plugins>\r
-  </build>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/clover2-skip/module1/src/main/java/org/sonar/tests/clover2/module1/Hello.java b/tests/integration/tests/maven-projects/clover2-skip/module1/src/main/java/org/sonar/tests/clover2/module1/Hello.java
deleted file mode 100644 (file)
index 845746e..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-package org.sonar.tests.clover2.module1;
-
-public class Hello {
-  private String hello;
-  
-  public Hello(String s){
-    this.hello = s;
-  }
-  
-  public String say() {
-       return hello;
-  }
-}
diff --git a/tests/integration/tests/maven-projects/clover2-skip/module1/src/main/java/org/sonar/tests/clover2/module1/MyInterface.java b/tests/integration/tests/maven-projects/clover2-skip/module1/src/main/java/org/sonar/tests/clover2/module1/MyInterface.java
deleted file mode 100644 (file)
index 431a320..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-package org.sonar.tests.clover2.module1;
-
-public interface MyInterface {
-       void myMethod();
-}
diff --git a/tests/integration/tests/maven-projects/clover2-skip/module1/src/main/java/org/sonar/tests/clover2/module1/NotTestedClass.java b/tests/integration/tests/maven-projects/clover2-skip/module1/src/main/java/org/sonar/tests/clover2/module1/NotTestedClass.java
deleted file mode 100644 (file)
index c12c6f6..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-package org.sonar.tests.clover2.module1;
-
-public class NotTestedClass {
-  private String hello;
-  
-  public NotTestedClass(String s){
-    this.hello = s;
-  }
-  
-  public String say() {
-       return hello;
-  }
-
-  public String hello() {
-       return hello;
-  }
-}
diff --git a/tests/integration/tests/maven-projects/clover2-skip/module1/src/test/java/org/sonar/tests/clover2/module1/HelloTest.java b/tests/integration/tests/maven-projects/clover2-skip/module1/src/test/java/org/sonar/tests/clover2/module1/HelloTest.java
deleted file mode 100644 (file)
index fe422a3..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-package org.sonar.tests.clover2.module1;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.fail;
-import org.junit.Test;
-
-
-public class HelloTest {
-
-       @Test
-         public void shouldSayHello() {
-           assertEquals("hi", new Hello("hi").say());
-         }
-
-         @Test
-         public void thisIsError() {
-           assertEquals("foo", "bar");
-         }
-
-         @Test
-         public void thisIsFailure() {
-           throw new RuntimeException();
-         }
-
-         @Test
-         public void anotherTest() {
-           assertEquals("hi", new Hello("hi").say());
-         }
-
-         @Test
-         public void again() {
-           assertEquals("hi", new Hello("hi").say());
-         }
-
-         @Test
-         public void thelast() {
-           assertEquals("hi", new Hello("hi").say());
-         }
-}
diff --git a/tests/integration/tests/maven-projects/clover2-skip/module2/pom.xml b/tests/integration/tests/maven-projects/clover2-skip/module2/pom.xml
deleted file mode 100644 (file)
index a6fdd1f..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <parent>\r
-    <groupId>org.sonar.tests.clover2skip</groupId>\r
-    <artifactId>parent</artifactId>\r
-    <version>1.0-SNAPSHOT</version>\r
-  </parent>\r
-  <artifactId>module2-skip</artifactId>\r
-  <name>module2-skip</name>\r
-  <properties>\r
-    <maven.clover.skip>true</maven.clover.skip>\r
-  </properties>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/clover2-skip/module2/src/main/java/org/sonar/tests/clover2/module2/Hello.java b/tests/integration/tests/maven-projects/clover2-skip/module2/src/main/java/org/sonar/tests/clover2/module2/Hello.java
deleted file mode 100644 (file)
index f7a21d1..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-package org.sonar.tests.clover2.module2;
-
-public class Hello {
-  private String hello;
-  
-  public Hello(String s){
-    this.hello = s;
-  }
-  
-  public String say() {
-       return hello;
-  }
-}
diff --git a/tests/integration/tests/maven-projects/clover2-skip/module2/src/main/java/org/sonar/tests/clover2/module2/NotTestedClass.java b/tests/integration/tests/maven-projects/clover2-skip/module2/src/main/java/org/sonar/tests/clover2/module2/NotTestedClass.java
deleted file mode 100644 (file)
index 96c6395..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-package org.sonar.tests.clover2.module2;
-
-public class NotTestedClass {
-  private String hello;
-  
-  public NotTestedClass(String s){
-    this.hello = s;
-  }
-  
-  public String say() {
-       return hello;
-  }
-
-  public String hello() {
-       return hello;
-  }
-}
diff --git a/tests/integration/tests/maven-projects/clover2-skip/module2/src/test/java/org/sonar/tests/clover2/module2/HelloTest.java b/tests/integration/tests/maven-projects/clover2-skip/module2/src/test/java/org/sonar/tests/clover2/module2/HelloTest.java
deleted file mode 100644 (file)
index 5872fbb..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-package org.sonar.tests.clover2.module2;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.fail;
-import org.junit.Test;
-
-
-public class HelloTest {
-
-  @Test
-  public void shouldSayHello() {
-    assertEquals("hi", new Hello("hi").say());
-  }
-
-  @Test
-  public void thisIsError() {
-    assertEquals("foo", "bar");
-  }
-
-  @Test
-  public void thisIsFailure() {
-    throw new RuntimeException();
-  }
-
-  @Test
-  public void anotherTest() {
-    assertEquals("hi", new Hello("hi").say());
-  }
-
-  @Test
-  public void again() {
-    assertEquals("hi", new Hello("hi").say());
-  }
-
-  @Test
-  public void thelast() {
-    assertEquals("hi", new Hello("hi").say());
-  }
-}
diff --git a/tests/integration/tests/maven-projects/clover2-skip/pom.xml b/tests/integration/tests/maven-projects/clover2-skip/pom.xml
deleted file mode 100644 (file)
index 8cab2c5..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests.clover2skip</groupId>\r
-  <artifactId>parent</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <packaging>pom</packaging>\r
-  <name>Sonar tests - clover2 skip</name>\r
-  <description>foo</description>\r
-  <modules>\r
-    <module>module1</module>\r
-    <module>module2</module>\r
-  </modules>\r
-  <build>\r
-       <pluginManagement>\r
-    <plugins>\r
-      <plugin>\r
-        <groupId>org.apache.maven.plugins</groupId>\r
-        <artifactId>maven-compiler-plugin</artifactId>\r
-        <configuration>\r
-          <source>1.5</source>\r
-          <target>1.5</target>\r
-        </configuration>\r
-      </plugin>\r
-      <plugin>\r
-        <groupId>com.atlassian.maven.plugins</groupId>\r
-        <artifactId>maven-clover2-plugin</artifactId>
-        <version>2.6.3</version>\r
-        <configuration>\r
-                 <license><![CDATA[ONQOnjJexXXewfuckQlojiQGMqMVnhtAbhxwjjoVkHbWgx\r
-               mi2KrURzVJmEZQD1l0T>JBJk2Ke7ZrTZvmO00u366sv9IY\r
-               rqqMuWRPpRNNRompPqrtwqnoPpMoqqprMrVVvVXXVtVppQ\r
-               RrnmqmUUnorrvrtommmmmUUnorrvrtommmmmUUJlkXoUUn\r
-               mmmm]]></license>\r
-        </configuration>\r
-      </plugin>\r
-    </plugins>\r
-    </pluginManagement>\r
-  </build>\r
-\r
-  <dependencies>\r
-    <dependency>\r
-      <groupId>junit</groupId>\r
-      <artifactId>junit</artifactId>\r
-      <version>4.4</version>\r
-      <scope>test</scope>\r
-    </dependency>\r
-  </dependencies>\r
-\r
-  <properties>\r
-    <sonar.profile>turbo</sonar.profile>\r
-    <sonar.core.codeCoveragePlugin>clover</sonar.core.codeCoveragePlugin>\r
-  </properties>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/clover2/module1/pom.xml b/tests/integration/tests/maven-projects/clover2/module1/pom.xml
deleted file mode 100644 (file)
index 3a078a8..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <parent>\r
-    <groupId>org.sonar.tests.clover2</groupId>\r
-    <artifactId>parent</artifactId>\r
-    <version>1.0-SNAPSHOT</version>\r
-  </parent>\r
-  <artifactId>module1</artifactId>\r
-  <name>module1</name>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/clover2/module1/src/main/java/org/sonar/tests/clover2/module1/Hello.java b/tests/integration/tests/maven-projects/clover2/module1/src/main/java/org/sonar/tests/clover2/module1/Hello.java
deleted file mode 100644 (file)
index 845746e..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-package org.sonar.tests.clover2.module1;
-
-public class Hello {
-  private String hello;
-  
-  public Hello(String s){
-    this.hello = s;
-  }
-  
-  public String say() {
-       return hello;
-  }
-}
diff --git a/tests/integration/tests/maven-projects/clover2/module1/src/main/java/org/sonar/tests/clover2/module1/MyInterface.java b/tests/integration/tests/maven-projects/clover2/module1/src/main/java/org/sonar/tests/clover2/module1/MyInterface.java
deleted file mode 100644 (file)
index 431a320..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-package org.sonar.tests.clover2.module1;
-
-public interface MyInterface {
-       void myMethod();
-}
diff --git a/tests/integration/tests/maven-projects/clover2/module1/src/main/java/org/sonar/tests/clover2/module1/NotTestedClass.java b/tests/integration/tests/maven-projects/clover2/module1/src/main/java/org/sonar/tests/clover2/module1/NotTestedClass.java
deleted file mode 100644 (file)
index c12c6f6..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-package org.sonar.tests.clover2.module1;
-
-public class NotTestedClass {
-  private String hello;
-  
-  public NotTestedClass(String s){
-    this.hello = s;
-  }
-  
-  public String say() {
-       return hello;
-  }
-
-  public String hello() {
-       return hello;
-  }
-}
diff --git a/tests/integration/tests/maven-projects/clover2/module1/src/test/java/org/sonar/tests/clover2/module1/HelloTest.java b/tests/integration/tests/maven-projects/clover2/module1/src/test/java/org/sonar/tests/clover2/module1/HelloTest.java
deleted file mode 100644 (file)
index fe422a3..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-package org.sonar.tests.clover2.module1;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.fail;
-import org.junit.Test;
-
-
-public class HelloTest {
-
-       @Test
-         public void shouldSayHello() {
-           assertEquals("hi", new Hello("hi").say());
-         }
-
-         @Test
-         public void thisIsError() {
-           assertEquals("foo", "bar");
-         }
-
-         @Test
-         public void thisIsFailure() {
-           throw new RuntimeException();
-         }
-
-         @Test
-         public void anotherTest() {
-           assertEquals("hi", new Hello("hi").say());
-         }
-
-         @Test
-         public void again() {
-           assertEquals("hi", new Hello("hi").say());
-         }
-
-         @Test
-         public void thelast() {
-           assertEquals("hi", new Hello("hi").say());
-         }
-}
diff --git a/tests/integration/tests/maven-projects/clover2/module2/pom.xml b/tests/integration/tests/maven-projects/clover2/module2/pom.xml
deleted file mode 100644 (file)
index 20c7e16..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <parent>\r
-    <groupId>org.sonar.tests.clover2</groupId>\r
-    <artifactId>parent</artifactId>\r
-    <version>1.0-SNAPSHOT</version>\r
-  </parent>\r
-  <artifactId>module2</artifactId>\r
-  <name>module2</name>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/clover2/module2/src/main/java/org/sonar/tests/clover2/module2/Hello.java b/tests/integration/tests/maven-projects/clover2/module2/src/main/java/org/sonar/tests/clover2/module2/Hello.java
deleted file mode 100644 (file)
index f7a21d1..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-package org.sonar.tests.clover2.module2;
-
-public class Hello {
-  private String hello;
-  
-  public Hello(String s){
-    this.hello = s;
-  }
-  
-  public String say() {
-       return hello;
-  }
-}
diff --git a/tests/integration/tests/maven-projects/clover2/module2/src/main/java/org/sonar/tests/clover2/module2/NotTestedClass.java b/tests/integration/tests/maven-projects/clover2/module2/src/main/java/org/sonar/tests/clover2/module2/NotTestedClass.java
deleted file mode 100644 (file)
index 96c6395..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-package org.sonar.tests.clover2.module2;
-
-public class NotTestedClass {
-  private String hello;
-  
-  public NotTestedClass(String s){
-    this.hello = s;
-  }
-  
-  public String say() {
-       return hello;
-  }
-
-  public String hello() {
-       return hello;
-  }
-}
diff --git a/tests/integration/tests/maven-projects/clover2/module2/src/test/java/org/sonar/tests/clover2/module2/HelloTest.java b/tests/integration/tests/maven-projects/clover2/module2/src/test/java/org/sonar/tests/clover2/module2/HelloTest.java
deleted file mode 100644 (file)
index 5872fbb..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-package org.sonar.tests.clover2.module2;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.fail;
-import org.junit.Test;
-
-
-public class HelloTest {
-
-  @Test
-  public void shouldSayHello() {
-    assertEquals("hi", new Hello("hi").say());
-  }
-
-  @Test
-  public void thisIsError() {
-    assertEquals("foo", "bar");
-  }
-
-  @Test
-  public void thisIsFailure() {
-    throw new RuntimeException();
-  }
-
-  @Test
-  public void anotherTest() {
-    assertEquals("hi", new Hello("hi").say());
-  }
-
-  @Test
-  public void again() {
-    assertEquals("hi", new Hello("hi").say());
-  }
-
-  @Test
-  public void thelast() {
-    assertEquals("hi", new Hello("hi").say());
-  }
-}
diff --git a/tests/integration/tests/maven-projects/clover2/pom.xml b/tests/integration/tests/maven-projects/clover2/pom.xml
deleted file mode 100644 (file)
index a6e3772..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests.clover2</groupId>\r
-  <artifactId>parent</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <packaging>pom</packaging>\r
-  <name>Sonar tests - clover2</name>\r
-  <description>foo</description>\r
-  <modules>\r
-    <module>module1</module>\r
-    <module>module2</module>\r
-  </modules>\r
-  <build>\r
-       <pluginManagement>\r
-    <plugins>\r
-      <plugin>\r
-        <groupId>org.apache.maven.plugins</groupId>\r
-        <artifactId>maven-compiler-plugin</artifactId>\r
-        <configuration>\r
-          <source>1.5</source>\r
-          <target>1.5</target>\r
-        </configuration>\r
-      </plugin>\r
-    \r
-      <plugin>\r
-        <groupId>com.atlassian.maven.plugins</groupId>\r
-        <artifactId>maven-clover2-plugin</artifactId>
-        <version>2.6.3</version>\r
-        <configuration>\r
-             <license><![CDATA[ONQOnjJexXXewfuckQlojiQGMqMVnhtAbhxwjjoVkHbWgx\r
-                       mi2KrURzVJmEZQD1l0T>JBJk2Ke7ZrTZvmO00u366sv9IY\r
-                       rqqMuWRPpRNNRompPqrtwqnoPpMoqqprMrVVvVXXVtVppQ\r
-                       RrnmqmUUnorrvrtommmmmUUnorrvrtommmmmUUJlkXoUUn\r
-                       mmmm]]></license>\r
-               </configuration>\r
-      </plugin>\r
-    </plugins>\r
-</pluginManagement>\r
-  </build>\r
-\r
-  <dependencies>\r
-    <dependency>\r
-      <groupId>junit</groupId>\r
-      <artifactId>junit</artifactId>\r
-      <version>4.7</version>\r
-      <scope>test</scope>\r
-    </dependency>\r
-  </dependencies>\r
-\r
-  <properties>\r
-    <sonar.profile>turbo</sonar.profile>\r
-    <sonar.core.codeCoveragePlugin>clover</sonar.core.codeCoveragePlugin>\r
-  </properties>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/clover3/module1/pom.xml b/tests/integration/tests/maven-projects/clover3/module1/pom.xml
deleted file mode 100644 (file)
index 364c03f..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <parent>\r
-    <groupId>org.sonar.tests.clover3</groupId>\r
-    <artifactId>parent</artifactId>\r
-    <version>1.0-SNAPSHOT</version>\r
-  </parent>\r
-  <artifactId>module1</artifactId>\r
-  <name>module1</name>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/clover3/module1/src/main/java/org/sonar/tests/clover3/module1/Hello.java b/tests/integration/tests/maven-projects/clover3/module1/src/main/java/org/sonar/tests/clover3/module1/Hello.java
deleted file mode 100644 (file)
index 6f43534..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-package org.sonar.tests.clover3.module1;
-
-public class Hello {
-  private String hello;
-  
-  public Hello(String s){
-    this.hello = s;
-  }
-  
-  public String say() {
-       return hello;
-  }
-}
diff --git a/tests/integration/tests/maven-projects/clover3/module1/src/main/java/org/sonar/tests/clover3/module1/MyInterface.java b/tests/integration/tests/maven-projects/clover3/module1/src/main/java/org/sonar/tests/clover3/module1/MyInterface.java
deleted file mode 100644 (file)
index e48174f..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-package org.sonar.tests.clover3.module1;
-
-public interface MyInterface {
-       void myMethod();
-}
diff --git a/tests/integration/tests/maven-projects/clover3/module1/src/main/java/org/sonar/tests/clover3/module1/NotTestedClass.java b/tests/integration/tests/maven-projects/clover3/module1/src/main/java/org/sonar/tests/clover3/module1/NotTestedClass.java
deleted file mode 100644 (file)
index 4d022b9..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-package org.sonar.tests.clover3.module1;
-
-public class NotTestedClass {
-  private String hello;
-  
-  public NotTestedClass(String s){
-    this.hello = s;
-  }
-  
-  public String say() {
-       return hello;
-  }
-
-  public String hello() {
-       return hello;
-  }
-}
diff --git a/tests/integration/tests/maven-projects/clover3/module1/src/test/java/org/sonar/tests/clover3/module1/HelloTest.java b/tests/integration/tests/maven-projects/clover3/module1/src/test/java/org/sonar/tests/clover3/module1/HelloTest.java
deleted file mode 100644 (file)
index 7ba00f7..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-package org.sonar.tests.clover3.module1;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.fail;
-import org.junit.Test;
-
-
-public class HelloTest {
-
-       @Test
-         public void shouldSayHello() {
-           assertEquals("hi", new Hello("hi").say());
-         }
-
-         @Test
-         public void thisIsError() {
-           assertEquals("foo", "bar");
-         }
-
-         @Test
-         public void thisIsFailure() {
-           throw new RuntimeException();
-         }
-
-         @Test
-         public void anotherTest() {
-           assertEquals("hi", new Hello("hi").say());
-         }
-
-         @Test
-         public void again() {
-           assertEquals("hi", new Hello("hi").say());
-         }
-
-         @Test
-         public void thelast() {
-           assertEquals("hi", new Hello("hi").say());
-         }
-}
diff --git a/tests/integration/tests/maven-projects/clover3/module2/pom.xml b/tests/integration/tests/maven-projects/clover3/module2/pom.xml
deleted file mode 100644 (file)
index 5f6cc88..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <parent>\r
-    <groupId>org.sonar.tests.clover3</groupId>\r
-    <artifactId>parent</artifactId>\r
-    <version>1.0-SNAPSHOT</version>\r
-  </parent>\r
-  <artifactId>module2</artifactId>\r
-  <name>module2</name>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/clover3/module2/src/main/java/org/sonar/tests/clover3/module2/Hello.java b/tests/integration/tests/maven-projects/clover3/module2/src/main/java/org/sonar/tests/clover3/module2/Hello.java
deleted file mode 100644 (file)
index 697a510..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-package org.sonar.tests.clover3.module2;
-
-public class Hello {
-  private String hello;
-  
-  public Hello(String s){
-    this.hello = s;
-  }
-  
-  public String say() {
-       return hello;
-  }
-}
diff --git a/tests/integration/tests/maven-projects/clover3/module2/src/main/java/org/sonar/tests/clover3/module2/NotTestedClass.java b/tests/integration/tests/maven-projects/clover3/module2/src/main/java/org/sonar/tests/clover3/module2/NotTestedClass.java
deleted file mode 100644 (file)
index a6b4f96..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-package org.sonar.tests.clover3.module2;
-
-public class NotTestedClass {
-  private String hello;
-  
-  public NotTestedClass(String s){
-    this.hello = s;
-  }
-  
-  public String say() {
-       return hello;
-  }
-
-  public String hello() {
-       return hello;
-  }
-}
diff --git a/tests/integration/tests/maven-projects/clover3/module2/src/test/java/org/sonar/tests/clover3/module2/HelloTest.java b/tests/integration/tests/maven-projects/clover3/module2/src/test/java/org/sonar/tests/clover3/module2/HelloTest.java
deleted file mode 100644 (file)
index bff1f32..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-package org.sonar.tests.clover3.module2;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.fail;
-import org.junit.Test;
-
-
-public class HelloTest {
-
-  @Test
-  public void shouldSayHello() {
-    assertEquals("hi", new Hello("hi").say());
-  }
-
-  @Test
-  public void thisIsError() {
-    assertEquals("foo", "bar");
-  }
-
-  @Test
-  public void thisIsFailure() {
-    throw new RuntimeException();
-  }
-
-  @Test
-  public void anotherTest() {
-    assertEquals("hi", new Hello("hi").say());
-  }
-
-  @Test
-  public void again() {
-    assertEquals("hi", new Hello("hi").say());
-  }
-
-  @Test
-  public void thelast() {
-    assertEquals("hi", new Hello("hi").say());
-  }
-}
diff --git a/tests/integration/tests/maven-projects/clover3/pom.xml b/tests/integration/tests/maven-projects/clover3/pom.xml
deleted file mode 100644 (file)
index 613459f..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests.clover3</groupId>\r
-  <artifactId>parent</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <packaging>pom</packaging>\r
-  <name>Sonar tests - clover3</name>\r
-  <description>foo</description>\r
-  <modules>\r
-    <module>module1</module>\r
-    <module>module2</module>\r
-  </modules>\r
-  <build>\r
-       <pluginManagement>\r
-    <plugins>\r
-      <plugin>\r
-        <groupId>org.apache.maven.plugins</groupId>\r
-        <artifactId>maven-compiler-plugin</artifactId>\r
-        <configuration>\r
-          <source>1.5</source>\r
-          <target>1.5</target>\r
-        </configuration>\r
-      </plugin>\r
-    \r
-      <plugin>\r
-        <groupId>com.atlassian.maven.plugins</groupId>\r
-        <artifactId>maven-clover2-plugin</artifactId>
-        <version>3.0.1</version>\r
-        <configuration>\r
-             <license><![CDATA[ONQOnjJexXXewfuckQlojiQGMqMVnhtAbhxwjjoVkHbWgx\r
-                       mi2KrURzVJmEZQD1l0T>JBJk2Ke7ZrTZvmO00u366sv9IY\r
-                       rqqMuWRPpRNNRompPqrtwqnoPpMoqqprMrVVvVXXVtVppQ\r
-                       RrnmqmUUnorrvrtommmmmUUnorrvrtommmmmUUJlkXoUUn\r
-                       mmmm]]></license>\r
-               </configuration>\r
-      </plugin>\r
-    </plugins>\r
-</pluginManagement>\r
-  </build>\r
-\r
-  <dependencies>\r
-    <dependency>\r
-      <groupId>junit</groupId>\r
-      <artifactId>junit</artifactId>\r
-      <version>4.7</version>\r
-      <scope>test</scope>\r
-    </dependency>\r
-  </dependencies>\r
-\r
-  <properties>\r
-    <sonar.profile>turbo</sonar.profile>\r
-    <sonar.core.codeCoveragePlugin>clover</sonar.core.codeCoveragePlugin>\r
-  </properties>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/do-not-import-sources/pom.xml b/tests/integration/tests/maven-projects/do-not-import-sources/pom.xml
deleted file mode 100644 (file)
index 4cf8f13..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>do-not-import-sources</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <packaging>jar</packaging>\r
-  <name>Sonar tests - do not import sources</name>\r
-  <properties>
-       <sonar.importSources>false</sonar.importSources>\r
-  </properties>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/do-not-import-sources/src/main/java/org/sonar/tests/doNotImportSources/Hello.java b/tests/integration/tests/maven-projects/do-not-import-sources/src/main/java/org/sonar/tests/doNotImportSources/Hello.java
deleted file mode 100644 (file)
index fcb329f..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-package org.sonar.tests.doNotImportSources;
-
-public interface Hello {
-
-  void doSomething();
-
-  void doSomethingElse();
-
-}
diff --git a/tests/integration/tests/maven-projects/do-not-import-sources/src/main/java/org/sonar/tests/doNotImportSources/Swiss.java b/tests/integration/tests/maven-projects/do-not-import-sources/src/main/java/org/sonar/tests/doNotImportSources/Swiss.java
deleted file mode 100644 (file)
index 30e5f42..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-package org.sonar.tests.doNotImportSources;
-
-public class Swiss {
-  String test = "foo";
-
-  public Swiss(){
-    String t;
-    if (true)
-      t = "bar";
-  }
-
-  public boolean equals(Object o) {
-       return false;
-  }
-}
diff --git a/tests/integration/tests/maven-projects/duplications/pom.xml b/tests/integration/tests/maven-projects/duplications/pom.xml
deleted file mode 100644 (file)
index f54fa5b..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>duplications</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <packaging>jar</packaging>\r
-  <name>Sonar tests - duplications</name>\r
-  <description>Sonar integration tests - duplications project</description>\r
-  <url>http://foo/bar</url>\r
-  \r
-  <properties>\r
-    <sonar.profile>turbo</sonar.profile>\r
-  </properties>\r
-\r
-  <dependencies>\r
-       <dependency>\r
-      <groupId>geronimo-spec</groupId>\r
-      <artifactId>geronimo-spec-jta</artifactId>\r
-      <version>1.0-M1</version>\r
-    </dependency>\r
-    <dependency>\r
-      <groupId>org.hibernate</groupId>\r
-      <artifactId>hibernate</artifactId>\r
-      <version>3.2.6.ga</version>\r
-      <!-- removing the hibernate JTA dep to avoid to have to install it\r
-           manually and using the geronimo-spec-jta dep which is downloadable -->\r
-      <exclusions>\r
-        <exclusion>\r
-          <groupId>javax.transaction</groupId>\r
-          <artifactId>jta</artifactId>\r
-        </exclusion>\r
-        <!--  removing commons logging to avoid classloader issues and replacing it by jcl104-over-slf4j -->\r
-        <exclusion>\r
-          <groupId>commons-logging</groupId>\r
-          <artifactId>commons-logging</artifactId>\r
-        </exclusion>\r
-      </exclusions>\r
-    </dependency>\r
-    <dependency>\r
-      <groupId>org.hibernate</groupId>\r
-      <artifactId>hibernate-annotations</artifactId>\r
-      <version>3.3.0.ga</version>\r
-    </dependency>\r
-    <dependency>\r
-      <groupId>org.hibernate</groupId>\r
-      <artifactId>hibernate-commons-annotations</artifactId>\r
-      <version>3.3.0.ga</version>\r
-    </dependency>\r
-    <dependency>\r
-      <groupId>org.hibernate</groupId>\r
-      <artifactId>hibernate-entitymanager</artifactId>\r
-      <version>3.3.1.ga</version>\r
-    </dependency>\r
-         <dependency>\r
-      <groupId>junit</groupId>\r
-      <artifactId>junit</artifactId>\r
-      <version>4.4</version>\r
-      <scope>test</scope>\r
-    </dependency>\r
-  </dependencies>\r
-\r
-       <build>\r
-           <plugins>\r
-             <plugin>\r
-               <groupId>org.apache.maven.plugins</groupId>\r
-               <artifactId>maven-compiler-plugin</artifactId>\r
-               <configuration>\r
-                 <source>1.5</source>\r
-                 <target>1.5</target>\r
-               </configuration>\r
-             </plugin>\r
-       </plugins>\r
-   </build>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_lines_with_other_package1/DuplicatedLinesWithOtherPackage.java b/tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_lines_with_other_package1/DuplicatedLinesWithOtherPackage.java
deleted file mode 100644 (file)
index 73efdd0..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-/*\r
- * Sonar, entreprise quality control tool.\r
- * Copyright (C) 2007-2008 Hortis-GRC SA\r
- * mailto:be_agile HAT hortis DOT ch\r
- *\r
- * Sonar is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU Lesser General Public\r
- * License as published by the Free Software Foundation; either\r
- * version 3 of the License, or (at your option) any later version.\r
- *\r
- * Sonar is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
- * Lesser General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU Lesser General Public\r
- * License along with Sonar; if not, write to the Free Software\r
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02\r
- */\r
-package org.sonar.samples.duplicated_lines_with_other_package1;\r
-\r
-public class DuplicatedLinesWithOtherPackage {\r
-\r
-  public DuplicatedLinesWithOtherPackage() {\r
-  }\r
-\r
-  public void duplicatedMethodWithOtherPackage() {\r
-    char[] charList = new char[30];\r
-    charList[0] = 'a';\r
-    charList[1] = 'b';\r
-    charList[2] = 'c';\r
-    charList[3] = 'd';\r
-    charList[4] = 'e';\r
-    charList[5] = 'f';\r
-    charList[6] = 'g';\r
-    charList[7] = 'g';\r
-    charList[8] = 'g';\r
-    charList[9] = 'g';\r
-    charList[10] = 'g';\r
-    charList[11] = 'g';\r
-    charList[12] = 'g';\r
-    charList[13] = 'g';\r
-    charList[14] = 'g';\r
-    charList[15] = 'g';\r
-    charList[16] = 'g';\r
-    charList[17] = 'g';\r
-    charList[18] = 'g';\r
-    charList[19] = 'g';\r
-    charList[20] = 'g';\r
-    charList[21] = 'g';\r
-    charList[22] = 'g';\r
-    charList[23] = 'g';\r
-    charList[24] = 'g';\r
-    charList[27] = 'g';\r
-    charList[28] = 'g';\r
-    charList[29] = 'g';\r
-    charList[30] = 'g';\r
-  }\r
-\r
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_lines_with_other_package2/DuplicatedLinesWithOtherPackage.java b/tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_lines_with_other_package2/DuplicatedLinesWithOtherPackage.java
deleted file mode 100644 (file)
index dd5f610..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-/*\r
- * Sonar, entreprise quality control tool.\r
- * Copyright (C) 2007-2008 Hortis-GRC SA\r
- * mailto:be_agile HAT hortis DOT ch\r
- *\r
- * Sonar is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU Lesser General Public\r
- * License as published by the Free Software Foundation; either\r
- * version 3 of the License, or (at your option) any later version.\r
- *\r
- * Sonar is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
- * Lesser General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU Lesser General Public\r
- * License along with Sonar; if not, write to the Free Software\r
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02\r
- */\r
-package org.sonar.samples.duplicated_lines_with_other_package2;\r
-\r
-public class DuplicatedLinesWithOtherPackage {\r
-\r
-  public DuplicatedLinesWithOtherPackage() {\r
-  }\r
-\r
-  public void duplicatedMethodWithOtherPackage() {\r
-    char[] charList = new char[30];\r
-    charList[0] = 'a';\r
-    charList[1] = 'b';\r
-    charList[2] = 'c';\r
-    charList[3] = 'd';\r
-    charList[4] = 'e';\r
-    charList[5] = 'f';\r
-    charList[6] = 'g';\r
-    charList[7] = 'g';\r
-    charList[8] = 'g';\r
-    charList[9] = 'g';\r
-    charList[10] = 'g';\r
-    charList[11] = 'g';\r
-    charList[12] = 'g';\r
-    charList[13] = 'g';\r
-    charList[14] = 'g';\r
-    charList[15] = 'g';\r
-    charList[16] = 'g';\r
-    charList[17] = 'g';\r
-    charList[18] = 'g';\r
-    charList[19] = 'g';\r
-    charList[20] = 'g';\r
-    charList[21] = 'g';\r
-    charList[22] = 'g';\r
-    charList[23] = 'g';\r
-    charList[24] = 'g';\r
-    charList[27] = 'g';\r
-    charList[28] = 'g';\r
-    charList[29] = 'g';\r
-    charList[30] = 'g';\r
-  }\r
-\r
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_lines_within_package/DuplicatedLinesInSamePackage1.java b/tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_lines_within_package/DuplicatedLinesInSamePackage1.java
deleted file mode 100644 (file)
index 77cb339..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-/*\r
- * Sonar, entreprise quality control tool.\r
- * Copyright (C) 2007-2008 Hortis-GRC SA\r
- * mailto:be_agile HAT hortis DOT ch\r
- *\r
- * Sonar is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU Lesser General Public\r
- * License as published by the Free Software Foundation; either\r
- * version 3 of the License, or (at your option) any later version.\r
- *\r
- * Sonar is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
- * Lesser General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU Lesser General Public\r
- * License along with Sonar; if not, write to the Free Software\r
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02\r
- */\r
-package org.sonar.samples.duplicated_lines_within_package;\r
-\r
-public class DuplicatedLinesInSamePackage1 {\r
-\r
-  public DuplicatedLinesInSamePackage1() {\r
-  }\r
-\r
-  /*\r
-   * sddfgdfgfg\r
-   */\r
-  public void duplicatedMethodInSameClass1() {\r
-    int intergerToBeIncremented = 0;\r
-    while (intergerToBeIncremented < 100) {\r
-      intergerToBeIncremented++;\r
-    }\r
-    int intergerToBeIncremented2 = 0;\r
-    while (intergerToBeIncremented2 < 100) {\r
-      intergerToBeIncremented2++;\r
-    }\r
-    // first\r
-    int intergerToBeIncremented3 = 0;\r
-    while (intergerToBeIncremented3 < 100) {\r
-      intergerToBeIncremented3++;\r
-    }\r
-    int intergerToBeIncremented4 = 0;\r
-    while (intergerToBeIncremented4 < 100) {\r
-      intergerToBeIncremented4++;\r
-    }\r
-    int intergerToBeIncremented5 = 0;\r
-    while (intergerToBeIncremented5 < 100) {\r
-      intergerToBeIncremented5++;\r
-    }\r
-    int intergerToBeIncremented6 = 0;\r
-    while (intergerToBeIncremented6 < 100) {\r
-      intergerToBeIncremented6++;\r
-    }\r
-    int intergerToBeIncremented7 = 0;\r
-    while (intergerToBeIncremented7 < 100) {\r
-      intergerToBeIncremented7++;\r
-    }\r
-  }\r
-\r
-\r
-  public void duplicatedMethodInSameClass3() {\r
-    int intergerToBeIncremented = 0;\r
-    while (intergerToBeIncremented < 100) {\r
-      intergerToBeIncremented++;\r
-    }\r
-    // test2\r
-    int intergerToBeIncremented2 = 0;\r
-    while (intergerToBeIncremented2 < 100) {\r
-      intergerToBeIncremented2++;\r
-    }\r
-    int intergerToBeIncremented8 = 0;\r
-    while (intergerToBeIncremented8 < 100) {\r
-      intergerToBeIncremented8++;\r
-    }\r
-    int intergerToBeIncremented9 = 0;\r
-    while (intergerToBeIncremented9 < 100) {\r
-      intergerToBeIncremented9++;\r
-    }\r
-    // test 1\r
-    int intergerToBeIncremented10 = 0;\r
-    while (intergerToBeIncremented10 < 100) {\r
-      intergerToBeIncremented10++;\r
-    }\r
-    int intergerToBeIncremented60 = 0;\r
-    while (intergerToBeIncremented60 < 100) {\r
-      intergerToBeIncremented60++;\r
-    }\r
-    int intergerToBeIncremented70 = 0;\r
-    while (intergerToBeIncremented70 < 100) {\r
-      intergerToBeIncremented70++;\r
-    }\r
-  }\r
-  \r
-  public void duplicated2MethodInSameClass3() {\r
-    System.out.print("copy test start");\r
-    int intergerToBeIncremented1 = 0;\r
-    while (intergerToBeIncremented1 < 100) {\r
-      intergerToBeIncremented1++;\r
-    }\r
-    int intergerToBeIncremented20 = 0;\r
-    while (intergerToBeIncremented20 < 100) {\r
-      intergerToBeIncremented20++;\r
-    }\r
-    int intergerToBeIncremented8 = 0;\r
-    while (intergerToBeIncremented8 < 100) {\r
-      intergerToBeIncremented8++;\r
-    }\r
-    int intergerToBeIncremented9 = 0;\r
-    while (intergerToBeIncremented9 < 100) {\r
-      intergerToBeIncremented9++;\r
-    }\r
-    int intergerToBeIncremented10 = 0;\r
-    while (intergerToBeIncremented10 < 100) {\r
-      intergerToBeIncremented10++;\r
-    }\r
-    int intergerToBeIncremented60 = 0;\r
-    while (intergerToBeIncremented60 < 100) {\r
-      intergerToBeIncremented60++;\r
-    }\r
-    System.out.print("copy test end");\r
-  }\r
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_lines_within_package/DuplicatedLinesInSamePackage2.java b/tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_lines_within_package/DuplicatedLinesInSamePackage2.java
deleted file mode 100644 (file)
index 30b8db6..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-/*\r
- * Sonar, entreprise quality control tool.\r
- * Copyright (C) 2007-2008 Hortis-GRC SA\r
- * mailto:be_agile HAT hortis DOT ch\r
- *\r
- * Sonar is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU Lesser General Public\r
- * License as published by the Free Software Foundation; either\r
- * version 3 of the License, or (at your option) any later version.\r
- *\r
- * Sonar is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
- * Lesser General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU Lesser General Public\r
- * License along with Sonar; if not, write to the Free Software\r
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02\r
- */\r
-package org.sonar.samples.duplicated_lines_within_package;\r
-\r
-public class DuplicatedLinesInSamePackage2 {\r
-\r
-  public DuplicatedLinesInSamePackage2() {\r
-  }\r
-  \r
-  public void duplicated2MethodInSameClass3() {\r
-    System.out.print("copy test start");\r
-    int intergerToBeIncremented1 = 0;\r
-    while (intergerToBeIncremented1 < 100) {\r
-      intergerToBeIncremented1++;\r
-    }\r
-    int intergerToBeIncremented20 = 0;\r
-    while (intergerToBeIncremented20 < 100) {\r
-      intergerToBeIncremented20++;\r
-    }\r
-    int intergerToBeIncremented8 = 0;\r
-    while (intergerToBeIncremented8 < 100) {\r
-      intergerToBeIncremented8++;\r
-    }\r
-    int intergerToBeIncremented9 = 0;\r
-    while (intergerToBeIncremented9 < 100) {\r
-      intergerToBeIncremented9++;\r
-    }\r
-    int intergerToBeIncremented10 = 0;\r
-    while (intergerToBeIncremented10 < 100) {\r
-      intergerToBeIncremented10++;\r
-    }\r
-    int intergerToBeIncremented60 = 0;\r
-    while (intergerToBeIncremented60 < 100) {\r
-      intergerToBeIncremented60++;\r
-    }\r
-    System.out.print("copy test end");\r
-  }\r
-\r
-  public void duplicatedMethodInSameClass1() {\r
-    int intergerToBeIncremented = 0;\r
-    while (intergerToBeIncremented < 100) {\r
-      intergerToBeIncremented++;\r
-    }\r
-    int intergerToBeIncremented2 = 0;\r
-    while (intergerToBeIncremented2 < 100) {\r
-      intergerToBeIncremented2++;\r
-    }\r
-    // second\r
-    int intergerToBeIncremented3 = 0;\r
-    while (intergerToBeIncremented3 < 100) {\r
-      intergerToBeIncremented3++;\r
-    }\r
-    int intergerToBeIncremented4 = 0;\r
-    while (intergerToBeIncremented4 < 100) {\r
-      intergerToBeIncremented4++;\r
-    }\r
-    int intergerToBeIncremented5 = 0;\r
-    while (intergerToBeIncremented5 < 100) {\r
-      intergerToBeIncremented5++;\r
-    }\r
-    // vghgvhz\r
-    // bhjjh\r
-    int intergerToBeIncremented6 = 0;\r
-    while (intergerToBeIncremented6 < 100) {\r
-      intergerToBeIncremented6++;\r
-    }\r
-    int intergerToBeIncremented7 = 0;\r
-    while (intergerToBeIncremented7 < 100) {\r
-      intergerToBeIncremented7++;\r
-    }\r
-  }\r
-\r
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_lines_within_same_class/DuplicatedLinesInSameClass.java b/tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_lines_within_same_class/DuplicatedLinesInSameClass.java
deleted file mode 100644 (file)
index 3f57c58..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-/*\r
- * Sonar, entreprise quality control tool.\r
- * Copyright (C) 2007-2008 Hortis-GRC SA\r
- * mailto:be_agile HAT hortis DOT ch\r
- *\r
- * Sonar is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU Lesser General Public\r
- * License as published by the Free Software Foundation; either\r
- * version 3 of the License, or (at your option) any later version.\r
- *\r
- * Sonar is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
- * Lesser General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU Lesser General Public\r
- * License along with Sonar; if not, write to the Free Software\r
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02\r
- */\r
-package org.sonar.samples.duplicated_lines_within_same_class;\r
-\r
-public class DuplicatedLinesInSameClass {\r
-\r
-  public DuplicatedLinesInSameClass() {\r
-  }\r
-\r
-  public void duplicatedMethodInSameClass1() {\r
-    String temp = "";\r
-    for (int i=0; i<10; i++){\r
-      temp += "say something"+i;\r
-    }\r
-    for (int i=0; i<20; i++){\r
-      temp += "say nothing"+i;\r
-    }\r
-    for (int i=0; i<30; i++){\r
-      temp += "always say nothing"+i;\r
-    }\r
-    for (int i=0; i<40; i++){\r
-      temp += "really nothing to say "+i;\r
-    }\r
-    for (int i=0; i<50; i++){\r
-      temp += "really really nothing to say "+i;\r
-    }\r
-    for (int i=0; i<60; i++){\r
-      temp += ".. "+i;\r
-    }\r
-    for (int i=0; i<70; i++){\r
-      temp += "you say something? "+i;\r
-    }\r
-    for (int i=0; i<80; i++){\r
-      temp += "ah no..."+i;\r
-    }\r
-    for (int i=0; i<90; i++){\r
-      temp += "bye"+i;\r
-    }\r
-  }\r
-\r
-  public void duplicatedMethodInSameClass2() {\r
-    String temp = "";\r
-    for (int i=0; i<10; i++){\r
-      temp += "say something"+i;\r
-    }\r
-    for (int i=0; i<20; i++){\r
-      temp += "say nothing"+i;\r
-    }\r
-    for (int i=0; i<30; i++){\r
-      temp += "always say nothing"+i;\r
-    }\r
-    for (int i=0; i<40; i++){\r
-      temp += "really nothing to say "+i;\r
-    }\r
-    for (int i=0; i<50; i++){\r
-      temp += "really really nothing to say "+i;\r
-    }\r
-    for (int i=0; i<60; i++){\r
-      temp += ".. "+i;\r
-    }\r
-    for (int i=0; i<70; i++){\r
-      temp += "you say something? "+i;\r
-    }\r
-    for (int i=0; i<80; i++){\r
-      temp += "ah no..."+i;\r
-    }\r
-    for (int i=0; i<90; i++){\r
-      temp += "bye"+i;\r
-    }  \r
-  }\r
-\r
-}\r
diff --git a/tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_same_lines_within_3_classes/Class1.java b/tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_same_lines_within_3_classes/Class1.java
deleted file mode 100644 (file)
index d847f24..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.samples.duplicated_same_lines_within_3_classes;
-
-public class Class1 {
-
-  public void someMethod() {
-    System.out.println("Test");
-  }
-  
-  public void duplicatedMethod() {
-    int intergerToBeIncremented = 0;
-    while (intergerToBeIncremented < 100) {
-      intergerToBeIncremented++;
-    }
-    System.out.println("test");
-    int intergerToBeIncremented3 = 0;
-    while (intergerToBeIncremented3 < 100) {
-      intergerToBeIncremented3++;
-    }
-    System.out.println("test");
-    int intergerToBeIncremented4 = 0;
-    while (intergerToBeIncremented4 < 100) {
-      intergerToBeIncremented4++;
-    }
-    System.out.println("test");
-    int intergerToBeIncremented5 = 0;
-    while (intergerToBeIncremented5 < 100) {
-      intergerToBeIncremented5++;
-    }
-    System.out.println("test");
-    int intergerToBeIncremented6 = 0;
-    while (intergerToBeIncremented6 < 100) {
-      intergerToBeIncremented6++;
-    }
-    System.out.println("test");
-    int intergerToBeIncremented7 = 0;
-    while (intergerToBeIncremented7 < 100) {
-      intergerToBeIncremented7++;
-    }
-  }
-  
-}
diff --git a/tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_same_lines_within_3_classes/Class2.java b/tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_same_lines_within_3_classes/Class2.java
deleted file mode 100644 (file)
index 28ae766..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.samples.duplicated_same_lines_within_3_classes;
-
-public class Class2 {
-  
-  public void duplicatedMethod() {
-    int intergerToBeIncremented = 0;
-    while (intergerToBeIncremented < 100) {
-      intergerToBeIncremented++;
-    }
-    System.out.println("test");
-    int intergerToBeIncremented3 = 0;
-    while (intergerToBeIncremented3 < 100) {
-      intergerToBeIncremented3++;
-    }
-    System.out.println("test");
-    int intergerToBeIncremented4 = 0;
-    while (intergerToBeIncremented4 < 100) {
-      intergerToBeIncremented4++;
-    }
-    System.out.println("test");
-    int intergerToBeIncremented5 = 0;
-    while (intergerToBeIncremented5 < 100) {
-      intergerToBeIncremented5++;
-    }
-    System.out.println("test");
-    int intergerToBeIncremented6 = 0;
-    while (intergerToBeIncremented6 < 100) {
-      intergerToBeIncremented6++;
-    }
-    System.out.println("test");
-    int intergerToBeIncremented7 = 0;
-    while (intergerToBeIncremented7 < 100) {
-      intergerToBeIncremented7++;
-    }
-  }
-  
-  public void someOtherMethod() {
-    System.out.println("Test2");
-  }
-}
diff --git a/tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_same_lines_within_3_classes/Class3.java b/tests/integration/tests/maven-projects/duplications/src/main/java/org/sonar/samples/duplicated_same_lines_within_3_classes/Class3.java
deleted file mode 100644 (file)
index 6cb454f..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.samples.duplicated_same_lines_within_3_classes;
-
-public class Class3 {
-
-  private String test;
-  
-  public void duplicatedMethod() {
-    int intergerToBeIncremented = 0;
-    while (intergerToBeIncremented < 100) {
-      intergerToBeIncremented++;
-    }
-    System.out.println("test");
-    int intergerToBeIncremented3 = 0;
-    while (intergerToBeIncremented3 < 100) {
-      intergerToBeIncremented3++;
-    }
-    System.out.println("test");
-    int intergerToBeIncremented4 = 0;
-    while (intergerToBeIncremented4 < 100) {
-      intergerToBeIncremented4++;
-    }
-    System.out.println("test");
-    int intergerToBeIncremented5 = 0;
-    while (intergerToBeIncremented5 < 100) {
-      intergerToBeIncremented5++;
-    }
-    System.out.println("test");
-    int intergerToBeIncremented6 = 0;
-    while (intergerToBeIncremented6 < 100) {
-      intergerToBeIncremented6++;
-    }
-    System.out.println("test");
-    int intergerToBeIncremented7 = 0;
-    while (intergerToBeIncremented7 < 100) {
-      intergerToBeIncremented7++;
-    }
-  }
-  
-  public String getTest() {
-   return test;
-  }
-  
-}
diff --git a/tests/integration/tests/maven-projects/exclusions/pom.xml b/tests/integration/tests/maven-projects/exclusions/pom.xml
deleted file mode 100644 (file)
index 76d96dd..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>exclusions</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <packaging>jar</packaging>\r
-  <name>exclusions</name>\r
-\r
-  <dependencies>\r
-         <dependency>\r
-      <groupId>junit</groupId>\r
-      <artifactId>junit</artifactId>\r
-      <version>4.4</version>\r
-      <scope>test</scope>\r
-    </dependency>\r
-  </dependencies>\r
-\r
-       <build>\r
-           <plugins>\r
-             <plugin>\r
-               <groupId>org.apache.maven.plugins</groupId>\r
-               <artifactId>maven-compiler-plugin</artifactId>\r
-               <configuration>\r
-                 <source>1.5</source>\r
-                 <target>1.5</target>\r
-               </configuration>\r
-             </plugin>\r
-       </plugins>\r
-   </build>\r
-\r
-  <properties>\r
-         <sonar.exclusions>**/*Exclude*.java,org/sonar/tests/packageToExclude/**</sonar.exclusions>\r
-  </properties>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/exclusions/src/main/java/ClassOnDefaultPackage.java b/tests/integration/tests/maven-projects/exclusions/src/main/java/ClassOnDefaultPackage.java
deleted file mode 100644 (file)
index dff4c90..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-public class ClassOnDefaultPackage {\r
-       \r
-       public ClassOnDefaultPackage(int i) {\r
-               int j = i++;\r
-       }\r
-       \r
-       private String myMethod() {\r
-               return "hello";\r
-       }\r
-}\r
diff --git a/tests/integration/tests/maven-projects/exclusions/src/main/java/org/sonar/tests/ClassOne.java b/tests/integration/tests/maven-projects/exclusions/src/main/java/org/sonar/tests/ClassOne.java
deleted file mode 100644 (file)
index f9de47b..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-package org.sonar.tests;
-
-public class ClassOne {
-  public void toto() throws Exception {
-    int i=0;
-    i++;
-  }
-  public String hello() {
-    return "hello";
-  }
-
-  protected void duplicatedMethod(int i) {
-    i++;
-    int j=10;
-    if (i==0) {
-      i=j + 10;
-    }
-    if (i==0) {
-      i=j + 10;
-    }
-    if (i==0) {
-      i=j + 10;
-    }
-    if (i==0) {
-      i=j + 10;
-    }
-    if (i==0) {
-      i=j + 10;
-    }
-    if (i==0) {
-      i=j + 10;
-    }
-    if (i==0) {
-      i=j + 10;
-    }
-    if (i==0) {
-      i=j + 10;
-    }
-    if (i==0) {
-      i=j + 10;
-    }
-    if (i==0) {
-      i=j + 10;
-    }
-    System.out.println("i=" + i);
-  }
-}
diff --git a/tests/integration/tests/maven-projects/exclusions/src/main/java/org/sonar/tests/ClassToExclude.java b/tests/integration/tests/maven-projects/exclusions/src/main/java/org/sonar/tests/ClassToExclude.java
deleted file mode 100644 (file)
index 6e7c3f7..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-package org.sonar.tests;
-
-/**
- * JAVADOC
- * .........
- */
-public class ClassToExclude {
-  String test = "foo";
-  String test2 = "bar";
-  String test3 = "toto";
-
-  public ClassToExclude(){
-    String t;
-    if (true)
-      t = "sonar";
-  }
-
-  public static final String method1(String unused) {
-    if (true) {
-      return "foo";
-    }
-    if (false) {
-      return "foooooo";
-    }
-    String loooooooooooooooooooooooooooooooooooooooooooooongVar = "wantsViolations";
-    return loooooooooooooooooooooooooooooooooooooooooooooongVar;
-  }
-
-  protected void duplicatedMethod(int i) {
-    // commmmmmmments
-    // foo..............
-    i++;
-    int j=10;
-    if (i==0) {
-      i=j + 10;
-    }
-    if (i==0) {
-      i=j + 10;
-    }
-    if (i==0) {
-      i=j + 10;
-    }
-    if (i==0) {
-      i=j + 10;
-    }
-    if (i==0) {
-      i=j + 10;
-    }
-    if (i==0) {
-      i=j + 10;
-    }
-    if (i==0) {
-      i=j + 10;
-    }
-    if (i==0) {
-      i=j + 10;
-    }
-    if (i==0) {
-      i=j + 10;
-    }
-    if (i==0) {
-      i=j + 10;
-    }
-    System.out.println("i=" + i);
-  }
-}
diff --git a/tests/integration/tests/maven-projects/exclusions/src/main/java/org/sonar/tests/ClassTwo.java b/tests/integration/tests/maven-projects/exclusions/src/main/java/org/sonar/tests/ClassTwo.java
deleted file mode 100644 (file)
index 809858d..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-package org.sonar.tests;\r
-\r
-import java.lang.String;\r
-\r
-/**\r
- * THE JAVADOC HEADER\r
- */\r
-public class ClassTwo {\r
-\r
-  public ClassTwo(int i) {\r
-    // single comment\r
-    int j = i++;\r
-    myMethod();\r
-  }\r
-\r
-  private String myMethod() {\r
-    /*\r
-      comment\r
-      on\r
-      many\r
-      lines\r
-      */\r
-    int toto = 34; // comment at end of line\r
-    return "hello";\r
-  }\r
-}\r
diff --git a/tests/integration/tests/maven-projects/exclusions/src/main/java/org/sonar/tests/NoSonarComment.java b/tests/integration/tests/maven-projects/exclusions/src/main/java/org/sonar/tests/NoSonarComment.java
deleted file mode 100644 (file)
index 206d72b..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-package org.sonar.tests;
-
-import java.lang.String;//NOSONAR
-
-public class NoSonarComment {
-
-  public NoSonarComment(int i) {//NOSONAR
-    i=3;// NOSONAR
-    i=4;  // ERROR magic number, parameter assignment
-    String s="foo";
-    if (s=="bar") return; // ERROR: compare Strings with equals()
-  }
-}
diff --git a/tests/integration/tests/maven-projects/exclusions/src/main/java/org/sonar/tests/packageToExclude/ClassThree.java b/tests/integration/tests/maven-projects/exclusions/src/main/java/org/sonar/tests/packageToExclude/ClassThree.java
deleted file mode 100644 (file)
index eef3c94..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-package org.sonar.tests.packageToExclude;\r
-\r
-import java.lang.String;\r
-\r
-/**\r
- * THE JAVADOC HEADER\r
- */\r
-public class ClassThree {\r
-\r
-  public ClassThree(int i) {\r
-    // single comment\r
-    int j = i++;\r
-    myMethod();\r
-  }\r
-\r
-  private String myMethod() {\r
-    /*\r
-      comment\r
-      on\r
-      many\r
-      lines\r
-      */\r
-    int toto = 34; // comment at end of line\r
-    return "hello";\r
-  }\r
-}\r
diff --git a/tests/integration/tests/maven-projects/exclusions/src/test/java/org/sonar/tests/ClassOneTest.java b/tests/integration/tests/maven-projects/exclusions/src/test/java/org/sonar/tests/ClassOneTest.java
deleted file mode 100644 (file)
index 8c0967e..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-package org.sonar.tests;
-
-import org.junit.Test;
-
-public class ClassOneTest  {
-
-  @Test
-  public void nothing() {
-
-  }
-}
diff --git a/tests/integration/tests/maven-projects/exclusions/src/test/java/org/sonar/tests/ClassToExcludeTest.java b/tests/integration/tests/maven-projects/exclusions/src/test/java/org/sonar/tests/ClassToExcludeTest.java
deleted file mode 100644 (file)
index 712e2ec..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-package org.sonar.tests;
-
-import org.junit.Test;
-import static org.junit.Assert.fail;
-
-public class ClassToExcludeTest {
-
-  @Test
-  public void increaseCodeCoverage() {
-    new ClassToExclude().duplicatedMethod(222);
-  }
-
-  @Test
-  public void shouldFail() {
-    if (true) {
-      fail();
-    }
-  }
-}
diff --git a/tests/integration/tests/maven-projects/exclusions/src/test/java/org/sonar/tests/ClassTwoTest.java b/tests/integration/tests/maven-projects/exclusions/src/test/java/org/sonar/tests/ClassTwoTest.java
deleted file mode 100644 (file)
index 4f2aeba..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-package org.sonar.tests;\r
-\r
-import org.junit.Test;\r
-\r
-\r
-public class ClassTwoTest {\r
-\r
-  @Test\r
-  public void increaseCodeCoverage() {\r
-    new ClassTwo(67);\r
-  }\r
-}\r
diff --git a/tests/integration/tests/maven-projects/jar-without-sources/pom.xml b/tests/integration/tests/maven-projects/jar-without-sources/pom.xml
deleted file mode 100644 (file)
index 76a8691..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.sonar.tests</groupId>
-  <artifactId>jar-without-sources</artifactId>
-  <packaging>jar</packaging>
-  <version>1.0-SNAPSHOT</version>
-  <name>JAR without sources</name>
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/java-complexity/pom.xml b/tests/integration/tests/maven-projects/java-complexity/pom.xml
deleted file mode 100644 (file)
index 63afab1..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.sonar.tests</groupId>
-  <artifactId>java-complexity</artifactId>
-  <version>1.0-SNAPSHOT</version>
-  <name>java-complexity</name>
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/java-complexity/src/main/java/foo/AnonymousClass.java b/tests/integration/tests/maven-projects/java-complexity/src/main/java/foo/AnonymousClass.java
deleted file mode 100644 (file)
index 61b755b..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-package foo;
-
-import java.io.Serializable;
-import java.lang.Runnable;
-
-public class AnonymousClass {
-
-  // method complexity: 1 or 3 ?
-  public void hasComplexAnonymousClass() {
-    Runnable runnable = new Runnable() {
-       
-         // method complexity: 2
-      public void run() {
-        if (true) {
-          System.out.println("true");
-        }
-      }
-    };
-  }
-
-  // method complexity: 1
-  public void hasEmptyAnonymousClass() {
-    Serializable serializable = new Serializable() {
-
-    };
-  }
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/java-complexity/src/main/java/foo/ContainsInnerClasses.java b/tests/integration/tests/maven-projects/java-complexity/src/main/java/foo/ContainsInnerClasses.java
deleted file mode 100644 (file)
index 900e5e5..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-package foo;
-
-// class complexity: 5
-public class ContainsInnerClasses {
-
-  // method complexity: 1
-  public ContainsInnerClasses() {
-
-  }
-
-  // class complexity: 3
-  public static class InnerClass {
-    private String field;
-
-    // method complexity: 1
-    public InnerClass() {
-
-    }
-
-    // method complexity: 2
-    public InnerClass(String s) {
-      if (s != null) {
-        field = s;
-      }
-    }
-  }
-}
-
-// class complexity: 1
-class PackageClass {
-    private String field;
-
-    // method complexity: 1
-    public PackageClass() {
-
-    }
-  }
diff --git a/tests/integration/tests/maven-projects/java-complexity/src/main/java/foo/ExcludedByFilter.java b/tests/integration/tests/maven-projects/java-complexity/src/main/java/foo/ExcludedByFilter.java
deleted file mode 100644 (file)
index b519344..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-package foo;
-
-// this class is excluded by the resource filter defined in sonar-it-reference-plugin
-public class ExcludedByFilter {
-
-  public void say() {
-    int i=0;
-    if(i>5) {
-      System.out.println("say something");
-    }
-  }
-
-  public void cry() {
-    int i=0;
-    if(i<5) {
-      System.out.println("cry");
-    }
-  }
-}
diff --git a/tests/integration/tests/maven-projects/java-complexity/src/main/java/foo/Helloworld.java b/tests/integration/tests/maven-projects/java-complexity/src/main/java/foo/Helloworld.java
deleted file mode 100644 (file)
index ded87d6..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-package foo;
-
-// class complexity: 6
-public class Helloworld {
-
-  private String field = null;
-
-  // this is considered as a method (bug http://jira.codehaus.org/browse/SONAR-2152)
-  // complexity: 2
-  static {
-    int i = 0;
-    if (i > 5) {
-      System.out.println("hello from static block");
-    }
-  }
-
-  // method complexity: 1
-  public Helloworld(String s) {
-    this.field = s;
-  }
-
-  // accessor
-  // complexity: 0
-  public String getField() {
-    return field;
-  }
-
-  // accessor
-  // complexity: 0
-  public void setField(String s) {
-    this.field = s;
-  }
-
-  // method complexity: 3
-  public void sayHello() {
-    for (int i = 0; i < 5; i++) {
-      if (field != null) {
-        System.out.println(field);
-      }
-    }
-  }
-}
diff --git a/tests/integration/tests/maven-projects/java-complexity/src/main/java/foo/ZeroComplexity.java b/tests/integration/tests/maven-projects/java-complexity/src/main/java/foo/ZeroComplexity.java
deleted file mode 100644 (file)
index ee6b3eb..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-package foo;
-
-// complexity: 0
-public class ZeroComplexity {
-  
-}
diff --git a/tests/integration/tests/maven-projects/java-inner-classes/pom.xml b/tests/integration/tests/maven-projects/java-inner-classes/pom.xml
deleted file mode 100644 (file)
index d389084..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>java-inner-classes</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <name>Java inner classes</name>\r
-\r
-  <dependencies>\r
-    <dependency>\r
-      <groupId>junit</groupId>\r
-      <artifactId>junit</artifactId>\r
-      <version>4.6</version>\r
-      <scope>test</scope>\r
-    </dependency>\r
-  </dependencies>\r
-\r
-  <build>\r
-    <plugins>\r
-      <plugin>\r
-        <groupId>org.apache.maven.plugins</groupId>\r
-        <artifactId>maven-compiler-plugin</artifactId>\r
-        <configuration>\r
-          <source>1.5</source>\r
-          <target>1.5</target>\r
-        </configuration>\r
-      </plugin>\r
-    </plugins>\r
-  </build>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/java-inner-classes/src/main/java/WithAnonymousClass.java b/tests/integration/tests/maven-projects/java-inner-classes/src/main/java/WithAnonymousClass.java
deleted file mode 100644 (file)
index d3df3bc..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-
-import java.util.AbstractMap;
-import java.util.Set;
-
-/**
- * See http://java.sun.com/docs/books/tutorial/java/javaOO/nested.html
- */
-public class WithAnonymousClass {
-
-  public void mainMethod1() {
-    AbstractMap anonymousMap = new AbstractMap() {
-      public Set entrySet() {
-        return null;
-      }
-    };
-    anonymousMap.entrySet();
-    anonymousMap = null;
-  }
-
-  public void mainMethod2() {
-    int i = 9999;
-    i++;
-    i += 444;
-  }
-
-
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/java-inner-classes/src/main/java/WithInnerClass.java b/tests/integration/tests/maven-projects/java-inner-classes/src/main/java/WithInnerClass.java
deleted file mode 100644 (file)
index d9b5ac5..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-
-/**
- * See http://java.sun.com/docs/books/tutorial/java/javaOO/nested.html
- */
-public class WithInnerClass {
-
-  public int mainMethod1() {
-    int i = new InnerClass().innerMethod1();
-    i += 3;
-    return i;
-  }
-
-  /**
-   * A non-static nested class is named "inner class"
-   */
-  class InnerClass {
-    public int innerMethod1() {
-      int j = 200;
-      j += 500;
-      return j;
-    }
-  }
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/java-inner-classes/src/main/java/WithLocalInnerClass.java b/tests/integration/tests/maven-projects/java-inner-classes/src/main/java/WithLocalInnerClass.java
deleted file mode 100644 (file)
index c4898ae..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-
-public class WithLocalInnerClass {
-
-  public String mainMethod1() {
-    class LocalInnerClass {
-      public String staticNestedMethod1() {
-        String s = "foo";
-        return s;
-      }
-    }
-
-    String foo = new LocalInnerClass().staticNestedMethod1();
-    foo += "xxxxxxxx";
-    return foo;
-  }
-
-  public void mainMethod2() {
-    int i = 9999;
-    //do nothing
-  }
-
-
-}
diff --git a/tests/integration/tests/maven-projects/java-inner-classes/src/main/java/WithStaticInnerClass.java b/tests/integration/tests/maven-projects/java-inner-classes/src/main/java/WithStaticInnerClass.java
deleted file mode 100644 (file)
index 232fdc4..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-
-/**
- * See http://java.sun.com/docs/books/tutorial/java/javaOO/nested.html
- */
-public class WithStaticInnerClass {
-  public String mainMethod1() {
-    String foo = new StaticNestedClass().staticNestedMethod1();
-    foo += "xxxxxxxx";
-    return foo;
-  }
-
-  public void mainMethod2() {
-    int i = 9999;
-    //do nothing
-  }
-
-  static class StaticNestedClass {
-    public String staticNestedMethod1() {
-      String s = "foo";
-      return s;
-    }
-  }
-
-  public static class PublicStaticNestedClass {
-    public int publicStaticNestedMethod1() {
-      String s = "bar";
-      return 123456;
-    }
-  }
-}
diff --git a/tests/integration/tests/maven-projects/java-inner-classes/src/main/java/WithSubClass.java b/tests/integration/tests/maven-projects/java-inner-classes/src/main/java/WithSubClass.java
deleted file mode 100644 (file)
index bd93449..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-
-public class WithSubClass {
-  public void mainMethod1() {
-    String foo = new SubClass1().subMethod();
-    foo += "bar";
-  }
-
-  public void mainMethod2() {
-    int i = 9999;
-    //do nothing
-  }
-}
-
-class SubClass1 {
-  public String subMethod() {
-    String foo = "foo";
-    foo += "xxxxxxxx";
-    return foo;
-  }
-}
-
-class SubClass2 {
-  public void subMethod() {
-    String foo = "foo";
-    foo += "xxxxxxxx";
-  }
-}
diff --git a/tests/integration/tests/maven-projects/java-inner-classes/src/test/java/WithAnonymousClassTest.java b/tests/integration/tests/maven-projects/java-inner-classes/src/test/java/WithAnonymousClassTest.java
deleted file mode 100644 (file)
index 9897401..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-
-import org.junit.Test;
-
-public class WithAnonymousClassTest {
-
-  @Test
-  public void test1() {
-    new WithAnonymousClass().mainMethod1();
-  }
-}
diff --git a/tests/integration/tests/maven-projects/java-inner-classes/src/test/java/WithInnerClassTest.java b/tests/integration/tests/maven-projects/java-inner-classes/src/test/java/WithInnerClassTest.java
deleted file mode 100644 (file)
index ccd43d8..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-
-import org.junit.Test;
-
-public class WithInnerClassTest {
-  @Test
-  public void test1() {
-    new WithInnerClass().mainMethod1();
-  }
-}
diff --git a/tests/integration/tests/maven-projects/java-inner-classes/src/test/java/WithLocalInnerClassTest.java b/tests/integration/tests/maven-projects/java-inner-classes/src/test/java/WithLocalInnerClassTest.java
deleted file mode 100644 (file)
index c7d2397..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-
-import org.junit.Test;
-
-public class WithLocalInnerClassTest {
-  @Test
-  public void test1() {
-    new WithLocalInnerClass().mainMethod1();
-  }
-}
diff --git a/tests/integration/tests/maven-projects/java-inner-classes/src/test/java/WithStaticInnerClassTest.java b/tests/integration/tests/maven-projects/java-inner-classes/src/test/java/WithStaticInnerClassTest.java
deleted file mode 100644 (file)
index dd134de..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-
-import org.junit.Test;
-
-public class WithStaticInnerClassTest {
-  @Test
-  public void test1() {
-    new WithStaticInnerClass().mainMethod1();
-  }
-}
diff --git a/tests/integration/tests/maven-projects/java-inner-classes/src/test/java/WithSubClassTest.java b/tests/integration/tests/maven-projects/java-inner-classes/src/test/java/WithSubClassTest.java
deleted file mode 100644 (file)
index 46aa3d9..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-
-import org.junit.Test;
-
-public class WithSubClassTest {
-  @Test
-  public void test1() {
-    new WithSubClass().mainMethod1();
-  }
-}
diff --git a/tests/integration/tests/maven-projects/java4/pom.xml b/tests/integration/tests/maven-projects/java4/pom.xml
deleted file mode 100644 (file)
index 7931fb2..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>java4</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <packaging>jar</packaging>\r
-  <name>Sonar tests - java4 syntax</name>\r
-\r
-       <build>\r
-           <plugins>\r
-             <plugin>\r
-               <groupId>org.apache.maven.plugins</groupId>\r
-               <artifactId>maven-compiler-plugin</artifactId>\r
-               <configuration>\r
-                 <source>1.4</source>\r
-                 <target>1.4</target>\r
-               </configuration>\r
-             </plugin>\r
-       </plugins>      \r
-   </build>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/java4/src/main/java/org/sonar/tests/java4/Java4.java b/tests/integration/tests/maven-projects/java4/src/main/java/org/sonar/tests/java4/Java4.java
deleted file mode 100644 (file)
index 77ae966..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-package org.sonar.tests.java4;
-
-public class Java4 {
-  private String enum = null;
-
-  public Java4(String enum){
-    this.enum = enum;
-  }
-}
diff --git a/tests/integration/tests/maven-projects/jee-sample/ear-module/pom.xml b/tests/integration/tests/maven-projects/jee-sample/ear-module/pom.xml
deleted file mode 100644 (file)
index 0bb98d6..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0"?>
-<project>
-  <parent>
-    <artifactId>parent</artifactId>
-    <groupId>org.sonar.tests.jee</groupId>
-    <version>1.0-SNAPSHOT</version>
-  </parent>
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.sonar.tests.jee</groupId>
-  <artifactId>ear-module</artifactId>
-  <name>ear-module</name>
-  <packaging>ear</packaging>
-  <dependencies>
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>java-module</artifactId>
-      <version>${project.version}</version>
-      <type>jar</type>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>ejb-module</artifactId>
-      <version>${project.version}</version>
-      <type>ejb</type>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>web-module</artifactId>
-      <version>${project.version}</version>
-      <type>war</type>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>3.8.1</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-ear-plugin</artifactId>
-        <configuration>
-          <modules>
-            <javaModule>
-              <groupId>${project.groupId}</groupId>
-              <artifactId>java-module</artifactId>
-            </javaModule>
-            <ejbModule>
-              <groupId>${project.groupId}</groupId>
-              <artifactId>ejb-module</artifactId>
-            </ejbModule>
-            <webModule>
-              <groupId>${project.groupId}</groupId>
-              <artifactId>web-module</artifactId>
-              <contextRoot>jee-sample</contextRoot>
-            </webModule>
-          </modules>
-        </configuration>
-      </plugin>
-
-    </plugins>
-  </build>
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/jee-sample/ejb-module/pom.xml b/tests/integration/tests/maven-projects/jee-sample/ejb-module/pom.xml
deleted file mode 100644 (file)
index 3b32e9d..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0"?>
-<project>
-  <parent>
-    <artifactId>parent</artifactId>
-    <groupId>org.sonar.tests.jee</groupId>
-    <version>1.0-SNAPSHOT</version>
-  </parent>
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.sonar.tests.jee</groupId>
-  <artifactId>ejb-module</artifactId>
-  <name>ejb-module</name>
-  <version>1.0-SNAPSHOT</version>
-  <packaging>ejb</packaging>
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.geronimo.specs</groupId>
-      <artifactId>geronimo-ejb_2.1_spec</artifactId>
-      <version>1.1</version>
-      <scope>provided</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>java-module</artifactId>
-      <version>${project.version}</version>
-      <scope>runtime</scope>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>3.8.1</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/jee-sample/ejb-module/src/main/java/org/sonar/tests/App.java b/tests/integration/tests/maven-projects/jee-sample/ejb-module/src/main/java/org/sonar/tests/App.java
deleted file mode 100644 (file)
index ddc6d08..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-package org.sonar.tests;
-
-/**
- * Hello world!
- *
- */
-public class App 
-{
-    public static void main( String[] args )
-    {
-        System.out.println( "Hello World!" );
-    }
-}
diff --git a/tests/integration/tests/maven-projects/jee-sample/ejb-module/src/main/resources/META-INF/ejb-jar.xml b/tests/integration/tests/maven-projects/jee-sample/ejb-module/src/main/resources/META-INF/ejb-jar.xml
deleted file mode 100644 (file)
index f97427d..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0"?>
-
-<!DOCTYPE ejb-jar PUBLIC 
-   '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 
-   'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>
-
-<ejb-jar>
-   <enterprise-beans>
-
-     
-   </enterprise-beans>
-   <assembly-descriptor></assembly-descriptor>
-</ejb-jar>
diff --git a/tests/integration/tests/maven-projects/jee-sample/ejb-module/src/test/java/org/sonar/tests/AppTest.java b/tests/integration/tests/maven-projects/jee-sample/ejb-module/src/test/java/org/sonar/tests/AppTest.java
deleted file mode 100644 (file)
index ce03155..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-package org.sonar.tests;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-/**
- * Unit test for simple App.
- */
-public class AppTest 
-    extends TestCase
-{
-    /**
-     * Create the test case
-     *
-     * @param testName name of the test case
-     */
-    public AppTest( String testName )
-    {
-        super( testName );
-    }
-
-    /**
-     * @return the suite of tests being tested
-     */
-    public static Test suite()
-    {
-        return new TestSuite( AppTest.class );
-    }
-
-    /**
-     * Rigourous Test :-)
-     */
-    public void testApp()
-    {
-        assertTrue( true );
-    }
-}
diff --git a/tests/integration/tests/maven-projects/jee-sample/java-module/pom.xml b/tests/integration/tests/maven-projects/jee-sample/java-module/pom.xml
deleted file mode 100644 (file)
index ee14f3d..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0"?>
-<project>
-  <parent>
-    <artifactId>parent</artifactId>
-    <groupId>org.sonar.tests.jee</groupId>
-    <version>1.0-SNAPSHOT</version>
-  </parent>
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.sonar.tests.jee</groupId>
-  <artifactId>java-module</artifactId>
-  <name>java-module</name>
-  <version>1.0-SNAPSHOT</version>
-  <dependencies>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>3.8.1</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/jee-sample/java-module/src/main/java/org/sonar/tests/App.java b/tests/integration/tests/maven-projects/jee-sample/java-module/src/main/java/org/sonar/tests/App.java
deleted file mode 100644 (file)
index ddc6d08..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-package org.sonar.tests;
-
-/**
- * Hello world!
- *
- */
-public class App 
-{
-    public static void main( String[] args )
-    {
-        System.out.println( "Hello World!" );
-    }
-}
diff --git a/tests/integration/tests/maven-projects/jee-sample/java-module/src/test/java/org/sonar/tests/AppTest.java b/tests/integration/tests/maven-projects/jee-sample/java-module/src/test/java/org/sonar/tests/AppTest.java
deleted file mode 100644 (file)
index ce03155..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-package org.sonar.tests;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-/**
- * Unit test for simple App.
- */
-public class AppTest 
-    extends TestCase
-{
-    /**
-     * Create the test case
-     *
-     * @param testName name of the test case
-     */
-    public AppTest( String testName )
-    {
-        super( testName );
-    }
-
-    /**
-     * @return the suite of tests being tested
-     */
-    public static Test suite()
-    {
-        return new TestSuite( AppTest.class );
-    }
-
-    /**
-     * Rigourous Test :-)
-     */
-    public void testApp()
-    {
-        assertTrue( true );
-    }
-}
diff --git a/tests/integration/tests/maven-projects/jee-sample/pom.xml b/tests/integration/tests/maven-projects/jee-sample/pom.xml
deleted file mode 100644 (file)
index ac56b00..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.sonar.tests.jee</groupId>
-  <artifactId>parent</artifactId>
-  <packaging>pom</packaging>
-  <version>1.0-SNAPSHOT</version>
-  <name>JEE sample project</name>
-  <dependencies>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>3.8.1</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-  <modules>
-    <module>java-module</module>
-    <module>ejb-module</module>
-    <module>web-module</module>
-    <module>ear-module</module>
-  </modules>
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/jee-sample/web-module/pom.xml b/tests/integration/tests/maven-projects/jee-sample/web-module/pom.xml
deleted file mode 100644 (file)
index 02f8ab3..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0"?>
-<project>
-  <parent>
-    <artifactId>parent</artifactId>
-    <groupId>org.sonar.tests.jee</groupId>
-    <version>1.0-SNAPSHOT</version>
-  </parent>
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.sonar.tests.jee</groupId>
-  <artifactId>web-module</artifactId>
-  <packaging>war</packaging>
-  <name>web-module Maven Webapp</name>
-  <version>1.0-SNAPSHOT</version>
-  <build>
-    <finalName>web-module</finalName>
-  </build>
-  <dependencies>
-    <dependency>
-      <groupId>javax.servlet</groupId>
-      <artifactId>servlet-api</artifactId>
-      <version>2.4</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>javax.servlet</groupId>
-      <artifactId>jsp-api</artifactId>
-      <version>2.0</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.geronimo.specs</groupId>
-      <artifactId>geronimo-ejb_2.1_spec</artifactId>
-      <version>1.1</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>java-module</artifactId>
-      <version>${project.version}</version>
-      <scope>runtime</scope>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>ejb-module</artifactId>
-      <version>${project.version}</version>
-      <scope>runtime</scope>
-      <type>ejb</type>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>3.8.1</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/jee-sample/web-module/src/main/webapp/WEB-INF/web.xml b/tests/integration/tests/maven-projects/jee-sample/web-module/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644 (file)
index 9f88c1f..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<!DOCTYPE web-app PUBLIC
- "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
- "http://java.sun.com/dtd/web-app_2_3.dtd" >
-
-<web-app>
-  <display-name>Archetype Created Web Application</display-name>
-</web-app>
diff --git a/tests/integration/tests/maven-projects/jee-sample/web-module/src/main/webapp/index.jsp b/tests/integration/tests/maven-projects/jee-sample/web-module/src/main/webapp/index.jsp
deleted file mode 100644 (file)
index c38169b..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<html>
-<body>
-<h2>Hello World!</h2>
-</body>
-</html>
diff --git a/tests/integration/tests/maven-projects/many-source-dirs/pom.xml b/tests/integration/tests/maven-projects/many-source-dirs/pom.xml
deleted file mode 100644 (file)
index 7a1839a..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.sonar.tests</groupId>
-  <artifactId>many-source-dirs</artifactId>
-  <version>1.0-SNAPSHOT</version>
-  <packaging>jar</packaging>
-  <name>many-source-dirs</name>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>1.5</source>
-          <target>1.5</target>
-        </configuration>
-      </plugin>
-
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>build-helper-maven-plugin</artifactId>
-        <version>LATEST</version>
-        <executions>
-          <execution>
-            <id>add-source</id>
-            <phase>generate-sources</phase>
-            <goals>
-              <goal>add-source</goal>
-            </goals>
-            <configuration>
-              <sources>
-                <source>src/main/java2</source>
-              </sources>
-            </configuration>
-          </execution>
-          <execution>
-            <id>add-test-source</id>
-            <phase>generate-sources</phase>
-            <goals>
-              <goal>add-test-source</goal>
-            </goals>
-            <configuration>
-              <sources>
-                <source>src/test/java2</source>
-              </sources>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-
-  <dependencies>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>4.5</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-
-  <properties>
-    <sonar.phase>generate-sources</sonar.phase>
-  </properties>
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/many-source-dirs/src/main/java/org/sonar/tests/FirstClass.java b/tests/integration/tests/maven-projects/many-source-dirs/src/main/java/org/sonar/tests/FirstClass.java
deleted file mode 100644 (file)
index 827a8fb..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-package org.sonar.tests;
-
-public class FirstClass {
-       
-       public FirstClass(int i) {
-               int j = i++;
-       }
-       
-       public String hello() {
-               return "hello";
-       }
-}
diff --git a/tests/integration/tests/maven-projects/many-source-dirs/src/main/java2/org/sonar/tests/SecondClass.java b/tests/integration/tests/maven-projects/many-source-dirs/src/main/java2/org/sonar/tests/SecondClass.java
deleted file mode 100644 (file)
index cdcc05c..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-package org.sonar.tests;
-
-public class SecondClass {
-       
-       public SecondClass(int i) {
-               int j = i++;
-       }
-       
-       public String foo() {
-               return "hello";
-       }
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/many-source-dirs/src/test/java/org/sonar/tests/SecondClassTest.java b/tests/integration/tests/maven-projects/many-source-dirs/src/test/java/org/sonar/tests/SecondClassTest.java
deleted file mode 100644 (file)
index 327a71d..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-package org.sonar.tests;
-
-import org.junit.Test;
-import static org.junit.Assert.assertEquals;
-
-public class SecondClassTest {
-       
-       @Test
-       public void hello() {
-               assertEquals("hello", new SecondClass(3).foo());
-       }
-
-  @Test
-       public void error() {
-               assertEquals("no", new SecondClass(3).foo());
-       }
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/many-source-dirs/src/test/java2/org/sonar/tests/FirstClassTest.java b/tests/integration/tests/maven-projects/many-source-dirs/src/test/java2/org/sonar/tests/FirstClassTest.java
deleted file mode 100644 (file)
index bb0b9b5..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests;
-
-import org.junit.Test;
-import static org.junit.Assert.assertEquals;
-
-public class FirstClassTest {
-  @Test
-       public void hello() {
-               assertEquals("hello", new FirstClass(30).hello());
-       }
-
-  @Test
-       public void error() {
-               assertEquals("no", new FirstClass(323).hello());
-       }
-}
diff --git a/tests/integration/tests/maven-projects/maven-custom-type/module.properties b/tests/integration/tests/maven-projects/maven-custom-type/module.properties
deleted file mode 100644 (file)
index 79b5d81..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more\r
-# contributor license agreements.  See the NOTICE file distributed with\r
-# this work for additional information regarding copyright ownership.\r
-# The ASF licenses this file to You under the Apache License, Version 2.0\r
-# (the "License"); you may not use this file except in compliance with\r
-# the License.  You may obtain a copy of the License at\r
-#\r
-# http://www.apache.org/licenses/LICENSE-2.0\r
-#\r
-# Unless required by applicable law or agreed to in writing, software\r
-# distributed under the License is distributed on an "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-# See the License for the specific language governing permissions and\r
-# limitations under the License.\r
-\r
-\r
-\r
-# SDK Sample module\r
-\r
-# ==== Beginning of Alfresco required/optional properties ====== #\r
-\r
-module.id=${pom.groupId}.${pom.artifactId}\r
-#module.aliases=myModule-123, my-module\r
-module.title=${pom.name}\r
-module.description=${pom.description}\r
-module.version=${pom.version}\r
-\r
-# The following optional properties can be used to prevent the module from being added\r
-# to inappropriate versions of the WAR file.\r
-# module.repo.version.min=2.0\r
-# module.repo.version.max=2.1\r
-\r
-# FIXME: This dependencies should come out of mvn dependencies on amp\r
-\r
-# The following describe dependencies on other modules\r
-# Depends on net.sf.myproject.module.SupportModuleA version ${version} or later\r
-# module.depends.net.sf.myproject.module.SupportModuleA=${version}-*\r
-# Depends on net.sf.myproject.module.SupportModuleA version ${version} to 2.0\r
-# module.depends.net.sf.myproject.module.SupportModuleB=${version}-2.0\r
-# Depends on net.sf.myproject.module.SupportModuleC - any version\r
-# module.depends.net.sf.myproject.module.SupportModuleB=*\r
-\r
-\r
-# ==== End of Alfresco required/optional properties ======= #\r
-\r
-\r
-# ==== Beginning of module required properties/optional ====== #
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/maven-custom-type/pom.xml b/tests/integration/tests/maven-projects/maven-custom-type/pom.xml
deleted file mode 100644 (file)
index 30d3ee5..0000000
+++ /dev/null
@@ -1,283 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!--\r
-       Licensed to the Apache Software Foundation (ASF) under one or more\r
-       contributor license agreements.  See the NOTICE file distributed with\r
-       this work for additional information regarding copyright ownership.\r
-       The ASF licenses this file to You under the Apache License, Version 2.0\r
-       (the "License"); you may not use this file except in compliance with\r
-       the License.  You may obtain a copy of the License at\r
-       \r
-       http://www.apache.org/licenses/LICENSE-2.0\r
-       \r
-       Unless required by applicable law or agreed to in writing, software\r
-       distributed under the License is distributed on an "AS IS" BASIS,\r
-       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-       See the License for the specific language governing permissions and\r
-       limitations under the License.\r
-       \r
--->\r
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">\r
-       <modelVersion>4.0.0</modelVersion>\r
-       <groupId>org.sonar.tests</groupId>\r
-       <artifactId>maven-custom-type</artifactId>\r
-       <packaging>amp</packaging>\r
-       <name>Maven custom type</name>\r
-       <version>0.1-SNAPSHOT</version>\r
-       <description>SONAR-308 Maven custom type</description>\r
-       <repositories>\r
-               <repository>\r
-                       <id>ss-public</id>\r
-                       <url>http://repository.sourcesense.com/nexus/content/groups/public</url>\r
-               </repository>\r
-       </repositories>\r
-       <pluginRepositories>\r
-               <pluginRepository>\r
-                       <id>ss-public</id>\r
-                       <url>http://repository.sourcesense.com/nexus/content/groups/public</url>\r
-               </pluginRepository>\r
-       </pluginRepositories>\r
-       <properties>
-           <sonar.profile>turbo</sonar.profile>
-       \r
-               <env>local</env>\r
-               <webapp.name>mymodule-webapp</webapp.name>\r
-               <alfresco.data.location>./alf_data_jetty</alfresco.data.location>\r
-               <alfresco.db.name>alf_jetty</alfresco.db.name>\r
-               <webapp.log.level>error</webapp.log.level>\r
-               <webapp.log.dir>${project.build.directory}/</webapp.log.dir>\r
-               <module.log.level>debug</module.log.level>\r
-       </properties>\r
-       <dependencies>\r
-                       <dependency>\r
-                               <groupId>org.alfresco</groupId>\r
-                               <artifactId>alfresco-repository</artifactId>\r
-                               <version>2.1.0</version>\r
-                               <classifier>labs</classifier>\r
-                       </dependency>\r
-               <dependency>\r
-                       <groupId>org.springframework</groupId>\r
-                       <artifactId>spring</artifactId>\r
-                       <version>2.0</version>\r
-                       <scope>provided</scope>\r
-               </dependency>\r
-               <dependency>\r
-                       <groupId>mysql</groupId>\r
-                       <artifactId>mysql-connector-java</artifactId>\r
-                       <version>5.0.3</version>\r
-               </dependency>\r
-       </dependencies>\r
-       <build>\r
-               <plugins>\r
-                       <plugin>\r
-                               <artifactId>maven-compiler-plugin</artifactId>\r
-                               <configuration>\r
-                                       <source>1.5</source>\r
-                                       <target>1.5</target>\r
-                               </configuration>\r
-                       </plugin>\r
-                       <plugin>\r
-                               <groupId>org.alfresco.maven.plugin</groupId>\r
-                               <artifactId>maven-amp-plugin</artifactId>\r
-                               <version>2.0.1</version>\r
-                               <extensions>true</extensions>\r
-                               <configuration>\r
-                                       <archive>\r
-                                               <addMavenDescriptor>false</addMavenDescriptor>\r
-                                       </archive>\r
-                                       <overlays>\r
-                                               <!-- This sample adds records management module in the finally built AMP\r
-                                               <overlay>\r
-                                                       <groupId>org.alfresco.community</groupId>\r
-                                                       <artifactId>recordsmanagement</artifactId>\r
-                                                       <version>2.1.0</version>\r
-                                                       <type>amp</type>\r
-                                               </overlay>\r
-                                               -->\r
-                                               <!-- The current AMP is always last in order to overwrite other modules' modules.properties\r
-                                               <overlay></overlay>\r
-                                               -->\r
-                                       </overlays>\r
-                               </configuration>\r
-                       </plugin>\r
-               </plugins>\r
-               <!-- Copies and filters resources in build folder so maven-amp-plugin can pick them up  -->\r
-               <resources>\r
-                       <resource>\r
-                               <filtering>true</filtering>\r
-                               <directory>src/main/resources</directory>\r
-                               <excludes>\r
-                                       <exclude>**README-*</exclude>\r
-                               </excludes>\r
-                       </resource>\r
-                       <!-- Copies and filters AMP config in the proper package 'alfresco/module/mycompany.com.mymodule' so to enforce \r
-                                full module naming single sourcing from POM properties  -->\r
-                       <resource>\r
-                               <filtering>true</filtering>\r
-                               <directory>src/main/config</directory>\r
-                               <targetPath>alfresco/module/mycompany.com.mymodule</targetPath>\r
-                               <excludes>\r
-                                       <exclude>**README-*</exclude>\r
-                               </excludes>\r
-                       </resource>\r
-               </resources>\r
-       </build>\r
-       <profiles>\r
-               <!-- Profile used to trigger war creation and integration within Jetty embedded -->\r
-               <profile>\r
-                       <id>webapp</id>\r
-                       <build>\r
-                               <filters><filter>src/test/properties/${env}/application.properties</filter></filters>\r
-                               <defaultGoal>jetty:run-exploded</defaultGoal>\r
-                               <plugins>\r
-                                       <plugin>\r
-                                               <groupId>org.apache.maven.plugins</groupId>\r
-                                               <artifactId>maven-dependency-plugin</artifactId>\r
-                                               <executions>\r
-                                                       <execution>\r
-                                                               <id>unpack-amps</id>\r
-                                                               <phase>process-resources</phase>\r
-                                                               <goals>\r
-                                                                       <goal>unpack-dependencies</goal>\r
-                                                               </goals>\r
-                                                               <configuration>\r
-                                                                       <includeTypes>amp</includeTypes>\r
-                                                                       <outputDirectory>${build.directory}/${webapp.name}</outputDirectory>\r
-                                                                       <excludes>META*</excludes>\r
-                                                               </configuration>\r
-                                                       </execution>\r
-                                               </executions>\r
-                                               <dependencies>\r
-                                                       <!-- This is required to be re-defined explicitly at plugin level as otherwise the 'amp' extension\r
-                                                               unArchiver won't be available to the maven-dependency-plugin  -->\r
-                                                       <dependency>\r
-                                                               <groupId>org.alfresco.maven.plugin</groupId>\r
-                                                               <artifactId>maven-amp-plugin</artifactId>\r
-                                                               <version>2.0.0</version>\r
-                                                       </dependency>\r
-                                               </dependencies>\r
-                                       </plugin>\r
-                                       <plugin>\r
-                                               <groupId>org.apache.maven.plugins</groupId>\r
-                                               <artifactId>maven-war-plugin</artifactId>\r
-                                               <executions>\r
-                                                       <!-- Runs war packaging when 'integration-test' phase is called -->\r
-                                                       <execution>\r
-                                                               <id>it</id>\r
-                                                               <phase>package</phase>\r
-                                                               <goals>\r
-                                                                       <goal>exploded</goal>\r
-                                                               </goals>\r
-                                                       </execution>\r
-                                               </executions>\r
-                                               <configuration>\r
-                                                       <primaryArtifact>false</primaryArtifact>\r
-                                                       <!-- Don't remove the following line otherwise WAR and AMP builds will be done in the same folder, with unexpected results -->\r
-                                                       <webappDirectory>${build.directory}/${webapp.name}</webappDirectory>\r
-                                                       <archive>\r
-                                                               <addMavenDescriptor>false</addMavenDescriptor>\r
-                                                       </archive>\r
-                                                       <warSourceExcludes>licenses/**</warSourceExcludes>\r
-                                                       <webResources></webResources>\r
-                                                       <webResources>\r
-                                                               <resource>\r
-                                                                       <directory>${build.testOutputDirectory}</directory>\r
-                                                                       <targetPath>WEB-INF/classes</targetPath>\r
-                                                                       <filtering>true</filtering>\r
-                                                                       <includes>\r
-                                                                               <include>**</include>\r
-                                                                       </includes>\r
-                                                               </resource>\r
-                                                               <!-- Here we add default this AMP web/ resources-->\r
-                                                               <resource>\r
-                                                                       <directory>src/main/webapp</directory>\r
-                                                                       <targetPath>WEB-INF/licenses</targetPath>\r
-                                                                       <includes>\r
-                                                                               <include>licenses/*.*</include>\r
-                                                                       </includes>\r
-                                                                       <filtering>false</filtering>\r
-                                                               </resource>\r
-                                                       </webResources>\r
-                                               </configuration>\r
-                                               <dependencies>\r
-                                                       <!-- This is required to be re-defined explicitly at plugin level as otherwise the 'amp' extension\r
-                                                               unArchiver won't be available to the maven-war-plugin  -->\r
-                                                       <dependency>\r
-                                                               <groupId>org.alfresco.maven.plugin</groupId>\r
-                                                               <artifactId>maven-amp-plugin</artifactId>\r
-                                                               <version>2.0.0</version>\r
-                                                       </dependency>\r
-                                               </dependencies>\r
-                                       </plugin>\r
-                                       <plugin>\r
-                                               <groupId>org.mortbay.jetty</groupId>\r
-                                               <artifactId>maven-jetty-plugin</artifactId>\r
-                                               <executions>\r
-                                                       <!-- Runs jetty when 'integration-test' phase is called -->\r
-                                                       <execution>\r
-                                                               <id>it</id>\r
-                                                               <phase>integration-test</phase>\r
-                                                               <goals>\r
-                                                                       <goal>run-exploded</goal>\r
-                                                               </goals>\r
-                                                               <configuration>\r
-                                                                       <contextPath>/${webapp.name}</contextPath>\r
-                                                                       <webApp>${pom.build.directory}/${webapp.name}</webApp>\r
-                                                                       <scanIntervalSeconds>10</scanIntervalSeconds>\r
-                                                                       <connectors>\r
-                                                                               <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">\r
-                                                                                       <port>8080</port>\r
-                                                                                       <maxIdleTime>60000</maxIdleTime>\r
-                                                                               </connector>\r
-                                                                       </connectors>\r
-                                                               </configuration>\r
-                                                       </execution>\r
-                                               </executions>\r
-                                       </plugin>\r
-                               </plugins>\r
-                               <!-- When invoking 'mvn integration-test', the following alf configs are added to the test war in order to be able to run it seamlessly.\r
-                                       NB: the application.properties file is filtered with alfresco.db.name and alf.data.location POM properties as default configuration\r
-                               -->\r
-                               <testResources>\r
-                                       <testResource>\r
-                                               <filtering>true</filtering>\r
-                                               <directory>src/test/resources</directory>\r
-                                       </testResource>\r
-                                       <!-- Includes default properties  for alfresco test war -->\r
-                                       <testResource>\r
-                                               <filtering>true</filtering>\r
-                                               <directory>src/test/properties/${env}</directory>\r
-                                               <targetPath>alfresco/extension</targetPath>\r
-                                       </testResource>\r
-                                       <!-- src/main/config/ is copied into  ==> target/test-classes/alfresco/module/mycompany.com.mymodule to\r
-                                               be picked up by the maven-war plugin\r
-                                               Best practice tacken from recordsmanagement.amp, is enforced troughout the whole archetype. \r
-                                               This convention is also used for module.properties filtering.\r
-                                       -->\r
-                                       <testResource>\r
-                                               <filtering>true</filtering>\r
-                                               <directory>.</directory>\r
-                                               <includes>\r
-                                                       <include>module.properties</include>\r
-                                               </includes>\r
-                                               <targetPath>alfresco/module/mycompany.com.mymodule</targetPath>\r
-                                       </testResource>\r
-                               </testResources>\r
-                       </build>\r
-                       <!-- Here you can add test dependencies you want to have included in the the WAR (not in the AMP, built in the main profile) \r
-                               |\r
-                               | Typical use case: add here additional AMPs that you want to test compatibility of with the current module\r
-                               |\r
-                       -->\r
-                       <dependencies>\r
-                               <!-- This is the alfresco version you're testing the AMP against. Don't remove if you want jetty to be able to deploy a WAR :) -->\r
-                               <dependency>\r
-                                       <groupId>alfresco.community</groupId>\r
-                                       <artifactId>alfresco</artifactId>\r
-                                       <version>2.1.0</version>\r
-                                       <type>war</type>\r
-                               </dependency>\r
-                       </dependencies>\r
-               </profile>\r
-\r
-       </profiles>\r
-</project>\r
diff --git a/tests/integration/tests/maven-projects/maven-custom-type/src/main/config/context/service-context.xml b/tests/integration/tests/maven-projects/maven-custom-type/src/main/config/context/service-context.xml
deleted file mode 100644 (file)
index 78a22ff..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>\r
-<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>\r
-<!--
-       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.
-       
--->\r
-<beans>\r
-    \r
-    <!-- A simple class that is initialized by Spring -->\r
-    <bean id="${groupId}.${artifactId}.exampleBean" class="com.sourcesense.demoamp.Demo" init-method="init" />\r
-    \r
-    <!-- A simple module component that will be executed once -->\r
-    <bean id="${groupId}.${artifactId}.exampleComponent" class="com.sourcesense.demoamp.DemoComponent" parent="module.baseComponent" >\r
-        <property name="moduleId" value="${pom.groupId}.${pom.artifactId}" />  <!-- See module.properties -->\r
-        <property name="name" value="exampleComponent" />\r
-        <property name="description" value="A demonstration component" />\r
-        <property name="sinceVersion" value="2.0" />\r
-        <property name="appliesFromVersion" value="2.0" />\r
-    </bean>\r
-    \r
-</beans>\r
diff --git a/tests/integration/tests/maven-projects/maven-custom-type/src/main/config/log4j.properties b/tests/integration/tests/maven-projects/maven-custom-type/src/main/config/log4j.properties
deleted file mode 100644 (file)
index 960dd90..0000000
+++ /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.
-   #-----------------------------------------------------------------------
-   # ${artifactId} module log4j.properties
-   #
-   #   NOTE
-   #   ----
-   #      Log4j uses the following logging levels:
-   #      debug,info,warn,error,fatal
-   #
-   #      To set the logging level of {fullClassName} to {loglevel},
-   #      add a line to this file of the following form:
-   #   
-   #               log4j.logger.{fullClassName}={loglevel}
-   #
-   #      For example, to make 'com.example.MyExample' produce 'debug'
-   #      logs, add a line like this:
-   #   
-   #               log4j.logger.com.example.MyExample=debug
-   #
-   #
-   #   WARNING
-   #   -------
-   #       Log properties in this log4j.properties file override/augment
-   #       those in the webapp's main log4j.properties.
-   #    
-   #-----------------------------------------------------------------------
-  
-   log4j.logger.com.sourcesense.demoamp.DemoComponent=${module.log.level}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/maven-custom-type/src/main/config/module-context.xml b/tests/integration/tests/maven-projects/maven-custom-type/src/main/config/module-context.xml
deleted file mode 100644 (file)
index 2421dac..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!--
-       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.
-       
--->\r
-<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>\r
-\r
-<beans>\r
-       \r
-    <import resource="classpath:alfresco/module/${groupId}.${artifactId}/context/service-context.xml" />\r
-    \r
-</beans>\r
diff --git a/tests/integration/tests/maven-projects/maven-custom-type/src/main/webapp/css/demoamp.css b/tests/integration/tests/maven-projects/maven-custom-type/src/main/webapp/css/demoamp.css
deleted file mode 100644 (file)
index c24bc1b..0000000
+++ /dev/null
@@ -1,16 +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.
- */
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/maven-custom-type/src/main/webapp/images/sourcesense.gif b/tests/integration/tests/maven-projects/maven-custom-type/src/main/webapp/images/sourcesense.gif
deleted file mode 100644 (file)
index 0b80b9d..0000000
Binary files a/tests/integration/tests/maven-projects/maven-custom-type/src/main/webapp/images/sourcesense.gif and /dev/null differ
diff --git a/tests/integration/tests/maven-projects/maven-custom-type/src/main/webapp/jsp/demoamp.jsp b/tests/integration/tests/maven-projects/maven-custom-type/src/main/webapp/jsp/demoamp.jsp
deleted file mode 100644 (file)
index f442d2e..0000000
+++ /dev/null
@@ -1,16 +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.
- -->
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/maven-custom-type/src/main/webapp/licenses/README-licenses.txt b/tests/integration/tests/maven-projects/maven-custom-type/src/main/webapp/licenses/README-licenses.txt
deleted file mode 100644 (file)
index 2a848d0..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-This folder (root in the AMP) gets mapped automagically in WEB-INF/licenses
-in the war build
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/maven-custom-type/src/main/webapp/scripts/demoamp.js b/tests/integration/tests/maven-projects/maven-custom-type/src/main/webapp/scripts/demoamp.js
deleted file mode 100644 (file)
index c24bc1b..0000000
+++ /dev/null
@@ -1,16 +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.
- */
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/maven-custom-type/src/test/properties/local/application.properties b/tests/integration/tests/maven-projects/maven-custom-type/src/test/properties/local/application.properties
deleted file mode 100644 (file)
index de4e0a2..0000000
+++ /dev/null
@@ -1,139 +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.
-
-# RUN TIME PROPERTIES
-# -------------------
-
-# Sample custom content and index data location
-# This will create alf_data Relative to appserver run folder
-# In this default file we take the property from the POM (for compatbility with local jetty and jboss deployments) but it can also be edited here.
-dir.root=${alfresco.data.location}
-# Allowed values are: NONE, AUTO, FULL
-index.recovery.mode=AUTO
-
-# Fail or not when there are node integrity checker errors
-integrity.failOnError=true
-
-# database connection properties
-# MySQL connection (This is default and requires mysql-connector-java-5.0.3-bin.jar, which ships with the Alfresco server)
-
-db.driver=org.gjt.mm.mysql.Driver
-db.url=jdbc:mysql://localhost/${alfresco.db.name}
-db.username=alfresco
-db.password=alfresco
-db.pool.initial=10
-db.pool.max=100
-
-# MySQL dialect
-hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect
-
-
-
-
-# Change the following values only if you know what you're doing.
-# Default should suffice in most cases when running jetty embedded
-# for amp testing
-
-
-
-
-
-# Property to control whether schema updates are performed automatically.
-# Updates must be enabled during upgrades as, apart from the static upgrade scripts,
-# there are also auto-generated update scripts that will need to be executed.  After
-# upgrading to a new version, this can be disabled.
-#db.schema.update=true
-
-
-# File servers related properties 
-# For local builds we disable CIFS and FTP. Edit the following property to reenable them
-smb.server.enabled=false
-smb.server.name=CFS_SHARE_LOCAL
-smb.server.domain=mycompany.com
-smb.server.bindto=127.0.0.1
-smb.tcpip.port=1445
-netbios.session.port=1139
-netbios.name.port=1137
-netbios.datagram.port=1138
-ftp.server.enabled=false
-ftp.port=1121
-ftp.authenticator=alfresco
-
-# This properties file is used to configure LDAP authentication
-# NB: The following LDAP related properties are read only in case -Denteprise mvn build property is specified
-# Wheter to allow silent deletion of users in the Alfresco UI (note: users will be then resynced in the next synchronization)
-ldap.authentication.allowDeleteUser=true
-# LDAP JNDI provider
-ldap.authentication.provider=com.sun.jndi.ldap.LdapCtxFactory
-# Url and protocol for LDAP server to carry authentication against 
-ldap.authentication.url=ldap://ldap.mycompany.com:636
-# can be (simple, ssl)
-ldap.authentication.protcol=ssl
-# Credentials with full access to the directoty used
-ldap.authentication.adminUser=ou=Admin,ou=Services,o=Company
-ldap.authentication.adminPassword=secret
-# Wheter to allow unauthenticated guest a read only login
-ldap.authentication.guestLogin.allowed=false
-# Wheter users can be created on the fly upon successful external (e.g. LDAP) authentication. Useful to avoid user synchronization in case just uid and pwd are needed for a user
-server.transaction.allow-writes=true
-# Wheter user names are case sensitive
-user.name.caseSensitive=true
-# Wheter the synchronization process has to process duplicated users (e.g. synced users and users coming from the sync)
-personService.processDuplicates=true
-# Which action to take when processin duplicates. One of:  LEAVE, SPLIT, DELETE 
-personService.duplicateMode=DELETE
-# Which of the users (in case of SPLIT duplicates policy) should be considered valid
-personService.lastIsBest=true
-# Wheter auto created users should be considered when processing duplicates
-personService.includeAutoCreated=true
-# The query to find the people to import
-ldap.synchronisation.personQuery=(objectclass=inetOrgPerson)
-# The search base of the query to find people to import
-ldap.synchronisation.personSearchBase=ou=Identities,ou=mycompany,o=com
-# The attribute name on people objects found in LDAP to use as the uid in Alfresco
-ldap.synchronisation.userIdAttributeName=cn
-# The attribute on person objects in LDAP to map to the first name property in Alfresco
-ldap.synchronisation.userFirstNameAttributeName=givenName
-# The attribute on person objects in LDAP to map to the last name property in Alfresco
-ldap.synchronisation.userLastNameAttributeName=sn
-# The attribute on person objects in LDAP to map to the email property in Alfresco
-ldap.synchronisation.userEmailAttributeName=cn
-# The attribute on person objects in LDAP to map to the organizational id  property in Alfresco
-ldap.synchronisation.userOrganizationalIdAttributeName=maildomain
-# The default home folder provider to use for people created via LDAP import
-ldap.synchronisation.defaultHomeFolderProvider=companyHomeFolderProvider
-# The query to find group objects
-ldap.synchronisation.groupQuery=(objectclass=AlfrescoGroup)
-# The search base to use to find group objects
-ldap.synchronisation.groupSearchBase=ou=AlfrescoGroups,ou=mycompany,o=com
-# The attribute on LDAP group objects to map to the gid property in Alfrecso
-ldap.synchronisation.groupIdAttributeName=cn
-# The group type in LDAP
-ldap.synchronisation.groupType=AlfrescoGroup
-# The person type in LDAP
-ldap.synchronisation.personType=inetOrgPerson
-# The attribute in LDAP on group objects that defines the DN for its members
-ldap.synchronisation.groupMemberAttributeName=member
-# The cron expression defining when people imports should take place (e.g. every evening at 22:00 hours)
-ldap.synchronisation.import.person.cron=0 0 22 * * ?
-# The cron expression defining when group imports should take place (e.g. every evening at 21:45 hours)
-ldap.synchronisation.import.group.cron=0 45 21 * * ?
-# Should all groups be cleared out at import time?
-# - this is safe as groups are not used in Alfresco for other things (unlike person objects which you should never clear out during an import)
-# - setting this to true means old group definitions will be tidied up.
-ldap.synchronisation.import.group.clearAllChildren=false
-
-
-
diff --git a/tests/integration/tests/maven-projects/maven-custom-type/src/test/resources/alfresco/extension/custom-repository-context.xml b/tests/integration/tests/maven-projects/maven-custom-type/src/test/resources/alfresco/extension/custom-repository-context.xml
deleted file mode 100644 (file)
index a5c4c40..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>\r
-<!--
-    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.
-    
--->
-<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>\r
-\r
-<!--\r
-       This shows the common minimum configuration overrides.\r
-       By default, the content and indexes are located at a relative location, which should only\r
-       be used when doing a quick preview of the Alfresco server.\r
--->\r
-<beans>\r
-   \r
-    <!-- overriding to point to custom properties -->\r
-    <bean id="repository-properties" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">\r
-        <property name="ignoreUnresolvablePlaceholders">\r
-            <value>true</value>\r
-        </property>\r
-        <property name="locations">\r
-            <list>\r
-                <value>classpath:alfresco/repository.properties</value>\r
-                <value>classpath:alfresco/version.properties</value>\r
-                <value>classpath:alfresco/domain/transaction.properties</value>\r
-\r
-                <!-- Override basic repository properties, dir.root and hibernate dialect -->\r
-                <value>classpath:alfresco/extension/application.properties</value>\r
-            </list>\r
-        </property>\r
-    </bean>\r
-\r
-    <bean id="hibernateConfigProperties" class="org.springframework.beans.factory.config.PropertiesFactoryBean">\r
-        <property name="locations">\r
-            <list>\r
-                <value>classpath:alfresco/domain/hibernate-cfg.properties</value>\r
-            </list>\r
-        </property>\r
-    </bean>\r
-    \r
-</beans>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/maven-custom-type/src/test/resources/alfresco/extension/file-servers-custom.xml b/tests/integration/tests/maven-projects/maven-custom-type/src/test/resources/alfresco/extension/file-servers-custom.xml
deleted file mode 100644 (file)
index 11742c7..0000000
+++ /dev/null
@@ -1,152 +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.
-    
--->
- <!--
-       | Default property based configuration.
-       | Example configurations are also provided.
-       | 
-        -->
- <alfresco-config area="file-servers">\r
-\r
-   <!-- To override the default Alfresco filesystem use replace="true", to -->\r
-   <!-- add additional filesystems remove the replace="true" attribute     -->\r
-\r
-\r
-   <!-- Sample passtrhu Novel authentication\r
-   <config evaluator="string-compare" condition="Filesystem Security" replace="true">  \r
-     <authenticator type="passthru">\r
-               <Server>passtrhu1.mycompany.com,passthru2.mycompany.com</Server>        \r
-     </authenticator>\r
-   </config>\r
-   -->\r
-\r
-   <!-- Sample kerberos configuration. Untested.\r
-       \r
-       config evaluator="string-compare" condition="Filesystem Security" replace="true">  \r
-     <authenticator type="enterprise">\r
-     <KDC>authserver.company.com</KDC>\r
-     <Realm>MYCOMPANY.COM</Realm>\r
-     <Password>secret</Password>\r
-     <LoginEntry>AlfCommon</LoginEntry>\r
-     </authenticator>\r
-   </config-->\r
-\r
-       <config evaluator="string-compare" condition="Filesystem Security" replace="true">  \r
-     <authenticator type="alfresco"/>\r
-       </config>\r
-\r
-       <config evaluator="string-compare" condition="CIFS Server" replace="true">\r
-          <serverEnable enabled="${smb.server.enabled}"/>\r
-      <host name="${smb.server.name}" domain="${smb.server.domain}"/>\r
-      <comment>Alfresco CIFS Server</comment>\r
-\r
-      <!-- Set to the broadcast mask for the subnet -->\r
-      <broadcast>255.255.255.0</broadcast>\r
-\r
-      <!-- Use Java socket based NetBIOS over TCP/IP and native SMB on linux -->\r
-      <tcpipSMB platforms="linux,solaris,macosx"/>\r
-      <netBIOSSMB platforms="linux,solaris,macosx"/>\r
-      <!-- bind to the frontend facing interface of this server -->\r
-      <bindto>${smb.server.bindto}</bindto>\r
-\r
-      <!-- Can be mapped to non-privileged ports, then use firewall rules to forward requests from the standard ports -->\r
-   \r
-        <tcpipSMB port="${smb.tcpip.port}" platforms="linux,solaris,macosx"/>\r
-        <netBIOSSMB sessionPort="${netbios.session.port}" namePort="${netbios.name.port}" datagramPort="${netbios.datagram.port}" platforms="linux,solaris,macosx"/>\r
-           \r
-      <hostAnnounce interval="5"/>\r
-\r
-      <!-- Use Win32 NetBIOS interface on Windows -->\r
-      <Win32NetBIOS/>\r
-      <Win32Announce interval="5"/>\r
-\r
-      <!--\r
-        <WINS>\r
-           <primary>1.2.3.4</primary>\r
-           <secondary>5.6.7.8</secondary>\r
-        </WINS>\r
-      -->\r
-      <sessionDebug flags="Negotiate,Socket"/>\r
-   </config>\r
-\r
-       <config evaluator="string-compare" condition="FTP Server">\r
-          <serverEnable enabled="${ftp.server.enabled}"/>\r
-          <port>${ftp.port}</port>\r
-          \r
-      <!-- FTP authentication -->\r
-      <authenticator type="${ftp.authenticator}"/>\r
-      <!--      <debug flags="File,Search,Error,Directory,Info,DataPort"/> -->\r
-   </config>\r
-\r
-\r
-   <config evaluator="string-compare" condition="Filesystems" replace="true">\r
-      <filesystems>\r
-\r
-         <filesystem name="Alfresco">\r
-            <store>workspace://SpacesStore</store>\r
-            <rootPath>/app:company_home</rootPath>\r
-\r
-            <!-- Add a URL file to each folder that links back to the web client -->\r
-            <urlFile>\r
-               <filename>__Alfresco.url</filename>\r
-               <webpath>http://${localname}/</webpath>\r
-            </urlFile>\r
-\r
-            <!-- Mark locked files as offline -->\r
-            <offlineFiles/>\r
-\r
-            <!-- Desktop actions -->\r
-\r
-            <desktopActions>\r
-               <global>\r
-                  <path>alfresco/desktop/Alfresco.exe</path>\r
-                  <webpath>http://${localname}/</webpath>\r
-               </global>\r
-               <action>\r
-                  <class>org.alfresco.filesys.smb.server.repo.desk.CheckInOutDesktopAction</class>\r
-                  <name>CheckInOut</name>\r
-                  <filename>__CheckInOut.exe</filename>\r
-               </action>\r
-               <action>\r
-                  <class>org.alfresco.filesys.smb.server.repo.desk.JavaScriptDesktopAction</class>\r
-                  <name>JavaScriptURL</name>\r
-                  <filename>__ShowDetails.exe</filename>\r
-                  <script>alfresco/desktop/showDetails.js</script>\r
-                  <attributes>anyFiles</attributes>\r
-                  <preprocess>copyToTarget</preprocess>\r
-               </action>\r
-\r
-            </desktopActions>\r
-\r
-<!--\r
-            <accessControl default="Write">\r
-               <user name="admin" access="Write"/>\r
-               <address subnet="90.${version}.0" mask="255.255.0.0" access="Write"/>\r
-            </accessControl>\r
--->\r
-\r
-         </filesystem>\r
-                 \r
-                <!-- AVM virtualization view of all stores/versions for WCM -->\r
-         <avmfilesystem name="AVM">\r
-            <virtualView/>\r
-         </avmfilesystem>\r
-                 \r
-      </filesystems>\r
-   </config>\r
-\r
-</alfresco-config>\r
diff --git a/tests/integration/tests/maven-projects/maven-custom-type/src/test/resources/log4j.properties b/tests/integration/tests/maven-projects/maven-custom-type/src/test/resources/log4j.properties
deleted file mode 100644 (file)
index 8d919e9..0000000
+++ /dev/null
@@ -1,147 +0,0 @@
-#    Licensed to the Apache Software Foundation (ASF) under one or more\r
-#    contributor license agreements.  See the NOTICE file distributed with\r
-#    this work for additional information regarding copyright ownership.\r
-#    The ASF licenses this file to You under the Apache License, Version 2.0\r
-#    (the "License"); you may not use this file except in compliance with\r
-#    the License.  You may obtain a copy of the License at\r
-#    \r
-#    http://www.apache.org/licenses/LICENSE-2.0\r
-#    \r
-#    Unless required by applicable law or agreed to in writing, software\r
-#    distributed under the License is distributed on an "AS IS" BASIS,\r
-#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-#    See the License for the specific language governing permissions and\r
-#    limitations under the License.\r
-\r
-\r
-# Customized alfresco log location\r
-# Set root logger level to error\r
-log4j.rootLogger=${webapp.log.level}, Console, File\r
-\r
-###### Console appender definition #######\r
-\r
-# All outputs currently set to be a ConsoleAppender.\r
-log4j.appender.Console=org.apache.log4j.ConsoleAppender\r
-log4j.appender.Console.layout=org.apache.log4j.PatternLayout\r
-log4j.appender.Console.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c{3}] %m%n\r
-#log4j.appender.Console.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c] %m%n\r
-\r
-###### File appender definition #######\r
-log4j.appender.File=org.apache.log4j.DailyRollingFileAppender\r
-log4j.appender.File.File=${webapp.log.dir}alfresco.log\r
-log4j.appender.File.Append=true\r
-log4j.appender.File.DatePattern='.'yyyy-MM-dd\r
-log4j.appender.File.layout=org.apache.log4j.PatternLayout\r
-log4j.appender.File.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c] %m%n\r
-\r
-###### Hibernate specific appender definition #######\r
-#log4j.appender.file=org.apache.log4j.FileAppender\r
-#log4j.appender.file.File=hibernate.log\r
-#log4j.appender.file.layout=org.apache.log4j.PatternLayout\r
-#log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n\r
-\r
-###### Log level overrides #######\r
-\r
-log4j.logger.org.alfresco.repo.model.filefolder=info\r
-\r
-# Hibernate\r
-log4j.logger.org.hibernate=error\r
-log4j.logger.org.hibernate.util.JDBCExceptionReporter=fatal\r
-log4j.logger.org.hibernate.event.def.AbstractFlushingEventListener=fatal\r
-#log4j.logger.org.hibernate.cache.EhCacheProvider=warn\r
-log4j.logger.org.hibernate.type=warn\r
-# log4j.logger.org.hibernate.persister.collection=DEBUG\r
-\r
-# Spring\r
-log4j.logger.org.springframework=warn\r
-\r
-# Axis/WSS4J\r
-log4j.logger.org.apache.axis=info\r
-log4j.logger.org.apache.ws=info\r
-\r
-# MyFaces\r
-log4j.logger.org.apache.myfaces.util.DebugUtils=info\r
-log4j.logger.org.apache.myfaces.el.VariableResolverImpl=error\r
-log4j.logger.org.apache.myfaces.application.jsp.JspViewHandlerImpl=error\r
-log4j.logger.org.apache.myfaces.taglib=error\r
-\r
-# log prepared statement cache activity ###\r
-log4j.logger.org.hibernate.ps.PreparedStatementCache=info\r
-\r
-# Alfresco\r
-log4j.logger.org.alfresco=error\r
-log4j.logger.org.alfresco.repo.avm=info\r
-log4j.logger.org.alfresco.config=info\r
-log4j.logger.org.alfresco.sample=info\r
-log4j.logger.org.alfresco.web=info\r
-log4j.logger.org.alfresco.web.scripts=warn\r
-#log4j.logger.org.alfresco.web.ui.repo.component.UIActions=debug\r
-#log4j.logger.org.alfresco.web.ui.repo.tag.PageTag=debug\r
-#log4j.logger.org.alfresco.web.bean.clipboard=debug\r
-log4j.logger.org.alfresco.repo.webservice=info\r
-log4j.logger.org.alfresco.service.descriptor.DescriptorService=info\r
-#log4j.logger.org.alfresco.repo.importer.ImporterBootstrap=info\r
-#log4j.logger.org.alfresco.web.ui.common.Utils=info\r
-log4j.logger.org.alfresco.repo.admin.patch.PatchExecuter=info\r
-log4j.logger.org.alfresco.repo.module.ModuleServiceImpl=info\r
-log4j.logger.org.alfresco.repo.domain.schema.SchemaBootstrap=info\r
-log4j.logger.org.alfresco.repo.admin.ConfigurationChecker=info\r
-log4j.logger.org.alfresco.repo.node.index.FullIndexRecoveryComponent=info\r
-log4j.logger.org.alfresco.util.OpenOfficeConnectionTester=warn\r
-log4j.logger.org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl=warn\r
-#log4j.logger.org.alfresco.web.app.DebugPhaseListener=debug\r
-#log4j.logger.org.alfresco.repo.cache.EhCacheTracerJob=debug\r
-#log4j.logger.org.alfresco.repo.search.Indexer=debug\r
-#log4j.logger.org.alfresco.repo.workflow=info\r
-#log4j.logger.org.alfresco.repo.jscript=DEBUG\r
-log4j.logger.org.alfresco.repo.jscript.AlfrescoRhinoScriptDebugger=off\r
-\r
-# CIFS server debugging\r
-#log4j.logger.org.alfresco.smb.protocol=debug\r
-#log4j.logger.org.alfresco.smb.protocol.auth=debug\r
-#log4j.logger.org.alfresco.acegi=debug\r
-\r
-# FTP server debugging\r
-#log4j.logger.org.alfresco.ftp.protocol=debug\r
-#log4j.logger.org.alfresco.ftp.server=debug\r
-\r
-# WebDAV debugging\r
-#log4j.logger.org.alfresco.webdav.protocol=debug\r
-\r
-# NTLM servlet filters\r
-#log4j.logger.org.alfresco.web.app.servlet.NTLMAuthenticationFilter=debug\r
-#log4j.logger.org.alfresco.repo.webdav.auth.NTLMAuthenticationFilter=debug\r
-\r
-# Integrity message threshold - if 'failOnViolation' is off, then WARNINGS are generated\r
-log4j.logger.org.alfresco.repo.node.integrity=ERROR\r
-\r
-# New indexer debugging\r
-#log4j.logger.org.alfresco.repo.search.impl.lucene.index=DEBUG\r
-\r
-# Audit debugging\r
-# log4j.logger.org.alfresco.repo.audit=DEBUG\r
-# log4j.logger.org.alfresco.repo.audit.model=DEBUG\r
-\r
-# Turn off Spring remoting warnings that should really be info or debug.\r
-log4j.logger.org.springframework.remoting.support=error\r
-\r
-# Templating debugging\r
-# log4j.logger.org.alfresco.web.forms=debug\r
-# log4j.logger.org.chiba.xml.xforms=debug\r
-\r
-# Property sheet and modelling debugging\r
-# change to error to hide the warnings about missing properties and associations\r
-log4j.logger.alfresco.missingProperties=warn\r
-log4j.logger.org.alfresco.web.ui.repo.component.property.UIChildAssociation=warn\r
-log4j.logger.org.alfresco.web.ui.repo.component.property.UIAssociation=warn\r
-#log4j.logger.org.alfresco.web.ui.repo.component.property=debug\r
-#log4j.logger.org.alfresco.repo.dictionary.DictionaryDAO=info\r
-\r
-\r
-# Virtualization Server Registry\r
-#log4j.logger.org.alfresco.mbeans.VirtServerRegistry=debug\r
-\r
-# Link Validation debugging\r
-#log4j.logger.org.alfresco.linkvalidation.LinkValidationServiceImpl=debug\r
-#log4j.logger.org.alfresco.linkvalidation.LinkValidationStoreCallbackHandler=debug\r
-\r
diff --git a/tests/integration/tests/maven-projects/maven-extensions/pom.xml b/tests/integration/tests/maven-projects/maven-extensions/pom.xml
deleted file mode 100644 (file)
index a6e4f3b..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>maven-extensions</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <packaging>jar</packaging>\r
-  <name>Sonar tests - maven extensions</name>\r
-  <description>http://jira.codehaus.org/browse/SONAR-222</description>\r
-  <build>\r
-    <extensions>\r
-      <extension>\r
-        <groupId>org.jvnet.wagon-svn</groupId>\r
-        <artifactId>wagon-svn</artifactId>\r
-        <version>1.8</version>\r
-      </extension>\r
-\r
-      <extension>\r
-        <groupId>org.apache.maven.wagon</groupId>\r
-        <artifactId>wagon-webdav</artifactId>\r
-        <version>1.0-beta-2</version>\r
-      </extension>\r
-    </extensions>\r
-  </build>\r
-\r
-  <repositories>\r
-    <repository>\r
-      <id>m.g.o-public</id>\r
-      <url>http://download.java.net/maven/2/</url>\r
-      <releases>\r
-        <enabled>true</enabled>\r
-      </releases>\r
-      <snapshots>\r
-        <enabled>false</enabled>\r
-      </snapshots>\r
-    </repository>\r
-  </repositories>
-  
-  <properties>
-    <sonar.profile>turbo</sonar.profile>
-  </properties>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/maven-extensions/src/main/java/org/sonar/tests/mavenExtensions/Hello.java b/tests/integration/tests/maven-projects/maven-extensions/src/main/java/org/sonar/tests/mavenExtensions/Hello.java
deleted file mode 100644 (file)
index 5967512..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-package org.sonar.tests.mavenExtensions;
-
-public class Hello {
-  private String hello;
-  
-  public Hello(String s){
-    this.hello = s;
-  }
-  
-  public String say() {
-       return hello;
-  }
-}
diff --git a/tests/integration/tests/maven-projects/maven-invalid-parameters/module_a/pom.xml b/tests/integration/tests/maven-projects/maven-invalid-parameters/module_a/pom.xml
deleted file mode 100644 (file)
index 1731b49..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <artifactId>module_a</artifactId>\r
-  <packaging>jar</packaging>\r
-  <name>Module A</name>\r
-\r
-  <parent>\r
-    <groupId>org.sonar.tests.maven-invalid-parameters</groupId>\r
-       <artifactId>parent</artifactId>\r
-       <version>1.0-SNAPSHOT</version>\r
-  </parent>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/maven-invalid-parameters/module_a/src/main/java/org/sonar/tests/Hello.java b/tests/integration/tests/maven-projects/maven-invalid-parameters/module_a/src/main/java/org/sonar/tests/Hello.java
deleted file mode 100644 (file)
index 4d61fb4..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-package org.sonar.tests;
-
-public class Hello {
-       public static String s=null;
-       
-       public String toString() {
-               while(true) 
-                 s="hello";    
-       }
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/maven-invalid-parameters/module_b/pom.xml b/tests/integration/tests/maven-projects/maven-invalid-parameters/module_b/pom.xml
deleted file mode 100644 (file)
index fd97525..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <artifactId>module_b</artifactId>\r
-  <packaging>jar</packaging>\r
-  <name>Module B</name>\r
-\r
-  <parent>\r
-       <groupId>org.sonar.tests.maven-invalid-parameters</groupId>\r
-       <artifactId>parent</artifactId>\r
-       <version>1.0-SNAPSHOT</version>\r
-  </parent>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/maven-invalid-parameters/module_b/src/main/java/org/sonar/tests/Hello.java b/tests/integration/tests/maven-projects/maven-invalid-parameters/module_b/src/main/java/org/sonar/tests/Hello.java
deleted file mode 100644 (file)
index 4d61fb4..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-package org.sonar.tests;
-
-public class Hello {
-       public static String s=null;
-       
-       public String toString() {
-               while(true) 
-                 s="hello";    
-       }
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/maven-invalid-parameters/pom.xml b/tests/integration/tests/maven-projects/maven-invalid-parameters/pom.xml
deleted file mode 100644 (file)
index 77a241f..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests.maven-invalid-parameters</groupId>\r
-  <artifactId>parent</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <packaging>pom</packaging>\r
-  <name>Sonar tests - maven-invalid-parameters</name>\r
-  <modules>\r
-    <module>module_a</module>\r
-    <module>module_b</module>\r
-  </modules>\r
-\r
-<build>\r
-       <plugins>\r
-               <plugin>\r
-        <artifactId>maven-pmd-plugin</artifactId>\r
-        <configuration>\r
-          <aggregate>true</aggregate> <!-- SONAR-518 -->\r
-          <skip>true</skip>  <!-- SONAR-593 -->\r
-        </configuration>\r
-      </plugin>\r
-\r
-      <plugin>\r
-           <groupId>org.apache.maven.plugins</groupId>\r
-           <artifactId>maven-checkstyle-plugin</artifactId>\r
-           <configuration>\r
-             <skip>true</skip><!-- SONAR-519 -->\r
-           </configuration>\r
-         </plugin>\r
-         \r
-         <plugin>\r
-        <groupId>org.codehaus.mojo</groupId>\r
-        <artifactId>findbugs-maven-plugin</artifactId>\r
-        <configuration>\r
-          <skip>true</skip><!-- SONAR-593 -->\r
-        </configuration>\r
-      </plugin>\r
-      \r
-  </plugins>\r
-</build>\r
-\r
-<properties>\r
-  <sonar.profile>turbo</sonar.profile>\r
-</properties>\r
-\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/modules/module_a/pom.xml b/tests/integration/tests/maven-projects/modules/module_a/pom.xml
deleted file mode 100644 (file)
index 68cfa84..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <artifactId>module_a</artifactId>\r
-  <packaging>pom</packaging>\r
-  <name>Module A</name>\r
-\r
-  <parent>\r
-       <groupId>org.sonar.tests.modules</groupId>\r
-       <artifactId>parent</artifactId>\r
-       <version>1.0-SNAPSHOT</version>\r
-  </parent>\r
-  <modules>\r
-    <module>submodule_a1</module>\r
-    <module>submodule_a2</module>\r
-  </modules>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/modules/module_a/submodule_a1/pom.xml b/tests/integration/tests/maven-projects/modules/module_a/submodule_a1/pom.xml
deleted file mode 100644 (file)
index 9f4f859..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <artifactId>submodule_a1</artifactId>\r
-  <packaging>jar</packaging>\r
-  <name>Sub-module A1</name>\r
-\r
-  <parent>\r
-       <groupId>org.sonar.tests.modules</groupId>\r
-       <artifactId>module_a</artifactId>\r
-       <version>1.0-SNAPSHOT</version>\r
-  </parent>\r
-\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/modules/module_a/submodule_a1/src/main/java/org/codehaus/sonar/samples/samplewithmodules/submodulea1/HelloA1.java b/tests/integration/tests/maven-projects/modules/module_a/submodule_a1/src/main/java/org/codehaus/sonar/samples/samplewithmodules/submodulea1/HelloA1.java
deleted file mode 100644 (file)
index 57228b3..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-package org.codehaus.sonar.samples.samplewithmodules.submodulea1;
-
-public class HelloA1 {
-       private int i;
-       private HelloA1() {
-               
-       }
-       
-       public void hello() {
-               System.out.println("hello" + " world");
-       }
-       
-       protected String getHello() {
-               return "hello";
-       }
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/modules/module_a/submodule_a2/pom.xml b/tests/integration/tests/maven-projects/modules/module_a/submodule_a2/pom.xml
deleted file mode 100644 (file)
index 428f370..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <artifactId>submodule_a2</artifactId>\r
-  <packaging>jar</packaging>\r
-  <name>Sub-module A2</name>\r
-\r
-  <parent>\r
-       <groupId>org.sonar.tests.modules</groupId>\r
-       <artifactId>module_a</artifactId>\r
-       <version>1.0-SNAPSHOT</version>\r
-  </parent>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/modules/module_a/submodule_a2/src/main/java/org/codehaus/sonar/samples/samplewithmodules/submodulea2/HelloA2.java b/tests/integration/tests/maven-projects/modules/module_a/submodule_a2/src/main/java/org/codehaus/sonar/samples/samplewithmodules/submodulea2/HelloA2.java
deleted file mode 100644 (file)
index 5930606..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-package org.codehaus.sonar.samples.samplewithmodules.submodulea2;
-
-public class HelloA2 {
-       private int i;
-       private HelloA2() {
-               
-       }
-       
-       public void hello() {
-               System.out.println("hello" + " world");
-       }
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/modules/module_b/pom.xml b/tests/integration/tests/maven-projects/modules/module_b/pom.xml
deleted file mode 100644 (file)
index e5372f5..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <artifactId>module_b</artifactId>\r
-  <packaging>pom</packaging>\r
-  <name>Module B</name>\r
-\r
-  <parent>\r
-       <groupId>org.sonar.tests.modules</groupId>\r
-       <artifactId>parent</artifactId>\r
-       <version>1.0-SNAPSHOT</version>\r
-  </parent>\r
-  <modules>\r
-    <module>submodule_b1</module>\r
-    <module>submodule_b2</module>\r
-  </modules>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/modules/module_b/submodule_b1/pom.xml b/tests/integration/tests/maven-projects/modules/module_b/submodule_b1/pom.xml
deleted file mode 100644 (file)
index 1b52dfc..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <artifactId>submodule_b1</artifactId>\r
-  <packaging>jar</packaging>\r
-  <name>Sub-module B1</name>\r
-\r
-  <parent>\r
-       <groupId>org.sonar.tests.modules</groupId>\r
-       <artifactId>module_b</artifactId>\r
-       <version>1.0-SNAPSHOT</version>\r
-  </parent>\r
-\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/modules/module_b/submodule_b1/src/main/java/org/codehaus/sonar/samples/samplewithmodules/submoduleb1/HelloB1.java b/tests/integration/tests/maven-projects/modules/module_b/submodule_b1/src/main/java/org/codehaus/sonar/samples/samplewithmodules/submoduleb1/HelloB1.java
deleted file mode 100644 (file)
index 6977458..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-package org.codehaus.sonar.samples.samplewithmodules.submoduleb1;
-
-public class HelloB1 {
-       private int i;
-       private HelloB1() {
-               
-       }
-       
-       public void hello() {
-               System.out.println("hello" + " world");
-       }
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/modules/module_b/submodule_b2/pom.xml b/tests/integration/tests/maven-projects/modules/module_b/submodule_b2/pom.xml
deleted file mode 100644 (file)
index 48b216c..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <artifactId>submodule_b2</artifactId>\r
-  <packaging>jar</packaging>\r
-  <name>Sub-module B2</name>\r
-\r
-  <parent>\r
-       <groupId>org.sonar.tests.modules</groupId>\r
-       <artifactId>module_b</artifactId>\r
-       <version>1.0-SNAPSHOT</version>\r
-  </parent>\r
-\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/modules/module_b/submodule_b2/src/main/java/org/codehaus/sonar/samples/samplewithmodules/submoduleb2/HelloB2.java b/tests/integration/tests/maven-projects/modules/module_b/submodule_b2/src/main/java/org/codehaus/sonar/samples/samplewithmodules/submoduleb2/HelloB2.java
deleted file mode 100644 (file)
index 6451883..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-package org.codehaus.sonar.samples.samplewithmodules.submoduleb2;
-
-public class HelloB2 {
-       private int i;
-       private HelloB2() {
-               
-       }
-       
-       public void hello() {
-               System.out.println("hello" + " world");
-       }
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/modules/module_to_skip/pom.xml b/tests/integration/tests/maven-projects/modules/module_to_skip/pom.xml
deleted file mode 100644 (file)
index 599b170..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <artifactId>module_to_skip</artifactId>\r
-  <packaging>jar</packaging>\r
-  <name>Module to skip</name>\r
-\r
-  <parent>\r
-       <groupId>org.sonar.tests.modules</groupId>\r
-       <artifactId>parent</artifactId>\r
-       <version>1.0-SNAPSHOT</version>\r
-  </parent>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/modules/module_to_skip/src/main/java/org/codehaus/sonar/tests/modules/moduleToSkip/SkippedClass.java b/tests/integration/tests/maven-projects/modules/module_to_skip/src/main/java/org/codehaus/sonar/tests/modules/moduleToSkip/SkippedClass.java
deleted file mode 100644 (file)
index af2db3f..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-package org.codehaus.sonar.tests.modules.moduletoSkip;
-
-public class SkippedClass {
-       private int i;
-       private SkippedClass() {
-               
-       }
-       
-       public void skip() {
-               System.out.println("hello" + " world");
-               int j=i+2223;
-       }
-       
-       protected String getFoo() {
-               return "fooooooooooooo";
-       }
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/modules/pom.xml b/tests/integration/tests/maven-projects/modules/pom.xml
deleted file mode 100644 (file)
index 77b9caf..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests.modules</groupId>\r
-  <artifactId>parent</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <packaging>pom</packaging>\r
-  <name>Sonar tests - modules</name>\r
-  <modules>\r
-    <module>module_a</module>\r
-    <module>module_to_skip</module>\r
-    <module>module_b</module>\r
-  </modules>\r
-\r
-  <properties>\r
-    <sonar.skippedModules>module_to_skip,fake_module</sonar.skippedModules>\r
-  </properties>\r
-\r
-  <dependencies>\r
-    <dependency>\r
-      <groupId>junit</groupId>\r
-      <artifactId>junit</artifactId>\r
-      <version>3.8.1</version>\r
-      <scope>test</scope>\r
-    </dependency>\r
-  </dependencies>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/no-tests/pom.xml b/tests/integration/tests/maven-projects/no-tests/pom.xml
deleted file mode 100644 (file)
index c3367c1..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>no-tests</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <packaging>jar</packaging>\r
-  <name>No tests</name>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/no-tests/src/main/java/org/sonar/tests/Hello.java b/tests/integration/tests/maven-projects/no-tests/src/main/java/org/sonar/tests/Hello.java
deleted file mode 100644 (file)
index e762b8f..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-package org.sonar.tests;
-
-public class Hello {
-  private String hello;
-  
-  public Hello(String s){
-    this.hello = s;
-  }
-  
-  public String say() {
-       return hello;
-  }
-}
diff --git a/tests/integration/tests/maven-projects/plugin-build-helper/pom.xml b/tests/integration/tests/maven-projects/plugin-build-helper/pom.xml
deleted file mode 100644 (file)
index 52b2d05..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" 
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.codehaus.sonar.plugins</groupId>
-  <artifactId>test-build-helper</artifactId>
-  <packaging>jar</packaging>
-  <name>Sonar maven build helper sample</name>
-  <version>1.0.0-SNAPSHOT</version>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>build-helper-maven-plugin</artifactId>
-        <version>1.1</version>
-        <executions>
-          <execution>
-            <id>add-source</id>
-            <phase>generate-sources</phase>
-            <goals>
-              <goal>add-source</goal>
-            </goals>
-            <configuration>
-              <sources>
-                <source>${basedir}/src/main/java2</source>
-                <source>${basedir}/src/main/java3</source>
-              </sources>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-  <properties>
-    <sonar.dynamicAnalysis>false</sonar.dynamicAnalysis>
-    <sonar.phase>generate-sources</sonar.phase>
-  </properties>
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/plugin-build-helper/src/main/java/Java1PackageClass.java b/tests/integration/tests/maven-projects/plugin-build-helper/src/main/java/Java1PackageClass.java
deleted file mode 100644 (file)
index 8b64e15..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-
-public class Java1PackageClass {
-
-  /**
-   * @param args
-   */
-  public static void main(String[] args) {
-    String test1 = "";
-    test1 = test1;
-    System.out.println("test");
-    if ( true ) System.out.println("true");
-  }
-}
diff --git a/tests/integration/tests/maven-projects/plugin-build-helper/src/main/java2/Java2PackageClass.java b/tests/integration/tests/maven-projects/plugin-build-helper/src/main/java2/Java2PackageClass.java
deleted file mode 100644 (file)
index 253a5ca..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-
-public class Java2PackageClass {
-
-  /**
-   * @param args
-   */
-  public static void main(String[] args) {
-    String test2 = "";
-    test2 = test2;
-    System.out.println("test2");
-    if ( true ) System.out.println("true");
-  }
-}
diff --git a/tests/integration/tests/maven-projects/plugin-build-helper/src/main/java3/Java3PackageClass.java b/tests/integration/tests/maven-projects/plugin-build-helper/src/main/java3/Java3PackageClass.java
deleted file mode 100644 (file)
index ee3fe20..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-
-public class Java3PackageClass {
-
-  /**
-   * @param args
-   */
-  public static void main(String[] args) {
-    String test3 = "";
-    test3 = test3;
-    if ( true ) System.out.println("true");
-  }
-
-}
diff --git a/tests/integration/tests/maven-projects/pom-without-modules/pom.xml b/tests/integration/tests/maven-projects/pom-without-modules/pom.xml
deleted file mode 100644 (file)
index a38c88c..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.sonar.tests</groupId>
-  <artifactId>pom-without-modules</artifactId>
-  <packaging>pom</packaging>
-  <version>1.0-SNAPSHOT</version>
-  <name>POM without modules</name>
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/project-to-disable/pom.xml b/tests/integration/tests/maven-projects/project-to-disable/pom.xml
deleted file mode 100644 (file)
index f80bb78..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>disabled-project</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <packaging>jar</packaging>\r
-  <name>Sonar tests - disabled project</name>\r
-\r
-       <build>\r
-           <plugins>\r
-             <plugin>\r
-               <groupId>org.apache.maven.plugins</groupId>\r
-               <artifactId>maven-compiler-plugin</artifactId>\r
-               <configuration>\r
-                 <source>1.5</source>\r
-                 <target>1.5</target>\r
-               </configuration>\r
-             </plugin>\r
-       </plugins>      \r
-   </build>\r
-
-  <properties>
-    <sonar.profile>turbo</sonar.profile>
-  </properties>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/project-to-disable/src/main/java/Hello.java b/tests/integration/tests/maven-projects/project-to-disable/src/main/java/Hello.java
deleted file mode 100644 (file)
index 01e0bd0..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-public class Hello {
-
-       private Hello() {
-               
-       }
-       
-       public void hello() {
-               System.out.println("hello" + " world");
-       }
-       
-       protected String getHello() {
-               return "hello";
-       }
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/reference/pom.xml b/tests/integration/tests/maven-projects/reference/pom.xml
deleted file mode 100644 (file)
index d155aad..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>reference</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <packaging>jar</packaging>\r
-  <name>Sonar tests - reference</name>\r
-  <description>Sonar integration tests - reference project</description>\r
-  <url>http://foo/bar</url>\r
-  <scm>\r
-    <connection>scm:svn:http://svn.codehaus.org/sonar/trunk/tests/integration/reference-projects/reference</connection>\r
-    <developerConnection>scm:svn:https://svn.codehaus.org/sonar/trunk/tests/integration/reference-projects/reference\r
-    </developerConnection>\r
-    <url>http://svn.sonar.codehaus.org/trunk/tests/integration</url>\r
-  </scm>\r
-\r
-  <issueManagement>\r
-    <system>jira</system>\r
-    <url>http://jira.codehaus.org/browse/SONAR</url>\r
-  </issueManagement>\r
-\r
-  <ciManagement>\r
-    <system>bamboo</system>\r
-    <url>http://bamboo.ci.codehaus.org/browse/SONAR/</url>\r
-  </ciManagement>\r
-\r
-  <dependencies>\r
-    <dependency>\r
-      <groupId>geronimo-spec</groupId>\r
-      <artifactId>geronimo-spec-jta</artifactId>\r
-      <version>1.0-M1</version>\r
-    </dependency>\r
-    <dependency>\r
-      <groupId>org.hibernate</groupId>\r
-      <artifactId>hibernate</artifactId>\r
-      <version>3.2.6.ga</version>\r
-      <!-- removing the hibernate JTA dep to avoid to have to install it\r
-           manually and using the geronimo-spec-jta dep which is downloadable -->\r
-      <exclusions>\r
-        <exclusion>\r
-          <groupId>javax.transaction</groupId>\r
-          <artifactId>jta</artifactId>\r
-        </exclusion>\r
-        <!--  removing commons logging to avoid classloader issues and replacing it by jcl104-over-slf4j -->\r
-        <exclusion>\r
-          <groupId>commons-logging</groupId>\r
-          <artifactId>commons-logging</artifactId>\r
-        </exclusion>\r
-      </exclusions>\r
-    </dependency>\r
-    <dependency>\r
-      <groupId>org.hibernate</groupId>\r
-      <artifactId>hibernate-annotations</artifactId>\r
-      <version>3.3.0.ga</version>\r
-    </dependency>\r
-    <dependency>\r
-      <groupId>org.hibernate</groupId>\r
-      <artifactId>hibernate-commons-annotations</artifactId>\r
-      <version>3.3.0.ga</version>\r
-    </dependency>\r
-    <dependency>\r
-      <groupId>org.hibernate</groupId>\r
-      <artifactId>hibernate-entitymanager</artifactId>\r
-      <version>3.3.1.ga</version>\r
-    </dependency>\r
-    <dependency>\r
-      <groupId>junit</groupId>\r
-      <artifactId>junit</artifactId>\r
-      <version>4.4</version>\r
-      <scope>test</scope>\r
-    </dependency>\r
-  </dependencies>\r
-\r
-  <build>\r
-    <plugins>\r
-      <plugin>\r
-        <groupId>org.apache.maven.plugins</groupId>\r
-        <artifactId>maven-compiler-plugin</artifactId>\r
-        <configuration>\r
-          <source>1.5</source>\r
-          <target>1.5</target>\r
-        </configuration>\r
-      </plugin>\r
-    </plugins>\r
-  </build>\r
-  <properties>\r
-       <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
-  </properties>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/reference/src/main/java/ClassOnDefaultPackage.java b/tests/integration/tests/maven-projects/reference/src/main/java/ClassOnDefaultPackage.java
deleted file mode 100644 (file)
index dff4c90..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-public class ClassOnDefaultPackage {\r
-       \r
-       public ClassOnDefaultPackage(int i) {\r
-               int j = i++;\r
-       }\r
-       \r
-       private String myMethod() {\r
-               return "hello";\r
-       }\r
-}\r
diff --git a/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/ClassUnderTest.java b/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/ClassUnderTest.java
deleted file mode 100644 (file)
index 8f5453a..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-package org.sonar.samples;
-
-public class ClassUnderTest {
-  public void toto() throws Exception {
-    int i=0;
-    i++;
-  }
-  public String hello() {
-    return "hello";
-  }
-}
diff --git a/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/ClassWithComments.java b/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/ClassWithComments.java
deleted file mode 100644 (file)
index f4c4948..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-package org.sonar.samples;\r
-\r
-/**\r
- * \r
- * THE JAVADOC HEADER\r
- *\r
- */\r
-public class ClassWithComments {\r
-\r
-    public ClassWithComments(int i) {\r
-           // single comment\r
-               int j = i++;\r
-       }\r
-       \r
-       private String myMethod() {\r
-               /*\r
-               comment\r
-               on\r
-               many\r
-               lines           \r
-               */\r
-               int toto=34; // comment at end of line\r
-               return "hello";\r
-       }\r
-}\r
diff --git a/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/ClassWithPackageImportsComment.java b/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/ClassWithPackageImportsComment.java
deleted file mode 100644 (file)
index 69e20c8..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-// some comment
-package org.sonar.samples;
-
-import java.lang.Runtime;
-import java.lang.String;
-
-// another comment
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/EmptyClass.java b/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/EmptyClass.java
deleted file mode 100644 (file)
index c89b8e1..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-package org.sonar.samples;
-
-public class EmptyClass {
-}
diff --git a/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/EmptyFile.java b/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/EmptyFile.java
deleted file mode 100644 (file)
index d3eb871..0000000
+++ /dev/null
@@ -1 +0,0 @@
-// empty class file with only a comment see http://jira.codehaus.org/browse/SONAR-864
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/HibernateModel.java b/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/HibernateModel.java
deleted file mode 100644 (file)
index 6246b64..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-package org.sonar.samples;\r
-\r
-import javax.persistence.*;\r
-\r
-@Entity\r
-@Table(name = "foo")\r
-public class HibernateModel implements java.io.Serializable {\r
-\r
-  @Id\r
-  @Column(name = "id")\r
-  @SequenceGenerator(name = "FOO_ID_SEQ", sequenceName = "FOO_ID_SEQ")\r
-  @GeneratedValue(strategy = GenerationType.AUTO, generator = "FOO_ID_SEQ")\r
-  private Integer id;\r
-\r
-  @Column(name = "column1", updatable = true, nullable = true, length = 32)\r
-  private String column1;\r
-\r
-  public HibernateModel() {\r
-  }\r
-\r
-  public HibernateModel(String column1) {\r
-    this.column1 = column1;\r
-  }\r
-}\r
diff --git a/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/InnerClass.java b/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/InnerClass.java
deleted file mode 100644 (file)
index d121666..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-/*
- * Sonar, entreprise quality control tool.
- * Copyright (C) 2007-2008 Hortis-GRC SA
- * mailto:be_agile HAT hortis DOT ch
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.samples;
-
-public class InnerClass {
-
-  protected void methodOne() {
-    int i = 0;
-    i++;
-  }
-
-  protected void methodTwo() {
-    int i = 0;
-    i++;
-  }
-
-  protected int methodReturnThree() {
-    return 3;
-  }
-
-  class InnerClassInside {
-
-    InnerClassInside() {
-    }
-
-    protected void innerMethodOne() {
-      System.out.println("in one");
-    }
-
-    protected void innerMethodTwo() {
-      System.out.println("in two");
-    }
-
-    protected int methodReturnFour() {
-      return 4;
-    }
-
-  }
-}
-
-class PrivateClass {
-  PrivateClass() {
-
-  }
-
-  void innerMethodThree() {
-    System.out.println("in three");
-  }
-
-  void innerMethodFour() {
-    System.out.println("in four");
-  }
-
-  void innerMethodFive() {
-    if (true) {
-      System.out.println("in five");
-    }
-  }
-
-  void innerMethodSix() {
-    if (true) {
-      System.out.println("in six");
-    }
-  }
-
-  int methodReturnfive() {
-    return 5;
-  }
-
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/InterfaceWithConstants.java b/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/InterfaceWithConstants.java
deleted file mode 100644 (file)
index 850b4e2..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-package org.sonar.samples;
-
-public interface InterfaceWithConstants {
-  int INT_CONSTANT = 1;
-
-  EmptyClass OBJECT_CONSTANT = new EmptyClass();
-
-  void doSomething();
-
-  void doSomethingElse();
-}
diff --git a/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/PureAbstractClass.java b/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/PureAbstractClass.java
deleted file mode 100644 (file)
index 8840823..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-package org.sonar.samples;
-
-public abstract class PureAbstractClass {
-
-  abstract void doSomething();
-
-}
diff --git a/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/PureInterface.java b/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/PureInterface.java
deleted file mode 100644 (file)
index 4a68712..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-package org.sonar.samples;
-
-public interface PureInterface {
-
-  void doSomething();
-
-  void doSomethingElse();
-
-}
diff --git a/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/Utf8Characters.java b/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/Utf8Characters.java
deleted file mode 100644 (file)
index d17dcdd..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-package org.sonar.samples;
-
-public class Utf8Characters {
-  String test = "voyelles accentuées";
-  String test2 = "àéèûù";
-  String test3 = "3 Ä";
-
-  public Utf8Characters(){
-    String t;
-    if (true)
-      t = "éöàä$£";
-  }
-}
diff --git a/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/duplicated_lines_with_other_package1/DuplicatedLinesWithOtherPackage.java b/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/duplicated_lines_with_other_package1/DuplicatedLinesWithOtherPackage.java
deleted file mode 100644 (file)
index 73efdd0..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-/*\r
- * Sonar, entreprise quality control tool.\r
- * Copyright (C) 2007-2008 Hortis-GRC SA\r
- * mailto:be_agile HAT hortis DOT ch\r
- *\r
- * Sonar is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU Lesser General Public\r
- * License as published by the Free Software Foundation; either\r
- * version 3 of the License, or (at your option) any later version.\r
- *\r
- * Sonar is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
- * Lesser General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU Lesser General Public\r
- * License along with Sonar; if not, write to the Free Software\r
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02\r
- */\r
-package org.sonar.samples.duplicated_lines_with_other_package1;\r
-\r
-public class DuplicatedLinesWithOtherPackage {\r
-\r
-  public DuplicatedLinesWithOtherPackage() {\r
-  }\r
-\r
-  public void duplicatedMethodWithOtherPackage() {\r
-    char[] charList = new char[30];\r
-    charList[0] = 'a';\r
-    charList[1] = 'b';\r
-    charList[2] = 'c';\r
-    charList[3] = 'd';\r
-    charList[4] = 'e';\r
-    charList[5] = 'f';\r
-    charList[6] = 'g';\r
-    charList[7] = 'g';\r
-    charList[8] = 'g';\r
-    charList[9] = 'g';\r
-    charList[10] = 'g';\r
-    charList[11] = 'g';\r
-    charList[12] = 'g';\r
-    charList[13] = 'g';\r
-    charList[14] = 'g';\r
-    charList[15] = 'g';\r
-    charList[16] = 'g';\r
-    charList[17] = 'g';\r
-    charList[18] = 'g';\r
-    charList[19] = 'g';\r
-    charList[20] = 'g';\r
-    charList[21] = 'g';\r
-    charList[22] = 'g';\r
-    charList[23] = 'g';\r
-    charList[24] = 'g';\r
-    charList[27] = 'g';\r
-    charList[28] = 'g';\r
-    charList[29] = 'g';\r
-    charList[30] = 'g';\r
-  }\r
-\r
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/duplicated_lines_with_other_package2/DuplicatedLinesWithOtherPackage.java b/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/duplicated_lines_with_other_package2/DuplicatedLinesWithOtherPackage.java
deleted file mode 100644 (file)
index dd5f610..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-/*\r
- * Sonar, entreprise quality control tool.\r
- * Copyright (C) 2007-2008 Hortis-GRC SA\r
- * mailto:be_agile HAT hortis DOT ch\r
- *\r
- * Sonar is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU Lesser General Public\r
- * License as published by the Free Software Foundation; either\r
- * version 3 of the License, or (at your option) any later version.\r
- *\r
- * Sonar is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
- * Lesser General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU Lesser General Public\r
- * License along with Sonar; if not, write to the Free Software\r
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02\r
- */\r
-package org.sonar.samples.duplicated_lines_with_other_package2;\r
-\r
-public class DuplicatedLinesWithOtherPackage {\r
-\r
-  public DuplicatedLinesWithOtherPackage() {\r
-  }\r
-\r
-  public void duplicatedMethodWithOtherPackage() {\r
-    char[] charList = new char[30];\r
-    charList[0] = 'a';\r
-    charList[1] = 'b';\r
-    charList[2] = 'c';\r
-    charList[3] = 'd';\r
-    charList[4] = 'e';\r
-    charList[5] = 'f';\r
-    charList[6] = 'g';\r
-    charList[7] = 'g';\r
-    charList[8] = 'g';\r
-    charList[9] = 'g';\r
-    charList[10] = 'g';\r
-    charList[11] = 'g';\r
-    charList[12] = 'g';\r
-    charList[13] = 'g';\r
-    charList[14] = 'g';\r
-    charList[15] = 'g';\r
-    charList[16] = 'g';\r
-    charList[17] = 'g';\r
-    charList[18] = 'g';\r
-    charList[19] = 'g';\r
-    charList[20] = 'g';\r
-    charList[21] = 'g';\r
-    charList[22] = 'g';\r
-    charList[23] = 'g';\r
-    charList[24] = 'g';\r
-    charList[27] = 'g';\r
-    charList[28] = 'g';\r
-    charList[29] = 'g';\r
-    charList[30] = 'g';\r
-  }\r
-\r
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/duplicated_lines_within_package/DuplicatedLinesInSamePackage1.java b/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/duplicated_lines_within_package/DuplicatedLinesInSamePackage1.java
deleted file mode 100644 (file)
index c62cfe7..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-/*\r
- * Sonar, entreprise quality control tool.\r
- * Copyright (C) 2007-2008 Hortis-GRC SA\r
- * mailto:be_agile HAT hortis DOT ch\r
- *\r
- * Sonar is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU Lesser General Public\r
- * License as published by the Free Software Foundation; either\r
- * version 3 of the License, or (at your option) any later version.\r
- *\r
- * Sonar is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
- * Lesser General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU Lesser General Public\r
- * License along with Sonar; if not, write to the Free Software\r
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02\r
- */\r
-package org.sonar.samples.duplicated_lines_within_package;\r
-\r
-public class DuplicatedLinesInSamePackage1 {\r
-\r
-  public DuplicatedLinesInSamePackage1() {\r
-  }\r
-\r
-  /*\r
-   * sddfgdfgfg\r
-   */\r
-  public void duplicatedMethodInSameClass1() {\r
-    int intergerToBeIncremented = 0;\r
-    while (intergerToBeIncremented < 100) {\r
-      intergerToBeIncremented++;\r
-    }\r
-    int intergerToBeIncremented2 = 0;\r
-    while (intergerToBeIncremented2 < 100) {\r
-      intergerToBeIncremented2++;\r
-    }\r
-    // first\r
-    int intergerToBeIncremented3 = 0;\r
-    while (intergerToBeIncremented3 < 100) {\r
-      intergerToBeIncremented3++;\r
-    }\r
-    int intergerToBeIncremented4 = 0;\r
-    while (intergerToBeIncremented4 < 100) {\r
-      intergerToBeIncremented4++;\r
-    }\r
-    int intergerToBeIncremented5 = 0;\r
-    while (intergerToBeIncremented5 < 100) {\r
-      intergerToBeIncremented5++;\r
-    }\r
-    int intergerToBeIncremented6 = 0;\r
-    while (intergerToBeIncremented6 < 100) {\r
-      intergerToBeIncremented6++;\r
-    }\r
-    int intergerToBeIncremented7 = 0;\r
-    while (intergerToBeIncremented7 < 100) {\r
-      intergerToBeIncremented7++;\r
-    }\r
-  }\r
-\r
-\r
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/duplicated_lines_within_package/DuplicatedLinesInSamePackage2.java b/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/duplicated_lines_within_package/DuplicatedLinesInSamePackage2.java
deleted file mode 100644 (file)
index 4da16af..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-/*\r
- * Sonar, entreprise quality control tool.\r
- * Copyright (C) 2007-2008 Hortis-GRC SA\r
- * mailto:be_agile HAT hortis DOT ch\r
- *\r
- * Sonar is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU Lesser General Public\r
- * License as published by the Free Software Foundation; either\r
- * version 3 of the License, or (at your option) any later version.\r
- *\r
- * Sonar is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
- * Lesser General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU Lesser General Public\r
- * License along with Sonar; if not, write to the Free Software\r
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02\r
- */\r
-package org.sonar.samples.duplicated_lines_within_package;\r
-\r
-public class DuplicatedLinesInSamePackage2 {\r
-\r
-  public DuplicatedLinesInSamePackage2() {\r
-  }\r
-\r
-  /*\r
-   * sddfgdfgfg\r
-   */\r
-  public void duplicatedMethodInSameClass1() {\r
-    int intergerToBeIncremented = 0;\r
-    while (intergerToBeIncremented < 100) {\r
-      intergerToBeIncremented++;\r
-    }\r
-    int intergerToBeIncremented2 = 0;\r
-    while (intergerToBeIncremented2 < 100) {\r
-      intergerToBeIncremented2++;\r
-    }\r
-    // second\r
-    int intergerToBeIncremented3 = 0;\r
-    while (intergerToBeIncremented3 < 100) {\r
-      intergerToBeIncremented3++;\r
-    }\r
-    int intergerToBeIncremented4 = 0;\r
-    while (intergerToBeIncremented4 < 100) {\r
-      intergerToBeIncremented4++;\r
-    }\r
-    int intergerToBeIncremented5 = 0;\r
-    while (intergerToBeIncremented5 < 100) {\r
-      intergerToBeIncremented5++;\r
-    }\r
-    // vghgvhz\r
-    // bhjjh\r
-    int intergerToBeIncremented6 = 0;\r
-    while (intergerToBeIncremented6 < 100) {\r
-      intergerToBeIncremented6++;\r
-    }\r
-    int intergerToBeIncremented7 = 0;\r
-    while (intergerToBeIncremented7 < 100) {\r
-      intergerToBeIncremented7++;\r
-    }\r
-  }\r
-\r
-\r
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/duplicated_lines_within_same_class/DuplicatedLinesInSameClass.java b/tests/integration/tests/maven-projects/reference/src/main/java/org/sonar/samples/duplicated_lines_within_same_class/DuplicatedLinesInSameClass.java
deleted file mode 100644 (file)
index 3f57c58..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-/*\r
- * Sonar, entreprise quality control tool.\r
- * Copyright (C) 2007-2008 Hortis-GRC SA\r
- * mailto:be_agile HAT hortis DOT ch\r
- *\r
- * Sonar is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU Lesser General Public\r
- * License as published by the Free Software Foundation; either\r
- * version 3 of the License, or (at your option) any later version.\r
- *\r
- * Sonar is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
- * Lesser General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU Lesser General Public\r
- * License along with Sonar; if not, write to the Free Software\r
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02\r
- */\r
-package org.sonar.samples.duplicated_lines_within_same_class;\r
-\r
-public class DuplicatedLinesInSameClass {\r
-\r
-  public DuplicatedLinesInSameClass() {\r
-  }\r
-\r
-  public void duplicatedMethodInSameClass1() {\r
-    String temp = "";\r
-    for (int i=0; i<10; i++){\r
-      temp += "say something"+i;\r
-    }\r
-    for (int i=0; i<20; i++){\r
-      temp += "say nothing"+i;\r
-    }\r
-    for (int i=0; i<30; i++){\r
-      temp += "always say nothing"+i;\r
-    }\r
-    for (int i=0; i<40; i++){\r
-      temp += "really nothing to say "+i;\r
-    }\r
-    for (int i=0; i<50; i++){\r
-      temp += "really really nothing to say "+i;\r
-    }\r
-    for (int i=0; i<60; i++){\r
-      temp += ".. "+i;\r
-    }\r
-    for (int i=0; i<70; i++){\r
-      temp += "you say something? "+i;\r
-    }\r
-    for (int i=0; i<80; i++){\r
-      temp += "ah no..."+i;\r
-    }\r
-    for (int i=0; i<90; i++){\r
-      temp += "bye"+i;\r
-    }\r
-  }\r
-\r
-  public void duplicatedMethodInSameClass2() {\r
-    String temp = "";\r
-    for (int i=0; i<10; i++){\r
-      temp += "say something"+i;\r
-    }\r
-    for (int i=0; i<20; i++){\r
-      temp += "say nothing"+i;\r
-    }\r
-    for (int i=0; i<30; i++){\r
-      temp += "always say nothing"+i;\r
-    }\r
-    for (int i=0; i<40; i++){\r
-      temp += "really nothing to say "+i;\r
-    }\r
-    for (int i=0; i<50; i++){\r
-      temp += "really really nothing to say "+i;\r
-    }\r
-    for (int i=0; i<60; i++){\r
-      temp += ".. "+i;\r
-    }\r
-    for (int i=0; i<70; i++){\r
-      temp += "you say something? "+i;\r
-    }\r
-    for (int i=0; i<80; i++){\r
-      temp += "ah no..."+i;\r
-    }\r
-    for (int i=0; i<90; i++){\r
-      temp += "bye"+i;\r
-    }  \r
-  }\r
-\r
-}\r
diff --git a/tests/integration/tests/maven-projects/reference/src/main/resources/META-INF/persistence.xml b/tests/integration/tests/maven-projects/reference/src/main/resources/META-INF/persistence.xml
deleted file mode 100644 (file)
index a182ecc..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<persistence xmlns="http://java.sun.com/xml/ns/persistence"\r
-             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-             xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"\r
-             version="1.0">\r
-  <persistence-unit name="test" transaction-type="RESOURCE_LOCAL">\r
-    <class>org.sonar.samples.HibernateModel</class>\r
-    <properties>\r
-      <property name="hibernate.current_session_context_class" value="thread"/>\r
-      <property name="hibernate.connection.release_mode" value="after_transaction"/>\r
-      <property name="hibernate.bytecode.use_reflection_optimizer" value="true"/>\r
-      <property name="hibernate.query.factory_class" value="org.hibernate.hql.ast.ASTQueryTranslatorFactory"/>\r
-      <property name="hibernate.jdbc.batch_size" value="100"/>\r
-      <property name="hibernate.connection.useUnicode" value="true" />\r
-      <property name="hibernate.connection.charSet" value="UTF-8"/>      \r
-      <property name="hibernate.connection.characterEncoding" value="UTF-8" />\r
-      <property name="hibernate.archive.autodetection" value="class" />\r
-    </properties>\r
-  </persistence-unit>\r
-</persistence>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/reference/src/test/java/org/sonar/samples/ClassUnderTestTest.java b/tests/integration/tests/maven-projects/reference/src/test/java/org/sonar/samples/ClassUnderTestTest.java
deleted file mode 100644 (file)
index 4e0562e..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-package org.sonar.samples;
-
-import junit.framework.TestCase;
-
-public class ClassUnderTestTest extends TestCase {
-  
-  public void testHello() {
-    ClassUnderTest instance = new ClassUnderTest();
-    assertEquals("hello", instance.hello());
-  }
-
-  public void testToto() throws Exception {
-    ClassUnderTest instance = new ClassUnderTest();
-    instance.toto();
-  }
-}
diff --git a/tests/integration/tests/maven-projects/reference/src/test/java/org/sonar/samples/InnerClassTest.java b/tests/integration/tests/maven-projects/reference/src/test/java/org/sonar/samples/InnerClassTest.java
deleted file mode 100644 (file)
index 29892a0..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-/*\r
- * Sonar, entreprise quality control tool.\r
- * Copyright (C) 2007-2008 Hortis-GRC SA\r
- * mailto:be_agile HAT hortis DOT ch\r
- *\r
- * Sonar is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU Lesser General Public\r
- * License as published by the Free Software Foundation; either\r
- * version 3 of the License, or (at your option) any later version.\r
- *\r
- * Sonar is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
- * Lesser General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU Lesser General Public\r
- * License along with Sonar; if not, write to the Free Software\r
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02\r
- */\r
-package org.sonar.samples;\r
-\r
-import static junit.framework.Assert.assertEquals;\r
-import org.junit.Test;\r
-\r
-public class InnerClassTest {\r
-\r
-  @Test\r
-  public void shouldTestMethodToTest() {\r
-    InnerClass innerClass = new InnerClass();\r
-    assertEquals(3, innerClass.methodReturnThree());\r
-  }\r
-\r
-  @Test\r
-  public void shouldTestInnerClassInside() {\r
-    InnerClass innerClass = new InnerClass();\r
-    InnerClass.InnerClassInside innerClassInside = innerClass.new InnerClassInside();\r
-    assertEquals(4, innerClassInside.methodReturnFour());\r
-  }\r
-\r
-  @Test\r
-  public void shouldTestPrivateClass() {\r
-    PrivateClass privateClass = new PrivateClass();\r
-    assertEquals(5, privateClass.methodReturnfive());\r
-  }\r
-}\r
diff --git a/tests/integration/tests/maven-projects/rules-on-tests/pom.xml b/tests/integration/tests/maven-projects/rules-on-tests/pom.xml
deleted file mode 100644 (file)
index 3ea8256..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>rulesOnTests</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <packaging>jar</packaging>\r
-  <name>Sonar tests - rules on tests (SONAR-413)</name>\r
-  <dependencies>\r
-    <dependency>\r
-      <groupId>junit</groupId>\r
-      <artifactId>junit</artifactId>\r
-      <version>4.4</version>\r
-      <scope>test</scope>\r
-    </dependency>\r
-  </dependencies>\r
-\r
-  <build>\r
-    <plugins>\r
-      <plugin>\r
-        <groupId>org.apache.maven.plugins</groupId>\r
-        <artifactId>maven-compiler-plugin</artifactId>\r
-        <configuration>\r
-          <source>1.5</source>\r
-          <target>1.5</target>\r
-        </configuration>\r
-      </plugin>\r
-\r
-      <plugin>\r
-        <artifactId>maven-pmd-plugin</artifactId>\r
-        <version>2.4</version>\r
-        <configuration>\r
-          <includeTests>true</includeTests>\r
-        </configuration>\r
-      </plugin>\r
-\r
-      <plugin>\r
-        <artifactId>maven-checkstyle-plugin</artifactId>\r
-        <version>2.2</version>\r
-        <configuration>\r
-          <includeTestSourceDirectory>true</includeTestSourceDirectory>\r
-        </configuration>\r
-      </plugin>\r
-    </plugins>\r
-  </build>\r
-  \r
-  <properties>\r
-    <sonar.profile>Sonar way</sonar.profile>\r
-  </properties>\r
-\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/rules-on-tests/src/main/java/org/sonar/tests/rulesOnTests/Hello.java b/tests/integration/tests/maven-projects/rules-on-tests/src/main/java/org/sonar/tests/rulesOnTests/Hello.java
deleted file mode 100644 (file)
index 9058064..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-package org.sonar.tests.rulesOnTests;
-
-public class Hello {
-  public void foo() throws Exception {
-    int i=0;
-    i++;
-    hello();
-  }
-  public String hello() {
-    return "hello";
-  }
-  public boolean equals(Object o) {
-       // TODO
-    return true;       
-  }
-}
diff --git a/tests/integration/tests/maven-projects/rules-on-tests/src/main/java/org/sonar/tests/rulesOnTests/World.java b/tests/integration/tests/maven-projects/rules-on-tests/src/main/java/org/sonar/tests/rulesOnTests/World.java
deleted file mode 100644 (file)
index 4693e9e..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-package org.sonar.tests.rulesOnTests;\r
-\r
-/**\r
- * \r
- * THE JAVADOC HEADER\r
- *\r
- */\r
-public class World {\r
-\r
-    public World(int i) {\r
-           // single comment\r
-               int j = i++;\r
-       }\r
-       \r
-       private String myMethod() {\r
-               /*\r
-               comment\r
-               on\r
-               many\r
-               lines           \r
-               */\r
-               int toto=34; // comment at end of line\r
-               return "hello";\r
-       }\r
-}\r
diff --git a/tests/integration/tests/maven-projects/rules-on-tests/src/test/java/org/sonar/tests/rulesOnTests/HelloTest.java b/tests/integration/tests/maven-projects/rules-on-tests/src/test/java/org/sonar/tests/rulesOnTests/HelloTest.java
deleted file mode 100644 (file)
index f1d6dd5..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-package org.sonar.tests.rulesOnTests;
-
-import junit.framework.TestCase;
-
-public class HelloTest extends TestCase {
-  
-  public void testHello() {
-    Hello instance = new Hello();
-    assertEquals("hello", instance.hello());
-  }
-
-  public void testToto() throws Exception {
-    Hello instance = new Hello();
-    instance.foo();
-  }
-}
diff --git a/tests/integration/tests/maven-projects/rules-on-tests/src/test/java/org/sonar/tests/rulesOnTests/WorldTest.java b/tests/integration/tests/maven-projects/rules-on-tests/src/test/java/org/sonar/tests/rulesOnTests/WorldTest.java
deleted file mode 100644 (file)
index 84e89e8..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-package org.sonar.tests.rulesOnTests;\r
-\r
-import static junit.framework.Assert.assertTrue;\r
-import org.junit.Test;\r
-\r
-public class WorldTest {\r
-\r
-  @Test\r
-  public void testFoo() {\r
-    int i=0;\r
-    i++;\r
-  }\r
-\r
-  @Test\r
-  public void shouldFoo() {\r
-    Object o = new World(30);\r
-    String s = o.toString();\r
-    assertTrue(s==o);\r
-  }\r
-\r
-  public boolean equals(Object o) {\r
-       return false;\r
-}\r
-}\r
diff --git a/tests/integration/tests/maven-projects/single-classes/pom.xml b/tests/integration/tests/maven-projects/single-classes/pom.xml
deleted file mode 100644 (file)
index 9e7b9d5..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>single-classes</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <packaging>jar</packaging>\r
-  <name>Single classes</name>\r
-  <build>\r
-    <plugins>\r
-      <plugin>\r
-        <groupId>org.apache.maven.plugins</groupId>\r
-        <artifactId>maven-compiler-plugin</artifactId>\r
-        <configuration>\r
-          <source>1.5</source>\r
-          <target>1.5</target>\r
-        </configuration>\r
-      </plugin>\r
-    </plugins>\r
-  </build>\r
-\r
-  <properties>\r
-       <sonar.profile>single-classes</sonar.profile>\r
-  </properties>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/single-classes/src/main/java/org/sonar/tests/SONAR582ViolationsWithoutLines.java b/tests/integration/tests/maven-projects/single-classes/src/main/java/org/sonar/tests/SONAR582ViolationsWithoutLines.java
deleted file mode 100644 (file)
index 1506d09..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-package org.sonar.tests;
-
-public class SONAR582ViolationsWithoutLines {
-       public static String s=null;
-       
-       public String toString() {
-               while(true) 
-                 s="hello";    
-       }
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/single-classes/src/main/java/org/sonar/tests/SONAR684EncodeViolationMessages.java b/tests/integration/tests/maven-projects/single-classes/src/main/java/org/sonar/tests/SONAR684EncodeViolationMessages.java
deleted file mode 100644 (file)
index ca04b33..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-package org.sonar.tests;
-
-public class SONAR684EncodeViolationMessages {
-       
-       private void bar() {
-      buz("<select>");
-      buz("<select>");
-      buz("<select>");
-      buz("<select>");
-      buz("<select>");
-      buz("<select>");
-      buz("<select>");
-      buz("<select>");
-      buz("<select>");
-    }
-    
-    private void buz(String x) {}
-
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/sjis-charset/pom.xml b/tests/integration/tests/maven-projects/sjis-charset/pom.xml
deleted file mode 100644 (file)
index 2ad767e..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-       <modelVersion>4.0.0</modelVersion>
-       <groupId>org.sonar.tests</groupId>
-       <artifactId>sjis-charset</artifactId>
-       <packaging>jar</packaging>
-       <version>1.0-SNAPSHOT</version>
-       <name>sjis-charset</name>
-       <description>Japanese charset</description>
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-compiler-plugin</artifactId>
-                               <configuration>
-                                       <source>1.5</source>
-                                       <target>1.5</target>
-                                       <encoding>Shift_JIS</encoding>
-                               </configuration>
-                       </plugin>
-               </plugins>
-       </build>
-       <dependencies>
-               <dependency>
-                       <groupId>junit</groupId>
-                       <artifactId>junit</artifactId>
-                       <version>4.6</version>
-                       <scope>test</scope>
-               </dependency>
-       </dependencies>
-
-       <properties>
-               <project.build.sourceEncoding>Shift_JIS</project.build.sourceEncoding>
-       </properties>
-</project>
diff --git a/tests/integration/tests/maven-projects/sjis-charset/src/main/java/com/test/App.java b/tests/integration/tests/maven-projects/sjis-charset/src/main/java/com/test/App.java
deleted file mode 100644 (file)
index 66ea7fa..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-package com.test;
-
-import java.io.PrintWriter;
-
-/**
- * Hello world!
- *
- */
-public class App
-{
-    /**
-     * \92\8a\8fÛ\83N\83\89\83X\82ð\93±\93ü
-     * 
-     * 
-     * 
-    */
-    public static void main( String[] args )
-    {
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-    }
-    
-    public void test(PrintWriter pw) {
-      pw.print( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-    }
-    
-    public void \83n\83\8d\81[\83\8f\81[\83\8b\83h() {
-      System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-    }
-}
diff --git a/tests/integration/tests/maven-projects/sjis-charset/src/main/java/com/test/AppCpdBug.java b/tests/integration/tests/maven-projects/sjis-charset/src/main/java/com/test/AppCpdBug.java
deleted file mode 100644 (file)
index c5dbc13..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-package com.test;
-
-/**
- * Hello world!
- *
- */
-public class AppCpdBug 
-{
-    /**
-     * \92\8a\8fÛ\83N\83\89\83X\82ð\93±\93ü
-     * 
-     * 
-     * 
-    */
-    public static void main( String[] args )
-    {
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-    }
-}
diff --git a/tests/integration/tests/maven-projects/sjis-charset/src/main/java/com/test/AppDuplication.java b/tests/integration/tests/maven-projects/sjis-charset/src/main/java/com/test/AppDuplication.java
deleted file mode 100644 (file)
index f17a2d8..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-package com.test;
-
-/**
- * Hello world!
- *
- */
-public class AppDuplication 
-{
-    /**
-     * \92\8a\8fÛ\83N\83\89\83X\82ð\93±\93ü
-     * 
-     * 
-     * 
-    */
-    public static void main( String[] args )
-    {
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println( "\83n\83\8d\81[\83\8f\81[\83\8b\83h!" );
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-        System.out.println("\8fØ\96¾\8f\91\83p\83X\8d\\92z\82É\8e¸\94s\82µ\82Ü\82µ\82½\81B");
-    }
-}
diff --git a/tests/integration/tests/maven-projects/sjis-charset/src/test/java/com/test/AppTest.java b/tests/integration/tests/maven-projects/sjis-charset/src/test/java/com/test/AppTest.java
deleted file mode 100644 (file)
index 3f5cdac..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-package com.test;
-
-import java.io.ByteArrayOutputStream;
-import java.io.PrintWriter;
-import java.io.UnsupportedEncodingException;
-
-import org.junit.Test;
-
-import static org.junit.Assert.*;
-
-/**
- * Unit test for simple App.
- */
-public class AppTest {
-
-    @Test
-    public void testApp() throws UnsupportedEncodingException {
-      App app = new App();
-      ByteArrayOutputStream out = new ByteArrayOutputStream();
-      PrintWriter pw = new PrintWriter(out);
-      app.test(pw);
-      pw.flush();
-      String helloWorld = out.toString("Shift_JIS");
-      assertTrue(helloWorld.length() > 0);
-    }
-}
diff --git a/tests/integration/tests/maven-projects/skip-surefire-tests/pom.xml b/tests/integration/tests/maven-projects/skip-surefire-tests/pom.xml
deleted file mode 100644 (file)
index e71049d..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>skip-surefire-tests</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <packaging>jar</packaging>\r
-  <name>Sonar tests - [SONAR-401] skip Surefire tests</name>\r
-  <description>see http://jira.codehaus.org/browse/SONAR-401</description>\r
-       <build>\r
-           <plugins>\r
-             <plugin>\r
-               <groupId>org.apache.maven.plugins</groupId>\r
-               <artifactId>maven-compiler-plugin</artifactId>\r
-               <configuration>\r
-                 <source>1.5</source>\r
-                 <target>1.5</target>\r
-               </configuration>\r
-             </plugin>\r
-             <plugin>\r
-               <artifactId>maven-surefire-plugin</artifactId>\r
-               <version>2.4.2</version>\r
-               <configuration>\r
-                 <skipTests>true</skipTests>\r
-               </configuration>\r
-             </plugin>\r
-       \r
-       </plugins>      \r
-   </build>\r
-\r
-  <dependencies>\r
-    <dependency>\r
-      <groupId>junit</groupId>\r
-      <artifactId>junit</artifactId>\r
-      <version>4.4</version>\r
-      <scope>test</scope>\r
-    </dependency>\r
-  </dependencies>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/skip-surefire-tests/src/main/java/org/sonar/tests/skipSurefireTests/Hello.java b/tests/integration/tests/maven-projects/skip-surefire-tests/src/main/java/org/sonar/tests/skipSurefireTests/Hello.java
deleted file mode 100644 (file)
index e36f535..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-package org.sonar.tests.skipSurefireTests;
-
-public class Hello {
-  private String hello;
-  
-  public Hello(String s){
-    this.hello = s;
-  }
-  
-  public String say() {
-       return hello;
-  }
-}
diff --git a/tests/integration/tests/maven-projects/skip-surefire-tests/src/test/java/org/sonar/tests/skipSurefireTests/HelloTest.java b/tests/integration/tests/maven-projects/skip-surefire-tests/src/test/java/org/sonar/tests/skipSurefireTests/HelloTest.java
deleted file mode 100644 (file)
index dc7eea2..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-package org.sonar.tests.skipSurefireTests;
-
-import static org.junit.Assert.assertEquals;
-import org.junit.Test;
-
-
-public class HelloTest {
-
-  @Test
-  public void shouldSayHello() {
-    assertEquals("hi", new Hello("hi").say());
-  }
-}
diff --git a/tests/integration/tests/maven-projects/test-failures/moduleA/pom.xml b/tests/integration/tests/maven-projects/test-failures/moduleA/pom.xml
deleted file mode 100644 (file)
index 284f0e7..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <parent>\r
-       <groupId>org.sonar.tests.test-failures</groupId>\r
-       <artifactId>parent</artifactId>\r
-       <version>1.0-SNAPSHOT</version>\r
-  </parent>\r
-  <artifactId>moduleA</artifactId>\r
-  <packaging>jar</packaging>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/test-failures/moduleA/src/main/java/ch/hortis/sonar/samples/testFailures/moduleA/ClassA.java b/tests/integration/tests/maven-projects/test-failures/moduleA/src/main/java/ch/hortis/sonar/samples/testFailures/moduleA/ClassA.java
deleted file mode 100644 (file)
index 2a8262c..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-package ch.hortis.sonar.samples.testFailures.moduleA;
-
-public class ClassA {
-       
-       public int a() {
-               return 3;
-       }
-       
-       public int b() {
-         return 4;
-       }
-       
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/test-failures/moduleA/src/test/java/ch/hortis/sonar/samples/testFailures/moduleA/FailTest.java b/tests/integration/tests/maven-projects/test-failures/moduleA/src/test/java/ch/hortis/sonar/samples/testFailures/moduleA/FailTest.java
deleted file mode 100644 (file)
index b81729b..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-package ch.hortis.sonar.samples.testFailures.moduleA;
-
-public class FailTest extends junit.framework.TestCase {
-       
-       public void testAWithFailure() {
-         assertEquals(true, false);
-       }
-       
-       public void testAWithError() {
-         if (true) throw new RuntimeException("Error test");
-       }
-
-  public void shouldNotFail() {
-    fail();
-  }
-  
-  public void testWithSucces() throws InterruptedException {
-    Thread.sleep(5);
-    assertTrue(true);
-  } 
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/test-failures/moduleB/pom.xml b/tests/integration/tests/maven-projects/test-failures/moduleB/pom.xml
deleted file mode 100644 (file)
index cf9cc04..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0"?>\r
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-       <modelVersion>4.0.0</modelVersion>\r
-       <parent>\r
-               <groupId>org.sonar.tests.test-failures</groupId>\r
-               <artifactId>parent</artifactId>\r
-               <version>1.0-SNAPSHOT</version>\r
-       </parent>\r
-       <artifactId>moduleB</artifactId>\r
-       <packaging>jar</packaging>\r
-       <dependencies>\r
-               <dependency>\r
-                       <groupId>${pom.groupId}</groupId>\r
-                       <artifactId>moduleA</artifactId>\r
-                       <version>${pom.version}</version>\r
-               </dependency>\r
-       </dependencies>\r
-</project>\r
diff --git a/tests/integration/tests/maven-projects/test-failures/moduleB/src/main/java/ch/hortis/sonar/samples/compileFailures/moduleB/ClassB.java b/tests/integration/tests/maven-projects/test-failures/moduleB/src/main/java/ch/hortis/sonar/samples/compileFailures/moduleB/ClassB.java
deleted file mode 100644 (file)
index 2f5b982..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-package ch.hortis.sonar.samples.compileFailures.moduleB;
-
-public class ClassB {
-       
-       public void right() {
-               int i=2;
-       }
-       
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/test-failures/moduleB/src/test/java/ch/hortis/sonar/samples/testFailures/moduleB/NoTest.java b/tests/integration/tests/maven-projects/test-failures/moduleB/src/test/java/ch/hortis/sonar/samples/testFailures/moduleB/NoTest.java
deleted file mode 100644 (file)
index 3b76045..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package ch.hortis.sonar.samples.testFailures.moduleB;
-
-import org.junit.Test;
-import org.junit.Ignore;
-
-public class NoTest {
-
-}
diff --git a/tests/integration/tests/maven-projects/test-failures/moduleB/src/test/java/ch/hortis/sonar/samples/testFailures/moduleB/SkippedTest.java b/tests/integration/tests/maven-projects/test-failures/moduleB/src/test/java/ch/hortis/sonar/samples/testFailures/moduleB/SkippedTest.java
deleted file mode 100644 (file)
index bc97f6c..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package ch.hortis.sonar.samples.testFailures.moduleB;
-
-import org.junit.Test;
-import org.junit.Ignore;
-
-public class SkippedTest {
-
-  @Ignore
-  @Test
-  public void skippedTest(){}
-  
-  @Test
-  public void normalTest(){}
-  
-}
diff --git a/tests/integration/tests/maven-projects/test-failures/moduleB/src/test/java/ch/hortis/sonar/samples/testFailures/moduleB/SuccessTest.java b/tests/integration/tests/maven-projects/test-failures/moduleB/src/test/java/ch/hortis/sonar/samples/testFailures/moduleB/SuccessTest.java
deleted file mode 100644 (file)
index cf84eee..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-package ch.hortis.sonar.samples.testFailures.moduleB;
-
-import ch.hortis.sonar.samples.testFailures.moduleA.*;
-
-public class SuccessTest extends junit.framework.TestCase {
-       
-       public void testA() {
-               ClassA a = new ClassA();
-               assertEquals(3, a.a());
-       }
-       
-}
\ No newline at end of file
diff --git a/tests/integration/tests/maven-projects/test-failures/pom.xml b/tests/integration/tests/maven-projects/test-failures/pom.xml
deleted file mode 100644 (file)
index f8f01cb..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests.test-failures</groupId>\r
-  <artifactId>parent</artifactId>\r
-  <name>Sonar tests - test failures</name>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <packaging>pom</packaging>\r
-  <modules>\r
-       <module>moduleA</module>\r
-       <module>moduleB</module>\r
-  </modules>\r
-  \r
-  <build>\r
-    <plugins>\r
-      <plugin>\r
-        <groupId>org.apache.maven.plugins</groupId>\r
-        <artifactId>maven-compiler-plugin</artifactId>\r
-        <configuration>\r
-          <source>1.5</source>\r
-          <target>1.5</target>\r
-        </configuration>\r
-      </plugin>\r
-    </plugins>\r
-  </build>\r
-\r
-  <dependencies>\r
-       <dependency>\r
-           <groupId>junit</groupId>\r
-           <artifactId>junit</artifactId>\r
-           <version>4.4</version>\r
-               <scope>test</scope>\r
-       </dependency>\r
-  </dependencies>\r
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/pom.xml b/tests/integration/tests/pom.xml
deleted file mode 100644 (file)
index 5c8aa42..0000000
+++ /dev/null
@@ -1,428 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.codehaus.sonar.tests</groupId>
-    <artifactId>integration</artifactId>
-    <version>2.6-SNAPSHOT</version>
-  </parent>
-
-  <artifactId>tests</artifactId>
-  <packaging>jar</packaging>
-  <name>Sonar :: Integration Tests :: Tests</name>
-
-  <properties>
-    <sonar.runtimeVersion>${project.version}</sonar.runtimeVersion>
-  </properties>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.sonar</groupId>
-        <artifactId>sonar-dev-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>start-server</id>
-            <phase>pre-integration-test</phase>
-            <configuration>
-              <background>true</background>
-              <extensionsDir>${project.basedir}/target/extensions</extensionsDir>
-              <configBackup>${project.basedir}/integration-tests-backup.xml</configBackup>
-              <clean>true</clean>
-              <workDir>${project.build.directory}/it-work</workDir>
-            </configuration>
-            <goals>
-              <goal>start-war</goal>
-            </goals>
-          </execution>
-          <execution>
-            <id>analyze-projects</id>
-            <phase>pre-integration-test</phase>
-            <configuration>
-              <projectsDir>${project.basedir}/maven-projects</projectsDir>
-            </configuration>
-            <goals>
-              <goal>analyze</goal>
-            </goals>
-          </execution>
-          <execution>
-            <id>stop-server</id>
-            <phase>post-integration-test</phase>
-            <goals>
-              <goal>stop-war</goal>
-            </goals>
-            <configuration>
-              <workDir>${project.build.directory}/it-work</workDir>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-
-
-      <plugin>
-        <artifactId>maven-antrun-plugin</artifactId>
-        <version>1.4</version>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.ant</groupId>
-            <artifactId>ant-nodeps</artifactId>
-            <version>1.7.1</version>
-          </dependency>
-          <dependency>
-            <groupId>org.apache.ant</groupId>
-            <artifactId>ant-junit</artifactId>
-            <version>1.7.1</version>
-          </dependency>
-          <dependency>
-            <groupId>org.apache.ant</groupId>
-            <artifactId>ant-trax</artifactId>
-            <version>1.7.1</version>
-          </dependency>
-        </dependencies>
-        <executions>
-          <execution>
-            <id>prepare-extensions</id>
-            <phase>package</phase>
-            <configuration>
-              <tasks>
-                <ant dir="${project.basedir}" inheritRefs="true">
-                  <property name="plugin_classpath" refid="maven.plugin.classpath" />
-                  <target name="prepare-extensions" />
-                </ant>
-              </tasks>
-            </configuration>
-            <goals>
-              <goal>run</goal>
-            </goals>
-          </execution>
-          <execution>
-            <id>analyze-custom-projects</id>
-            <phase>pre-integration-test</phase>
-            <configuration>
-              <tasks unless="skip.analysis">
-                <ant dir="${basedir}" inheritRefs="true">
-                  <target name="analyze-custom-projects" />
-                </ant>
-              </tasks>
-            </configuration>
-            <goals>
-              <goal>run</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-failsafe-plugin</artifactId>
-        <configuration>
-          <systemProperties>
-            <property>
-              <name>sonar.url</name>
-              <value>http://localhost:9000</value>
-            </property>
-          </systemProperties>
-        </configuration>
-        <executions>
-          <execution>
-            <id>integration-test</id>
-            <goals>
-              <goal>integration-test</goal>
-            </goals>
-          </execution>
-          <execution>
-            <id>verify</id>
-            <goals>
-              <goal>verify</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>selenium-maven-plugin</artifactId>
-        <version>1.0.1</version>
-        <configuration>
-          <port>4444</port>
-          <browser>${selenium.browser}</browser>
-          <startURL>http://localhost:9000/</startURL>
-          <suite>src/test/selenium/all-tests.html</suite>
-          <slowResources>false</slowResources>
-        </configuration>
-        <executions>
-          <execution>
-            <id>start-selenium</id>
-            <phase>pre-integration-test</phase>
-            <goals>
-              <goal>start-server</goal>
-            </goals>
-            <configuration>
-              <background>true</background>
-              <logOutput>true</logOutput>
-            </configuration>
-          </execution>
-          <execution>
-            <id>stop-selenium</id>
-            <phase>post-integration-test</phase>
-            <goals>
-              <goal>stop-server</goal>
-            </goals>
-          </execution>
-          <execution>
-            <id>selenium-suite</id>
-            <phase>integration-test</phase>
-            <goals>
-              <goal>selenese</goal>
-            </goals>
-            <configuration>
-              <port>5555</port>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.codehaus.sonar.tests</groupId>
-      <artifactId>checkstyle-extensions</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.codehaus.sonar.tests</groupId>
-      <artifactId>pmd-extensions</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.codehaus.sonar.tests</groupId>
-      <artifactId>sonar-it-reference-plugin</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.codehaus.sonar</groupId>
-      <artifactId>sonar-ws-client</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.hamcrest</groupId>
-      <artifactId>hamcrest-all</artifactId>
-      <version>1.1</version>
-    </dependency>
-    <dependency>
-      <groupId>commons-httpclient</groupId>
-      <artifactId>commons-httpclient</artifactId>
-      <version>3.1</version>
-      <exclusions>
-        <exclusion>
-          <groupId>commons-logging</groupId>
-          <artifactId>commons-logging</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>org.codehaus.sonar</groupId>
-      <artifactId>sonar-plugin-api</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.codehaus.sonar</groupId>
-      <artifactId>sonar-testing-harness</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>commons-lang</groupId>
-      <artifactId>commons-lang</artifactId>
-      <version>2.4</version>
-    </dependency>
-    <dependency>
-      <groupId>commons-io</groupId>
-      <artifactId>commons-io</artifactId>
-      <version>1.4</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.ant</groupId>
-      <artifactId>ant-nodeps</artifactId>
-      <version>1.7.1</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.ant</groupId>
-      <artifactId>ant-junit</artifactId>
-      <version>1.7.1</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.ant</groupId>
-      <artifactId>ant-trax</artifactId>
-      <version>1.7.1</version>
-    </dependency>
-    <dependency>
-      <groupId>org.seleniumhq.selenium.client-drivers</groupId>
-      <artifactId>selenium-java-client-driver</artifactId>
-      <version>1.0.2</version>
-    </dependency>
-  </dependencies>
-
-  <profiles>
-
-    <!-- BROWSERS -->
-
-    <profile>
-      <id>firefox</id>
-      <properties>
-        <selenium.browser>*firefox</selenium.browser>
-      </properties>
-    </profile>
-    <profile>
-      <id>ie</id>
-      <properties>
-        <selenium.browser>*iexplore</selenium.browser>
-      </properties>
-    </profile>
-    <profile>
-      <id>opera</id>
-      <properties>
-        <selenium.browser>*opera</selenium.browser>
-      </properties>
-    </profile>
-    <profile>
-      <id>safari</id>
-      <properties>
-        <selenium.browser>*custom /Applications/Safari.app/Contents/MacOS/Safari</selenium.browser>
-      </properties>
-    </profile>
-
-    <!-- DATABASES -->
-
-    <profile>
-      <id>derby</id>
-      <properties>
-        <sonar.database>derby</sonar.database>
-        <sonar.dropDatabase>false</sonar.dropDatabase>
-        <sonar.jdbc.url>jdbc:derby://localhost:1527/sonar;create=true</sonar.jdbc.url>
-        <sonar.jdbc.username>sonar</sonar.jdbc.username>
-        <sonar.jdbc.password>sonar</sonar.jdbc.password>
-        <sonar.jdbc.driver>org.apache.derby.jdbc.ClientDriver</sonar.jdbc.driver>
-      </properties>
-    </profile>
-
-    <profile>
-      <id>mysql</id>
-      <properties>
-        <sonar.database>mysql</sonar.database>
-        <sonar.jdbc.rootUrl>jdbc:mysql://localhost:3306</sonar.jdbc.rootUrl>
-        <sonar.jdbc.rootUsername>root</sonar.jdbc.rootUsername>
-        <sonar.jdbc.rootPassword />
-        <sonar.jdbc.url>jdbc:mysql://localhost:3306/sonar?useUnicode=true&amp;characterEncoding=utf8</sonar.jdbc.url>
-        <sonar.jdbc.driver>com.mysql.jdbc.Driver</sonar.jdbc.driver>
-        <sonar.jdbc.username>sonar</sonar.jdbc.username>
-        <sonar.jdbc.password>sonar</sonar.jdbc.password>
-        <sonar.dropDatabase>true</sonar.dropDatabase>
-      </properties>
-    </profile>
-
-    <profile>
-      <id>postgresql</id>
-      <properties>
-        <sonar.database>postgresql</sonar.database>
-        <sonar.jdbc.rootUrl>jdbc:postgresql://localhost</sonar.jdbc.rootUrl>
-        <sonar.jdbc.rootUsername>postgres</sonar.jdbc.rootUsername>
-        <sonar.jdbc.rootPassword>postgres</sonar.jdbc.rootPassword>
-        <sonar.jdbc.url>jdbc:postgresql://localhost/sonar</sonar.jdbc.url>
-        <sonar.jdbc.username>sonar</sonar.jdbc.username>
-        <sonar.jdbc.password>sonar</sonar.jdbc.password>
-        <sonar.jdbc.driver>org.postgresql.Driver</sonar.jdbc.driver>
-        <sonar.dropDatabase>true</sonar.dropDatabase>
-      </properties>
-    </profile>
-
-    <profile>
-      <id>mssql</id>
-      <properties>
-        <sonar.database>mssql</sonar.database>
-        <sonar.jdbc.rootUrl>jdbc:jtds:sqlserver://localhost</sonar.jdbc.rootUrl>
-        <sonar.jdbc.rootUsername>sa</sonar.jdbc.rootUsername>
-        <sonar.jdbc.rootPassword>passw0rd</sonar.jdbc.rootPassword>
-        <sonar.jdbc.url>jdbc:jtds:sqlserver://localhost;databaseName=SONAR;SelectMethod=Cursor</sonar.jdbc.url>
-        <sonar.jdbc.username>sonar</sonar.jdbc.username>
-        <sonar.jdbc.password>sonar</sonar.jdbc.password>
-        <sonar.jdbc.driver>net.sourceforge.jtds.jdbc.Driver</sonar.jdbc.driver>
-        <sonar.dropDatabase>true</sonar.dropDatabase>
-      </properties>
-    </profile>
-
-    <profile>
-      <id>oracle</id>
-      <dependencies>
-        <dependency>
-          <groupId>com.oracle</groupId>
-          <artifactId>ojdbc14</artifactId>
-          <version>10.2.0.3.0</version>
-        </dependency>
-      </dependencies>
-      <build>
-        <pluginManagement>
-          <plugins>
-            <plugin>
-              <groupId>org.codehaus.sonar</groupId>
-              <artifactId>sonar-dev-maven-plugin</artifactId>
-              <dependencies>
-                <dependency>
-                  <groupId>com.oracle</groupId>
-                  <artifactId>ojdbc14</artifactId>
-                  <version>10.2.0.3.0</version>
-                </dependency>
-              </dependencies>
-            </plugin>
-          </plugins>
-        </pluginManagement>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-dependency-plugin</artifactId>
-            <version>2.1</version>
-            <executions>
-              <execution>
-                <id>copy</id>
-
-                <!-- must be executed after the ant task that builds the directory target/extensions -->
-                <phase>package</phase>
-                <goals>
-                  <goal>copy</goal>
-                </goals>
-                <configuration>
-                  <artifactItems>
-                    <artifactItem>
-                      <groupId>com.oracle</groupId>
-                      <artifactId>ojdbc14</artifactId>
-                      <version>10.2.0.3.0</version>
-                      <type>jar</type>
-                      <overWrite>false</overWrite>
-                      <outputDirectory>${basedir}/target/extensions/jdbc-driver/oracle</outputDirectory>
-                    </artifactItem>
-                  </artifactItems>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-      <properties>
-        <sonar.database>oracle</sonar.database>
-        <sonar.jdbc.rootUrl>jdbc:oracle:thin:@localhost/XE</sonar.jdbc.rootUrl>
-        <sonar.jdbc.rootUsername>SYSTEM</sonar.jdbc.rootUsername>
-        <sonar.jdbc.rootPassword>password</sonar.jdbc.rootPassword>
-        <sonar.jdbc.url>jdbc:oracle:thin:@localhost/XE</sonar.jdbc.url>
-        <sonar.jdbc.username>sonar</sonar.jdbc.username>
-        <sonar.jdbc.password>sonar</sonar.jdbc.password>
-        <sonar.jdbc.driver>oracle.jdbc.driver.OracleDriver</sonar.jdbc.driver>
-        <sonar.dropDatabase>false</sonar.dropDatabase>
-      </properties>
-    </profile>
-  </profiles>
-
-</project>
\ No newline at end of file
diff --git a/tests/integration/tests/src/test/java/org/sonar/tests/integration/GzipCompressionIT.java b/tests/integration/tests/src/test/java/org/sonar/tests/integration/GzipCompressionIT.java
deleted file mode 100644 (file)
index b5bb1dc..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests.integration;
-
-import org.apache.commons.httpclient.HttpClient;
-import org.apache.commons.httpclient.HttpMethod;
-import org.apache.commons.httpclient.methods.GetMethod;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-import java.io.IOException;
-
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.hamcrest.Matchers.*;
-
-public class GzipCompressionIT {
-
-  private HttpClient client;
-  private HttpMethod method;
-
-  @Before
-  public void before() {
-    client = new HttpClient();
-    method = new GetMethod(ITUtils.getSonarURL());
-  }
-
-  @After
-  public void after(){
-    method.releaseConnection();
-  }
-
-  @Test
-  public void responseShouldBeGzipped() throws IOException {
-    client.executeMethod(method);
-    int sizeWithoutGzip = method.getResponseBodyAsString().length();
-    assertThat(sizeWithoutGzip, greaterThan(0));
-    assertThat(method.getResponseHeader("Content-Encoding"), nullValue());
-        
-    method.setRequestHeader("Accept-Encoding", "gzip, deflate");
-    client.executeMethod(method);
-    int sizeWithGzip = method.getResponseBodyAsString().length();
-    assertThat(sizeWithGzip, greaterThan(0));
-    assertThat(method.getResponseHeader("Content-Encoding").getValue(), is("gzip"));
-
-    assertThat(sizeWithGzip, lessThan(sizeWithoutGzip));
-  }
-
-}
\ No newline at end of file
diff --git a/tests/integration/tests/src/test/java/org/sonar/tests/integration/ITUtils.java b/tests/integration/tests/src/test/java/org/sonar/tests/integration/ITUtils.java
deleted file mode 100644 (file)
index fea9937..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests.integration;
-
-import org.apache.commons.lang.StringUtils;
-import org.junit.Ignore;
-import org.sonar.wsclient.Sonar;
-
-@Ignore
-public final class ITUtils {
-
-  private ITUtils() {
-  }
-
-  public static Sonar createSonarWsClient() {
-    return Sonar.create(getSonarURL());
-  }
-
-  public static String getSonarURL() {
-    return StringUtils.defaultIfEmpty(System.getProperty("sonar.url"), "http://localhost:9000");
-  }
-
-
-}
diff --git a/tests/integration/tests/src/test/java/org/sonar/tests/integration/JavaComplexityIT.java b/tests/integration/tests/src/test/java/org/sonar/tests/integration/JavaComplexityIT.java
deleted file mode 100644 (file)
index 4d71257..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests.integration;
-
-import org.junit.BeforeClass;
-import org.junit.Test;
-import org.sonar.api.measures.CoreMetrics;
-import org.sonar.wsclient.Sonar;
-import org.sonar.wsclient.services.Measure;
-import org.sonar.wsclient.services.ResourceQuery;
-
-import static org.hamcrest.core.Is.is;
-import static org.hamcrest.core.IsNull.nullValue;
-import static org.junit.Assert.assertThat;
-
-public class JavaComplexityIT {
-  private static Sonar sonar;
-
-  @BeforeClass
-  public static void buildServer() {
-    sonar = ITUtils.createSonarWsClient();
-  }
-
-  @Test
-  public void testClasses() {
-    assertThat(getMeasure("org.sonar.tests:java-complexity:foo.AnonymousClass", CoreMetrics.CLASSES_KEY).getIntValue(), is(1));
-    assertThat(getMeasure("org.sonar.tests:java-complexity:foo.ZeroComplexity", CoreMetrics.CLASSES_KEY).getIntValue(), is(1));
-    assertThat(getMeasure("org.sonar.tests:java-complexity", CoreMetrics.CLASSES_KEY).getIntValue(), is(6));
-  }
-
-  @Test
-  public void testMethods() {
-    assertThat(getMeasure("org.sonar.tests:java-complexity:foo.AnonymousClass", CoreMetrics.FUNCTIONS_KEY).getIntValue(), is(2));
-    assertThat(getMeasure("org.sonar.tests:java-complexity:foo.ZeroComplexity", CoreMetrics.FUNCTIONS_KEY).getIntValue(), is(0));
-    assertThat(getMeasure("org.sonar.tests:java-complexity:foo.ContainsInnerClasses", CoreMetrics.FUNCTIONS_KEY).getIntValue(), is(4));
-    assertThat(getMeasure("org.sonar.tests:java-complexity", CoreMetrics.FUNCTIONS_KEY).getIntValue(), is(8));
-  }
-
-  @Test
-  public void testFileComplexity() {
-    assertThat(getMeasure("org.sonar.tests:java-complexity:foo.Helloworld", CoreMetrics.COMPLEXITY_KEY).getIntValue(), is(6));
-    assertThat(getMeasure("org.sonar.tests:java-complexity:foo.ContainsInnerClasses", CoreMetrics.COMPLEXITY_KEY).getIntValue(), is(5));
-  }
-
-  @Test
-  public void testPackageComplexity() {
-    assertThat(getMeasure("org.sonar.tests:java-complexity:foo", CoreMetrics.COMPLEXITY_KEY).getIntValue(), is(15));
-  }
-
-  @Test
-  public void testProjectComplexity() {
-    assertThat(getMeasure("org.sonar.tests:java-complexity", CoreMetrics.COMPLEXITY_KEY).getIntValue(), is(15));
-  }
-
-  @Test
-  public void testAverageMethodComplexity() {
-    // complexity 6 / 2 methods
-    // BUG http://jira.codehaus.org/browse/SONAR-2152
-    // => the complexity of the static block should not be included. Good value should be 4 / 2 = 2
-    assertThat(getMeasure("org.sonar.tests:java-complexity:foo.Helloworld", CoreMetrics.FUNCTION_COMPLEXITY_KEY).getValue(), is(3.0));
-
-    // complexity 5 / 4 methods. Real value is 1.25 but round up to 1.3
-    assertThat(getMeasure("org.sonar.tests:java-complexity:foo.ContainsInnerClasses", CoreMetrics.FUNCTION_COMPLEXITY_KEY).getValue(), is(1.3));
-
-    // (1 + 3) / 2 = 2
-    assertThat(getMeasure("org.sonar.tests:java-complexity:foo.AnonymousClass", CoreMetrics.FUNCTION_COMPLEXITY_KEY).getValue(), is(2.0));
-
-    // ContainsInnerClasses: 5/4
-    // Helloworld: 6/2
-    // AnonymousClass: 4/2
-    // => 15/8=1.875
-    // BUG http://jira.codehaus.org/browse/SONAR-2152
-    // Should use sum of method complexity, not class complexity.
-    assertThat(getMeasure("org.sonar.tests:java-complexity:foo", CoreMetrics.FUNCTION_COMPLEXITY_KEY).getValue(), is(1.9));
-    assertThat(getMeasure("org.sonar.tests:java-complexity", CoreMetrics.FUNCTION_COMPLEXITY_KEY).getValue(), is(1.9));
-  }
-
-  @Test
-  public void testAverageClassComplexity() {
-    assertThat(getMeasure("org.sonar.tests:java-complexity:foo.Helloworld", CoreMetrics.CLASS_COMPLEXITY_KEY).getValue(), is(6.0));
-
-    // 1 + 1 + 3 => complexity 5/3
-    assertThat(getMeasure("org.sonar.tests:java-complexity:foo.ContainsInnerClasses", CoreMetrics.CLASS_COMPLEXITY_KEY).getValue(), is(1.7));
-
-    // 1 + 1 + 3 + 6 + 0 + 4 => 15/6 = 2.5
-    assertThat(getMeasure("org.sonar.tests:java-complexity:foo", CoreMetrics.CLASS_COMPLEXITY_KEY).getValue(), is(2.5));
-  }
-
-  @Test
-  public void testDistributionOfClassComplexity() {
-    // 1 + 1 + 3 + 6 + 0 + 4 => 5 in range [0,5[ and 1 in range [5,10[
-    assertThat(getMeasure("org.sonar.tests:java-complexity:foo", CoreMetrics.CLASS_COMPLEXITY_DISTRIBUTION_KEY).getData(), is("0=5;5=1;10=0;20=0;30=0;60=0;90=0"));
-    assertThat(getMeasure("org.sonar.tests:java-complexity", CoreMetrics.CLASS_COMPLEXITY_DISTRIBUTION_KEY).getData(), is("0=5;5=1;10=0;20=0;30=0;60=0;90=0"));
-  }
-
-  @Test
-  public void testDistributionOfMethodComplexity() {
-    // ContainsInnerClasses: 1+ 1 + 2 + 1
-    // Helloworld: 1 + 3 (static block is not a method)
-    // Anonymous class : 1 + 3
-    assertThat(getMeasure("org.sonar.tests:java-complexity:foo", CoreMetrics.FUNCTION_COMPLEXITY_DISTRIBUTION_KEY).getData(), is("1=5;2=3;4=0;6=0;8=0;10=0;12=0"));
-    assertThat(getMeasure("org.sonar.tests:java-complexity", CoreMetrics.FUNCTION_COMPLEXITY_DISTRIBUTION_KEY).getData(), is("1=5;2=3;4=0;6=0;8=0;10=0;12=0"));
-  }
-
-  @Test
-  public void shouldNotPersistDistributionOnFiles() {
-    assertThat(getMeasure("org.sonar.tests:java-complexity:foo.Helloworld", CoreMetrics.CLASS_COMPLEXITY_DISTRIBUTION_KEY), nullValue());
-    assertThat(getMeasure("org.sonar.tests:java-complexity:foo.Helloworld", CoreMetrics.FUNCTION_COMPLEXITY_DISTRIBUTION_KEY), nullValue());
-  }
-
-  private Measure getMeasure(String resourceKey, String metricKey) {
-    return sonar.find(ResourceQuery.createForMetrics(resourceKey, metricKey)).getMeasure(metricKey);
-  }
-}
diff --git a/tests/integration/tests/src/test/java/org/sonar/tests/integration/ServerIT.java b/tests/integration/tests/src/test/java/org/sonar/tests/integration/ServerIT.java
deleted file mode 100644 (file)
index c72ec7b..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests.integration;
-
-import org.junit.Test;
-import org.sonar.wsclient.Sonar;
-import org.sonar.wsclient.services.Server;
-import org.sonar.wsclient.services.ServerQuery;
-
-import static org.hamcrest.Matchers.endsWith;
-import static org.hamcrest.core.Is.is;
-import static org.junit.Assert.assertThat;
-
-public class ServerIT {
-
-  @Test
-  public void shouldGetVersion() {
-    Sonar sonar = ITUtils.createSonarWsClient();
-    assertThat(sonar.find(new ServerQuery()).getVersion(), endsWith("-SNAPSHOT"));
-  }
-
-  @Test
-  public void shouldGetStatus() {
-    Sonar sonar = ITUtils.createSonarWsClient();
-    assertThat(sonar.find(new ServerQuery()).getStatus(), is(Server.Status.UP));
-  }
-}
diff --git a/tests/integration/tests/src/test/java/org/sonar/tests/integration/Struts139IT.java b/tests/integration/tests/src/test/java/org/sonar/tests/integration/Struts139IT.java
deleted file mode 100644 (file)
index cd43308..0000000
+++ /dev/null
@@ -1,233 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests.integration;
-
-import org.junit.BeforeClass;
-import org.junit.Ignore;
-import org.junit.Test;
-import org.sonar.api.measures.CoreMetrics;
-import org.sonar.wsclient.Sonar;
-import org.sonar.wsclient.services.*;
-
-import java.util.Date;
-import java.util.List;
-
-import static junit.framework.Assert.assertTrue;
-import static org.hamcrest.core.Is.is;
-import static org.hamcrest.Matchers.nullValue;
-import static org.hamcrest.number.OrderingComparisons.greaterThan;
-import static org.hamcrest.number.IsCloseTo.closeTo;
-import static org.hamcrest.number.OrderingComparisons.greaterThanOrEqualTo;
-import static org.hamcrest.number.OrderingComparisons.lessThan;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertThat;
-
-/**
- * To execute these unit tests, just check-out Struts 1.3.9 from subversion:
- * http://svn.apache.org/repos/asf/struts/struts1/tags/STRUTS_1_3_9
- * <p/>
- * The quality profile to use is the default one configured in IT (see the file integration-tests-backup.xml).
- */
-public class Struts139IT {
-
-  private static Sonar sonar;
-  private static final String PROJECT_STRUTS = "org.apache.struts:struts-parent";
-  private static final String MODULE_CORE = "org.apache.struts:struts-core";
-  private static final String PACKAGE_ACTION = "org.apache.struts:struts-core:org.apache.struts.action";
-  private static final String FILE_ACTION = "org.apache.struts:struts-core:org.apache.struts.action.Action";
-
-  @BeforeClass
-  public static void buildServer() {
-    sonar = ITUtils.createSonarWsClient();
-  }
-
-  @Test
-  public void shouldReturnAnalysisDate() {
-    Date date = sonar.find(new ResourceQuery(PROJECT_STRUTS)).getDate();
-    assertNotNull(date);
-    assertThat(date.getYear(), greaterThanOrEqualTo(110)); // 1900 + 110
-  }
-
-  @Test
-  public void strutsIsAnalyzed() {
-    assertThat(sonar.find(new ResourceQuery(PROJECT_STRUTS)).getName(), is("Struts"));
-    assertThat(sonar.find(new ResourceQuery(PROJECT_STRUTS)).getVersion(), is("1.3.9"));
-    assertThat(sonar.find(new ResourceQuery(MODULE_CORE)).getName(), is("Struts Core"));
-  }
-
-  @Test
-  public void testProjectViolationMeasures() {
-    assertThat(getProjectMeasure(CoreMetrics.VIOLATIONS_KEY).getValue(), closeTo(7726.0, 500.0));
-    assertThat(getProjectMeasure(CoreMetrics.BLOCKER_VIOLATIONS_KEY).getValue(), closeTo(0.0, 20.0));
-    assertThat(getProjectMeasure(CoreMetrics.CRITICAL_VIOLATIONS_KEY).getValue(), closeTo(0.0, 20.0));
-    assertThat(getProjectMeasure(CoreMetrics.MAJOR_VIOLATIONS_KEY).getValue(), closeTo(2889.0, 200.0));
-    assertThat(getProjectMeasure(CoreMetrics.MINOR_VIOLATIONS_KEY).getValue(), closeTo(0.0, 200.0));
-    assertThat(getProjectMeasure(CoreMetrics.INFO_VIOLATIONS_KEY).getValue(), closeTo(5157.0, 20.0));
-    assertThat(getProjectMeasure(CoreMetrics.VIOLATIONS_DENSITY_KEY).getValue(), closeTo(84.6, 5.0));
-  }
-
-  @Test
-  public void testPackageViolationMeasures() {
-    assertThat(getPackageMeasure(CoreMetrics.VIOLATIONS_KEY).getValue(), closeTo(292.0, 50.0));
-    assertThat(getPackageMeasure(CoreMetrics.BLOCKER_VIOLATIONS_KEY).getValue(), closeTo(0.0, 5.0));
-    assertThat(getPackageMeasure(CoreMetrics.CRITICAL_VIOLATIONS_KEY).getValue(), closeTo(0.0, 5.0));
-    assertThat(getPackageMeasure(CoreMetrics.MAJOR_VIOLATIONS_KEY).getValue(), closeTo(111.0, 20.0));
-    assertThat(getPackageMeasure(CoreMetrics.MINOR_VIOLATIONS_KEY).getValue(), closeTo(0.0, 20.0));
-    assertThat(getPackageMeasure(CoreMetrics.INFO_VIOLATIONS_KEY).getValue(), closeTo(181.0, 20.0));
-    assertThat(getPackageMeasure(CoreMetrics.VIOLATIONS_DENSITY_KEY).getValue(), closeTo(87.8, 5.0));
-  }
-
-
-  @Test
-  public void sizeMetrics() {
-    assertThat(getProjectMeasure("lines").getIntValue(), is(114621));
-    assertThat(getProjectMeasure("ncloc").getIntValue(), is(50080));
-    assertThat(getProjectMeasure("functions").getIntValue(), is(4234));
-    assertThat(getProjectMeasure("accessors").getIntValue(), is(1133));
-    assertThat(getProjectMeasure("classes").getIntValue(), is(518));
-    assertThat(getProjectMeasure("packages").getIntValue(), is(49));
-    assertThat(getProjectMeasure("files").getIntValue(), is(494));
-    assertThat(getCoreModuleMeasure("files").getIntValue(), is(134));
-    assertThat(getPackageMeasure("files").getIntValue(), is(21));
-    assertThat(getFileMeasure("files").getIntValue(), is(1));
-  }
-
-  @Test
-  public void unitTestMetrics() {
-    assertThat(getProjectMeasure("coverage").getValue(), is(14.7));
-    assertThat(getProjectMeasure("line_coverage").getValue(), is(15.4));
-    assertThat(getProjectMeasure("branch_coverage").getValue(), is(12.8));
-    assertThat(getProjectMeasure("tests").getIntValue(), is(323));
-    assertThat(getProjectMeasure("test_execution_time").getIntValue(), greaterThan(1000));
-    assertThat(getProjectMeasure("test_errors").getIntValue(), is(0));
-    assertThat(getProjectMeasure("test_failures").getIntValue(), is(0));
-    assertThat(getProjectMeasure("skipped_tests").getIntValue(), is(0));
-    assertThat(getProjectMeasure("test_success_density").getValue(), is(100.0));
-
-  }
-
-  @Test
-  public void complexityMetrics() {
-    assertThat(getProjectMeasure("complexity").getIntValue(), is(11140));
-    assertThat(getProjectMeasure("statements").getIntValue(), is(21896));
-    assertThat(getProjectMeasure("class_complexity").getValue(), is(21.5));
-    assertThat(getProjectMeasure("function_complexity").getValue(), is(2.6));
-  }
-
-  @Test
-  public void classComplexityDistribution() throws Exception {
-    assertThat(sonar.find(ResourceQuery.createForMetrics("org.apache.struts:struts-core:org.apache.struts.config", "class_complexity_distribution")).getMeasure("class_complexity_distribution").getData(), is("0=10;5=3;10=2;20=1;30=4;60=4;90=1"));
-    assertThat(getCoreModuleMeasure("class_complexity_distribution").getData(), is("0=47;5=26;10=24;20=12;30=18;60=9;90=10"));
-    assertThat(getProjectMeasure("class_complexity_distribution").getData(), is("0=171;5=90;10=84;20=53;30=69;60=34;90=17"));
-  }
-
-  @Test
-  public void functionComplexityDistribution() throws Exception {
-    assertThat(sonar.find(ResourceQuery.createForMetrics("org.apache.struts:struts-core:org.apache.struts.config", "function_complexity_distribution")).getMeasure("function_complexity_distribution").getData(), is("1=186;2=88;4=11;6=12;8=7;10=2;12=8"));
-  }
-
-  @Test
-  public void shouldNotPersistComplexityDistributionsOnFiles() {
-    assertThat(sonar.find(ResourceQuery.createForMetrics("org.apache.struts:struts-core:org.apache.struts.config.ConfigRuleSet", "function_complexity_distribution", "class_complexity_distribution")).getMeasures().size(), is(0));
-  }
-
-  @Test
-  public void lcom4() {
-    assertThat(getProjectMeasure("lcom4").getValue(), greaterThan(1.5));
-    assertThat(getProjectMeasure("lcom4").getValue(), lessThan(2.0));
-    assertThat(getFileMeasure("lcom4").getValue(), greaterThan(10.0));
-  }
-
-  @Test
-  public void rfc() {
-    assertThat(getProjectMeasure("rfc").getValue(), greaterThan(10.0));
-    assertThat(getProjectMeasure("rfc").getValue(), lessThan(30.0));
-  }
-
-  @Test
-  public void designMeaures() {
-    assertThat(getCoreModuleMeasure("package_cycles").getIntValue(), greaterThan(10));
-    assertThat(getCoreModuleMeasure("package_cycles").getIntValue(), lessThan(50));
-    
-    assertThat(getCoreModuleMeasure("package_feedback_edges").getIntValue(), greaterThan(3));
-    assertThat(getCoreModuleMeasure("package_feedback_edges").getIntValue(), lessThan(10));
-
-    assertThat(getCoreModuleMeasure("package_tangles").getIntValue(), greaterThan(10));
-    assertThat(getCoreModuleMeasure("package_tangles").getIntValue(), lessThan(50));
-
-    assertThat(sonar.find(ResourceQuery.createForMetrics(PROJECT_STRUTS, "dit", "noc")).getMeasures().size(), is(0));
-  }
-
-  @Test
-  public void shouldGetDetailsOfCoverageHits() {
-    Resource resource = sonar.find(ResourceQuery.createForMetrics("org.apache.struts:struts-core:org.apache.struts.action.ActionForward", CoreMetrics.COVERAGE_LINE_HITS_DATA_KEY));
-    Measure coverageData = resource.getMeasure(CoreMetrics.COVERAGE_LINE_HITS_DATA_KEY);
-    assertNotNull(coverageData);
-    assertThat(coverageData.getData().length(), greaterThan(10));
-    assertTrue(coverageData.getData().matches("(\\d+=\\d+;{0,1})+"));
-  }
-
-  @Test
-  public void dependencyTree() {
-    List<DependencyTree> trees = sonar.findAll(DependencyTreeQuery.createForProject(PROJECT_STRUTS));
-    assertThat(trees.size(), is(0));
-
-    trees = sonar.findAll(DependencyTreeQuery.createForProject(MODULE_CORE));
-    assertThat(trees.size(), greaterThan(0));
-    assertThat(trees.get(0).getResourceName(), is("antlr:antlr"));
-  }
-
-  @Test
-  public void versionEvent() {
-    EventQuery query = new EventQuery(PROJECT_STRUTS);
-    query.setCategories(new String[]{"Version"});
-    List<Event> events = sonar.findAll(query);
-    assertThat(events.size(), is(1));
-
-    Event version = events.get(0);
-    assertThat(version.getName(), is("1.3.9"));
-    assertThat(version.getCategory(), is("Version"));
-  }
-
-  @Test
-  @Ignore("Not fixed. See http://jira.codehaus.org/browse/SONAR-2041")
-  public void unknownMetric() {
-    assertThat(getProjectMeasure("notfound"), nullValue());
-    assertThat(getCoreModuleMeasure("notfound"), nullValue());
-    assertThat(getPackageMeasure("notfound"), nullValue());
-    assertThat(getFileMeasure("notfound"), nullValue());
-  }
-
-  private Measure getFileMeasure(String metricKey) {
-    return sonar.find(ResourceQuery.createForMetrics(FILE_ACTION, metricKey)).getMeasure(metricKey);
-  }
-
-  private Measure getCoreModuleMeasure(String metricKey) {
-    return sonar.find(ResourceQuery.createForMetrics(MODULE_CORE, metricKey)).getMeasure(metricKey);
-  }
-
-  private Measure getProjectMeasure(String metricKey) {
-    return sonar.find(ResourceQuery.createForMetrics(PROJECT_STRUTS, metricKey)).getMeasure(metricKey);
-  }
-
-  private Measure getPackageMeasure(String metricKey) {
-    return sonar.find(ResourceQuery.createForMetrics(PACKAGE_ACTION, metricKey)).getMeasure(metricKey);
-  }
-}
diff --git a/tests/integration/tests/src/test/java/org/sonar/tests/integration/UpdateCenterIT.java b/tests/integration/tests/src/test/java/org/sonar/tests/integration/UpdateCenterIT.java
deleted file mode 100644 (file)
index 2a8ced7..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests.integration;
-
-import org.apache.commons.lang.StringUtils;
-import org.junit.Test;
-import org.sonar.wsclient.Sonar;
-import org.sonar.wsclient.services.Plugin;
-import org.sonar.wsclient.services.UpdateCenterQuery;
-
-import java.util.List;
-
-import static junit.framework.Assert.assertNotNull;
-import static org.hamcrest.Matchers.startsWith;
-import static org.hamcrest.core.Is.is;
-import static org.hamcrest.number.OrderingComparisons.greaterThan;
-import static org.junit.Assert.assertThat;
-
-public class UpdateCenterIT {
-
-  @Test
-  public void shouldGetInstalledPlugins() {
-    Sonar sonar = ITUtils.createSonarWsClient();
-    List<Plugin> plugins = sonar.findAll(UpdateCenterQuery.createForInstalledPlugins());
-    assertThat(plugins.size(), greaterThan(0));
-
-    Plugin referencePlugin = findReferencePlugin(plugins, "itreference");
-    assertNotNull(referencePlugin);
-    assertThat(referencePlugin.getName(), is("Sonar :: Integration Tests :: Reference Plugin"));
-    assertThat(referencePlugin.getVersion(), startsWith("2."));
-  }
-
-  private Plugin findReferencePlugin(List<Plugin> plugins, String pluginKey) {
-    for (Plugin plugin : plugins) {
-      if (StringUtils.equals(pluginKey, plugin.getKey())) {
-        return plugin;
-      }
-    }
-    return null;
-  }
-
-}
diff --git a/tests/integration/tests/src/test/java/org/sonar/tests/integration/VariationsIT.java b/tests/integration/tests/src/test/java/org/sonar/tests/integration/VariationsIT.java
deleted file mode 100644 (file)
index 501fb29..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests.integration;
-
-import org.junit.BeforeClass;
-import org.junit.Test;
-import org.sonar.wsclient.Sonar;
-import org.sonar.wsclient.services.Resource;
-import org.sonar.wsclient.services.ResourceQuery;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.CoreMatchers.notNullValue;
-import static org.hamcrest.number.OrderingComparisons.greaterThan;
-import static org.junit.Assert.assertThat;
-
-public class VariationsIT {
-
-  private static final String TIMEMACHINE_PROJECT = "org.sonar.tests:violations-timemachine";
-
-  private static Sonar sonar;
-
-  @BeforeClass
-  public static void buildServer() {
-    sonar = ITUtils.createSonarWsClient();
-  }
-
-  @Test
-  public void checkBaseVariations() {
-
-    Resource project = getProject("files", "ncloc", "violations");
-
-    // period 1 : previous analysis
-    assertThat(project.getPeriod1Mode(), is("previous_analysis"));
-    assertThat(project.getPeriod1Date(), notNullValue());
-
-    // variations from previous analysis
-    assertThat(project.getMeasure("files").getVariation1(), is(1.0));
-    assertThat(project.getMeasure("ncloc").getVariation1(), is(8.0));
-    assertThat(project.getMeasure("violations").getVariation1(), greaterThan(0.0));
-  }
-
-  private Resource getProject(String... metricKeys) {
-    return sonar.find(ResourceQuery.createForMetrics(TIMEMACHINE_PROJECT, metricKeys).setIncludeTrends(true));
-  }
-
-}
diff --git a/tests/integration/tests/src/test/java/org/sonar/tests/integration/ViolationsTimeMachineIT.java b/tests/integration/tests/src/test/java/org/sonar/tests/integration/ViolationsTimeMachineIT.java
deleted file mode 100644 (file)
index f1931a4..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests.integration;
-
-import org.junit.BeforeClass;
-import org.junit.Test;
-import org.sonar.api.measures.CoreMetrics;
-import org.sonar.wsclient.Sonar;
-import org.sonar.wsclient.services.*;
-
-import java.util.Date;
-import java.util.List;
-
-import static org.hamcrest.CoreMatchers.nullValue;
-import static org.hamcrest.core.Is.is;
-import static org.junit.Assert.assertNull;
-import static org.junit.Assert.assertThat;
-
-public class ViolationsTimeMachineIT {
-
-  private static Sonar sonar;
-  private static final String PROJECT = "org.sonar.tests:violations-timemachine";
-  private static final String FILE = "org.sonar.tests:violations-timemachine:org.sonar.tests.violationstimemachine.Hello";
-
-  @BeforeClass
-  public static void buildServer() {
-    sonar = ITUtils.createSonarWsClient();
-  }
-
-  @Test
-  public void projectIsAnalyzed() {
-    assertThat(sonar.find(new ResourceQuery(PROJECT)).getName(), is("Violations timemachine"));
-    assertThat(sonar.find(new ResourceQuery(PROJECT)).getVersion(), is("1.0-SNAPSHOT"));
-    assertThat(sonar.find(new ResourceQuery(PROJECT)).getDate().getMonth(), is(10)); // November
-  }
-
-  @Test
-  public void testHistoryOfViolations() {
-    TimeMachineQuery query = TimeMachineQuery.createForMetrics(PROJECT,
-        CoreMetrics.BLOCKER_VIOLATIONS_KEY,
-        CoreMetrics.CRITICAL_VIOLATIONS_KEY,
-        CoreMetrics.MAJOR_VIOLATIONS_KEY,
-        CoreMetrics.MINOR_VIOLATIONS_KEY,
-        CoreMetrics.INFO_VIOLATIONS_KEY);
-    TimeMachine timemachine = sonar.find(query);
-    assertThat(timemachine.getCells().length, is(2));
-
-    TimeMachineCell cell1 = timemachine.getCells()[0];
-    TimeMachineCell cell2 = timemachine.getCells()[1];
-
-    assertThat(cell1.getDate().getMonth(), is(9));
-    assertThat(cell1.getValues(), is(new Object[]{0L, 0L, 3L, 4L, 0L}));
-
-    assertThat(cell2.getDate().getMonth(), is(10));
-    assertThat(cell2.getValues(), is(new Object[]{0L, 0L, 5L, 4L, 0L}));
-  }
-
-  @Test
-  public void testHistoryOfMeasures() {
-    TimeMachineQuery query = TimeMachineQuery.createForMetrics(PROJECT,
-        CoreMetrics.LINES_KEY,//int
-        CoreMetrics.VIOLATIONS_DENSITY_KEY // double
-        );
-    TimeMachine timemachine = sonar.find(query);
-    assertThat(timemachine.getCells().length, is(2));
-
-    TimeMachineCell cell1 = timemachine.getCells()[0];
-    TimeMachineCell cell2 = timemachine.getCells()[1];
-
-    assertThat(cell1.getDate().getMonth(), is(9));
-    assertThat(cell1.getValues(), is(new Object[]{30L, 38.1}));
-
-    assertThat(cell2.getDate().getMonth(), is(10));
-    assertThat(cell2.getValues(), is(new Object[]{41L, 34.5}));
-  }
-
-  @Test
-  public void correctLinesAndDates() {
-    ViolationQuery query = ViolationQuery.createForResource(FILE).setSeverities("MAJOR");
-    List<Violation> violations = sonar.findAll(query);
-
-    assertThat(violations.get(0).getLine(), is(8));
-    assertThat(violations.get(0).getCreatedAt().getMonth(), is(9)); // old violation
-
-    assertThat(violations.get(1).getLine(), is(13));
-    assertThat(violations.get(1).getCreatedAt().getMonth(), is(9)); // old violation
-
-    assertThat(violations.get(2).getLine(), is(18));
-    assertThat(violations.get(2).getCreatedAt().getMonth(), is(10)); // new violation
-  }
-
-  // Specific cases for timemachine web service
-
-  @Test
-  public void unknownMetrics() {
-    TimeMachine timemachine = sonar.find(TimeMachineQuery.createForMetrics(PROJECT, "notfound"));
-    assertThat(timemachine.getCells().length, is(0));
-
-    timemachine = sonar.find(TimeMachineQuery.createForMetrics(PROJECT, CoreMetrics.LINES_KEY, "notfound"));
-    assertThat(timemachine.getCells().length, is(2));
-    for (TimeMachineCell cell : timemachine.getCells()) {
-      assertThat(cell.getValues().length, is(1));
-      assertThat(cell.getValues()[0], is(Long.class));
-    }
-
-    timemachine = sonar.find(TimeMachineQuery.createForMetrics(PROJECT));
-    assertThat(timemachine.getCells().length, is(0));
-  }
-
-  @Test
-  public void noDataForInterval() {
-    Date date = new Date();
-    TimeMachine timemachine = sonar.find(TimeMachineQuery.createForMetrics(PROJECT, CoreMetrics.LINES_KEY)
-        .setFrom(date)
-        .setTo(date));
-    assertThat(timemachine.getCells().length, is(0));
-  }
-
-  @Test
-  public void unknownResource() {
-    TimeMachine timemachine = sonar.find(TimeMachineQuery.createForMetrics("notfound:notfound", CoreMetrics.LINES_KEY));
-    assertNull(timemachine);
-  }
-}
diff --git a/tests/integration/tests/src/test/java/org/sonar/tests/integration/selenium/CustomizeComponentsPageIT.java b/tests/integration/tests/src/test/java/org/sonar/tests/integration/selenium/CustomizeComponentsPageIT.java
deleted file mode 100644 (file)
index aaacfc9..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests.integration.selenium;
-
-import org.junit.Test;
-
-import static junit.framework.Assert.assertFalse;
-import static org.junit.Assert.assertTrue;
-
-public class CustomizeComponentsPageIT extends SonarTestCase {
-
-  @Test
-  public void defaultTreemapIsCustomizableByAdministrators() {
-    loginAsAdministrator();
-    selenium.open("/components/index/org.apache.struts:struts-parent");
-
-    // configure is OFF
-    assertFalse(selenium.isElementPresent("set_default_treemap"));
-
-    // configure is ON
-    clickAndWait("configure-on");    
-    assertTrue(selenium.isElementPresent("set_default_treemap"));
-  }
-
-  @Test
-  public void notCustomizableByAnonymous() {
-    loginAsAnonymous();
-    selenium.open("/components/index/org.apache.struts:struts-parent");
-    assertFalse(selenium.isElementPresent("configure-on"));
-  }
-}
diff --git a/tests/integration/tests/src/test/java/org/sonar/tests/integration/selenium/DeployUIExtensionsIT.java b/tests/integration/tests/src/test/java/org/sonar/tests/integration/selenium/DeployUIExtensionsIT.java
deleted file mode 100644 (file)
index 96f6635..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests.integration.selenium;
-
-import org.junit.Test;
-
-import static org.junit.Assert.assertTrue;
-
-public class DeployUIExtensionsIT extends SonarTestCase {
-
-  @Test
-  public void gwtPageIsDisplayedInHomeSidebar() throws Exception {
-    selenium.open("/");
-               assertTrue(selenium.getText("sidebar").contains("GWT sample"));
-               selenium.click("link=GWT sample");
-               selenium.waitForPageToLoad("30000");
-               assertTrue(selenium.isTextPresent("this is a GWT sample"));
-  }
-
-  @Test
-  public void displayHhtmlFooter() throws Exception {
-    selenium.open("/");
-               assertTrue(selenium.getText("ft").contains("Sample footer"));
-  }
-
-}
diff --git a/tests/integration/tests/src/test/java/org/sonar/tests/integration/selenium/SonarTestCase.java b/tests/integration/tests/src/test/java/org/sonar/tests/integration/selenium/SonarTestCase.java
deleted file mode 100644 (file)
index 65b0a23..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests.integration.selenium;
-
-import com.thoughtworks.selenium.DefaultSelenium;
-import org.junit.After;
-import org.junit.Before;
-import org.sonar.tests.integration.ITUtils;
-
-/**
- * To execute selenium tests in IDE, you have to run the selenium server first :
- * mvn selenium:start-server   
- */
-public abstract class SonarTestCase {
-  protected DefaultSelenium selenium;
-
-  @Before
-  public void before() throws Exception {
-    // TODO the browser and the url must be configurable 
-    selenium = new DefaultSelenium("localhost", 4444, "*firefox", ITUtils.getSonarURL());
-    selenium.start();
-  }
-
-  @After
-  public void after() {
-    selenium.stop();
-  }
-
-  protected void login(String login, String password) {
-    logout();
-    selenium.open("/sessions/new");
-    selenium.type("login", login);
-    selenium.type("password", password);
-    selenium.click("commit");
-    selenium.waitForPageToLoad("30000");
-  }
-
-  protected void logout() {
-    selenium.open("/sessions/logout");
-  }
-
-  protected void loginAsAdministrator() {
-    login("admin", "admin");
-  }
-
-  protected void loginAsAnonymous() {
-    logout();  
-  }
-
-  protected void clickAndWait(String url) {
-    selenium.click(url);
-    selenium.waitForPageToLoad("30000");
-  }
-}
diff --git a/tests/integration/tests/src/test/selenium/SONAR-1032-ws-api.html b/tests/integration/tests/src/test/selenium/SONAR-1032-ws-api.html
deleted file mode 100644 (file)
index a403651..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-1032-ws-api</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-1032-ws-api</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/api/plugins/RubyWebService</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Rest method output</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/api/plugins/RubyWebService/custom_method</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Custom method output</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/SONAR-1074-commented-code.html b/tests/integration/tests/src/test/selenium/SONAR-1074-commented-code.html
deleted file mode 100644 (file)
index 1838941..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-  <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
-  <title>Test Suite</title>
-</head>
-<body>
-<table id="suiteTable" cellpadding="1" cellspacing="1" border="1" class="selenium"><tbody>
-<tr><td><b>Test Suite</b></td></tr>
-<tr><td><a href="SONAR-1074-commented-code.html">SONAR-1074-commented-code</a></td></tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/SONAR-1709-static-resources.html b/tests/integration/tests/src/test/selenium/SONAR-1709-static-resources.html
deleted file mode 100644 (file)
index 0e41091..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-1709-static-resources</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-1709-static-resources</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/static/itreference/file.html</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>//body</td>
-       <td>Text from static resource</td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/SONAR-1772-findbugs-violations.html b/tests/integration/tests/src/test/selenium/SONAR-1772-findbugs-violations.html
deleted file mode 100644 (file)
index aea5ee7..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>SONAR-1772-findbugs-violations</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-1772-findbugs-violations</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:findbugs</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>resource_profile</td>
-       <td>SONAR-1772</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_violations</td>
-       <td>1</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_critical_violations</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_major_violations</td>
-       <td>1</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_minor_violations</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_blocker_violations</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_info_violations</td>
-       <td>0</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/SONAR-222_maven_extensions.html b/tests/integration/tests/src/test/selenium/SONAR-222_maven_extensions.html
deleted file mode 100644 (file)
index 9d3b8b6..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>SONAR-222_maven_extensions</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-222_maven_extensions</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:maven-extensions</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>10</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>hd</td>
-       <td>glob:*maven extensions*</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/drilldown/violations/org.sonar.tests:maven-extensions</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>glob:*Blocker*0*</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/SONAR-594-jee-sample.html b/tests/integration/tests/src/test/selenium/SONAR-594-jee-sample.html
deleted file mode 100644 (file)
index aa0b799..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-  <link rel="selenium.base" href="http://localhost:9000/"/>
-  <title>SONAR-594-jee-sample</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-  <thead>
-  <tr>
-    <td rowspan="1" colspan="3">SONAR-594-jee-sample</td>
-  </tr>
-  </thead>
-  <tbody>
-  <tr>
-    <td>open</td>
-    <td>/dashboard/index/org.sonar.tests.jee:parent</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>assertText</td>
-    <td>m_ncloc</td>
-    <td>16</td>
-  </tr>
-  <tr>
-    <td>open</td>
-    <td>/components/index/org.sonar.tests.jee:parent</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>assertText</td>
-    <td>treemap</td>
-    <td>glob:*java-module*</td>
-  </tr>
-  <tr>
-    <td>assertText</td>
-    <td>treemap</td>
-    <td>glob:*ejb-module*</td>
-  </tr>
-
-  </tbody>
-</table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/SONAR-594-no-violations.html b/tests/integration/tests/src/test/selenium/SONAR-594-no-violations.html
deleted file mode 100644 (file)
index 9a3641c..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-594-no-violations</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-594-no-violations</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:SONAR-594-no-violations</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_violations</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_violations_density</td>
-       <td>100.0%</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Blocker</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_blocker_violations</td>
-       <td>0</td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/SONAR-684-encode-violation-messages.html b/tests/integration/tests/src/test/selenium/SONAR-684-encode-violation-messages.html
deleted file mode 100644 (file)
index 12235c7..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>SONAR-684-encode-violation-messages</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-684-encode-violation-messages</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/violations/org.sonar.tests:single-classes</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=SONAR684EncodeViolationMessages</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*SONAR684EncodeViolationMessages*</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*Avoid Duplicate Literals*</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*The String literal &quot;&lt;select&gt;&quot; appears*</td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/SONAR-767-pmd-close-resource-rule.html b/tests/integration/tests/src/test/selenium/SONAR-767-pmd-close-resource-rule.html
deleted file mode 100644 (file)
index 737864f..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-  <link rel="selenium.base" href="http://localhost:9000/"/>
-  <title>SONAR-767-pmd-close-resource-rule</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-  <thead>
-  <tr>
-    <td rowspan="1" colspan="3">SONAR-767-pmd-close-resource-rule</td>
-  </tr>
-  </thead>
-  <tbody>
-  <tr>
-    <td>open</td>
-    <td>/drilldown/violations/org.sonar.tests:SONAR-767-pmd-close-resource-rule</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>assertTextPresent</td>
-    <td>SONAR-767-pmd-close-resource-rule</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>assertText</td>
-    <td>col_FIL</td>
-    <td>glob:*ConnectionIsNotClosed*1*</td>
-  </tr>
-  <tr>
-    <td>assertText</td>
-    <td>col_FIL</td>
-    <td>glob:*ResourceIsNotClosed*1*</td>
-  </tr>
-  <tr>
-    <td>assertText</td>
-    <td>col_DIR</td>
-    <td>glob:*org.sonar.tests*2*</td>
-  </tr>
-  <tr>
-    <td>assertText</td>
-    <td>col_rules</td>
-    <td>glob:*Close Resource*2*</td>
-  </tr>
-
-  </tbody>
-</table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/SONAR-787-checkstyle-SuppressionCommentFilter.html b/tests/integration/tests/src/test/selenium/SONAR-787-checkstyle-SuppressionCommentFilter.html
deleted file mode 100644 (file)
index a6521eb..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>SONAR-787-checkstyle-SuppressionCommentFilter</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-787-checkstyle-SuppressionCommentFilter</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:SONAR-787-checkstyle-SuppressionCommentFilter</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>resource_profile</td>
-  <td>SONAR-787-checkstyle-SuppressionCommentFilter</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_violations</td>
-       <td>1</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_violations</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_FIL</td>
-       <td>glob:*IgnoreCheckstyleFalsePositives*1*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/SONAR-981-clover-skip.html b/tests/integration/tests/src/test/selenium/SONAR-981-clover-skip.html
deleted file mode 100644 (file)
index 594dcb6..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>SONAR-981-clover-skip</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-981-clover-skip</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests.clover2skip:parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>12</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/alerts/create_and_delete_alert_on_lines_of_code.html b/tests/integration/tests/src/test/selenium/alerts/create_and_delete_alert_on_lines_of_code.html
deleted file mode 100644 (file)
index d7a6be5..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>create_and_delete_alert_on_lines_of_code</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">create_and_delete_alert_on_lines_of_code</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Integration%20tests</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Alerts</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>alert_metric_id</td>
-       <td>label=Lines of code</td>
-</tr>
-<tr>
-       <td>waitForSelectedLabel</td>
-       <td>xpath=//div[@id='new_alert_form']//select[@id='alert_operator']</td>
-       <td>is greater than</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>xpath=//div[@id='new_alert_form']//input[@id='alert_value_warning']</td>
-       <td>500</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>submit_create</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Alert is created</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>alerts</td>
-       <td>glob:*Lines of code*is greater than*</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>delete_Lines%20of%20code</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Are you sure?</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Alert is deleted</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>alerts</td>
-       <td>Lines of code</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/alerts/should_validate_alert_on_creation.html b/tests/integration/tests/src/test/selenium/alerts/should_validate_alert_on_creation.html
deleted file mode 100644 (file)
index cd18726..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>should_validate_alert_on_creation</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">should_validate_alert_on_creation</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Integration%20tests</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Alerts</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>submit_create</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>//div[@class='error']</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/all-tests.html b/tests/integration/tests/src/test/selenium/all-tests.html
deleted file mode 100644 (file)
index b42288b..0000000
+++ /dev/null
@@ -1,639 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-  <meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
-  <title>Test Suite</title>
-</head>
-<body>
-<table id="suiteTable" cellpadding="1" cellspacing="1" border="1" class="selenium">
-<tbody>
-<tr>
-  <td><b>Test Suite</b></td>
-</tr>
-
-
-
-<tr>
-  <td><a href="filters/anonymous-default-filters.html">filters/anonymous-default-filters</a></td>
-</tr>
-<tr>
-  <td><a href="filters/set-favourite-project.html">filters/set-favourite-project</a></td>
-</tr>
-<tr>
-  <td><a href="filters/treemap-filter.html">filters/treemap-filter</a></td>
-</tr>
-<tr>
-  <td><a href="filters/create-and-delete-filter.html">filters/create-and-delete-filter</a></td>
-</tr>
-<tr>
-  <td><a href="filters/create-advanced-filter.html">filters/create-advanced-filter</a></td>
-</tr>
-<tr>
-  <td><a href="filters/default-filters-console.html">filters/default-filters-console</a></td>
-</tr>
-<tr>
-  <td><a href="filters/default-filters-console-for-admins-only.html">filters/default-filters-console-for-admins-only</a></td>
-</tr>
-<tr>
-  <td><a href="plugins/settings_on_core_plugins.html">plugins/settings_on_core_plugins</a></td>
-</tr>
-<tr>
-  <td><a href="ruby-api.html">ruby-api</a></td>
-</tr>
-<tr>
-  <td><a href="dependencies/no_results.html">dependencies/no_results</a></td>
-</tr>
-<tr>
-  <td><a href="dependencies/search_subprojects.html">dependencies/search_subprojects</a></td>
-</tr>
-<tr>
-  <td><a href="dependencies/standard_usage.html">dependencies/standard_usage</a></td>
-</tr>
-<tr>
-  <td><a href="dependencies/too_short_search.html">dependencies/too_short_search</a></td>
-</tr>
-
-<tr>
-  <td><a href="contextualized-breadcrumb.html">contextualized-breadcrumb</a></td>
-</tr>
-<tr>
-  <td><a href="SONAR-222_maven_extensions.html">SONAR-222_maven_extensions</a></td>
-</tr>
-<tr>
-  <td><a href="SONAR-594-no-violations.html">SONAR-594-no-violations</a></td>
-</tr>
-<tr>
-  <td><a href="SONAR-594-jee-sample.html">SONAR-594-jee-sample</a></td>
-</tr>
-<tr>
-  <td><a href="SONAR-767-pmd-close-resource-rule.html">SONAR-767-pmd-close-resource-rule</a></td>
-</tr>
-<tr>
-  <td><a href="SONAR-787-checkstyle-SuppressionCommentFilter.html">SONAR-787-checkstyle-SuppressionCommentFilter</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="SONAR-684-encode-violation-messages.html">SONAR-684-encode-violation-messages</a></td>
-</tr>
-<tr>
-  <td><a href="SONAR-1074-commented-code.html">SONAR-1074-commented-code</a></td>
-</tr>
-<tr>
-  <td><a href="SONAR-981-clover-skip.html">SONAR-981-clover-skip</a></td>
-</tr>
-<tr>
-  <td><a href="SONAR-1032-ws-api.html">SONAR-1032-ws-api</a></td>
-</tr>
-<tr>
-  <td><a href="SONAR-1772-findbugs-violations.html">SONAR-1772-findbugs-violations</a></td>
-</tr>
-<tr>
-  <td><a href="SONAR-1709-static-resources.html">SONAR-1709-static-resources</a></td>
-</tr>
-
-<tr>
-  <td><a href="many-source-dirs.html">many-source-dirs</a></td>
-</tr>
-
-<tr>
-  <td><a
-      href="alerts/create_and_delete_alert_on_lines_of_code.html">alerts/create_and_delete_alert_on_lines_of_code</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="alerts/should_validate_alert_on_creation.html">alerts/should_validate_alert_on_creation</a></td>
-</tr>
-
-<tr>
-  <td><a
-      href="profiles/SONAR-560_remove_a_rule_from_sonar_way.html">profiles/SONAR-560_remove_a_rule_from_sonar_way</a>
-  </td>
-</tr>
-
-<tr>
-  <td><a href="duplicated-lines/drilldown-without-ratio.html">duplicated lines - drilldown without ratio</a></td>
-</tr>
-<tr>
-  <td><a href="footer-data.html">footer data</a></td>
-</tr>
-<tr>
-  <td><a href="dashboard/deprecated-url-format.html">dashboard/deprecated-url-format</a></td>
-</tr>
-<tr>
-  <td><a href="dashboard/SONAR-601-project-without-measures.html">dashboard/SONAR-601-project-without-measures</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="events/create_event_with_special_characters.html">events create_event_with_special_characters</a></td>
-</tr>
-<tr>
-  <td><a href="events/create_event_without_snapshot.html">events/create_event_without_snapshot</a></td>
-</tr>
-<tr>
-  <td><a href="events/no_events_widget_on_module_and_package.html">events/no_events_widget_on_module_and_package</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="event_categories/should_create_category.html">event_categories should_create_category</a></td>
-</tr>
-<tr>
-  <td><a href="event_categories/should_delete_category.html">event_categories should_delete_category</a></td>
-</tr>
-<tr>
-  <td><a href="event_categories/should_edit_category.html">event_categories should_edit_category</a></td>
-</tr>
-<tr>
-  <td><a href="event_categories/should_validate_category.html">event_categories should_validate_category</a></td>
-</tr>
-
-<tr>
-  <td><a href="exclusions/SONAR-1115-do-not-exclude-unit-tests.html">exclusions/SONAR-1115-do-not-exclude-unit-tests</a></td>
-</tr>
-<tr>
-  <td><a href="exclusions/cobertura_exclusions.html">exclusions/cobertura_exclusions</a></td>
-</tr>
-<tr>
-  <td><a href="exclusions/cpd_exclusions.html">exclusions/cpd_exclusions</a></td>
-</tr>
-<tr>
-  <td><a href="exclusions/javancss_exclusions.html">exclusions/javancss_exclusions</a></td>
-</tr>
-<tr>
-  <td><a href="exclusions/set_exclusions_from_project_settings_page.html">exclusions/set_exclusions_from_project_settings_page</a>
-  </td>
-</tr>
-
-<tr>
-  <td><a
-      href="sourceviewers/SONAR-582-violations-without-lines.html">sourceviewers/SONAR-582-violations-without-lines</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="sourceviewers/SONAR-517_violations_drilldown.html">sourceviewers/SONAR-517_violations_drilldown</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="sourceviewers/SONAR-659-test_success_percentage.html">sourceviewers/SONAR-659-test_success_percentage</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="sourceviewers/SONAR-538-duplications_viewer.html">sourceviewers/SONAR-538-duplications_viewer</a></td>
-</tr>
-<tr>
-  <td><a href="sourceviewers/SONAR-300-tests_details.html">sourceviewers/SONAR-300-tests_details</a></td>
-</tr>
-<tr>
-  <td><a href="sourceviewers/SONAR-1007_violations_tab_when_no_violations.html">sourceviewers/SONAR-1007_violations_tab_when_no_violations</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="hotspots/function_complexity_hotspot.html">hotspots/function_complexity_hotspot</a></td>
-</tr>
-<tr>
-  <td><a href="hotspots/no_measures.html">hotspots/no_measures</a></td>
-</tr>
-<tr>
-  <td><a href="hotspots/rules_violations_hotspot.html">hotspots/rules_violations_hotspot</a></td>
-</tr>
-<tr>
-  <td><a href="hotspots/violations_hotspot.html">hotspots/violations_hotspot</a></td>
-</tr>
-<tr>
-  <td><a href="hotspots/test_execution_time_hotspot.html">hotspots/test_execution_time_hotspot</a></td>
-</tr>
-<tr>
-  <td><a href="hotspots/ccn_hotspot.html">hotspots/ccn_hotspot</a></td>
-</tr>
-<tr>
-  <td><a href="hotspots/duplicated_lines_hotspot.html">hotspots/duplicated_lines_hotspot</a></td>
-</tr>
-<tr>
-  <td><a href="hotspots/popup-on-rules.html">hotspots/popup-on-rules</a></td>
-</tr>
-
-<tr>
-  <td><a href="libraries/display_tests.html">libraries/display_tests</a></td>
-</tr>
-<tr>
-  <td><a href="libraries/keyword_filter.html">libraries/keyword_filter</a></td>
-</tr>
-<tr>
-  <td><a href="libraries/module_libraries.html">libraries/module_libraries</a></td>
-</tr>
-
-<tr>
-  <td><a href="i18n/default_locale_is_english.html">i18n/default_locale_is_english</a></td>
-</tr>
-<tr>
-  <td><a href="i18n/french-france.html">i18n/french-france</a></td>
-</tr>
-<tr>
-  <td><a href="i18n/french-switzerland.html">i18n/french-switzerland</a></td>
-</tr>
-<tr>
-  <td><a href="i18n/french.html">i18n/french</a></td>
-</tr>
-<tr>
-  <td><a href="i18n/japanese_duplications.html">i18n/japanese_duplications</a></td>
-</tr>
-<tr>
-  <td><a href="i18n/japanese_sources.html">i18n/japanese_sources</a></td>
-</tr>
-<tr>
-  <td><a href="branch.html">branch</a></td>
-</tr>
-<tr>
-  <td><a href="modules.html">modules</a></td>
-</tr>
-<tr>
-  <td><a href="do-not-import-sources.html">do-not-import-sources</a></td>
-</tr>
-<tr>
-  <td><a href="disabled-project.html">disabled-project</a></td>
-</tr>
-<tr>
-  <td><a href="clover/clover2.html">clover/clover2</a></td>
-</tr>
-<tr>
-  <td><a href="clover/clover3.html">clover/clover3</a></td>
-</tr>
-
-<tr>
-  <td><a href="rules-on-tests.html">rules-on-tests</a></td>
-</tr>
-<tr>
-  <td><a href="authentication/login_successful.html">authentication/login_successful</a></td>
-</tr>
-<tr>
-  <td><a href="authentication/login_wrong_password.html">authentication/login_wrong_password</a></td>
-</tr>
-<tr>
-  <td><a href="authentication/login_cancel.html">authentication/login_cancel</a></td>
-</tr>
-
-<tr>
-  <td><a href="dashboard/basic-archetype-widget.html">dashboard/basic-archetype-widget</a></td>
-</tr>
-<tr>
-  <td><a href="dashboard/display_files_and_classes.html">dashboard/display_files_and_classes</a></td>
-</tr>
-<tr>
-  <td><a href="dashboard/reference.html">dashboard/reference</a></td>
-</tr>
-<tr>
-  <td><a href="dashboard/chidamber_kemerer_widget.html">dashboard/chidamber_kemerer_widget</a></td>
-</tr>
-<tr>
-  <td><a href="dashboard/file_widget_on_packages.html">dashboard/file_widget_on_packages</a></td>
-</tr>
-<tr>
-  <td><a href="dashboard/no_file_design_widget_on_projects.html">dashboard/no_file_design_widget_on_projects</a></td>
-</tr>
-<tr>
-  <td><a href="dashboard/no_package_design_widget_on_packages.html">dashboard/no_package_design_widget_on_packages</a></td>
-</tr>
-<tr>
-  <td><a href="dashboard/package_design_widget_on_projects.html">dashboard/package_design_widget_on_projects</a></td>
-</tr>
-
-<tr>
-  <td><a href="design/drilldown_on_lcom4.html">design/drilldown_on_lcom4</a></td>
-</tr>
-<tr>
-  <td><a href="design/drilldown_on_rfc.html">design/drilldown_on_rfc</a></td>
-</tr>
-<tr>
-  <td><a href="design/drilldown_to_dsm.html">design/drilldown_to_dsm</a></td>
-</tr>
-<tr>
-  <td><a href="design/lcom4_tab.html">design/lcom4_tab</a></td>
-</tr>
-<tr>
-  <td><a href="design/load_dsm_at_startup_when_drilldown_to_zero_package_tangles.html">design/load_dsm_at_startup_when_drilldown_to_zero_package_tangles</a></td>
-</tr>
-
-
-
-<tr>
-  <td><a href="unit_tests/some-test-failures.html">unit_tests/some-test-failures</a></td>
-</tr>
-<tr>
-  <td><a href="unit_tests/no-test-failures.html">unit_tests/no-test-failures</a></td>
-</tr>
-<tr>
-  <td><a href="unit_tests/zero-when-no-tests.html">unit_tests/zero-when-no-tests</a></td>
-</tr>
-<tr>
-  <td><a href="unit_tests/no-tests-data-on-static-analysis.html">unit_tests/no-tests-data-on-static-analysis</a></td>
-</tr>
-<tr>
-  <td><a href="unit_tests/skip-surefire-tests.html">skip-surefire-tests</a></td>
-</tr>
-<tr>
-  <td><a href="unit_tests/reuse-clover-and-junit-reports.html">unit_tests/reuse-clover-and-junit-reports</a></td>
-</tr>
-<!--<tr>
-  <td><a href="unit_tests/reuse-cobertura-and-junit-reports.html">unit_tests/reuse-cobertura-and-junit-reports</a>
-  </td>
-</tr>-->
-<tr>
-  <td><a href="unit_tests/reuse-junit-reports-only.html">unit_tests/reuse-junit-reports-only</a></td>
-</tr>
-<tr>
-  <td><a href="unit_tests/reuse-maven-coverage-reports.html">unit_tests/reuse-maven-coverage-reports</a></td>
-</tr>
-<tr>
-  <td><a href="unit_tests/SONAR-1099-html-chars.html">unit_tests/SONAR-1099-html-chars</a></td>
-</tr>
-
-<tr>
-  <td><a href="measures_drilldown/SONAR-564_show_zero_measures.html">measures_drilldown/SONAR-564_show_zero_measures</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="measures_drilldown/dont-display-resources-without-violations.html">measures_drilldown/dont-display-resources-without-violations</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="measures_drilldown/show_from_modules_to_classes.html">measures_drilldown/show_from_modules_to_classes</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="measures_drilldown/SONAR-1016_file_level_resources_only.html">measures_drilldown/SONAR-1016_file_level_resources_only</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="profiles/create_java_profile.html">profiles/create_java_profile</a></td>
-</tr>
-<tr>
-  <td><a href="profiles/backup-profile.html">profiles/backup-profile</a></td>
-</tr>
-<tr>
-  <td><a href="profiles/bulk-change.html">profiles/bulk-change</a></td>
-</tr>
-<tr>
-  <td><a href="profiles/do-not-create-profile-with-existing-name.html">profiles/do-not-create-profile-with-existing-name</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="profiles/cancel-profile-creation.html">profiles/cancel-profile-creation</a></td>
-</tr>
-<tr>
-  <td><a href="profiles/delete-profile.html">profiles/delete-profile</a></td>
-</tr>
-<tr>
-  <td><a href="profiles/activate-profile.html">profiles/activate-profile</a></td>
-</tr>
-<tr>
-  <td><a href="profiles/copy-profile.html">profiles/copy-profile</a></td>
-</tr>
-<tr>
-  <td><a href="profiles/do-not-copy-with-blank-name.html">profiles/do-not-copy-with-blank-name</a></td>
-</tr>
-<tr>
-  <td><a href="profiles/do-not-copy-with-existing-name.html">profiles/do-not-copy-with-existing-name</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="profiles/read-only-mode-when-anonymous-user.html">profiles/read-only-mode-when-anonymous-user</a></td>
-</tr>
-<tr>
-  <td><a href="profiles/do-not-delete-provided-profiles.html">profiles/do-not-delete-provided-profiles</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="profiles/permalink-to-checkstyle-configuration.html">profiles/permalink-to-checkstyle-configuration</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="profiles/permalink-to-default-checkstyle-configuration.html">profiles/permalink-to-default-checkstyle-configuration</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="profiles/permalink-to-pmd-configuration.html">profiles/permalink-to-pmd-configuration</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="profiles/display-permalinks-to-tools.html">profiles/display-permalinks-to-tools</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="profiles/link-profile-to-project.html">profiles/profile_to_project_link_unlink</a></td>
-</tr>
-<tr>
-  <td><a href="profiles/should_import_checkstyle_findbugs_pmd.html">profiles/should_import_checkstyle_findbugs_pmd</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="profiles/dashboard_links_to_used_profile.html">profiles/dashboard_links_to_used_profile</a></td>
-</tr>
-<tr>
-  <td><a href="profiles/profile-overriden-by-maven-parameter.html">profiles/profile-overriden-by-maven-parameter</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="rules/violations_tab.html">rules/violations_tab</a>
-  </td>
-</tr>
-
-<tr>
-  <td><a href="profiles/user-profiles-are-editable.html">profiles/user-profiles-are-editable</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="profiles/provided-profiles-are-not-editable.html">profiles/provided-profiles-are-not-editable</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="rules/check_rules_extensions.html">rules/check_rules_extensions</a></td>
-</tr>
-<tr>
-  <td><a href="rules/pmd_xpath_rule_extension.html">rules/pmd_xpath_rule_extension</a></td>
-</tr>
-<tr>
-  <td><a href="rules/copy_a_provided_profile_and_modify_a_rule_param.html">rules/copy_a_provided_profile_and_modify_a_rule_param</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="rules/search_by_plugin.html">rules/search_by_plugin</a></td>
-</tr>
-<tr>
-  <td><a href="rules/search_by_rule_title.html">rules/search_by_rule_title</a></td>
-</tr>
-<tr>
-  <td><a href="rules/search_and_display_inactive_rules.html">rules/search_and_display_inactive_rules</a></td>
-</tr>
-<tr>
-  <td><a href="rules/rule_search_verify_form_values_on_first_call.html">rules/rule_search_verify_form_values_on_first_call</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="rules/search_by_rule_priority.html">rules/search_by_rule_priority</a></td>
-</tr>
-<tr>
-  <td><a href="rules/search_by_rule_status.html">rules/search_by_rule_status</a></td>
-</tr>
-<tr>
-  <td><a href="rules/search_any_rules.html">rules/search_any_rules</a></td>
-</tr>
-<tr>
-  <td><a href="rules/copy_and_edit_rule_template.html">rules/copy_and_edit_rule_template</a></td>
-</tr>
-<tr>
-  <td><a href="rules/SONAR-1000_quality_profile_with_space_or_dot.html">rules/SONAR-1000_quality_profile_with_space_or_dot</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="reviews/create_then_edit_type.html">create then edit a review type</a></td>
-</tr>
-<tr>
-  <td><a href="reviews/insert_then_delete_review_measure.html">insert then delete review measure</a></td>
-</tr>
-<tr>
-  <td><a href="reviews/reviews_should_not_create_review_in_futur.html">reviews_should_not_create_review_in_futur</a>
-  </td>
-</tr>
-
-<tr>
-  <td><a href="system_info/system_info.html">system_info/system_info</a>
-  </td>
-</tr>
-
-<tr>
-  <td><a href="google_analytics_plugin/activate_google_analytics.html">google_analytics_plugin/activate google
-    analytics</a></td>
-</tr>
-<tr>
-  <td><a href="google_analytics_plugin/deactivate_google_analytics.html">google_analytics_plugin/deactivate google
-    analytics</a></td>
-</tr>
-
-<tr>
-  <td><a href="manual_metrics/predefined_metrics.html">manual_metrics/predefined_metrics</a></td>
-</tr>
-
-<tr>
-  <td><a href="timemachine/display-first-and-last-five-events.html">timemachine/display-first-and-last-five-events</a>
-  </td>
-</tr>
-<tr>
-  <td><a
-      href="timemachine/should-not-display-rows-without-data.html">timemachine/should-not-display-rows-without-data</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="timemachine/SONAR-506_number_of_rules_violations_is_incorrect.html">timemachine/SONAR-506_number_of_rules_violations_is_incorrect</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="timemachine/SONAR-506_number_of_rules_violations_is_incorrect.html">timemachine/violations-timemachine</a></td>
-</tr>
-<tr>
-  <td><a href="treemap/treemap_check_gradient_direction.html">treemap_check_gradient_direction</a></td>
-</tr>
-<tr>
-  <td><a href="treemap/treemap_file_drilldown_link.html">treemap_file_drilldown_link</a></td>
-</tr>
-
-<tr>
-  <td><a href="coverage_clouds/coverage_clouds_project_risk.html">coverage_clouds/coverage_clouds_project_risk</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="coverage_clouds/coverage_clouds_quick_wins.html">coverage_clouds/coverage_clouds_quick_wins</a></td>
-</tr>
-<tr>
-  <td><a href="coverage_clouds/coverage_clouds_source_tab.html">coverage_clouds/coverage_clouds_source_tab</a></td>
-</tr>
-<tr>
-  <td><a href="coverage_clouds/clouds_on_packages.html">coverage_clouds/clouds_on_packages</a></td>
-</tr>
-
-<tr>
-  <td><a
-      href="projects_columns/projects_columns_add_and_remove_column.html">projects_columns_add_and_remove_column</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="projects_columns/projects_columns_update_default_column_sort.html">projects_columns_update_default_column_sort</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="projects_columns/projects_columns_remove_default_column_sort.html">projects_columns_remove_default_column_sort</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="projects_columns/projects_columns_disable_and_enable_treemap.html">projects_columns_disable_and_enable_treemap</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="projects_columns/projects_columns_move_column_to_left_and_right.html">projects_columns_move_column_to_left_and_right</a>
-  </td>
-</tr>
-
-<tr>
-  <td><a
-      href="violations_drilldown/SONAR-455_hide_zero_measures.html">violations_drilldown/SONAR-455_hide_zero_measures</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="violations_drilldown/check_violations_on_extensions.html">violations_drilldown/check_violations_on_extensions</a>
-  </td>
-</tr>
-<tr>
-  <td><a href="violations_drilldown/select_resource.html">violations_drilldown/select_resource</a></td>
-</tr>
-<tr>
-  <td><a href="violations_drilldown/popup-on-rules.html">violations_drilldown/popup-on-rules</a>
-  </td>
-</tr>
-
-<tr>
-  <td><a href="static-analysis/deprecated_light_mode.html">static-analysis/deprecated_light_mode</a></td>
-</tr>
-<tr>
-  <td><a href="static-analysis/static-analysis.html">static-analysis/static-analysis</a></td>
-</tr>
-
-
-<tr>
-  <td><a href="users/admin-has-default-groups.html">users/admin-has-default-groups</a></td>
-</tr>
-<tr>
-  <td><a href="users/accept-login-with-whitespace.html">users/accept-login-with-whitespace</a></td>
-</tr>
-<tr>
-  <td><a href="users/affect-new-user-to-default-group.html">users/affect-new-user-to-default-group</a></td>
-</tr>
-<tr>
-  <td><a href="users/authenticate-new-user.html">users/authenticate-new-user</a></td>
-</tr>
-<tr>
-  <td><a href="users/can-not-delete-myself.html">users/can-not-delete-myself</a></td>
-</tr>
-<tr>
-  <td><a href="users/change-username-without-changing-password.html">users/change-username-without-changing-password</a></td>
-</tr>
-<tr>
-  <td><a href="users/confirm-password-when-creating-user.html">users/confirm-password-when-creating-user</a></td>
-</tr>
-<tr>
-  <td><a href="users/create-and-delete-groups.html">users/create-and-delete-groups</a></td>
-</tr>
-<tr>
-  <td><a href="users/create-and-delete-users.html">users/create-and-delete-users</a></td>
-</tr>
-<tr>
-  <td><a href="users/my-profile-display-basic-data.html">users/my-profile-display-basic-data</a></td>
-</tr>
-<tr>
-  <td><a href="users/add-user-to-group.html">users/add-user-to-group</a></td>
-</tr>
-<tr>
-  <td><a href="users/affect-user-to-group.html">users/affect-user-to-group</a></td>
-</tr>
-</tbody>
-</table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/authentication/login_cancel.html b/tests/integration/tests/src/test/selenium/authentication/login_cancel.html
deleted file mode 100644 (file)
index 4652916..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>login_cancel</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">login_cancel</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Cancel</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>link=Log in</td>
-       <td>Log in</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/authentication/login_successful.html b/tests/integration/tests/src/test/selenium/authentication/login_successful.html
deleted file mode 100644 (file)
index 4732f59..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>login_successful</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">login_successful</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>link=Log in</td>
-       <td>Log in</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Log out</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log out</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>link=Log in</td>
-       <td>Log in</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/authentication/login_wrong_password.html b/tests/integration/tests/src/test/selenium/authentication/login_wrong_password.html
deleted file mode 100644 (file)
index 9ea4868..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>login_wrong_password</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">login_wrong_password</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>wrong</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Authentication failed</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/branch.html b/tests/integration/tests/src/test/selenium/branch.html
deleted file mode 100644 (file)
index 8df4c0e..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>branch</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">branch</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Sonar tests - reference BRANCH-0.9</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Sonar tests - reference BRANCH-0.9</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Sonar tests - reference BRANCH-0.9</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/clover/clover2.html b/tests/integration/tests/src/test/selenium/clover/clover2.html
deleted file mode 100644 (file)
index c6f8372..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>clover2</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">clover2</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests.clover2:parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>66.7%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_failures</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_errors</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_coverage</td>
-       <td>40.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>12</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/clover/clover3.html b/tests/integration/tests/src/test/selenium/clover/clover3.html
deleted file mode 100644 (file)
index 822d634..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>clover3</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">clover3</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests.clover3:parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>66.7%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_failures</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_errors</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_coverage</td>
-       <td>40.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>12</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/contextualized-breadcrumb.html b/tests/integration/tests/src/test/selenium/contextualized-breadcrumb.html
deleted file mode 100644 (file)
index dcfce01..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>contextualized-breadcrumb</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">contextualized-breadcrumb</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/components/index/org.sonar.tests.modules:module_a</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>crumbs</td>
-       <td>glob:*Sonar tests*Module A*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Sonar tests - modules</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>crumbs</td>
-       <td>glob:*Module A*</td>
-</tr>
-<tr>
-       <td>assertLocation</td>
-       <td>glob:*components/index/*</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/coverage_clouds/clouds_on_packages.html b/tests/integration/tests/src/test/selenium/coverage_clouds/clouds_on_packages.html
deleted file mode 100644 (file)
index a447f70..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>clouds_on_packages</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">clouds_on_packages</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.sonar.tests:reference:org.sonar.samples?page=org.sonar.plugins.core.clouds.GwtClouds</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>crumbs</td>
-       <td>glob:*org.sonar.samples*</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>content</td>
-       <td>glob:*InnerClass*Utf8Characters*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/coverage_clouds/coverage_clouds_project_risk.html b/tests/integration/tests/src/test/selenium/coverage_clouds/coverage_clouds_project_risk.html
deleted file mode 100644 (file)
index 03bb33a..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>coverage_clouds_project_risk</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">coverage_clouds_project_risk</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>InnerClass</td>
-       <td>class_name</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>Avg. complexity by method : 1.2, Coverage : 33.3%</td>
-       <td>class_tooltip</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Clouds</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>top_risk_tab_title</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>top_risk_tab_title</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>${class_name}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//div[@id='top_risk_tab_content']//span[text()='${class_name}']</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/coverage_clouds/coverage_clouds_quick_wins.html b/tests/integration/tests/src/test/selenium/coverage_clouds/coverage_clouds_quick_wins.html
deleted file mode 100644 (file)
index 359cbb0..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>coverage_clouds_quick_wins</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">coverage_clouds_quick_wins</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>InnerClass</td>
-       <td>class_name</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>Complexity : 15, Coverage : 33.3%</td>
-       <td>class_tooltip</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Clouds</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>quick_wins_tab_title</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>quick_wins_tab_title</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${class_name}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//div[@id='quick_wins_tab_content']//span[text()='${class_name}']</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/coverage_clouds/coverage_clouds_source_tab.html b/tests/integration/tests/src/test/selenium/coverage_clouds/coverage_clouds_source_tab.html
deleted file mode 100644 (file)
index fe97fa7..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>coverage_clouds_source_tab</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">coverage_clouds_source_tab</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>InnerClass</td>
-       <td>class_name</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.sonar.tests:reference?page=org.sonar.plugins.core.clouds.GwtClouds</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Clouds</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>quick_wins_tab_content</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>//div[@id='quick_wins_tab_content']//span[text()='${class_name}']</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForPopUp</td>
-       <td>resource</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectWindow</td>
-       <td>resource</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>InnerClass</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*Line coverage*</td>
-</tr>
-<tr>
-       <td>close</td>
-       <td>resource</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/custom-maven-type.html b/tests/integration/tests/src/test/selenium/custom-maven-type.html
deleted file mode 100644 (file)
index 2de4199..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>custom-maven-type</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">custom-maven-type</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:maven-custom-type</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>hd</td>
-       <td>glob:*Maven custom type*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>9</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/drilldown/violations/org.sonar.tests:maven-custom-type</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>col_categories</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/dashboard/SONAR-601-project-without-measures.html b/tests/integration/tests/src/test/selenium/dashboard/SONAR-601-project-without-measures.html
deleted file mode 100644 (file)
index ab5c78d..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-601-project-without-measures</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-601-project-without-measures</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>POM without modules</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>JAR without sources</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:jar-without-sources</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Version 1.0-SNAPSHOT</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>resource_key</td>
-       <td>org.sonar.tests:jar-without-sources</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:pom-without-modules</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>POM without modules</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>org.sonar.tests:pom-without-modules</td>
-       <td></td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/dashboard/basic-archetype-widget.html b/tests/integration/tests/src/test/selenium/dashboard/basic-archetype-widget.html
deleted file mode 100644 (file)
index 7fbb622..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>basic-archetype-widget</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">basic-archetype-widget</td></tr>
-</thead><tbody>
-       <tr>
-               <td>open</td>
-               <td>/sessions/logout</td>
-               <td></td>
-       </tr>
-       <tr>
-               <td>open</td>
-               <td>/sessions/new</td>
-               <td></td>
-       </tr>
-       <tr>
-               <td>type</td>
-               <td>login</td>
-               <td>admin</td>
-       </tr>
-       <tr>
-               <td>type</td>
-               <td>password</td>
-               <td>admin</td>
-       </tr>
-       <tr>
-               <td>clickAndWait</td>
-               <td>commit</td>
-               <td></td>
-       </tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>dashboard</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configure widgets</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>def_sample</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>def_sample</td>
-       <td>glob:*Sample*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/dashboard/chidamber_kemerer_widget.html b/tests/integration/tests/src/test/selenium/dashboard/chidamber_kemerer_widget.html
deleted file mode 100644 (file)
index 61200df..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>chidamber_kemerer_widget</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">chidamber_kemerer_widget</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_lcom4</td>
-       <td>glob:1.*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_suspect_lcom4_density</td>
-       <td>glob:2*%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_rfc</td>
-       <td>regexp:[0-9][0-9]</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>css=#dashboard .ckjm</td>
-       <td>glob:*LCOM4*RFC*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/dashboard/deprecated-url-format.html b/tests/integration/tests/src/test/selenium/dashboard/deprecated-url-format.html
deleted file mode 100644 (file)
index ce97ebe..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>deprecated-url-format</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">deprecated-url-format</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/project/index/org.sonar.tests:reference?foo=bar</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertLocation</td>
-       <td>glob:*/dashboard/index/org.sonar.tests:reference?foo=bar</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Sonar tests - reference</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/dashboard/display_files_and_classes.html b/tests/integration/tests/src/test/selenium/dashboard/display_files_and_classes.html
deleted file mode 100644 (file)
index a130c97..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>metric_files</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">metric_files</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_files</td>
-       <td>494</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_classes</td>
-       <td>518</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/dashboard/file_widget_on_packages.html b/tests/integration/tests/src/test/selenium/dashboard/file_widget_on_packages.html
deleted file mode 100644 (file)
index e3bae07..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>file_widget_on_packages</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">file_widget_on_packages</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-core:org.apache.struts.config</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_file_tangle_index</td>
-       <td>glob:*%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_file_cycles</td>
-       <td>glob:*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_file_feedback_edges</td>
-       <td>glob:*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/dashboard/no_file_design_widget_on_projects.html b/tests/integration/tests/src/test/selenium/dashboard/no_file_design_widget_on_projects.html
deleted file mode 100644 (file)
index 72c6f77..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>no_file_design_widget_on_projects</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">no_file_design_widget_on_projects</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_file_tangle_index</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_file_tangles</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/dashboard/no_package_design_widget_on_packages.html b/tests/integration/tests/src/test/selenium/dashboard/no_package_design_widget_on_packages.html
deleted file mode 100644 (file)
index a1eca98..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>no_package_design_widget_on_packages</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">no_package_design_widget_on_packages</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-core:org.apache.struts.config</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_package_tangles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_package_cycles</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/dashboard/package_design_widget_on_projects.html b/tests/integration/tests/src/test/selenium/dashboard/package_design_widget_on_projects.html
deleted file mode 100644 (file)
index ee98448..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>package_design_widget_on_projects</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">package_design_widget_on_projects</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>css=#dashboard .package_design</td>
-       <td>glob:*Package*cycles*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_package_tangle_index</td>
-       <td>glob:*%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_package_cycles</td>
-       <td>regexp:[0-9][0-9]</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_package_feedback_edges</td>
-       <td>regexp:[0-9][0-9]</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_package_tangles</td>
-       <td>regexp:[0-9][0-9]</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/dashboard/reference.html b/tests/integration/tests/src/test/selenium/dashboard/reference.html
deleted file mode 100644 (file)
index 0eaacf2..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>reference</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">reference</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>338</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_packages</td>
-       <td>6</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_functions</td>
-       <td>38</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_function_complexity</td>
-       <td>1.9</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_class_complexity</td>
-       <td>4.3</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_complexity</td>
-       <td>73</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_duplicated_lines_density</td>
-       <td>40.7%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_violations_density</td>
-       <td>68.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_major_violations</td>
-       <td>36</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/dependencies/no_results.html b/tests/integration/tests/src/test/selenium/dependencies/no_results.html
deleted file mode 100644 (file)
index 4a7c9af..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>no_results</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">no_results</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dependencies/index</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>search_input</td>
-       <td>unknown</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>search_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>artifacts_col</td>
-       <td>glob:*No data*</td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>versions_col</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>results_col</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/dependencies/search_subprojects.html b/tests/integration/tests/src/test/selenium/dependencies/search_subprojects.html
deleted file mode 100644 (file)
index 74afc39..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>search_subprojects</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">search_subprojects</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dependencies/index</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>search_input</td>
-       <td>struts</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>search_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>artifacts_col</td>
-       <td>glob:*org.apache.struts:struts-parent*org.apache.struts:struts-core*org.apache.struts:struts-faces*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/dependencies/standard_usage.html b/tests/integration/tests/src/test/selenium/dependencies/standard_usage.html
deleted file mode 100644 (file)
index 87790d7..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>standard_usage</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">standard_usage</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dependencies/index</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>search_input</td>
-       <td>commons</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>search_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>artifacts_col</td>
-       <td>glob:*commons-io*commons-logging*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=commons-io:commons-io</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>versions_col</td>
-       <td>glob:*1.1*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>results_col</td>
-       <td>glob:*Struts Core*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Struts Core</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertLocation</td>
-       <td>glob:*org.sonar.plugins.design.ui.libraries.LibrariesPage*</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>keywordFilter</td>
-       <td>commons-io:commons-io</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/dependencies/too_short_search.html b/tests/integration/tests/src/test/selenium/dependencies/too_short_search.html
deleted file mode 100644 (file)
index 5ced0c3..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>too_short_search</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">too_short_search</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dependencies/index</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>search_input</td>
-       <td>ab</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>search_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>info</td>
-       <td>glob:*Minimum search is 3 characters*</td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>artifacts_col</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/design/drilldown_on_lcom4.html b/tests/integration/tests/src/test/selenium/design/drilldown_on_lcom4.html
deleted file mode 100644 (file)
index d7239ee..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>drilldown_on_lcom4</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">drilldown_on_lcom4</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_lcom4</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>LCOM4</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_PRJ</td>
-       <td>glob:*Struts Scripting*Struts Tiles*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_DIR</td>
-       <td>glob:*org.apache.struts.mock*org.apache.struts.taglib*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_FIL</td>
-       <td>glob:*MockHttpServletRequest*MockPageContext*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/design/drilldown_on_rfc.html b/tests/integration/tests/src/test/selenium/design/drilldown_on_rfc.html
deleted file mode 100644 (file)
index 9279fd9..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>drilldown_on_rfc</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">drilldown_on_rfc</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_rfc</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>RFC</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_PRJ</td>
-       <td>glob:*Struts Scripting*Struts Tiles*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_DIR</td>
-       <td>glob:*org.apache.struts.mock*org.apache.struts.taglib*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_FIL</td>
-       <td>glob:*MockHttpServletRequest*MockPageContext*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/design/drilldown_to_dsm.html b/tests/integration/tests/src/test/selenium/design/drilldown_to_dsm.html
deleted file mode 100644 (file)
index 165725f..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>drilldown_to_dsm</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">drilldown_to_dsm</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_package_tangle_index</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Struts Core</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>gwtpage-org.sonar.plugins.design.ui.page.DesignPage</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>gwtpage-org.sonar.plugins.design.ui.page.DesignPage</td>
-       <td>glob:*org.apache.struts.chain*org.apache.struts.config*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/design/lcom4_tab.html b/tests/integration/tests/src/test/selenium/design/lcom4_tab.html
deleted file mode 100644 (file)
index e892ad5..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>lcom4_tab</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">lcom4_tab</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/measures/org.apache.struts:struts-parent?metric=lcom4</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=MockHttpServletRequest</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>rvstitle</td>
-       <td>glob:*org.apache.struts.mock.MockHttpServletRequest*</td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>gwtpage-org.sonar.plugins.design.ui.lcom4.Lcom4Tab</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>gwtpage-org.sonar.plugins.design.ui.lcom4.Lcom4Tab</td>
-       <td>glob:*1*2*3*4*5*6*7*8*9*10*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/design/load_dsm_at_startup_when_drilldown_to_zero_package_tangles.html b/tests/integration/tests/src/test/selenium/design/load_dsm_at_startup_when_drilldown_to_zero_package_tangles.html
deleted file mode 100644 (file)
index ffa9db6..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>load_dsm_at_startup_when_drilldown_to_zero_package_tangles</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">load_dsm_at_startup_when_drilldown_to_zero_package_tangles</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-faces</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_package_tangle_index</td>
-       <td>0.0%</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>m_package_tangle_index</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>rvstitle</td>
-       <td>glob:*Struts Faces*</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>gwtpage-org.sonar.plugins.design.ui.page.DesignPage</td>
-       <td>glob:*org.apache.struts.faces*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/disabled-project.html b/tests/integration/tests/src/test/selenium/disabled-project.html
deleted file mode 100644 (file)
index ed1b7e4..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>disabled-project</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">disabled-project</td></tr>
-</thead><tbody>
-       <tr>
-               <td>open</td>
-               <td>/sessions/logout</td>
-               <td></td>
-       </tr>
-       <tr>
-               <td>open</td>
-               <td>/sessions/login</td>
-               <td></td>
-       </tr>
-       <tr>
-               <td>type</td>
-               <td>login</td>
-               <td>admin</td>
-       </tr>
-       <tr>
-               <td>type</td>
-               <td>password</td>
-               <td>admin</td>
-       </tr>
-       <tr>
-               <td>clickAndWait</td>
-               <td>commit</td>
-               <td></td>
-       </tr>
-<tr>
-       <td>open</td>
-       <td>/</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>disabled project</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:disabled-project</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Settings</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>//input[@value='Delete project']</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Are you sure you want to delete this project?</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextNotPresent</td>
-       <td>disabled project</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/do-not-import-sources.html b/tests/integration/tests/src/test/selenium/do-not-import-sources.html
deleted file mode 100644 (file)
index 4f1edb3..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>do-not-import-sources</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">do-not-import-sources</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/measures/org.sonar.tests:do-not-import-sources</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Swiss</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>glob:*Coverage*Violations*</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextNotPresent</td>
-       <td>public class Swiss</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/duplicated-lines/drilldown-without-ratio.html b/tests/integration/tests/src/test/selenium/duplicated-lines/drilldown-without-ratio.html
deleted file mode 100644 (file)
index 67f9029..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>drilldown-without-ratio</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">drilldown-without-ratio</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>m_duplicated_lines_density</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_duplicated_lines_density</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_duplicated_lines_density</td>
-       <td>40.7%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_duplicated_lines</td>
-       <td>222 Duplicated lines</td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>glob:*org.sonar.samples.duplicated_lines_within_package*84*org.sonar.samples.duplicated_lines_within_same_class*60*</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>glob:*DuplicatedLinesInSameClass*60*DuplicatedLinesInSamePackage2*42*</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/event_categories/should_create_category.html b/tests/integration/tests/src/test/selenium/event_categories/should_create_category.html
deleted file mode 100644 (file)
index 0962cbb..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>should_create_category</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">should_create_category</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/event_categories</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>categName</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>${categName}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>description</td>
-       <td>desc of ${categName}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Category saved</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>event_categories</td>
-       <td>glob:*${categName}*desc of ${categName}*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/event_categories/should_delete_category.html b/tests/integration/tests/src/test/selenium/event_categories/should_delete_category.html
deleted file mode 100644 (file)
index 85f4e16..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>should_delete_category</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">should_delete_category</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/event_categories</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>categName</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>${categName}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>description</td>
-       <td>desc of ${categName}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Category saved</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>event_categories</td>
-       <td>glob:*${categName}*desc of ${categName}*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>delete_${categName}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Info : events with this category will not be deleted.</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Category deleted</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextNotPresent</td>
-       <td>${categName}</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/event_categories/should_edit_category.html b/tests/integration/tests/src/test/selenium/event_categories/should_edit_category.html
deleted file mode 100644 (file)
index 90cb63a..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>should_edit_category</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">should_edit_category</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/event_categories</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>date</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>OLD ${date}</td>
-       <td>categName</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>${categName}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>description</td>
-       <td>desc of ${categName}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Category saved</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>event_categories</td>
-       <td>glob:*${categName}*desc of ${categName}*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>edit_${categName}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>name</td>
-       <td>${categName}</td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>description</td>
-       <td>desc of ${categName}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>NEW ${date}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>description</td>
-       <td>NEW DESC ${date}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Category saved</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextNotPresent</td>
-       <td>${categName}</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/event_categories/should_validate_category.html b/tests/integration/tests/src/test/selenium/event_categories/should_validate_category.html
deleted file mode 100644 (file)
index 563dad6..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>should_validate_category</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">should_validate_category</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/event_categories</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Name is empty</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Description is empty</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/events/create_event_on_last_snapshot.html b/tests/integration/tests/src/test/selenium/events/create_event_on_last_snapshot.html
deleted file mode 100644 (file)
index 3f6c037..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>create_event_on_last_snapshot</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">create_event_on_last_snapshot</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Add an event</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Add an event</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getMilliseconds()}</td>
-       <td>eventName</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>event_name</td>
-       <td>${eventName}</td>
-</tr>
-<tr>
-       <td>assertNotVisible</td>
-       <td>event_cat_desc_Version</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>event_category</td>
-       <td>label=Version</td>
-</tr>
-<tr>
-       <td>assertVisible</td>
-       <td>event_cat_desc_Version</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>event_description</td>
-       <td>the description</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>events</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>events</td>
-       <td>glob:*${eventName}*</td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/events/create_event_with_special_characters.html b/tests/integration/tests/src/test/selenium/events/create_event_with_special_characters.html
deleted file mode 100644 (file)
index 17f6816..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>create_event_with_special_characters</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">create_event_with_special_characters</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Add an event</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Add an event</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getMilliseconds().toString() + &quot;à l'été&quot;}</td>
-       <td>eventName</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>event_name</td>
-       <td>${eventName}</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>event_category</td>
-       <td>label=Version</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>event_description</td>
-       <td>the description</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>widget_events</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>events</td>
-       <td>glob:*${eventName}*</td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>edit_event_${eventName}</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/events/create_event_without_snapshot.html b/tests/integration/tests/src/test/selenium/events/create_event_without_snapshot.html
deleted file mode 100644 (file)
index 49bea06..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>create_event_without_snapshot</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">create_event_without_snapshot</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Add an event</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Add an event</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getMilliseconds()}</td>
-       <td>date</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>event_name</td>
-       <td>${date}</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>event_category</td>
-       <td>label=Version</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>event_event_date_1i</td>
-       <td>label=2006</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>event_description</td>
-       <td>the description</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>event_event_date_2i</td>
-       <td>label=January</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>event_event_date_3i</td>
-       <td>label=31</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>events</td>
-       <td>glob:*2006-01-31*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>events</td>
-       <td>glob:*${date}*</td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>snapshot_title</td>
-       <td>glob:*Version ${date}*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/events/no_events_widget_on_module_and_package.html b/tests/integration/tests/src/test/selenium/events/no_events_widget_on_module_and_package.html
deleted file mode 100644 (file)
index 189ed9c..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>no_events_widget_on_module_and_package</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">no_events_widget_on_module_and_package</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests.modules:parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>widget_events</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests.modules:module_a</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>widget_events</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests.modules:submodule_a1:org.codehaus.sonar.samples.samplewithmodules.submodulea1</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>widget_events</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/events/should_not_create_events_if_anonymous.html b/tests/integration/tests/src/test/selenium/events/should_not_create_events_if_anonymous.html
deleted file mode 100644 (file)
index 27d2412..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>should_not_create_events_if_anonymous</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">should_not_create_events_if_anonymous</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>link=Add an event</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/events/should_validate_event_on_creation.html b/tests/integration/tests/src/test/selenium/events/should_validate_event_on_creation.html
deleted file mode 100644 (file)
index 9cba768..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>should_validate_event_on_creation</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">should_validate_event_on_creation</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Add an event</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Add an event</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getMilliseconds()}</td>
-       <td>date</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>event_description</td>
-       <td>the description</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>event_form_errors</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForNotText</td>
-       <td>events</td>
-       <td>glob:*${date}*</td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>event_submit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>event_form_errors</td>
-       <td>glob:*Name is too short*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/exclusions/SONAR-1115-do-not-exclude-unit-tests.html b/tests/integration/tests/src/test/selenium/exclusions/SONAR-1115-do-not-exclude-unit-tests.html
deleted file mode 100644 (file)
index b933ae6..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-1115-do-not-exclude-unit-tests</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-1115-do-not-exclude-unit-tests</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:exclusions</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>4</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_tests</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_FIL</td>
-       <td>glob:*ClassToExcludeTest*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/exclusions/cobertura_exclusions.html b/tests/integration/tests/src/test/selenium/exclusions/cobertura_exclusions.html
deleted file mode 100644 (file)
index 770b2fe..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>cobertura_exclusions</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">cobertura_exclusions</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:exclusions</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_failures</td>
-       <td>1</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>75.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>4</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_line_coverage</td>
-       <td>13.3%</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_line_coverage</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>col_FIL</td>
-       <td>glob:*ClassToExclude*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/exclusions/cpd_exclusions.html b/tests/integration/tests/src/test/selenium/exclusions/cpd_exclusions.html
deleted file mode 100644 (file)
index 9a24ea1..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>cpd_exclusions</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">cpd_exclusions</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:exclusions</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_duplicated_lines_density</td>
-       <td>0.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_duplicated_lines</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_duplicated_blocks</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_duplicated_files</td>
-       <td>0</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/exclusions/javancss_exclusions.html b/tests/integration/tests/src/test/selenium/exclusions/javancss_exclusions.html
deleted file mode 100644 (file)
index e57babe..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>javancss_exclusions</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">javancss_exclusions</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:exclusions</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>75</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_classes</td>
-       <td>4</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_packages</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_functions</td>
-       <td>8</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/exclusions/set_exclusions_from_project_settings_page.html b/tests/integration/tests/src/test/selenium/exclusions/set_exclusions_from_project_settings_page.html
deleted file mode 100644 (file)
index d585b1f..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>set_exclusions_from_project_settings_page</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">set_exclusions_from_project_settings_page</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/metrics</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Settings</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>exclusion_pattern_0</td>
-       <td>org/sonar/exclude/**</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>exclusion_pattern_1</td>
-       <td>**/*Bean.java</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_exclusions</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>exclusion_pattern_0</td>
-       <td>exact:org/sonar/exclude/**</td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>exclusion_pattern_1</td>
-       <td>exact:**/*Bean.java</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>delete_exclusions</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Are you sure you want to delete all exclusion filters ?</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>exclusion_pattern_0</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>exclusion_pattern_1</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/filters/anonymous-default-filters.html b/tests/integration/tests/src/test/selenium/filters/anonymous-default-filters.html
deleted file mode 100644 (file)
index 845f037..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>anonymous-default-filters</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">anonymous-default-filters</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>filter-tabs</td>
-       <td>glob:*Projects*Treemap*</td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>filter-tabs</td>
-       <td>glob:*favourites*</td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>results</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>results_count</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>results-head</td>
-       <td>glob:*Name*date*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/filters/create-advanced-filter.html b/tests/integration/tests/src/test/selenium/filters/create-advanced-filter.html
deleted file mode 100644 (file)
index e435b19..0000000
+++ /dev/null
@@ -1,150 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>create-advanced-filter</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">create-advanced-filter</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>name</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Add filter</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>${name}</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>q-DIR</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>q-TRK</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>metric-0</td>
-       <td>label=Lines of code</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>op-0</td>
-       <td>label=Greater than</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>val-0</td>
-       <td>100</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>metric-1</td>
-       <td>label=Complexity /class</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>op-1</td>
-       <td>label=Less or equals</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>val-1</td>
-       <td>20</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Advanced search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>lang-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>key_regexp</td>
-       <td>org.apache.*</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>date_operator</td>
-       <td>label=During last</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>date_value</td>
-       <td>20</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>//input[@value='Save &amp; Preview']</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>results</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>results</td>
-       <td>glob:*org.apache.struts.*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>results-head</td>
-       <td>glob:*Lines of code*Complexity*</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Delete</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Do you want to delete this filter ?</td>
-       <td></td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/filters/create-and-delete-filter.html b/tests/integration/tests/src/test/selenium/filters/create-and-delete-filter.html
deleted file mode 100644 (file)
index ba4efd1..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>create-and-delete-filter</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">create-and-delete-filter</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Add filter</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>name</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>${name}</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>shared</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>q-DIR</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>q-TRK</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>metric-0</td>
-       <td>label=Lines of code</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>op-0</td>
-       <td>label=Greater than</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>val-0</td>
-       <td>100</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>//input[@value='Save &amp; Preview']</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>results</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>results</td>
-       <td>glob:*org.apache.struts.*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>filter-tabs</td>
-       <td>glob:*${name}*</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Delete</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Do you want to delete this filter ?</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Filter deleted</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/filters/default-filters-console-for-admins-only.html b/tests/integration/tests/src/test/selenium/filters/default-filters-console-for-admins-only.html
deleted file mode 100644 (file)
index 1773385..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>default-filters-console-for-admins-only</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">default-filters-console-for-admins-only</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/admin_filters/index</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>login_form</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/filters/default-filters-console.html b/tests/integration/tests/src/test/selenium/filters/default-filters-console.html
deleted file mode 100644 (file)
index 2e70efc..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>default-filters-console</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">default-filters-console</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/admin_filters/index</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>admin_console</td>
-       <td>glob:*Projects*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>admin_console</td>
-       <td>glob:*My favourites*</td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>shared</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/filters/set-favourite-project.html b/tests/integration/tests/src/test/selenium/filters/set-favourite-project.html
deleted file mode 100644 (file)
index d3fa6b5..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>set-favourite-project</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">set-favourite-project</td></tr>
-</thead><tbody>
-       <tr>
-               <td>open</td>
-               <td>/sessions/logout</td>
-               <td></td>
-       </tr>
-       <tr>
-               <td>open</td>
-               <td>/sessions/login</td>
-               <td></td>
-       </tr>
-       <tr>
-               <td>type</td>
-               <td>login</td>
-               <td>admin</td>
-       </tr>
-       <tr>
-               <td>type</td>
-               <td>password</td>
-               <td>admin</td>
-       </tr>
-       <tr>
-               <td>clickAndWait</td>
-               <td>commit</td>
-               <td></td>
-       </tr>
-
-<tr>
-       <td>open</td>
-       <td>/</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>filter-tabs</td>
-       <td>glob:*favourites*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=My favourites</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>results</td>
-       <td>glob:*Struts*</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>storeAttribute</td>
-       <td>xpath=//div[@id='snapshot_title']//a[@class='notfav']/@id</td>
-       <td>favId</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>id=${favId}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>css=#snapshot_title a.fav</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=My favourites</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>results</td>
-       <td>glob:*Struts*</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>css=#snapshot_title a.fav</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>css=#snapshot_title a.notfav</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/filters/treemap-filter.html b/tests/integration/tests/src/test/selenium/filters/treemap-filter.html
deleted file mode 100644 (file)
index 43524e6..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>treemap-filter</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">treemap-filter</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Treemap</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>treemap</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>treemap</td>
-       <td>glob:*Struts*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/footer-data.html b/tests/integration/tests/src/test/selenium/footer-data.html
deleted file mode 100644 (file)
index d036fe1..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>footer-data</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">footer-data</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>ftlinks</td>
-       <td>glob:*SonarSource*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>ftlinks</td>
-       <td>glob:*LGPL*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>ftlinks</td>
-       <td>glob:*v.2.*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/google_analytics_plugin/activate_google_analytics.html b/tests/integration/tests/src/test/selenium/google_analytics_plugin/activate_google_analytics.html
deleted file mode 100644 (file)
index 6ae5aaf..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>activate_google_analytics</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">activate_google_analytics</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>UA-1234567-8</td>
-       <td>ACCOUNT_ID</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Settings</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Google analytics</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Account key</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>sonar.google-analytics.account</td>
-       <td>${ACCOUNT_ID}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Google analytics</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Account key</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${ACCOUNT_ID}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>ft</td>
-       <td>var pageTracker = _gat._getTracker(&quot;${ACCOUNT_ID}&quot;);</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/google_analytics_plugin/deactivate_google_analytics.html b/tests/integration/tests/src/test/selenium/google_analytics_plugin/deactivate_google_analytics.html
deleted file mode 100644 (file)
index d7956fe..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>desactive_google_analytics_and_test_javascript_is_not_present</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">desactive_google_analytics_and_test_javascript_is_not_present</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Settings</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Google analytics</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Account key</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>sonar.google-analytics.account</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Parameters updated</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>var pageTracker = _gat._getTracker</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/hotspots/ccn_hotspot.html b/tests/integration/tests/src/test/selenium/hotspots/ccn_hotspot.html
deleted file mode 100644 (file)
index 696531d..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>ccn_hotspot</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">ccn_hotspot</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.apache.struts:struts-parent?page=org.sonar.plugins.core.hotspots.GwtHotspots</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>complexity-hotspot</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>complexity-hotspot</td>
-       <td>glob:*ValidWhenLexer*273*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>complexity-hotspot</td>
-       <td>glob:*RequestProcessor*163*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>more-complexity</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>content</td>
-       <td>glob:*Complexity*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/hotspots/duplicated_lines_hotspot.html b/tests/integration/tests/src/test/selenium/hotspots/duplicated_lines_hotspot.html
deleted file mode 100644 (file)
index 9eda021..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>duplicated_lines_hotspot</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">duplicated_lines_hotspot</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.apache.struts:struts-parent?page=org.sonar.plugins.core.hotspots.GwtHotspots&amp;locale=en</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>duplicated_lines-hotspot</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>duplicated_lines-hotspot</td>
-       <td>glob:*ELRadioTag*</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>duplicated_lines-hotspot</td>
-       <td>glob:*ELCheckboxTag*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/hotspots/function_complexity_hotspot.html b/tests/integration/tests/src/test/selenium/hotspots/function_complexity_hotspot.html
deleted file mode 100644 (file)
index 2d20582..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>function_complexity_hotspot</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">function_complexity_hotspot</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.apache.struts:struts-parent?page=org.sonar.plugins.core.hotspots.GwtHotspots</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>function_complexity-hotspot</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>function_complexity-hotspot</td>
-       <td>glob:*ELImgTagBeanInfo*45.0*</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>function_complexity-hotspot</td>
-       <td>glob:*ELTextTagBeanInfo*39.0*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/hotspots/no_measures.html b/tests/integration/tests/src/test/selenium/hotspots/no_measures.html
deleted file mode 100644 (file)
index 16430de..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>no_measures</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">no_measures</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.sonar.tests:reference:org.sonar.samples.duplicated_lines_with_other_package2?page=org.sonar.plugins.core.hotspots.GwtHotspots</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>test_execution_time-hotspot</td>
-       <td>glob:*No measures*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/hotspots/popup-on-rules.html b/tests/integration/tests/src/test/selenium/hotspots/popup-on-rules.html
deleted file mode 100644 (file)
index cd30494..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>popup-on-rules</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">popup-on-rules</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.sonar.tests:reference?page=org.sonar.plugins.core.hotspots.GwtHotspots</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>rule0</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForPopUp</td>
-       <td>rule</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectWindow</td>
-       <td>rule</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertLocation</td>
-       <td>glob:*checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck*</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Magic Number</td>
-       <td></td>
-</tr>
-<tr>
-       <td>close</td>
-       <td>rule</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/hotspots/rules_violations_hotspot.html b/tests/integration/tests/src/test/selenium/hotspots/rules_violations_hotspot.html
deleted file mode 100644 (file)
index 3775c9b..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>rules_violations_hotspot</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">rules_violations_hotspot</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.sonar.tests:reference?page=org.sonar.plugins.core.hotspots.GwtHotspots</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>violated-files-hotspot</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>violated-files-hotspot</td>
-       <td>glob:*Utf8Characters*0*0*9*</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>css=#violated-files-hotspot a:contains('Utf8Characters')</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectWindow</td>
-       <td>resource</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>pageselector</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Violations</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*Unused local variable*</td>
-</tr>
-<tr>
-       <td>close</td>
-       <td>resource</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/hotspots/test_execution_time_hotspot.html b/tests/integration/tests/src/test/selenium/hotspots/test_execution_time_hotspot.html
deleted file mode 100644 (file)
index 6e894e9..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>test_execution_time_hotspot</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">test_execution_time_hotspot</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.sonar.tests:reference?page=org.sonar.plugins.core.hotspots.GwtHotspots</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>test_execution_time-hotspot</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>test_execution_time-hotspot</td>
-       <td>glob:*ClassUnderTestTest*ms*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>test_execution_time-hotspot</td>
-       <td>glob:*InnerClassTest*ms*</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=ClassUnderTestTest</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectWindow</td>
-       <td>resource</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>pageselector</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*Duration*</td>
-</tr>
-<tr>
-       <td>close</td>
-       <td>resource</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/hotspots/violations_hotspot.html b/tests/integration/tests/src/test/selenium/hotspots/violations_hotspot.html
deleted file mode 100644 (file)
index b867fe1..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>violations_hotspot</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">violations_hotspot</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.sonar.tests:reference?page=org.sonar.plugins.core.hotspots.GwtHotspots</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>rules-hotspot</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>rules-hotspot</td>
-       <td>glob:*Unused local variable*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Magic Number</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>pageselector</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Rule</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/i18n/default_locale_is_english.html b/tests/integration/tests/src/test/selenium/i18n/default_locale_is_english.html
deleted file mode 100644 (file)
index a9be6c4..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>default_locale_is_english</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">default_locale_is_english</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference?locale=foo</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>snapshot_title</td>
-       <td>regexp:.*Jan.*|.*Feb.*|.*Mar.*|.*Apr.*|.*May.*|.*Jun.*|.*Jul.*|.*Aug.*|.*Sep.*|.*Oct.*|.*Nov.*|.*Dec.*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>100.0%</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/i18n/french-france.html b/tests/integration/tests/src/test/selenium/i18n/french-france.html
deleted file mode 100644 (file)
index 39531c0..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>french-france</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">french-france</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference?locale=fr-FR</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>snapshot_title</td>
-       <td>regexp:.*janvier.*|.*février.*|.*mars.*|.*avril.*|.*mai.*|.*juin.*|.*juillet.*|.*août.*|.*septembre.*|.*octobre.*|.*novembre.*|.*décembre.*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>100,0%</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/i18n/french-switzerland.html b/tests/integration/tests/src/test/selenium/i18n/french-switzerland.html
deleted file mode 100644 (file)
index b8f9756..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>french-switzerland</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">french-switzerland</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference?locale=fr-CH</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>snapshot_title</td>
-       <td>regexp:.*janvier.*|.*février.*|.*mars.*|.*avril.*|.*mai.*|.*juin.*|.*juillet.*|.*août.*|.*septembre.*|.*octobre.*|.*novembre.*|.*décembre.*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>100.0%</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/i18n/french.html b/tests/integration/tests/src/test/selenium/i18n/french.html
deleted file mode 100644 (file)
index 5c3e347..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>french</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">french</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference?locale=fr</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>snapshot_title</td>
-       <td>regexp:.*janvier.*|.*février.*|.*mars.*|.*avril.*|.*mai.*|.*juin.*|.*juillet.*|.*août.*|.*septembre.*|.*octobre.*|.*novembre.*|.*décembre.*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>100,0%</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/i18n/japanese_duplications.html b/tests/integration/tests/src/test/selenium/i18n/japanese_duplications.html
deleted file mode 100644 (file)
index 7b9e18c..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>japanese_duplications</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">japanese_duplications</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:sjis-charset</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_duplicated_files</td>
-       <td>3</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_duplicated_files</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=AppDuplication</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>pageselector</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>gwt-DuplicationsPanel</td>
-       <td>glob:*expand*</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>expand-source-panel-org_sonar_tests:sjis-charset:com_test_App</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>source-panel-org_sonar_tests:sjis-charset:com_test_App</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>source-panel-org_sonar_tests:sjis-charset:com_test_App</td>
-       <td>glob:*証明書パス構築に失敗しました。*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/i18n/japanese_sources.html b/tests/integration/tests/src/test/selenium/i18n/japanese_sources.html
deleted file mode 100644 (file)
index d8aabd0..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>japanese_sources</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">japanese_sources</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:sjis-charset</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_classes</td>
-       <td>3</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_classes</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=AppDuplication</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>pageselector</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>sourcePanel</td>
-       <td>glob:*public class AppDuplication*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>sourcePanel</td>
-       <td>glob:*証明書パス構築に失敗しました。*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/java-inner-classes/dashboard.html b/tests/integration/tests/src/test/selenium/java-inner-classes/dashboard.html
deleted file mode 100644 (file)
index 6e39b39..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>dashboard</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">dashboard</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:java-inner-classes</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_classes</td>
-       <td>11</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_packages</td>
-       <td>1</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_functions</td>
-       <td>16</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/libraries/display_tests.html b/tests/integration/tests/src/test/selenium/libraries/display_tests.html
deleted file mode 100644 (file)
index 3b13b63..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>display_tests</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">display_tests</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.apache.struts:struts-parent?page=org.sonar.plugins.design.ui.libraries.LibrariesPage</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>libs-org.apache.struts:struts-extras</td>
-       <td>glob:*javax.servlet*</td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>libs-org.apache.struts:struts-extras</td>
-       <td>glob:*junit*</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>//span[@id='testCb']/input</td>
-       <td>Display test libraries</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>libs-org.apache.struts:struts-extras</td>
-       <td>glob:*javax.servlet*junit*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/libraries/keyword_filter.html b/tests/integration/tests/src/test/selenium/libraries/keyword_filter.html
deleted file mode 100644 (file)
index b25387b..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>keyword_filter</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">keyword_filter</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.apache.struts:struts-parent?page=org.sonar.plugins.design.ui.libraries.LibrariesPage</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>libs-org.apache.struts:struts-core</td>
-       <td>glob:*antlr*commons-io*</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>keywordFilter</td>
-       <td>commons</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>libs-org.apache.struts:struts-core</td>
-       <td>glob:*antlr*</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>libs-org.apache.struts:struts-core</td>
-       <td>glob:*commons-io*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/libraries/module_libraries.html b/tests/integration/tests/src/test/selenium/libraries/module_libraries.html
deleted file mode 100644 (file)
index d2b1fdc..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>module_libraries</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">module_libraries</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/plugins/resource/org.apache.struts:struts-parent?page=org.sonar.plugins.design.ui.libraries.LibrariesPage</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>libs-org.apache.struts:struts-parent</td>
-       <td>glob:*Struts*1.3.9*No libraries*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>libs-org.apache.struts:struts-core</td>
-       <td>glob:*Struts Core*1.3.9*antlr:antlr*commons-io:commons-io*</td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>libs-org.apache.struts:struts-el</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/manual_metrics/predefined_metrics.html b/tests/integration/tests/src/test/selenium/manual_metrics/predefined_metrics.html
deleted file mode 100644 (file)
index 2309d1a..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-  <link rel="selenium.base" href="http://localhost:9000/"/>
-  <title>predefined_metrics</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-  <thead>
-    <tr>
-      <td rowspan="1" colspan="3">predefined_metrics</td>
-    </tr>
-  </thead>
-  <tbody>
-    <tr>
-      <td>open</td>
-      <td>/sessions/logout</td>
-      <td></td>
-    </tr>
-    <tr>
-      <td>open</td>
-      <td>/sessions/login</td>
-      <td></td>
-    </tr>
-       <tr>
-               <td>type</td>
-               <td>login</td>
-               <td>admin</td>
-       </tr>
-    <tr>
-      <td>type</td>
-      <td>password</td>
-      <td>admin</td>
-    </tr>
-    <tr>
-      <td>clickAndWait</td>
-      <td>commit</td>
-      <td></td>
-    </tr>
-
-    <tr>
-      <td>open</td>
-      <td>/metrics</td>
-      <td></td>
-    </tr>
-    <tr>
-      <td>assertTextPresent</td>
-      <td>Business value</td>
-      <td></td>
-    </tr>
-    <tr>
-      <td>assertTextPresent</td>
-      <td>Team size</td>
-      <td></td>
-    </tr>
-
-  </tbody>
-</table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/many-source-dirs.html b/tests/integration/tests/src/test/selenium/many-source-dirs.html
deleted file mode 100644 (file)
index 85e5052..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>many-source-dirs</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">many-source-dirs</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:many-source-dirs</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_classes</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_functions</td>
-       <td>4</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>4</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_failures</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_violations</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_FIL</td>
-       <td>glob:*FirstClass*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_FIL</td>
-       <td>glob:*SecondClass*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/measures_drilldown/SONAR-1016_file_level_resources_only.html b/tests/integration/tests/src/test/selenium/measures_drilldown/SONAR-1016_file_level_resources_only.html
deleted file mode 100644 (file)
index 7590c90..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9001/" />
-<title>SONAR-1016_file_level_resources_only</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-1016_file_level_resources_only</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/measures/org.sonar.tests:reference?metric=classes</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextNotPresent</td>
-       <td>InnerClass$InnerClassInside</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>InnerClass</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/measures_drilldown/SONAR-268.html b/tests/integration/tests/src/test/selenium/measures_drilldown/SONAR-268.html
deleted file mode 100644 (file)
index 62eaccd..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>SONAR-268</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-268</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/measures/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>338</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>//div[@id='col_DIR']/table/tbody/tr[1]/td[1]/a[1]/img</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>hdnav</td>
-       <td>glob:*org.sonar.samples*</td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Lines of code</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>121</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/measures_drilldown/SONAR-564_show_zero_measures.html b/tests/integration/tests/src/test/selenium/measures_drilldown/SONAR-564_show_zero_measures.html
deleted file mode 100644 (file)
index 3092f17..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-564_show_zero_measures</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-564_show_zero_measures</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_coverage</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_DIR</td>
-       <td>glob:*[default]*0.0%*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_FIL</td>
-       <td>glob:*ClassOnDefaultPackage*0.0%*InnerClass*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/measures_drilldown/dont-display-resources-without-violations.html b/tests/integration/tests/src/test/selenium/measures_drilldown/dont-display-resources-without-violations.html
deleted file mode 100644 (file)
index 0becf2e..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>dont-display-resources-without-violations</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">dont-display-resources-without-violations</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/violations/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Blocker</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>No violations</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextNotPresent</td>
-       <td>Avoid Enum As Identifier</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/measures_drilldown/show_from_modules_to_classes.html b/tests/integration/tests/src/test/selenium/measures_drilldown/show_from_modules_to_classes.html
deleted file mode 100644 (file)
index be826c9..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>show_from_modules_to_classes</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">show_from_modules_to_classes</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/measures/org.sonar.tests.modules:parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>39</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_PRJ</td>
-       <td>glob:*Module A*Sub-module A1*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_DIR</td>
-       <td>glob:*org.codehaus.sonar.samples*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_FIL</td>
-       <td>glob:*HelloA1*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/modules.html b/tests/integration/tests/src/test/selenium/modules.html
deleted file mode 100644 (file)
index 72c70ca..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>modules</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">modules</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests.modules:parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_packages</td>
-       <td>4</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_classes</td>
-       <td>4</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>39</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/components/index/org.sonar.tests.modules:parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Module A</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Module B</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextNotPresent</td>
-       <td>Module to skip</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Module A</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Module A</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>21</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_classes</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Components</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Sub-module A1</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Sub-module A1</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>12</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_classes</td>
-       <td>1</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/plugins/settings_on_core_plugins.html b/tests/integration/tests/src/test/selenium/plugins/settings_on_core_plugins.html
deleted file mode 100644 (file)
index 9a81624..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>settings_on_core_plugins</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">settings_on_core_plugins</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>link=Log in</td>
-       <td>Log in</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/settings</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>plugins</td>
-       <td>glob:*Clover*Core*Design*Findbugs*Google analytics*Squid*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/SONAR-560_remove_a_rule_from_sonar_way.html b/tests/integration/tests/src/test/selenium/profiles/SONAR-560_remove_a_rule_from_sonar_way.html
deleted file mode 100644 (file)
index eec3f8c..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>SONAR-560_remove_a_rule_from_sonar_way</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-560_remove_a_rule_from_sonar_way</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Sonar way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_plugin</td>
-       <td>label=Checkstyle</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>searchtext</td>
-       <td>Need braces</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_status</td>
-       <td>label=Inactive</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>result_table</td>
-       <td>glob:*Need Braces*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/activate-profile.html b/tests/integration/tests/src/test/selenium/profiles/activate-profile.html
deleted file mode 100644 (file)
index 454fb7b..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>activate_profile</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">activate_profile</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>chooseOkOnNextConfirmation</td>
-       <td></td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>activate_java_Sun%20checks</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Are you sure that you want to set the profile 'Sun checks' as default ?</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>is_active_java_Sun%20checks</td>
-       <td></td>
-</tr>
-<tr>
-       <td>chooseOkOnNextConfirmation</td>
-       <td></td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>activate_java_Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Are you sure that you want to set the profile 'Sonar way' as default ?</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/backup-profile.html b/tests/integration/tests/src/test/selenium/profiles/backup-profile.html
deleted file mode 100644 (file)
index 88b7fca..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>backup-profile</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">backup-profile</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>java</td>
-       <td>LANGUAGE</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>Integration%20tests</td>
-       <td>PROFILE</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>storeText</td>
-       <td>activated_rules_${LANGUAGE}_${PROFILE}</td>
-       <td>NUMBER_OF_RULES</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/api/rules.xml?categories=&amp;language=${LANGUAGE}&amp;plugins=&amp;priorities=&amp;profile=${PROFILE}&amp;status=ACTIVE</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertXpathCount</td>
-       <td>//rule</td>
-       <td>${NUMBER_OF_RULES}</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/bulk-change.html b/tests/integration/tests/src/test/selenium/profiles/bulk-change.html
deleted file mode 100644 (file)
index 42c28dc..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>bulk-change</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">bulk-change</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>java</td>
-       <td>LANGUAGE</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{'copied_'+(new Date()).getTime()}</td>
-       <td>PROFILE</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>answerOnNextPrompt</td>
-       <td>${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>copy_${LANGUAGE}_Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>answerOnNextPrompt</td>
-       <td>${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-${LANGUAGE}-${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectAndWait</td>
-       <td>bulk_action</td>
-       <td>label=Deactivate all</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>activated_rules_${LANGUAGE}_${PROFILE}</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-${LANGUAGE}-${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>searchtext</td>
-       <td>unused</td>
-</tr>
-<tr>
-       <td>removeSelection</td>
-       <td>search_plugin</td>
-       <td>label=Any</td>
-</tr>
-<tr>
-       <td>addSelection</td>
-       <td>search_plugin</td>
-       <td>label=Checkstyle</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_status</td>
-       <td>label=Inactive</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectAndWait</td>
-       <td>bulk_action</td>
-       <td>label=Activate all</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>activated_rules_${LANGUAGE}_${PROFILE}</td>
-       <td>1</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/cancel-profile-creation.html b/tests/integration/tests/src/test/selenium/profiles/cancel-profile-creation.html
deleted file mode 100644 (file)
index f18e0fe..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>cancel-profile-creation</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">cancel-profile-creation</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>create-link-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>canceled-profile</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Cancel</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>//table[@id='profiles_java']/thead/tr/th[1]</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>profiles_java</td>
-       <td>glob:*canceled-profile*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/copy-profile.html b/tests/integration/tests/src/test/selenium/profiles/copy-profile.html
deleted file mode 100644 (file)
index 5587260..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>copy-profile</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">copy-profile</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>javascript{'copied_'+(new Date()).getTime()}</td>
-       <td>PROFILE</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>storeText</td>
-       <td>activated_rules_java_Sonar%20way</td>
-       <td>RULES_COUNT</td>
-</tr>
-<tr>
-       <td>answerOnNextPrompt</td>
-       <td>${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>copy_java_Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>answerOnNextPrompt</td>
-       <td>${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>activated_rules_java_${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>activated_rules_java_${PROFILE}</td>
-       <td>${RULES_COUNT}</td>
-</tr>
-<tr>
-       <td>chooseOkOnNextConfirmation</td>
-       <td></td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>delete_java_${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Are you sure that you want to delete the profile '${PROFILE}' ?</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/create_java_profile.html b/tests/integration/tests/src/test/selenium/profiles/create_java_profile.html
deleted file mode 100644 (file)
index c46324a..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>create_java_profile</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">create_java_profile</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>java</td>
-       <td>LANGUAGE</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{'test_profile_java'+(new Date()).getTime()}</td>
-       <td>PROFILE</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>create-link-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForValue</td>
-       <td>name</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>${PROFILE}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>create-submit-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Quality profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>delete_${LANGUAGE}_${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Are you sure that you want to delete the profile '${PROFILE}' ?</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Profile '${PROFILE}' is deleted.</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/dashboard_links_to_used_profile.html b/tests/integration/tests/src/test/selenium/profiles/dashboard_links_to_used_profile.html
deleted file mode 100644 (file)
index a72547c..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>dashboard_links_to_used_profile</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">dashboard_links_to_used_profile</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>resource_profile</td>
-       <td>Integration tests</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Integration tests</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>glob:*Quality profiles*Integration tests*</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/delete-profile.html b/tests/integration/tests/src/test/selenium/profiles/delete-profile.html
deleted file mode 100644 (file)
index 35cce1e..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>delete-profile</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">delete-profile</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>java</td>
-       <td>LANGUAGE</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{'test_profile_'+(new Date()).getTime()}</td>
-       <td>PROFILE</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>create-link-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForValue</td>
-       <td>name</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>${PROFILE}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>create-submit-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>chooseOkOnNextConfirmation</td>
-       <td></td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>delete_${LANGUAGE}_${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Are you sure that you want to delete the profile '${PROFILE}' ?</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Profile '${PROFILE}' is deleted</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/display-permalinks-to-tools.html b/tests/integration/tests/src/test/selenium/profiles/display-permalinks-to-tools.html
deleted file mode 100644 (file)
index c9b4653..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>display-permalinks-to-tools</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">display-permalinks-to-tools</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles/index</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Sonar way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Permalinks</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>permalinks-table</td>
-       <td>glob:*Checkstyle*Findbugs*PMD*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/do-not-copy-with-blank-name.html b/tests/integration/tests/src/test/selenium/profiles/do-not-copy-with-blank-name.html
deleted file mode 100644 (file)
index 27d4a82..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>do-not-copy-with-blank-name</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">do-not-copy-with-blank-name</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>javascript{'test_profile_java'+(new Date()).getTime()}</td>
-       <td>PROFILE</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>answerOnNextPrompt</td>
-       <td></td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotVisible</td>
-       <td>errormsg</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>copy_java_Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertPromptPresent</td>
-       <td>Name for the new profile</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertVisible</td>
-       <td>errormsg</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/do-not-copy-with-existing-name.html b/tests/integration/tests/src/test/selenium/profiles/do-not-copy-with-existing-name.html
deleted file mode 100644 (file)
index f03cf49..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-  <link rel="selenium.base" href=""/>
-  <title>profile_duplication_with_name_already_exists</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-  <thead>
-    <tr>
-      <td rowspan="1" colspan="3">profile_duplication_with_name_already_exists</td>
-    </tr>
-  </thead>
-  <tbody>
-    <tr>
-      <td>open</td>
-      <td>/sessions/logout</td>
-      <td></td>
-    </tr>
-    <tr>
-      <td>open</td>
-      <td>/sessions/login</td>
-      <td></td>
-    </tr>
-       <tr>
-               <td>type</td>
-               <td>login</td>
-               <td>admin</td>
-       </tr>
-    <tr>
-      <td>type</td>
-      <td>password</td>
-      <td>admin</td>
-    </tr>
-    <tr>
-      <td>clickAndWait</td>
-      <td>commit</td>
-      <td></td>
-    </tr>
-    <tr>
-      <td>open</td>
-      <td>/profiles</td>
-      <td></td>
-    </tr>
-
-    <tr>
-      <td>answerOnNextPrompt</td>
-      <td>Sonar way</td>
-      <td></td>
-    </tr>
-    <tr>
-      <td>clickAndWait</td>
-      <td>copy_java_Sonar%20way</td>
-      <td></td>
-    </tr>
-    <tr>
-      <td>assertPromptPresent</td>
-      <td>Name for the new profile</td>
-      <td></td>
-    </tr>
-    <tr>
-      <td>assertTextPresent</td>
-      <td>Name has already been taken</td>
-      <td></td>
-    </tr>
-
-  </tbody>
-</table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/do-not-create-profile-with-existing-name.html b/tests/integration/tests/src/test/selenium/profiles/do-not-create-profile-with-existing-name.html
deleted file mode 100644 (file)
index f476d88..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>do-not-create-profile-with-existing-name</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">do-not-create-profile-with-existing-name</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>create-link-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>Sonar way</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>create-submit-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>errormsg</td>
-       <td>glob:*already exist*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/do-not-delete-provided-profiles.html b/tests/integration/tests/src/test/selenium/profiles/do-not-delete-provided-profiles.html
deleted file mode 100644 (file)
index cb3544f..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>do-not-delete-provided-profiles</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">do-not-delete-provided-profiles</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>delete_java_Sonar%20way</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/link-profile-to-project.html b/tests/integration/tests/src/test/selenium/profiles/link-profile-to-project.html
deleted file mode 100644 (file)
index 7c92ed7..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>link-profile-to-project</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">link-profile-to-project</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Projects</td>
-       <td></td>
-</tr>
-<tr>
-       <td>addSelection</td>
-       <td>from</td>
-       <td>label=Sonar tests - reference</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>select_right</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>save</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Profile 'Sonar way' associated to 1 projects</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertSelectOptions</td>
-       <td>to</td>
-       <td>Sonar tests - reference</td>
-</tr>
-<tr>
-       <td>addSelection</td>
-       <td>to</td>
-       <td>label=Sonar tests - reference</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>select_left</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>save</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertSelectOptions</td>
-       <td>to</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/permalink-to-checkstyle-configuration.html b/tests/integration/tests/src/test/selenium/profiles/permalink-to-checkstyle-configuration.html
deleted file mode 100644 (file)
index 15f76b3..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>permalink-to-checkstyle-configuration</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">permalink-to-checkstyle-configuration</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles/export?format=checkstyle&amp;language=java&amp;name=Sonar%2520way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>//module[@name='Checker']</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//module[@name='Checker']/module[@name='TreeWalker']</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/permalink-to-default-checkstyle-configuration.html b/tests/integration/tests/src/test/selenium/profiles/permalink-to-default-checkstyle-configuration.html
deleted file mode 100644 (file)
index bac5068..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>permalink-to-default-checkstyle-configuration</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">permalink-to-default-checkstyle-configuration</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles/export?language=java&amp;format=checkstyle</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//module[@name='Checker']</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/permalink-to-pmd-configuration.html b/tests/integration/tests/src/test/selenium/profiles/permalink-to-pmd-configuration.html
deleted file mode 100644 (file)
index 5e5882c..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>permalink-to-pmd-configuration</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">permalink-to-pmd-configuration</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles/export?format=pmd&amp;language=java&amp;name=Sonar%2520way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>//ruleset</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//ruleset/rule</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/profile-overriden-by-maven-parameter.html b/tests/integration/tests/src/test/selenium/profiles/profile-overriden-by-maven-parameter.html
deleted file mode 100644 (file)
index 7b708f1..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>profile-overriden-by-maven-parameter</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">profile-overriden-by-maven-parameter</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:single-classes</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>resource_profile</td>
-       <td>single-classes</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=single-classes</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Quality profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>single-classes</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/provided-profiles-are-not-editable.html b/tests/integration/tests/src/test/selenium/profiles/provided-profiles-are-not-editable.html
deleted file mode 100644 (file)
index f482849..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>rule_provided_rules_profile_cant_be_modified</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">rule_provided_rules_profile_cant_be_modified</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//table[@id='result_table']//form[1]/input[@disabled='disabled'][1]</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/read-only-mode-when-anonymous-user.html b/tests/integration/tests/src/test/selenium/profiles/read-only-mode-when-anonymous-user.html
deleted file mode 100644 (file)
index e5bd248..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>read-only-mode-when-anonymous-user</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">read-only-mode-when-anonymous-user</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>activate_java_Sun%20checks</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>copy_java_Sun%20checks</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextNotPresent</td>
-       <td>Create</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>profiles_java</td>
-       <td>glob:*Copy*</td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>profiles_java</td>
-       <td>glob:*Delete*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/should_import_checkstyle_findbugs_pmd.html b/tests/integration/tests/src/test/selenium/profiles/should_import_checkstyle_findbugs_pmd.html
deleted file mode 100644 (file)
index 31ead32..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>should_import_checkstyle_findbugs_pmd</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">should_import_checkstyle_findbugs_pmd</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>create-link-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForValue</td>
-       <td>name</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>create-form-java</td>
-       <td>glob:*Checkstyle*Findbugs*PMD*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/profiles/user-profiles-are-editable.html b/tests/integration/tests/src/test/selenium/profiles/user-profiles-are-editable.html
deleted file mode 100644 (file)
index f5ab2fe..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>user-profiles-are-editable</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">user-profiles-are-editable</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>java</td>
-       <td>LANGUAGE</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{'test_profile_'+(new Date()).getTime()}</td>
-       <td>PROFILE</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>create-link-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForValue</td>
-       <td>name</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>${PROFILE}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>create-submit-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-${LANGUAGE}-${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_status</td>
-       <td>label=Inactive</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>verifyElementNotPresent</td>
-       <td>//form[1]/input[@disabled='disabled'][1]</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>delete_${LANGUAGE}_${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Are you sure that you want to delete the profile '${PROFILE}' ?</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/projects_columns/projects_columns_add_and_remove_column.html b/tests/integration/tests/src/test/selenium/projects_columns/projects_columns_add_and_remove_column.html
deleted file mode 100644 (file)
index c25039c..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>projects_columns_add_and_remove_column</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">projects_columns_add_and_remove_column</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>comment_lines</td>
-       <td>column_id</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/components/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>configure-on</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>select_add_column</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectAndWait</td>
-       <td>select_add_column</td>
-       <td>value=${column_id}</td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//span[@id=&quot;project_title_${column_id}&quot;]</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>remove_${column_id}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>//span[@id=&quot;project_title_${column_id}&quot;]</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/projects_columns/projects_columns_disable_and_enable_treemap.html b/tests/integration/tests/src/test/selenium/projects_columns/projects_columns_disable_and_enable_treemap.html
deleted file mode 100644 (file)
index f73961c..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>projects_columns_disable_and_enable_treemap</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">projects_columns_disable_and_enable_treemap</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>comment_lines</td>
-       <td>column_id</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/components/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>configure-on</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Disable treemap</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>//div[@id='treemap']</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Enable treemap</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//div[@id='treemap']</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/projects_columns/projects_columns_move_column_to_left_and_right.html b/tests/integration/tests/src/test/selenium/projects_columns/projects_columns_move_column_to_left_and_right.html
deleted file mode 100644 (file)
index dc1cee7..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>projects_columns_move_column_to_left_and_right</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">projects_columns_move_column_to_left_and_right</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>comment_lines</td>
-       <td>column_id</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/components/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>configure-on</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>select_add_column</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectAndWait</td>
-       <td>select_add_column</td>
-       <td>value=${column_id}</td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>move_right_${column_id}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>move_left_${column_id}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>move_left_${column_id}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>move_right_${column_id}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>move_left_${column_id}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>move_right_comment_lines</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>move_right_${column_id}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>move_left_${column_id}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>remove_${column_id}</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/projects_columns/projects_columns_remove_default_column_sort.html b/tests/integration/tests/src/test/selenium/projects_columns/projects_columns_remove_default_column_sort.html
deleted file mode 100644 (file)
index fe285d7..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>projects_columns_remove_default_column_sort</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">projects_columns_remove_default_column_sort</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>comment_lines</td>
-       <td>column_id</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/components/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>configure-on</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>select_add_column</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectAndWait</td>
-       <td>select_add_column</td>
-       <td>value=${column_id}</td>
-</tr>
-<tr>
-       <td>selectAndWait</td>
-       <td>select_default_sorting</td>
-       <td>value=${column_id}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>remove_${column_id}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertSelectedValue</td>
-       <td>select_default_sorting</td>
-       <td>project</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/projects_columns/projects_columns_update_default_column_sort.html b/tests/integration/tests/src/test/selenium/projects_columns/projects_columns_update_default_column_sort.html
deleted file mode 100644 (file)
index cb21e85..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>projects_columns_update_default_column_sort</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">projects_columns_update_default_column_sort</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>comment_lines</td>
-       <td>column_id</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/components/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>configure-on</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>select_add_column</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectAndWait</td>
-       <td>select_add_column</td>
-       <td>value=${column_id}</td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>default_sort_on_${column_id}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectAndWait</td>
-       <td>select_default_sorting</td>
-       <td>value=${column_id}</td>
-</tr>
-<tr>
-       <td>assertSelectedValue</td>
-       <td>select_default_sorting</td>
-       <td>${column_id}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>remove_${column_id}</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/reviews/create_then_edit_type.html b/tests/integration/tests/src/test/selenium/reviews/create_then_edit_type.html
deleted file mode 100644 (file)
index 62c422e..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>create_then_edit_type</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">create_then_edit_type</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/metrics</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{'type_'+(new Date()).getTime()}</td>
-       <td>REVIEW_TYPE_NAME</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{'description_'+(new Date()).getTime()}</td>
-       <td>REVIEW_TYPE_DESCRIPTION</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>metric_short_name</td>
-       <td>${REVIEW_TYPE_NAME}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>metric_description</td>
-       <td>${REVIEW_TYPE_DESCRIPTION}</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>metric_val_type</td>
-       <td>label=Percent</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${REVIEW_TYPE_NAME}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${REVIEW_TYPE_DESCRIPTION}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>edit_${REVIEW_TYPE_NAME}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>metric_short_name</td>
-       <td>${REVIEW_TYPE_NAME}</td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>metric_description</td>
-       <td>${REVIEW_TYPE_DESCRIPTION}</td>
-</tr>
-<tr>
-       <td>assertSelectedLabel</td>
-       <td>metric_val_type</td>
-       <td>Percent</td>
-</tr>
-<tr>
-       <td>chooseOkOnNextConfirmation</td>
-       <td></td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>delete_${REVIEW_TYPE_NAME}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Warning : all the measures will be deleted.</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/reviews/insert_then_delete_review_measure.html b/tests/integration/tests/src/test/selenium/reviews/insert_then_delete_review_measure.html
deleted file mode 100644 (file)
index aae0746..0000000
+++ /dev/null
@@ -1,196 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>insert_then_delete_review_measure</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">insert_then_delete_review_measure</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>javascript{'type_'+(new Date()).getTime()}</td>
-       <td>REVIEW_TYPE_NAME</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{'description_'+(new Date()).getTime()}</td>
-       <td>REVIEW_TYPE_DESCRIPTION</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>Sonar tests - reference</td>
-       <td>PROJECT_NAME</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>org.sonar.tests:reference</td>
-       <td>PROJECT_KEY</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/metrics</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>metric_short_name</td>
-       <td>${REVIEW_TYPE_NAME}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>metric_description</td>
-       <td>${REVIEW_TYPE_DESCRIPTION}</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>metric_val_type</td>
-       <td>label=Percent</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/${PROJECT_KEY}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>add_review</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>review_metric_id</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>review_metric_id</td>
-       <td>label=${REVIEW_TYPE_NAME}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>review_value</td>
-       <td>35.5</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>review_measure_date_1i</td>
-       <td>label=2008</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>review_measure_date_2i</td>
-       <td>label=January</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>review_measure_date_3i</td>
-       <td>label=20</td>
-</tr>
-<tr>
-       <td>storeValue</td>
-       <td>review_measure_date_1i</td>
-       <td>REVIEW_YEAR</td>
-</tr>
-<tr>
-       <td>storeValue</td>
-       <td>review_measure_date_2i</td>
-       <td>REVIEW_MONTH</td>
-</tr>
-<tr>
-       <td>storeValue</td>
-       <td>review_measure_date_3i</td>
-       <td>REVIEW_DAY</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>save_review</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>review_name_${REVIEW_TYPE_NAME}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>review_name_${REVIEW_TYPE_NAME}</td>
-       <td>${REVIEW_TYPE_NAME}</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>review_value_${REVIEW_TYPE_NAME}</td>
-       <td>35.5%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>review_date_${REVIEW_TYPE_NAME}</td>
-       <td>${REVIEW_YEAR}-0${REVIEW_MONTH}-${REVIEW_DAY}</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/metrics</td>
-       <td></td>
-</tr>
-<tr>
-       <td>chooseOkOnNextConfirmation</td>
-       <td></td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>delete_${REVIEW_TYPE_NAME}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Warning : all the measures will be deleted.</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/${PROJECT_KEY}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>review_name_${REVIEW_TYPE_NAME}</td>
-       <td></td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/reviews/reviews_should_not_create_review_in_futur.html b/tests/integration/tests/src/test/selenium/reviews/reviews_should_not_create_review_in_futur.html
deleted file mode 100644 (file)
index 9fef8d4..0000000
+++ /dev/null
@@ -1,127 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>reviews_should_not_create_review_in_futur</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">reviews_should_not_create_review_in_futur</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>javascript{'type_'+(new Date()).getTime()}</td>
-       <td>REVIEW_TYPE_NAME</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{'description_'+(new Date()).getTime()}</td>
-       <td>REVIEW_TYPE_DESCRIPTION</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>org.sonar.tests:reference</td>
-       <td>PROJECT_KEY</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>Sonar tests - reference</td>
-       <td>PROJECT_NAME</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/metrics</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>metric_short_name</td>
-       <td>${REVIEW_TYPE_NAME}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>metric_description</td>
-       <td>${REVIEW_TYPE_DESCRIPTION}</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>metric_val_type</td>
-       <td>label=Percent</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/${PROJECT_KEY}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>add_review</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>review_metric_id</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>review_metric_id</td>
-       <td>label=${REVIEW_TYPE_NAME}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>review_value</td>
-       <td>35.5</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>review_measure_date_1i</td>
-       <td>label=2014</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>save_review</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>error</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/ruby-api.html b/tests/integration/tests/src/test/selenium/ruby-api.html
deleted file mode 100644 (file)
index eb82f02..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>ruby-api</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">ruby-api</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Ruby API tests</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>sidebar</td>
-       <td>glob:*Ruby API tests*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Ruby API tests</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>result</td>
-       <td>OK</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/rules-on-tests.html b/tests/integration/tests/src/test/selenium/rules-on-tests.html
deleted file mode 100644 (file)
index 7eaa72d..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>rules-on-tests</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">rules-on-tests</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:rulesOnTests</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_major_violations</td>
-       <td>6</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Major</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextNotPresent</td>
-       <td>HelloTest</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Hello</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/SONAR-1000_quality_profile_with_space_or_dot.html b/tests/integration/tests/src/test/selenium/rules/SONAR-1000_quality_profile_with_space_or_dot.html
deleted file mode 100644 (file)
index d1d87c7..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>SONAR-1000_quality_profile_with_space_or_dot</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-1000_quality_profile_with_space_or_dot</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>javascript{'space dot. '+(new Date()).getTime()}</td>
-       <td>PROFILE</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>create-link-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForValue</td>
-       <td>name</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>name</td>
-       <td>${PROFILE}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>create-submit-java</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=${PROFILE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Quality profiles / java / ${PROFILE}</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/check_rules_extensions.html b/tests/integration/tests/src/test/selenium/rules/check_rules_extensions.html
deleted file mode 100644 (file)
index 1a249a0..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>check_rules_extensions</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">check_rules_extensions</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>Methods Count Check</td>
-       <td>CHECKSTYLE_EXTENSION</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>Maximum Methods Count Check</td>
-       <td>PMD_EXTENSION_1</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>Avoid if without using brace</td>
-       <td>PMD_EXTENSION_2</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_status</td>
-       <td>label=Inactive</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${CHECKSTYLE_EXTENSION}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${PMD_EXTENSION_1}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${PMD_EXTENSION_2}</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/copy_a_provided_profile_and_modify_a_rule_param.html b/tests/integration/tests/src/test/selenium/rules/copy_a_provided_profile_and_modify_a_rule_param.html
deleted file mode 100644 (file)
index 2e863a4..0000000
+++ /dev/null
@@ -1,156 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-  <link rel="selenium.base" href=""/>
-  <title>copy_a_provided_profile_and_modify_a_rule_param</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-  <thead>
-  <tr>
-    <td rowspan="1" colspan="3">copy_a_provided_profile_and_modify_a_rule_param</td>
-  </tr>
-  </thead>
-  <tbody>
-  <tr>
-    <td>store</td>
-    <td>javascript{'profile_'+(new Date()).getTime()}</td>
-    <td>PROFILE</td>
-  </tr>
-  <tr>
-    <td>open</td>
-    <td>/sessions/logout</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>open</td>
-    <td>/sessions/login</td>
-    <td></td>
-  </tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-  <tr>
-    <td>type</td>
-    <td>password</td>
-    <td>admin</td>
-  </tr>
-  <tr>
-    <td>clickAndWait</td>
-    <td>commit</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>open</td>
-    <td>/profiles</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>answerOnNextPrompt</td>
-    <td>${PROFILE}</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>clickAndWait</td>
-    <td>copy_java_Sonar%20way</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>assertPromptPresent</td>
-    <td>Name for the new profile</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>verifyTextPresent</td>
-    <td>${PROFILE}</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>assertElementPresent</td>
-    <td>rules-java-${PROFILE}</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>clickAndWait</td>
-    <td>rules-java-${PROFILE}</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>type</td>
-    <td>searchtext</td>
-    <td>Anon Inner Length</td>
-  </tr>
-  <tr>
-    <td>clickAndWait</td>
-    <td>submit_search</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>click</td>
-    <td>link=Anon Inner Length</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>type</td>
-    <td>value</td>
-    <td>5</td>
-  </tr>
-  <tr>
-    <td>click</td>
-    <td>//input[@name='commit' and @value='update']</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>type</td>
-    <td>searchtext</td>
-    <td>Anon Inner Length</td>
-  </tr>
-  <tr>
-    <td>clickAndWait</td>
-    <td>submit_search</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>click</td>
-    <td>link=Anon Inner Length</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>waitForTextPresent</td>
-    <td></td>
-    <td>anonymous inner classes</td>
-  </tr>
-  <tr>
-    <td>assertValue</td>
-    <td>value</td>
-    <td>5</td>
-  </tr>
-  <tr>
-    <td>open</td>
-    <td>/profiles</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>chooseOkOnNextConfirmation</td>
-    <td></td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>click</td>
-    <td>delete_java_${PROFILE}</td>
-    <td></td>
-  </tr>
-  <tr>
-    <td>assertConfirmation</td>
-    <td>Are you sure that you want to delete the profile '${PROFILE}' ?</td>
-    <td></td>
-  </tr>
-
-  </tbody>
-</table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/copy_and_edit_rule_template.html b/tests/integration/tests/src/test/selenium/rules/copy_and_edit_rule_template.html
deleted file mode 100644 (file)
index 9362eaa..0000000
+++ /dev/null
@@ -1,181 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>copy_and_edit_rule_template</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">copy_and_edit_rule_template</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>XPath rule template</td>
-       <td>RULE_PARENT</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{'My new rule ' + (new Date()).getTime()}</td>
-       <td>RULE_NAME</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>//FieldDeclaration</td>
-       <td>RULE_XPATH</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>//ClassDeclaration</td>
-       <td>RULE_XPATH_EDIT</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>That's too bad</td>
-       <td>RULE_MESSAGE</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Empty%20profile</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>searchtext</td>
-       <td>${RULE_PARENT}</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_status</td>
-       <td>label=Inactive</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=${RULE_PARENT}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>copy-pmd%3AXPathRule</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>rule[name]</td>
-       <td>${RULE_NAME}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>rule_param[message]</td>
-       <td>${RULE_MESSAGE}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>rule_param[xpath]</td>
-       <td>${RULE_XPATH}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>//input[@value='Create']</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>1 results</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${RULE_NAME}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=${RULE_NAME}</td>
-       <td></td>
-</tr>
-<!--<tr>
-       <td>waitForValue</td>
-       <td>value</td>
-       <td>${RULE_XPATH}</td>
-</tr>-->
-<tr>
-       <td>clickAndWait</td>
-       <td>//input[@value='Edit rule']</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>rule[name]</td>
-       <td>Updated ${RULE_NAME}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>rule_param[xpath]</td>
-       <td>${RULE_XPATH_EDIT}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>rule_param[message]</td>
-       <td>Another message</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>//input[@value='Update']</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>${RULE_NAME}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=Updated ${RULE_NAME}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForValue</td>
-       <td>value</td>
-       <td>${RULE_XPATH_EDIT}</td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/pmd_xpath_rule_extension.html b/tests/integration/tests/src/test/selenium/rules/pmd_xpath_rule_extension.html
deleted file mode 100644 (file)
index 9bb23ff..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>pmd_xpath_rule_extension</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">pmd_xpath_rule_extension</td></tr>
-</thead><tbody>
-<tr>
-       <td>store</td>
-       <td>Methods Count Check</td>
-       <td>CHECKSTYLE_EXTENSION</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>org.sonar.tests:reference</td>
-       <td>PROJECT_ID</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>Prevent use of EmptyClass</td>
-       <td>RULE_TITLE</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/drilldown/violations/${PROJECT_ID}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=${RULE_TITLE}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>InterfaceWithConstants</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/rule_search.html b/tests/integration/tests/src/test/selenium/rules/rule_search.html
deleted file mode 100644 (file)
index 881d277..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>rule_search</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">rule_search</td></tr>
-</thead><tbody>
-
-<tr>
-       <td>open</td>
-       <td>/sessions/logout</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/sessions/login</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Anon Inner Length</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/rule_search_verify_form_values_on_first_call.html b/tests/integration/tests/src/test/selenium/rules/rule_search_verify_form_values_on_first_call.html
deleted file mode 100644 (file)
index cd42140..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>rule_search_verify_form_values_on_first_call</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">rule_search_verify_form_values_on_first_call</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>//select[@id=&quot;search_plugin&quot;]/option[@selected=&quot;selected&quot;]/@value</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>//select[@id=&quot;search_status&quot;]/option[@selected=&quot;selected&quot;]/@value</td>
-       <td>ACTIVE</td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>//select[@id=&quot;search_priority&quot;]/option[@selected=&quot;selected&quot;]/@value</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertValue</td>
-       <td>//input[@id=&quot;searchtext&quot;]</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//table[@id=&quot;result_table&quot;]//tr[100]</td>
-       <td></td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/search_all_rules.html b/tests/integration/tests/src/test/selenium/rules/search_all_rules.html
deleted file mode 100644 (file)
index c73f70e..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>search_all_rules</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">search_all_rules</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>check</td>
-       <td>search_mandatory</td>
-       <td></td>
-</tr>
-<tr>
-       <td>check</td>
-       <td>search_optional</td>
-       <td></td>
-</tr>
-<tr>
-       <td>check</td>
-       <td>search_inactive</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//input[@class=&quot;mandatory_button&quot; and @checked=&quot;checked&quot;]</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//input[@class=&quot;optional_button&quot; and @checked=&quot;checked&quot;]</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>//input[@class=&quot;inactive_button&quot; and @checked=&quot;checked&quot;]</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>xpath=(//input[@class=&quot;mandatory_button&quot; and @checked=&quot;checked&quot;])[10]</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>xpath=(//input[@class=&quot;optional_button&quot; and @checked=&quot;checked&quot;])[10]</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>xpath=(//input[@class=&quot;inactive_button&quot; and @checked=&quot;checked&quot;])[10]</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/search_and_display_inactive_rules.html b/tests/integration/tests/src/test/selenium/rules/search_and_display_inactive_rules.html
deleted file mode 100644 (file)
index 927b3bb..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>search_and_display_inactive_rules</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">search_and_display_inactive_rules</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>searchtext</td>
-       <td>SW_SWING_METHODS_INVOKED_IN_SWING_THREAD </td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>0 results</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>+1 found in inactive rules</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>inactive-rules-link</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>1 results</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/search_any_rules.html b/tests/integration/tests/src/test/selenium/rules/search_any_rules.html
deleted file mode 100644 (file)
index d7f6cc3..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>search_any_rules</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">search_any_rules</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_plugin</td>
-       <td>label=Any</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_priority</td>
-       <td>label=Any</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_status</td>
-       <td>label=Any</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>results</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>result_table</td>
-       <td></td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/search_by_plugin.html b/tests/integration/tests/src/test/selenium/rules/search_by_plugin.html
deleted file mode 100644 (file)
index 74d183a..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>search_by_plugin</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">search_by_plugin</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_plugin</td>
-       <td>label=PMD</td>
-</tr>
-<tr>
-       <td>addSelection</td>
-       <td>search_plugin</td>
-       <td>label=Checkstyle</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>result_table</td>
-       <td>glob:*Checkstyle*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>result_table</td>
-       <td>glob:*Pmd*</td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>result_table</td>
-       <td>glob:*Findbugs*</td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>result_table</td>
-       <td>glob:*Squid*</td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/search_by_rule_priority.html b/tests/integration/tests/src/test/selenium/rules/search_by_rule_priority.html
deleted file mode 100644 (file)
index 6ebb5a4..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>search_by_rule_priority</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">search_by_rule_priority</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>removeSelection</td>
-       <td>search_plugin</td>
-       <td>label=Any</td>
-</tr>
-<tr>
-       <td>addSelection</td>
-       <td>search_plugin</td>
-       <td>label=Checkstyle</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_priority</td>
-       <td>label=Critical</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>results</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>result_table</td>
-       <td>glob:*Equals Hash Code*</td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>result_table</td>
-       <td>glob:*Anon Inner Length *</td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/search_by_rule_status.html b/tests/integration/tests/src/test/selenium/rules/search_by_rule_status.html
deleted file mode 100644 (file)
index 6d1d67a..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>search_by_rule_status</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">search_by_rule_status</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>removeSelection</td>
-       <td>search_plugin</td>
-       <td>label=Any</td>
-</tr>
-<tr>
-       <td>addSelection</td>
-       <td>search_plugin</td>
-       <td>label=Checkstyle</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_priority</td>
-       <td>label=Critical</td>
-</tr>
-<tr>
-       <td>addSelection</td>
-       <td>search_priority</td>
-       <td>label=Major</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_status</td>
-       <td>label=Any</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>result_table</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>result_table</td>
-       <td>glob:*Abstract Class Name*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>result_table</td>
-       <td>glob:*Anon Inner Length *</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>search_status</td>
-       <td>label=Inactive</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>result_table</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>result_table</td>
-       <td>glob:*Abstract Class Name *</td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>result_table</td>
-       <td>glob:*Anon Inner Length *</td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/search_by_rule_title.html b/tests/integration/tests/src/test/selenium/rules/search_by_rule_title.html
deleted file mode 100644 (file)
index a4085c8..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>search_by_rule_title</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">search_by_rule_title</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/profiles</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>rules-java-Sonar%20way</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>searchtext</td>
-       <td>Buffering</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>submit_search</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>1 results</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>result_table</td>
-       <td>glob:*Inefficient String Buffering*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/rules/violations_tab.html b/tests/integration/tests/src/test/selenium/rules/violations_tab.html
deleted file mode 100644 (file)
index 1dfe460..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>violations_tab</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">violations_tab</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/violations/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=ValidWhenLexer</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>pageselector</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*public class ValidWhenLexer*</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*Unused Imports*</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=ValidWhenParser</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*public class ValidWhenParser*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-1007_violations_tab_when_no_violations.html b/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-1007_violations_tab_when_no_violations.html
deleted file mode 100644 (file)
index a13f33b..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>SONAR-1007_violations_tab_when_no_violations</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-1007_violations_tab_when_no_violations</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/resource/index/org.sonar.tests:reference:org.sonar.samples.EmptyClass?metric=violations</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>org.sonar.samples.EmptyClass</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>gwtpage-org.sonar.plugins.core.violationsviewer.ViolationsViewer</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>gwtpage-org.sonar.plugins.core.violationsviewer.ViolationsViewer</td>
-       <td>glob:*0*0*0*0*0*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-300-tests_details.html b/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-300-tests_details.html
deleted file mode 100644 (file)
index 9974348..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>SONAR-300-tests_details</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-300-tests_details</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/measures/org.sonar.tests.test-failures:moduleB?metric=skipped_tests&amp;resource=org.sonar.tests.test-failures:moduleB:ch.hortis.sonar.samples.testFailures.moduleB.SkippedTest</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Unit test name</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>pageselector</td>
-       <td>glob:*SkippedTest*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
-       <td>glob:*normalTest*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
-       <td>glob:*skippedTest*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
-       <td>glob:*1*+1 skipped*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
-       <td>glob:*100%*</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/drilldown/measures/org.sonar.tests.test-failures:moduleA?metric=test_success_density&amp;resource=org.sonar.tests.test-failures:moduleA:ch.hortis.sonar.samples.testFailures.moduleA.FailTest</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>Unit test name</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
-       <td>glob:*3*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
-       <td>glob:*1/1*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
-       <td>glob:*33.3%*</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=expand</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
-       <td>glob:*junit.framework.AssertionFailedError*</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=collapse</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>gwtpage-org.sonar.plugins.core.testdetailsviewer.TestsViewer</td>
-       <td>glob:*junit.framework.AssertionFailedError*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-517_violations_drilldown.html b/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-517_violations_drilldown.html
deleted file mode 100644 (file)
index 931e40a..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-517_violations_drilldown</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-517_violations_drilldown</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/violations/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=InnerClass</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForVisible</td>
-       <td>pageselector</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*InnerClass*</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*Unused local variable*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-538-duplications_viewer.html b/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-538-duplications_viewer.html
deleted file mode 100644 (file)
index df116a6..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-538-duplications_viewer</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-538-duplications_viewer</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/measures/org.apache.struts:struts-parent?metric=duplicated_blocks&amp;resource=org.apache.struts:struts-el:org.apache.strutsel.taglib.html.ELButtonTag</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>gwtpage-org.sonar.plugins.core.duplicationsviewer.DuplicationsViewer</td>
-       <td>glob:*Lines:*904*</td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>gwtpage-org.sonar.plugins.core.duplicationsviewer.DuplicationsViewer</td>
-       <td>glob:*733*37*org.apache.strutsel.taglib.html.ELSubmitTag*37*</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>//div[@id='expand-source-panel-org_apache_struts:struts-el:org_apache_strutsel_taglib_html_ELSubmitTag']/a</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>source-panel-org_apache_struts:struts-el:org_apache_strutsel_taglib_html_ELSubmitTag</td>
-       <td>glob:*public class ELButtonTag*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-582-violations-without-lines.html b/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-582-violations-without-lines.html
deleted file mode 100644 (file)
index 88bf6d2..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-582-violations-without-lines</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-582-violations-without-lines</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:single-classes</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Violations drilldown</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=SONAR582ViolationsWithoutLines</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForText</td>
-       <td>pageselector</td>
-       <td>glob:*public class SONAR582ViolationsWithoutLines*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>pageselector</td>
-       <td>glob:*Newline At End Of File*package*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-659-test_success_percentage.html b/tests/integration/tests/src/test/selenium/sourceviewers/SONAR-659-test_success_percentage.html
deleted file mode 100644 (file)
index 9f36164..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>SONAR-659-test_success_percentage</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-659-test_success_percentage</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests.test-failures:moduleA</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_test_success_density</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=FailTest</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_FIL</td>
-       <td>glob:*33.3%*</td>
-</tr>
-<tr>
-       <td>waitForTextPresent</td>
-       <td>testAWithFailure</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>pageselector</td>
-       <td>glob:*33.3%*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/static-analysis/deprecated_light_mode.html b/tests/integration/tests/src/test/selenium/static-analysis/deprecated_light_mode.html
deleted file mode 100644 (file)
index 4210d84..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>deprecated_light_mode</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">deprecated_light_mode</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:deprecated-sonar-light</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>hd</td>
-       <td>glob:*deprecated-sonar-light*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>22</td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_coverage</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/static-analysis/static-analysis.html b/tests/integration/tests/src/test/selenium/static-analysis/static-analysis.html
deleted file mode 100644 (file)
index a402649..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>static-analysis</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">static-analysis</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:ant-static</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_ncloc</td>
-       <td>22</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_comment_lines_density</td>
-       <td>4.3%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_class_complexity</td>
-       <td>4.0</td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_coverage</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_test_success_density</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_tests</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/system_info/system_info.html b/tests/integration/tests/src/test/selenium/system_info/system_info.html
deleted file mode 100644 (file)
index a8ffc19..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>system_info</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">system_info</td></tr>
-</thead><tbody>
-       <tr>
-               <td>open</td>
-               <td>/sessions/logout</td>
-               <td></td>
-       </tr>
-       <tr>
-               <td>open</td>
-               <td>/sessions/new</td>
-               <td></td>
-       </tr>
-       <tr>
-               <td>type</td>
-               <td>login</td>
-               <td>admin</td>
-       </tr>
-       <tr>
-               <td>type</td>
-               <td>password</td>
-               <td>admin</td>
-       </tr>
-       <tr>
-               <td>clickAndWait</td>
-               <td>commit</td>
-               <td></td>
-       </tr>
-       
-<tr>
-       <td>open</td>
-       <td>/system/index</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>system_info</td>
-       <td>glob:*Apache Tomcat*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>sonar</td>
-       <td>glob:*Version*2.?-SNAPSHOT*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>plugins</td>
-       <td>glob:*Duplications*Findbugs*My Sonar plugin*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>system_properties</td>
-       <td>glob:*java.class.path*java.specification.version*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/timemachine/SONAR-506_number_of_rules_violations_is_incorrect.html b/tests/integration/tests/src/test/selenium/timemachine/SONAR-506_number_of_rules_violations_is_incorrect.html
deleted file mode 100644 (file)
index 1584536..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-506_number_of_rules_violations_is_incorrect</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-506_number_of_rules_violations_is_incorrect</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:ant-static</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Time machine</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>timemachine_matrix</td>
-       <td>glob:*Rules compliance 0.0%*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/timemachine/display-first-and-last-five-events.html b/tests/integration/tests/src/test/selenium/timemachine/display-first-and-last-five-events.html
deleted file mode 100644 (file)
index 190da20..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>display-first-and-last-five-events</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">display-first-and-last-five-events</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/timemachine/index/org.sonar.tests:timemachine</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>timemachine_matrix</td>
-       <td>glob:*2007-10-20*Version 0.6*2007-12-10*Version 0.7*2008-04-15*Version 0.8*2008-10-19*Version 0.9*Version 1.0-SNAPSHOT*</td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/timemachine/should-not-display-rows-without-data.html b/tests/integration/tests/src/test/selenium/timemachine/should-not-display-rows-without-data.html
deleted file mode 100644 (file)
index 7d26f1e..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>should-not-display-rows-without-data</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">should-not-display-rows-without-data</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/timemachine/index/org.sonar.tests:ant-static</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>timemachine_matrix</td>
-       <td>glob:*Coverage*</td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/timemachine/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>timemachine_matrix</td>
-       <td>glob:*Coverage*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/timemachine/violations-timemachine.html b/tests/integration/tests/src/test/selenium/timemachine/violations-timemachine.html
deleted file mode 100644 (file)
index 86fdf39..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>violations-timemachine</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">violations-timemachine</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>http://localhost:9000/dashboard/index/org.sonar.tests:violations-timemachine</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>resource_profile</td>
-       <td>violations-timemachine</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_violations</td>
-       <td>7</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_critical_violations</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_major_violations</td>
-       <td>4</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_minor_violations</td>
-       <td>3</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_blocker_violations</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_info_violations</td>
-       <td>0</td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/treemap/treemap_check_gradient_direction.html b/tests/integration/tests/src/test/selenium/treemap/treemap_check_gradient_direction.html
deleted file mode 100644 (file)
index 2cbabc1..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>treemap_check_gradient_direction</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">treemap_check_gradient_direction</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/components/index/org.apache.struts:struts-parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>coverage</td>
-       <td>metric_direction_positive</td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>duplicated_lines_density</td>
-       <td>metric_direction_negative</td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>select_color_metric</td>
-       <td>value=${metric_direction_positive}</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>submit_treemap</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForNotVisible</td>
-       <td>tm_loading</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>treemap_gradient_direction_positive</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>select_color_metric</td>
-       <td>value=${metric_direction_negative}</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>submit_treemap</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForNotVisible</td>
-       <td>tm_loading</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>treemap_gradient_direction_negative</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/components/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>select_color_metric</td>
-       <td>value=${metric_direction_positive}</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>submit_treemap</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForNotVisible</td>
-       <td>tm_loading</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>treemap_gradient_direction_positive</td>
-       <td></td>
-</tr>
-<tr>
-       <td>select</td>
-       <td>select_color_metric</td>
-       <td>value=${metric_direction_negative}</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>submit_treemap</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForNotVisible</td>
-       <td>tm_loading</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>treemap_gradient_direction_negative</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/treemap/treemap_file_drilldown_link.html b/tests/integration/tests/src/test/selenium/treemap/treemap_file_drilldown_link.html
deleted file mode 100644 (file)
index 2e42f86..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>treemap_file_drilldown_link</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">treemap_file_drilldown_link</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/components/index/org.sonar.tests:reference:org.sonar.samples.duplicated_lines_within_package</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>treemap</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link_node-1</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForPopUp</td>
-       <td>resource</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectWindow</td>
-       <td>resource</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>pageselector</td>
-       <td>glob:*Violations*</td>
-</tr>
-<tr>
-       <td>close</td>
-       <td>resource</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/unit_tests/SONAR-1099-html-chars.html b/tests/integration/tests/src/test/selenium/unit_tests/SONAR-1099-html-chars.html
deleted file mode 100644 (file)
index b912a44..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-1099-html-chars</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-1099-html-chars</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/measures/org.sonar.tests.test-failures:parent?metric=test_failures&amp;resource=org.sonar.tests.test-failures:moduleA:ch.hortis.sonar.samples.testFailures.moduleA.FailTest</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForElementPresent</td>
-       <td>stack-paneltestAWithFailure</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>link=expand</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>stack-paneltestAWithFailure</td>
-       <td>glob:expected:&lt;true&gt; but was:&lt;false&gt;*expected:&lt;true&gt; but was:&lt;false&gt;*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/unit_tests/no-test-failures.html b/tests/integration/tests/src/test/selenium/unit_tests/no-test-failures.html
deleted file mode 100644 (file)
index b578b4a..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>no-test-failures</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">no-test-failures</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>100.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_failures</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_errors</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_test_success_density</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>100.0%</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/unit_tests/no-tests-data-on-static-analysis.html b/tests/integration/tests/src/test/selenium/unit_tests/no-tests-data-on-static-analysis.html
deleted file mode 100644 (file)
index d098b88..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>no-tests-data-on-static-analysis</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">no-tests-data-on-static-analysis</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:ant-static</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Version 1.0</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_coverage</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_test_success_density</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_tests</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/unit_tests/reuse-clover-and-junit-reports.html b/tests/integration/tests/src/test/selenium/unit_tests/reuse-clover-and-junit-reports.html
deleted file mode 100644 (file)
index ffc48b5..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>reuse-clover-and-junit-reports</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">reuse-clover-and-junit-reports</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:ant-dynamic-clover</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_coverage</td>
-       <td>93.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>23</td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>m_test_execution_time</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>100.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_failures</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_errors</td>
-       <td>0</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/unit_tests/reuse-cobertura-and-junit-reports.html b/tests/integration/tests/src/test/selenium/unit_tests/reuse-cobertura-and-junit-reports.html
deleted file mode 100644 (file)
index 35dca44..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>reuse-cobertura-and-junit-reports</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">reuse-cobertura-and-junit-reports</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:ant-dynamic-cobertura</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_coverage</td>
-       <td>40.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_line_coverage</td>
-       <td>40.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>4</td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>m_test_execution_time</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>50.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_failures</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_errors</td>
-       <td>0</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/unit_tests/reuse-junit-reports-only.html b/tests/integration/tests/src/test/selenium/unit_tests/reuse-junit-reports-only.html
deleted file mode 100644 (file)
index 952ebcc..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>reuse-junit-reports-only</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">reuse-junit-reports-only</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:ant-dynamic-junit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>4</td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>m_test_execution_time</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>50.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_failures</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_errors</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_coverage</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/unit_tests/reuse-maven-coverage-reports.html b/tests/integration/tests/src/test/selenium/unit_tests/reuse-maven-coverage-reports.html
deleted file mode 100644 (file)
index 648cd78..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>reuse-maven-coverage-reports</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">reuse-maven-coverage-reports</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reuse-coverage-reports</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>m_test_execution_time</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>100.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_failures</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_errors</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_coverage</td>
-       <td>57.1%</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/unit_tests/skip-surefire-tests.html b/tests/integration/tests/src/test/selenium/unit_tests/skip-surefire-tests.html
deleted file mode 100644 (file)
index c96c983..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>skip-surefire-tests</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">skip-surefire-tests</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:skip-surefire-tests</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_coverage</td>
-       <td>0.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertTextNotPresent</td>
-       <td>Test success</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_test_failures</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_test_errors</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/unit_tests/some-test-failures.html b/tests/integration/tests/src/test/selenium/unit_tests/some-test-failures.html
deleted file mode 100644 (file)
index 27f0c9f..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>some-test-failures</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">some-test-failures</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests.test-failures:parent</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Sonar tests - test failures</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_success_density</td>
-       <td>50.0%</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_failures</td>
-       <td>1</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_test_errors</td>
-       <td>2</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>m_test_success_density</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>glob:*Unit test success*50.0%*</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/unit_tests/zero-when-no-tests.html b/tests/integration/tests/src/test/selenium/unit_tests/zero-when-no-tests.html
deleted file mode 100644 (file)
index 8d7f7ac..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>zero-when-no-tests</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">zero-when-no-tests</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:no-tests</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>No tests</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_test_success_density</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>m_test_failures</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_tests</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>m_coverage</td>
-       <td>0.0%</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/users/accept-login-with-whitespace.html b/tests/integration/tests/src/test/selenium/users/accept-login-with-whitespace.html
deleted file mode 100644 (file)
index 51cc7ce..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>accept-login-with-whitespace</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">accept-login-with-whitespace</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>open</td>
-       <td>/users</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{'user ' + new Date().getTime()}</td>
-       <td>userId</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_login</td>
-       <td>${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_name</td>
-       <td>Name of ${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password_confirmation</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>glob:User*created</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log out</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Logged in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>nav</td>
-       <td>glob:*Name of ${userId}*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/users/add-user-to-group.html b/tests/integration/tests/src/test/selenium/users/add-user-to-group.html
deleted file mode 100644 (file)
index ca96183..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>add-user-to-group</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">add-user-to-group</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Groups</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>groupId</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>group_name</td>
-       <td>${groupId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>group_description</td>
-       <td>Description of ${groupId}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>count-${groupId}</td>
-       <td>0</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>select-${groupId}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>addSelection</td>
-       <td>from</td>
-       <td>label=admin</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>select_right</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>save</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>count-${groupId}</td>
-       <td>1</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/users/admin-has-default-groups.html b/tests/integration/tests/src/test/selenium/users/admin-has-default-groups.html
deleted file mode 100644 (file)
index a6f3e41..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>admin-has-default-groups</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">admin-has-default-groups</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Users</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>user-admin</td>
-       <td>glob:*sonar-administrators*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>user-admin</td>
-       <td>glob:*sonar-users*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/users/affect-new-user-to-default-group.html b/tests/integration/tests/src/test/selenium/users/affect-new-user-to-default-group.html
deleted file mode 100644 (file)
index 84d88b7..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>affect-new-user-to-default-group</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">affect-new-user-to-default-group</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Users</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>userId</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_login</td>
-       <td>${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_name</td>
-       <td>Name of ${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password_confirmation</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>glob:User*created</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>user-${userId}</td>
-       <td>glob:*Name of ${userId}*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>user-${userId}</td>
-       <td>glob:*sonar-users*</td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>user-${userId}</td>
-       <td>glob:*sonar-administrators*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/users/affect-user-to-group.html b/tests/integration/tests/src/test/selenium/users/affect-user-to-group.html
deleted file mode 100644 (file)
index 656d03a..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>affect-user-to-group</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">affect-user-to-group</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Users</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>userId</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_login</td>
-       <td>${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_name</td>
-       <td>Name of ${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password_confirmation</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>glob:User*created</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>user-${userId}</td>
-       <td>glob:*Name of ${userId}*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>user-${userId}</td>
-       <td>glob:*sonar-users*</td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>user-${userId}</td>
-       <td>glob:*sonar-administrators*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>select-${userId}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>addSelection</td>
-       <td>from</td>
-       <td>label=sonar-administrators</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>select_right</td>
-       <td></td>
-</tr>
-<tr>
-       <td>addSelection</td>
-       <td>to</td>
-       <td>label=sonar-users</td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>select_left</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>save</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>user-${userId}</td>
-       <td>glob:*sonar-administrators*</td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>user-${userId}</td>
-       <td>glob:*sonar-users*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/users/authenticate-new-user.html b/tests/integration/tests/src/test/selenium/users/authenticate-new-user.html
deleted file mode 100644 (file)
index 13f4ef6..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>authenticate-new-user</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">authenticate-new-user</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Users</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>userId</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_login</td>
-       <td>${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_name</td>
-       <td>Name of ${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password_confirmation</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>glob:User*created</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log out</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Log in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Logged in</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>nav</td>
-       <td>glob:*Name of ${userId}*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/users/can-not-delete-myself.html b/tests/integration/tests/src/test/selenium/users/can-not-delete-myself.html
deleted file mode 100644 (file)
index 564e87f..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>can-not-delete-myself</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">can-not-delete-myself</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Users</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>delete-admin</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Warning : are you sure to delete this user ?</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementPresent</td>
-       <td>user-admin</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertVisible</td>
-       <td>error</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/users/change-username-without-changing-password.html b/tests/integration/tests/src/test/selenium/users/change-username-without-changing-password.html
deleted file mode 100644 (file)
index b7c2bc3..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>change-username-without-changing-password</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">change-username-without-changing-password</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Users</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>userId</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_login</td>
-       <td>${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_name</td>
-       <td>Name of ${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password_confirmation</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>glob:User*created</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>edit-${userId}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_name</td>
-       <td>New name of ${userId}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertVisible</td>
-       <td>info</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>user-${userId}</td>
-       <td>glob:*New name of ${userId}*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/users/confirm-password-when-creating-user.html b/tests/integration/tests/src/test/selenium/users/confirm-password-when-creating-user.html
deleted file mode 100644 (file)
index 40ff5dd..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>confirm-password-when-creating-user</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">confirm-password-when-creating-user</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Users</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>userId</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_login</td>
-       <td>${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_name</td>
-       <td>Name of ${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password_confirmation</td>
-       <td>wrong</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertVisible</td>
-       <td>error</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>user-${userId}</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/users/create-and-delete-groups.html b/tests/integration/tests/src/test/selenium/users/create-and-delete-groups.html
deleted file mode 100644 (file)
index cb95a8b..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>create-and-delete-groups</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">create-and-delete-groups</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Groups</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>groupId</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>group_name</td>
-       <td>${groupId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>group_description</td>
-       <td>Description of ${groupId}</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertVisible</td>
-       <td>info</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>group-${groupId}</td>
-       <td>glob:*Description of ${groupId}*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>delete-${groupId}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Are you sure to delete this group ? Members will not be deleted.</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertVisible</td>
-       <td>info</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertElementNotPresent</td>
-       <td>group-${groupId}</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/users/create-and-delete-users.html b/tests/integration/tests/src/test/selenium/users/create-and-delete-users.html
deleted file mode 100644 (file)
index 2221c0a..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>create-and-delete-users</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">create-and-delete-users</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Configuration</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Users</td>
-       <td></td>
-</tr>
-<tr>
-       <td>store</td>
-       <td>javascript{new Date().getTime()}</td>
-       <td>userId</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_login</td>
-       <td>${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_name</td>
-       <td>Name of ${userId}</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>user_password_confirmation</td>
-       <td>password</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>delete-${userId}</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertConfirmation</td>
-       <td>Warning : are you sure to delete this user ?</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertVisible</td>
-       <td>info</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextNotPresent</td>
-       <td>user-${userId}</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/users/my-profile-display-basic-data.html b/tests/integration/tests/src/test/selenium/users/my-profile-display-basic-data.html
deleted file mode 100644 (file)
index b3951d0..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>my-profile-display-basic-data</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">my-profile-display-basic-data</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/sessions/new</td>
-       <td></td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>type</td>
-       <td>password</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>commit</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Administrator</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>login</td>
-       <td>admin</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>name</td>
-       <td>Administrator</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>groups</td>
-       <td>glob:*sonar-administrators*sonar-users*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/violations_drilldown/SONAR-455_hide_zero_measures.html b/tests/integration/tests/src/test/selenium/violations_drilldown/SONAR-455_hide_zero_measures.html
deleted file mode 100644 (file)
index 6fd6106..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>SONAR-455_hide_zero_measures</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-455_hide_zero_measures</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Violations drilldown</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>col_FIL</td>
-       <td>glob:*EmptyClass*0*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/violations_drilldown/check_violations_on_extensions.html b/tests/integration/tests/src/test/selenium/violations_drilldown/check_violations_on_extensions.html
deleted file mode 100644 (file)
index b4765c3..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>check_violations_on_extensions</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">check_violations_on_extensions</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/dashboard/index/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=Violations drilldown</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Maximum Methods Count Check</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Avoid if without using brace</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Methods Count Check</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/violations_drilldown/popup-on-rules.html b/tests/integration/tests/src/test/selenium/violations_drilldown/popup-on-rules.html
deleted file mode 100644 (file)
index f493332..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:9000/" />
-<title>popup-on-rules</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">popup-on-rules</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/violations/org.sonar.tests:reference</td>
-       <td></td>
-</tr>
-<tr>
-       <td>click</td>
-       <td>rule1</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForPopUp</td>
-       <td>rule</td>
-       <td></td>
-</tr>
-<tr>
-       <td>waitForPopUp</td>
-       <td>rule</td>
-       <td></td>
-</tr>
-<tr>
-       <td>selectWindow</td>
-       <td>rule</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertTextPresent</td>
-       <td>Key:</td>
-       <td></td>
-</tr>
-
-<tr>
-       <td>close</td>
-       <td>rule</td>
-       <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/test/selenium/violations_drilldown/select_resource.html b/tests/integration/tests/src/test/selenium/violations_drilldown/select_resource.html
deleted file mode 100644 (file)
index 9970a5e..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="" />
-<title>select_resource</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">select_resource</td></tr>
-</thead><tbody>
-<tr>
-       <td>open</td>
-       <td>/drilldown/violations/org.sonar.tests:reference?filter=category</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_rules</td>
-       <td>glob:*Unused local variable*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_DIR</td>
-       <td>glob:*org.sonar.samples*[default]*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_FIL</td>
-       <td>glob:*Utf8Characters*</td>
-</tr>
-<tr>
-       <td>clickAndWait</td>
-       <td>link=org.sonar.samples.duplicated_lines_within_package</td>
-       <td></td>
-</tr>
-<tr>
-       <td>assertNotText</td>
-       <td>col_FIL</td>
-       <td>glob:*Utf8Characters*</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>col_FIL</td>
-       <td>glob:*DuplicatedLinesInSamePackage1*</td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tests/volume/README.txt b/tests/volume/README.txt
deleted file mode 100644 (file)
index fbb3bfb..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-----------
-Scenario 1 : test the Oracle limitation on the number of elements in the clause 'IN' (1 000 elements)
-
-# generate and analyze 1010 projects. Each project has 5 packages and 5*10 classes
-mvn clean install -Pfirefox,oracle -DprojectsCount=1010 -DpackagesCount=5 -DclassesCount=10
-
-# NOTE FOR MAC OS : add the parameter -Djava.io.tmpdir=/tmp
\ No newline at end of file
diff --git a/tests/volume/build.xml b/tests/volume/build.xml
deleted file mode 100644 (file)
index 46df0e0..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<project name="Volumetry tests" basedir=".">
-  <property environment="env"/>
-
-  <taskdef resource="net/sf/antcontrib/antlib.xml">
-    <classpath>
-      <pathelement location="${basedir}/lib/ant-contrib-1.0b3.jar"/>
-    </classpath>
-  </taskdef>
-
-  <target name="analyze-projects">
-    <exec executable="ruby" failonerror="true" dir="${basedir}">
-      <!-- >1000 in order to test SONAR-1339 : pb with Oracle when more than 1000 projects -->
-      <arg line="duplicate_project.rb ${projectsCount} ${packagesCount} ${classesCount}"/>
-    </exec>
-
-    <mvn args="clean install" dir="${basedir}/project" />
-    <mvnsonar pom="${basedir}/project/pom.xml"/>
-
-    <for param="pom">
-      <path>
-        <fileset dir="${basedir}/project" includes="pom.xml.*"/>
-      </path>
-      <sequential>
-        <mvnsonar pom="@{pom}"/>
-      </sequential>
-    </for>
-  </target>
-
-
-  <macrodef name="mvn">
-    <attribute name="failonerror" default="true"/>
-    <attribute name="args" default=""/>
-    <attribute name="dir"/>
-
-    <sequential>
-      <echo>Executing ${maven.home}/bin/mvn @{args}</echo>
-      <exec dir="@{dir}" failonerror="@{failonerror}" executable="${maven.home}/bin/mvn.bat" osfamily="Windows">
-        <arg line="@{args} -B -e"/>
-      </exec>
-      <exec dir="@{dir}" failonerror="@{failonerror}" executable="${maven.home}/bin/mvn" osfamily="unix">
-        <arg line="@{args} -B -e"/>
-      </exec>
-    </sequential>
-  </macrodef>
-
-  <macrodef name="mvnsonar">
-    <attribute name="failonerror" default="true"/>
-    <attribute name="args" default=""/>
-    <attribute name="pom"/>
-
-    <sequential>
-      <exec failonerror="@{failonerror}" executable="${maven.home}/bin/mvn.bat" osfamily="Windows">
-        <arg line="org.codehaus.mojo:sonar-maven-plugin:1.0-beta-1:sonar @{args} -B -e"/>
-        <arg line="-f @{pom}"/>
-        <arg value='-Dsonar.jdbc.url="${jdbcUrl}"'/>
-        <arg value="-Dsonar.jdbc.driver=${jdbcDriver}"/>
-        <arg value="-Dsonar.jdbc.username=${jdbcUsername}"/>
-        <arg value="-Dsonar.jdbc.password=${jdbcPassword}"/>
-      </exec>
-      <exec failonerror="@{failonerror}" executable="${maven.home}/bin/mvn" osfamily="unix">
-        <arg line="org.codehaus.mojo:sonar-maven-plugin:1.0-beta-1:sonar @{args} -B -e"/>
-        <arg line="-f @{pom}"/>
-        <arg value='-Dsonar.jdbc.url=${jdbcUrl}'/>
-        <arg value="-Dsonar.jdbc.driver=${jdbcDriver}"/>
-        <arg value="-Dsonar.jdbc.username=${jdbcUsername}"/>
-        <arg value="-Dsonar.jdbc.password=${jdbcPassword}"/>
-      </exec>
-    </sequential>
-  </macrodef>
-
-</project>
\ No newline at end of file
diff --git a/tests/volume/duplicate_project.rb b/tests/volume/duplicate_project.rb
deleted file mode 100644 (file)
index 80bf61c..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-require 'fileutils.rb'
-
-class SourceGenerator
-  
-  def initialize
-     FileUtils.remove_dir "project/src/main/java", true
-  end
-  
-       def template
-           if @template.nil?
-                       @template = ''
-                       f = File.open("project/Template.java", "r") 
-                       f.each_line do |line|
-                               @template += line
-                       end
-            end
-            @template
-       end
-       
-       def sources(package_name, class_name)
-         template.gsub(/#PACKAGE/,package_name).gsub(/#CLASS/, class_name)
-       end
-       
-       def generate(package_name, class_name)
-         content=sources(package_name, class_name)
-         dir="project/src/main/java/" + package_name.gsub(/\./, '/')
-         save(dir, "#{class_name}.java", content)
-       end
-       
-       private
-       def save(dir, filename,content)
-               FileUtils::mkdir_p dir
-               my_file = File.new("#{dir}/#{filename}", 'w')
-               my_file<<content
-               my_file.close
-       end
-end
-
-
-class ProjectDuplicator
-  def initialize
-    FileUtils.rm_f 'project/pom.xml'
-    FileUtils.rm Dir.glob('project/pom.xml.*')
-  end
-       def duplicate_pom(index)
-         pom=template().gsub(/#ID/,index.to_s)
-         filename=(index==1 ? "project/pom.xml" : "project/pom.xml.#{index}")
-         pom_file = File.new(filename, 'w')
-               pom_file<<pom
-               pom_file.close
-       end
-       def template
-         if @template.nil?
-                       @template = ''
-                       f = File.open("project/pom.template", "r") 
-                       f.each_line do |line|
-                               @template += line
-                       end
-         end
-         @template
-       end
-       
-end
-
-projects_count=(ARGV.size>0 ? ARGV[0].to_i : 10)
-packages_count=(ARGV.size>1 ? ARGV[1].to_i : 10)
-classes_count=(ARGV.size>2 ? ARGV[2].to_i : 10)
-
-
-source_generator=SourceGenerator.new
-for index_package in (1..packages_count)
-  for index_class in (1..classes_count)
-    source_generator.generate("org.sonar.tests.volume#{index_package}", "Class#{index_class}")
-  end
-end
-puts "#{classes_count * packages_count} classes saved in #{packages_count} packages."
-
-duplicator=ProjectDuplicator.new
-for index in (1..projects_count)
-  puts "Generating project #{index}..."
-  duplicator.duplicate_pom(index)
-end
\ No newline at end of file
diff --git a/tests/volume/lib/ant-contrib-1.0b3.jar b/tests/volume/lib/ant-contrib-1.0b3.jar
deleted file mode 100644 (file)
index 0625376..0000000
Binary files a/tests/volume/lib/ant-contrib-1.0b3.jar and /dev/null differ
diff --git a/tests/volume/pom.xml b/tests/volume/pom.xml
deleted file mode 100644 (file)
index 519a817..0000000
+++ /dev/null
@@ -1,268 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.codehaus.sonar</groupId>
-    <artifactId>sonar</artifactId>
-    <version>2.6-SNAPSHOT</version>
-    <relativePath>../..</relativePath>
-  </parent>
-  <groupId>org.codehaus.sonar.tests</groupId>
-  <artifactId>volume</artifactId>
-  <name>Sonar :: Volume Testing</name>
-  <description>High volume testing, for example to check the Oracle constraint on max number of elements in the clause IN.</description>
-
-  <properties>
-    <sonar.url>http://localhost:9000/</sonar.url>
-    <sonar.runtimeVersion>${project.version}</sonar.runtimeVersion>
-    <projectsCount>1010</projectsCount>
-    <packagesCount>5</packagesCount>
-    <classesCount>5</classesCount>
-  </properties>
-
-
-  <build>
-    <testSourceDirectory>src/it/java</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <filtering>false</filtering>
-        <directory>src/it/resources</directory>
-      </testResource>
-    </testResources>
-
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-dependency-plugin</artifactId>
-        <version>2.1</version>
-        <executions>
-          <execution>
-            <id>copy</id>
-
-            <!-- must be executed after the ant task that builds the directory target/extensions -->
-            <phase>package</phase>
-            <goals>
-              <goal>copy</goal>
-            </goals>
-            <configuration>
-              <artifactItems>
-                <artifactItem>
-                  <groupId>com.oracle</groupId>
-                  <artifactId>ojdbc14</artifactId>
-                  <version>10.2.0.3.0</version>
-                  <type>jar</type>
-                  <overWrite>false</overWrite>
-                  <outputDirectory>${basedir}/target/extensions/jdbc-driver/oracle</outputDirectory>
-                </artifactItem>
-              </artifactItems>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-
-      <plugin>
-        <groupId>org.codehaus.sonar</groupId>
-        <artifactId>sonar-dev-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>start-server</id>
-            <phase>pre-integration-test</phase>
-            <configuration>
-              <background>true</background>
-              <dropDatabase>false</dropDatabase>
-              <extensionsDir>${basedir}/target/extensions</extensionsDir>
-            </configuration>
-            <goals>
-              <goal>start-war</goal>
-            </goals>
-          </execution>
-          <execution>
-            <id>stop-server</id>
-            <phase>post-integration-test</phase>
-            <goals>
-              <goal>stop-war</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-
-
-      <plugin>
-        <artifactId>maven-antrun-plugin</artifactId>
-        <version>1.4</version>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.ant</groupId>
-            <artifactId>ant-nodeps</artifactId>
-            <version>1.7.1</version>
-          </dependency>
-          <dependency>
-            <groupId>org.apache.ant</groupId>
-            <artifactId>ant-junit</artifactId>
-            <version>1.7.1</version>
-          </dependency>
-          <dependency>
-            <groupId>org.apache.ant</groupId>
-            <artifactId>ant-trax</artifactId>
-            <version>1.7.1</version>
-          </dependency>
-        </dependencies>
-        <executions>
-          <execution>
-            <id>analyze-projects</id>
-            <phase>pre-integration-test</phase>
-            <configuration>
-              <tasks>
-                <ant dir="${basedir}" inheritRefs="true">
-                  <property name="projectsCount" value="${projectsCount}" />
-                  <property name="packagesCount" value="${packagesCount}" />
-                  <property name="classesCount" value="${classesCount}" />
-                  <property name="jdbcDriver" value="${sonar.jdbc.driver}" />
-                  <property name="jdbcUrl" value="${sonar.jdbc.url}" />
-                  <property name="jdbcUsername" value="${sonar.jdbc.username}" />
-                  <property name="jdbcPassword" value="${sonar.jdbc.password}" />
-                  <property name="sonarVersion" value="${sonar.runtimeVersion}" />
-                  <target name="analyze-projects" />
-                </ant>
-              </tasks>
-            </configuration>
-            <goals>
-              <goal>run</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>selenium-maven-plugin</artifactId>
-        <version>1.0.1</version>
-        <executions>
-          <execution>
-            <id>start-selenium</id>
-            <phase>pre-integration-test</phase>
-            <goals>
-              <goal>start-server</goal>
-            </goals>
-            <configuration>
-              <background>true</background>
-            </configuration>
-          </execution>
-          <execution>
-            <id>stop-selenium</id>
-            <phase>post-integration-test</phase>
-            <goals>
-              <goal>stop-server</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <!-- Skip the normal tests, we'll run them in the integration-test phase -->
-          <skip>true</skip>
-        </configuration>
-        <executions>
-          <execution>
-            <phase>integration-test</phase>
-            <goals>
-              <goal>test</goal>
-            </goals>
-            <configuration>
-              <skip>false</skip>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.ant</groupId>
-      <artifactId>ant-nodeps</artifactId>
-      <version>1.7.1</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.ant</groupId>
-      <artifactId>ant-junit</artifactId>
-      <version>1.7.1</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.ant</groupId>
-      <artifactId>ant-trax</artifactId>
-      <version>1.7.1</version>
-    </dependency>
-    <dependency>
-      <groupId>com.oracle</groupId>
-      <artifactId>ojdbc14</artifactId>
-      <version>10.2.0.3.0</version>
-    </dependency>
-    <dependency>
-      <groupId>org.seleniumhq.selenium.client-drivers</groupId>
-      <artifactId>selenium-java-client-driver</artifactId>
-      <version>1.0.2</version>
-    </dependency>
-  </dependencies>
-
-  <profiles>
-
-    <!-- BROWSERS -->
-    <profile>
-      <id>firefox</id>
-      <properties>
-        <selenium.browser>*firefox</selenium.browser>
-      </properties>
-    </profile>
-    <profile>
-      <id>ie</id>
-      <properties>
-        <selenium.browser>*iexplore</selenium.browser>
-      </properties>
-    </profile>
-    
-    <profile>
-      <id>oracle</id>
-      <properties>
-        <sonar.jdbc.url>jdbc:oracle:thin:@localhost/XE</sonar.jdbc.url>
-        <sonar.jdbc.username>sonar_volume</sonar.jdbc.username>
-        <sonar.jdbc.password>sonar_volume</sonar.jdbc.password>
-        <sonar.jdbc.driver>oracle.jdbc.driver.OracleDriver</sonar.jdbc.driver>
-      </properties>
-    </profile>
-
-    <profile>
-      <id>postgresql</id>
-      <properties>
-        <sonar.jdbc.url>jdbc:postgresql://localhost/sonar</sonar.jdbc.url>
-        <sonar.jdbc.username>sonar</sonar.jdbc.username>
-        <sonar.jdbc.password>sonar</sonar.jdbc.password>
-        <sonar.jdbc.driver>org.postgresql.Driver</sonar.jdbc.driver>
-      </properties>
-    </profile>
-
-    <profile>
-      <id>mssql</id>
-      <properties>
-        <sonar.jdbc.url>jdbc:jtds:sqlserver://localhost;databaseName=SONAR;SelectMethod=Cursor</sonar.jdbc.url>
-        <sonar.jdbc.username>sonar</sonar.jdbc.username>
-        <sonar.jdbc.password>sonar</sonar.jdbc.password>
-        <sonar.jdbc.driver>net.sourceforge.jtds.jdbc.Driver</sonar.jdbc.driver>
-      </properties>
-    </profile>
-    
-    <profile>
-      <id>mysql</id>
-      <properties>
-        <sonar.jdbc.url>jdbc:mysql://localhost:3306/sonar?useUnicode=true&amp;characterEncoding=utf8</sonar.jdbc.url>
-        <sonar.jdbc.driver>com.mysql.jdbc.Driver</sonar.jdbc.driver>
-        <sonar.jdbc.username>sonar</sonar.jdbc.username>
-        <sonar.jdbc.password>sonar</sonar.jdbc.password>
-      </properties>
-    </profile>
-  </profiles>
-
-</project>
\ No newline at end of file
diff --git a/tests/volume/project/Template.java b/tests/volume/project/Template.java
deleted file mode 100644 (file)
index 94e7e57..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-package #PACKAGE;
-
-import java.util.*;
-
-public class #CLASS {
-       public void hello( ) {
-               System.out.println("hello");;
-               int index=333;
-       }
-
-       public void Hello( ) {
-               for (int i=0 ; i<1000 ; i++) {
-                  int j=i*2;   
-               }
-       }       
-       
-       public static final int FOO() {
-         int j=111;
-         j++;
-         Vector v = new Vector();      
-      Vector v2 = new Vector();        
-      String s=null;
-         System.out.println(s);
-         return 222;
-       }
-       
-       public Object clone() {
-         return new Object();  
-       }
-       
-       public String toString() {
-          return "xxxxxxxxxxxxxxxx";   
-       }
-       
-       public String toString(String s) {
-          return s;    
-       }
-}
\ No newline at end of file
diff --git a/tests/volume/project/pom.template b/tests/volume/project/pom.template
deleted file mode 100644 (file)
index 5381b77..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-  <modelVersion>4.0.0</modelVersion>\r
-  <groupId>org.sonar.tests</groupId>\r
-  <artifactId>volume-#ID</artifactId>\r
-  <version>1.0-SNAPSHOT</version>\r
-  <name>Volume #ID</name>\r
-  <properties>\r
-    <sonar.dynamicAnalysis>false</sonar.dynamicAnalysis>\r
-  </properties>\r
-</project>
\ No newline at end of file
diff --git a/tests/volume/src/it/java/org/sonar/tests/volume/HomepageTest.java b/tests/volume/src/it/java/org/sonar/tests/volume/HomepageTest.java
deleted file mode 100644 (file)
index 453f817..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.tests.volume;
-
-import com.thoughtworks.selenium.DefaultSelenium;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-import static org.junit.Assert.assertTrue;
-
-public class HomepageTest {
-  private DefaultSelenium selenium;
-
-  @Before
-  public void before() throws Exception {
-    selenium = new DefaultSelenium("localhost", 4444, "*firefox", "http://localhost:9000");
-    selenium.start();
-  }
-
-  @After
-  public void after() {
-    selenium.stop();
-  }
-
-  @Test
-  public void testHomepage() throws Exception {
-    selenium.open("/");
-    selenium.waitForPageToLoad("30000");
-    assertTrue(selenium.isElementPresent("results"));
-  }
-
-}