aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch/src/test/resources
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2015-02-02 10:29:58 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2015-02-02 10:30:11 +0100
commit0565f090ed367130e201a3af8b87ea8a991bc537 (patch)
tree83ccd4ec52b748d110778a6c07315f9661f471d6 /sonar-batch/src/test/resources
parentae44cac7ac77b98df301e03ba3e386cff298aba6 (diff)
downloadsonarqube-0565f090ed367130e201a3af8b87ea8a991bc537.tar.gz
sonarqube-0565f090ed367130e201a3af8b87ea8a991bc537.zip
Set a hash even on empty file -> Will prevent NPE on empty file
Diffstat (limited to 'sonar-batch/src/test/resources')
-rw-r--r--sonar-batch/src/test/resources/org/sonar/batch/index/SourcePersisterTest/testPersistEmptyFile-result.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-batch/src/test/resources/org/sonar/batch/index/SourcePersisterTest/testPersistEmptyFile-result.xml b/sonar-batch/src/test/resources/org/sonar/batch/index/SourcePersisterTest/testPersistEmptyFile-result.xml
index f1ed70ee380..184e155cb02 100644
--- a/sonar-batch/src/test/resources/org/sonar/batch/index/SourcePersisterTest/testPersistEmptyFile-result.xml
+++ b/sonar-batch/src/test/resources/org/sonar/batch/index/SourcePersisterTest/testPersistEmptyFile-result.xml
@@ -7,8 +7,8 @@
created_at="1412952242000" updated_at="1412952242000" />
<file_sources id="102" project_uuid="projectUuid" file_uuid="uuidempty" data="[null]"
- line_hashes="[null]"
- src_hash="[null]"
+ line_hashes="[null]"
+ src_hash="abcd"
data_hash="0" created_at="1414597442000" updated_at="1414597442000" />
</dataset>