summaryrefslogtreecommitdiffstats
path: root/sonar-testing-harness/src
Commit message (Collapse)AuthorAgeFilesLines
* SONAR-3724 Validate rule repositories in unit testsDavid Gageot2012-10-051-3/+3
|
* Rename method in I18nMatchersSimon Brandhof2012-10-032-3/+4
|
* SONAR-3736 Fix regression (additional keys not displayed if any)Fabrice Bellingard2012-10-033-1/+16
|
* SONAR-3736 Add missing filesFabrice Bellingard2012-09-202-0/+3
|
* SONAR-3736 Use Maven dependencies for I18n Harmcrest matchersFabrice Bellingard2012-09-1912-384/+176
| | | | - Do not use URLs anymore, to make it easier to test (no need for an internet connection)
* Fix warningsDavid Gageot2012-07-041-5/+5
|
* SONAR-3581 Tool to validate a l10n bundle based on multiple plugins Fabrice Bellingard2012-06-225-67/+251
|
* Create 'My Favourites' Dashboard through extension point.David Gageot2012-05-252-0/+29
| | | The dashboard is created but not activated.
* SONAR-3016 More work on extension point for filter templateDavid Gageot2012-05-222-0/+54
| | | Recognize more filter criterias
* Fix violation introduced in 1a6a18a5c4e73987a72b8176f398477f13074d29David Gageot2012-04-291-1/+1
|
* Add test helpers and refactor TestUtils a bit.David Gageot2012-04-274-14/+179
|
* Fix some quality flawsSimon Brandhof2012-02-221-1/+1
|
* Fix some quality flaws, particularly on newly inspected codeSimon Brandhof2012-02-201-11/+12
|
* Add unit tests and fix some quality flawsSimon Brandhof2012-02-201-1/+1
|
* Update copyright header for this new yearSimon Brandhof2012-01-109-9/+9
|
* Reformat schema-derby.ddl and remove unused sonar-test.ddlEvgeny Mandrikov2011-11-231-501/+0
|
* Use Derby for unit tests instead of HSQL, remove unused codeEvgeny Mandrikov2011-11-101-259/+0
|
* SONAR-2962 Add an index on dependencies.project_snapshot_id to improve ↵simonbrandhof2011-11-021-0/+1
| | | | performance
* SONAR-2642 add unit testsSimon Brandhof2011-10-251-1/+1
|
* SONAR-2919 Update Events tableFabrice Bellingard2011-10-241-3/+2
| | | | | | | | Migration script: - name column => 400 - description column => 4000 - data column removed - tries to attach snapshots to events that do not have one
* SONAR-2846 API: the i18n Hamcrest matcher should not fail if some keys are ↵Simon Brandhof2011-09-294-25/+20
| | | | not defined in the reference bundle
* SONAR-2693 the list of missing translations must be copyable and must ↵Simon Brandhof2011-09-162-53/+54
| | | | contain english values
* SONAR-2693 Make it possible to pass the sonar version to the matcherFabrice Bellingard2011-09-124-27/+52
| | | | | | - In order to remove the magic of getting the version of Sonar via the POM - Documentation also added on the I18nMatchers static methods
* SONAR-2693 Improve I18n Harmcrest matcherFabrice Bellingard2011-09-084-11/+93
| | | | | | | | | - #isBundleSynchronized replace by #isBundleUpToDate - #assertAllBundlesUpToDate static method added to avoid specifying files one by one - if bundles are Core bundles translations, then the original bundles are searched on Github using the Sonar version specified by the "sonar.version" property in the POM
* SONAR-2693 A bit of refactoringFabrice Bellingard2011-09-051-7/+16
|
* SONAR-2693 Improve unit tests for I18n Harmcrest matcherFabrice Bellingard2011-09-023-7/+41
|
* SONAR-2693 Hamcrest matcher to compare a pair of translation bundlesFabrice Bellingard2011-09-029-0/+368
| | | | | First commit and push to GitHub before activating other tests that require this code to be pushed.
* SONAR-1091 CPD over different projectsEvgeny Mandrikov2011-09-021-2/+3
| | | | | | * Improve table clone_blocks and so DbCloneIndex. * Add purge of old clone blocks.
* SONAR-1091 Add CPD over different projectsEvgeny Mandrikov2011-09-011-0/+11
| | | | | | | * Add table clone_blocks * Add DbCloneIndex, which can be activated in sonar-cpd-plugin using property "sonar.cpd.cross_project=true"
* SONAR-2644 Rule name should be optional in XML declaration filesSimon Brandhof2011-07-261-1/+1
|
* SONAR-2610 Replace the table ASYNC_MEASURES_SNAPSHOTS by MANUAL_MEASURESSimon Brandhof2011-07-121-14/+0
|
* SONAR-2583 Remove the unused table PARAMETERSSimon Brandhof2011-07-111-8/+0
|
* SONAR-2453 Update the way "false-positive" reviews are managedEvgeny Mandrikov2011-06-231-1/+1
| | | | | | | | * The column REVIEWS.FALSE-POSITIVE should be renamed to REVIEWS.RESOLUTION, the value of this column should be FALSE-POSITIVE for false-positive reviews and FIXED for other RESOLVED reviews. * The status of a false-positive reviews should be RESOLVED.
* SONAR-2507 remove the tables PLUGINS and PLUGIN_FILESsimonbrandhof2011-06-101-25/+0
|
* SONAR-1922 Improve UI for profile changelogEvgeny Mandrikov2011-06-011-1/+1
| | | | | | | | | | | | | | | | | | * Removed useless version column from Quality Profiles page. * To improve readability - version of profile displayed in a dedicated column on Changelog page, otherwise it can be difficult to determine version associated to a row. * Allowed to select both versions to compare. * CSS attribute "word-wrap" was set to "break-word" to decrease width of table, when parameter value too huge. Tested in Chromimum 12.0.742.68 and in Firefox 3.6.17. * Version of profile was added to widget. * Save and show username instead of login.
* SONAR-1922 Add a kind of version control for quality profilesEvgeny Mandrikov2011-05-271-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apply patch, which was contributed by Julien Henry: * Following algorithm was implemented: Every profile starts with version=1 and used=false. As soon as there is an analysis of a project, the involved profile is set to used=true. Every modification to a quality profile (activation, deactivation or modification of rule) is logged in DB in dedicated tables. When a modification is done on a profile that is used=true, then version number is increased and profile is set to used=false. * Introduced new metric to store profile version, which was used during analysis. * If profile for project is different than the one used during previous analysis, then event would be created. * Introduced new tab 'changelog' for profiles. Following fixes were applied on original patch: * Index name limited to 30 characters in Oracle DB, so names were reduced. * Field ActiveRuleChange.profileVersion never read locally, because ruby read it directly from DB, so getter added. * Direction doesn't make sense for 'profile_version' metric, so was removed. * Fixed ProfileEventsSensor: it seems that TimeMachine not guarantee that the order of measures would be the same as in query, so we should perform two sequential queries. * Fixed handling of null values during migration.
* SONAR-2453 Update the way "FALSE-POSITIVE" reviews are managedFabrice Bellingard2011-05-261-1/+1
| | | | | | 1- Update the DB, migration scripts & co. 2- Update the model, controller & co. 3- Update the WS Client
* SONAR-2425 Add index on CHARACTERISTIC_PROPERTIES.CHARACTERISTIC_IDEvgeny Mandrikov2011-05-241-1/+1
| | | | Index name limited to 30 characters in Oracle DB.
* SONAR-2425 Add index on CHARACTERISTIC_PROPERTIES.CHARACTERISTIC_IDEvgeny Mandrikov2011-05-241-21/+22
|
* Fix merge of release 2.8simonbrandhof2011-05-192-0/+15
|
* Move derby logs generated during unit tests to target/simonbrandhof2011-04-281-0/+7
|
* SONAR-2347 Add unit test to ReviewsDecoratorFabrice Bellingard2011-04-201-0/+25
|
* SONAR-2366 Upgrade embedded database to Derby 10.7.1.1 + add ↵simonbrandhof2011-04-182-0/+721
| | | | DatabaseTestCase to sonar-testing-harness
* Fix violationsEvgeny Mandrikov2011-04-052-7/+16
|
* Fix coding violationssimonbrandhof2011-03-272-5/+3
|
* Upgrade copyright headerssimonbrandhof2011-02-046-6/+6
|
* Add profile to check copyright headers + fix some badly formatted headerssimonbrandhof2011-01-311-0/+19
|
* SONAR-236 remove deprecated code from checkstyle plugin + display default ↵simonbrandhof2010-09-067-0/+419
value of rule parameters in Q profile console