diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-10-09 18:19:01 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-10-09 18:21:36 +0200 |
commit | e8cbc899adb18eec17aa5df5db11eea06c46c009 (patch) | |
tree | d2f7693fcbacc03a42182b98c314dcaae3e39316 /sonar-core | |
parent | 2557634d1700e935047ecb190681a6cd418cc2b1 (diff) | |
download | sonarqube-e8cbc899adb18eec17aa5df5db11eea06c46c009.tar.gz sonarqube-e8cbc899adb18eec17aa5df5db11eea06c46c009.zip |
SONAR-3677 enhanced file system
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/source/SnapshotDataType.java | 2 | ||||
-rw-r--r-- | sonar-core/src/test/java/org/sonar/core/persistence/DryRunDatabaseFactoryTest.java | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/source/SnapshotDataType.java b/sonar-core/src/main/java/org/sonar/core/source/SnapshotDataType.java index b45eb9d32af..52fddd558cd 100644 --- a/sonar-core/src/main/java/org/sonar/core/source/SnapshotDataType.java +++ b/sonar-core/src/main/java/org/sonar/core/source/SnapshotDataType.java @@ -24,7 +24,7 @@ public enum SnapshotDataType { SYNTAX_HIGHLIGHTING("highlight_syntax"), SYMBOL_HIGHLIGHTING("symbol"), - FILE_HASH("hash"); + FILE_HASH("file_hash"); private SnapshotDataType(String value) { this.value = value; diff --git a/sonar-core/src/test/java/org/sonar/core/persistence/DryRunDatabaseFactoryTest.java b/sonar-core/src/test/java/org/sonar/core/persistence/DryRunDatabaseFactoryTest.java index 79c5461b892..e5389e96277 100644 --- a/sonar-core/src/test/java/org/sonar/core/persistence/DryRunDatabaseFactoryTest.java +++ b/sonar-core/src/test/java/org/sonar/core/persistence/DryRunDatabaseFactoryTest.java @@ -54,7 +54,7 @@ public class DryRunDatabaseFactoryTest extends AbstractDaoTestCase { } @Test - public void should_create_database_without_project() throws IOException, SQLException { + public void should_create_database_without_project() throws Exception { setupData("should_create_database"); byte[] db = createDb(null); @@ -71,7 +71,7 @@ public class DryRunDatabaseFactoryTest extends AbstractDaoTestCase { } @Test - public void should_create_database_with_project() throws IOException, SQLException { + public void should_create_database_with_project() throws Exception { setupData("should_create_database"); byte[] database = createDb(123L); @@ -85,7 +85,7 @@ public class DryRunDatabaseFactoryTest extends AbstractDaoTestCase { } @Test - public void should_create_database_with_issues() throws IOException, SQLException { + public void should_create_database_with_issues() throws Exception { setupData("should_create_database_with_issues"); byte[] database = createDb(399L); @@ -95,7 +95,7 @@ public class DryRunDatabaseFactoryTest extends AbstractDaoTestCase { } @Test - public void should_export_issues_of_project_tree() throws IOException, SQLException { + public void should_export_issues_of_project_tree() throws Exception { setupData("multi-modules-with-issues"); // 300 : root module -> export issues of all modules @@ -109,7 +109,7 @@ public class DryRunDatabaseFactoryTest extends AbstractDaoTestCase { } @Test - public void should_export_issues_of_sub_module() throws IOException, SQLException { + public void should_export_issues_of_sub_module() throws Exception { setupData("multi-modules-with-issues"); // 301 : sub module with 1 closed issue and 1 open issue @@ -122,7 +122,7 @@ public class DryRunDatabaseFactoryTest extends AbstractDaoTestCase { } @Test - public void should_export_issues_of_sub_module_2() throws IOException, SQLException { + public void should_export_issues_of_sub_module_2() throws Exception { setupData("multi-modules-with-issues"); // 302 : sub module without any issues |