diff options
author | David Gageot <david@gageot.net> | 2012-05-18 15:10:10 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2012-05-22 08:00:03 +0200 |
commit | 67119fa339119ccdd0cd22feb9ac70af73531b21 (patch) | |
tree | da757fec5745dbaeb5ecbcf6bbe9b5747a961b29 /sonar-core/src/test/resources | |
parent | bcd5c9f345d5c5e619034f2806e87b260544f75e (diff) | |
download | sonarqube-67119fa339119ccdd0cd22feb9ac70af73531b21.tar.gz sonarqube-67119fa339119ccdd0cd22feb9ac70af73531b21.zip |
SONAR-3016 Draft of new extension point for filter template
Diffstat (limited to 'sonar-core/src/test/resources')
3 files changed, 45 insertions, 0 deletions
diff --git a/sonar-core/src/test/resources/org/sonar/core/filters/FilterDaoTest/shouldFindFilter.xml b/sonar-core/src/test/resources/org/sonar/core/filters/FilterDaoTest/shouldFindFilter.xml new file mode 100644 index 00000000000..ae940cc01ab --- /dev/null +++ b/sonar-core/src/test/resources/org/sonar/core/filters/FilterDaoTest/shouldFindFilter.xml @@ -0,0 +1,27 @@ +<dataset> + + <filters + id="1" + name="Projects" + user_id="[null]" + shared="[true]" + favourites="[false]" + resource_id="[null]" + default_view="list" + page_size="[null]" + period_index="[null]" + /> + + <filters + id="2" + name="Treemap" + user_id="[null]" + shared="[true]" + favourites="[false]" + resource_id="[null]" + default_view="treemap" + page_size="[null]" + period_index="[null]" + /> + +</dataset> diff --git a/sonar-core/src/test/resources/org/sonar/core/filters/FilterDaoTest/shouldInsert-result.xml b/sonar-core/src/test/resources/org/sonar/core/filters/FilterDaoTest/shouldInsert-result.xml new file mode 100644 index 00000000000..5bef3836c4b --- /dev/null +++ b/sonar-core/src/test/resources/org/sonar/core/filters/FilterDaoTest/shouldInsert-result.xml @@ -0,0 +1,15 @@ +<dataset> + + <filters + id="1" + name="Projects" + user_id="[null]" + shared="[true]" + favourites="[false]" + resource_id="[null]" + default_view="list" + page_size="10" + period_index="1" + /> + +</dataset> diff --git a/sonar-core/src/test/resources/org/sonar/core/filters/FilterDaoTest/shouldInsert.xml b/sonar-core/src/test/resources/org/sonar/core/filters/FilterDaoTest/shouldInsert.xml new file mode 100644 index 00000000000..871dedcb5e9 --- /dev/null +++ b/sonar-core/src/test/resources/org/sonar/core/filters/FilterDaoTest/shouldInsert.xml @@ -0,0 +1,3 @@ +<dataset> + +</dataset> |