aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core/src/test/resources
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-10-08 15:13:54 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-10-08 15:30:46 +0200
commit99fa2be3429f1612edd016d1260c08d97ebc8404 (patch)
treed641ee3264379abf1e55eba2e5492122da473992 /sonar-core/src/test/resources
parentd5d20d0f777ba89b49575846c8f96afd316829f4 (diff)
downloadsonarqube-99fa2be3429f1612edd016d1260c08d97ebc8404.tar.gz
sonarqube-99fa2be3429f1612edd016d1260c08d97ebc8404.zip
Fix quality flaws
Diffstat (limited to 'sonar-core/src/test/resources')
-rw-r--r--sonar-core/src/test/resources/org/sonar/core/source/db/SnapshotSourceDaoTest/insert-result.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/sonar-core/src/test/resources/org/sonar/core/source/db/SnapshotSourceDaoTest/insert-result.xml b/sonar-core/src/test/resources/org/sonar/core/source/db/SnapshotSourceDaoTest/insert-result.xml
new file mode 100644
index 00000000000..c7004b60f81
--- /dev/null
+++ b/sonar-core/src/test/resources/org/sonar/core/source/db/SnapshotSourceDaoTest/insert-result.xml
@@ -0,0 +1,12 @@
+<dataset>
+
+ <projects id="1" kee="org.apache.struts:struts:Dispatcher" enabled="[true]"/>
+
+ <snapshots id="10" project_id="1" islast="[false]"/>
+ <snapshots id="11" project_id="1" islast="[true]"/>
+
+ <snapshot_sources id="101" snapshot_id="11" data="public class Foo {public Foo(){}}"/>
+
+ <snapshot_sources id="102" snapshot_id="11" data="bar"/>
+
+</dataset>