From c5749a967563442994ab3183c7ecc13fa4e6b1f1 Mon Sep 17 00:00:00 2001 From: simonbrandhof Date: Mon, 6 Dec 2010 14:12:57 +0000 Subject: SONAR-249 add 2 periods for variation values + rename SNAPSHOT.VAR_xxx columns + fix saving of dependencies --- .../main/java/org/sonar/jpa/entity/SchemaMigration.java | 2 +- .../AsyncMeasuresDaoTest/testDeleteAsyncMeasure-result.xml | 4 ++-- .../dao/AsyncMeasuresDaoTest/testDeleteAsyncMeasure.xml | 4 ++-- .../testGetAsyncMeasureSnapshotsFromSnapshotId.xml | 6 +++--- .../testGetNextAsyncMeasureSnapshotsUntilDate.xml | 14 +++++++------- .../AsyncMeasuresDaoTest/testGetNextSnapshotsUntilDate.xml | 14 +++++++------- .../dao/AsyncMeasuresDaoTest/testGetPreviousSnapshot.xml | 10 +++++----- .../AsyncMeasuresServiceTest/addFutureSnapshot-result.xml | 6 +++--- .../jpa/dao/AsyncMeasuresServiceTest/addFutureSnapshot.xml | 6 +++--- .../addInvisibleMeasure-result.xml | 6 +++--- .../dao/AsyncMeasuresServiceTest/addInvisibleMeasure.xml | 6 +++--- ...astMeasureToNextSnapshotsWithDifferentMetric-result.xml | 10 +++++----- ...ssignAPastMeasureToNextSnapshotsWithDifferentMetric.xml | 10 +++++----- .../assignLatestMeasuresToLastSnapshot-result.xml | 10 +++++----- .../assignLatestMeasuresToLastSnapshot.xml | 10 +++++----- .../assignLatestMeasuresWhenNoPreviousSnapshot-result.xml | 10 +++++----- .../assignLatestMeasuresWhenNoPreviousSnapshot.xml | 10 +++++----- ...nMeasureToFutureSnapshotsWithDifferentMetric-result.xml | 14 +++++++------- .../assignMeasureToFutureSnapshotsWithDifferentMetric.xml | 14 +++++++------- .../assignMeasuresWhenNoPreviousSnapshot-result.xml | 6 +++--- .../assignMeasuresWhenNoPreviousSnapshot.xml | 6 +++--- .../assignNewMeasureToFutureSnapshots-result.xml | 10 +++++----- .../assignNewMeasureToFutureSnapshots.xml | 10 +++++----- .../assignNewMeasuresToLastSnapshot-result.xml | 10 +++++----- .../assignNewMeasuresToLastSnapshot.xml | 10 +++++----- .../assignPastMeasuresToPastSnapshot-result.xml | 10 +++++----- .../assignPastMeasuresToPastSnapshot.xml | 10 +++++----- .../AsyncMeasuresServiceTest/deleteLastMeasure-result.xml | 10 +++++----- .../jpa/dao/AsyncMeasuresServiceTest/deleteLastMeasure.xml | 10 +++++----- .../dao/AsyncMeasuresServiceTest/deleteMeasure-result.xml | 10 +++++----- .../jpa/dao/AsyncMeasuresServiceTest/deleteMeasure.xml | 10 +++++----- 31 files changed, 139 insertions(+), 139 deletions(-) (limited to 'sonar-core') diff --git a/sonar-core/src/main/java/org/sonar/jpa/entity/SchemaMigration.java b/sonar-core/src/main/java/org/sonar/jpa/entity/SchemaMigration.java index 0be085d8be8..6ab6aa2a902 100644 --- a/sonar-core/src/main/java/org/sonar/jpa/entity/SchemaMigration.java +++ b/sonar-core/src/main/java/org/sonar/jpa/entity/SchemaMigration.java @@ -30,7 +30,7 @@ import java.sql.Statement; public class SchemaMigration { public final static int VERSION_UNKNOWN = -1; - public static final int LAST_VERSION = 162; + public static final int LAST_VERSION = 163; public final static String TABLE_NAME = "schema_migrations"; diff --git a/sonar-core/src/test/resources/org/sonar/jpa/dao/AsyncMeasuresDaoTest/testDeleteAsyncMeasure-result.xml b/sonar-core/src/test/resources/org/sonar/jpa/dao/AsyncMeasuresDaoTest/testDeleteAsyncMeasure-result.xml index 4af92259aaa..ceb6a73c68c 100644 --- a/sonar-core/src/test/resources/org/sonar/jpa/dao/AsyncMeasuresDaoTest/testDeleteAsyncMeasure-result.xml +++ b/sonar-core/src/test/resources/org/sonar/jpa/dao/AsyncMeasuresDaoTest/testDeleteAsyncMeasure-result.xml @@ -1,8 +1,8 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sonar-core/src/test/resources/org/sonar/jpa/dao/AsyncMeasuresServiceTest/addFutureSnapshot-result.xml b/sonar-core/src/test/resources/org/sonar/jpa/dao/AsyncMeasuresServiceTest/addFutureSnapshot-result.xml index c5b7af6b0e5..9ddb9347b25 100644 --- a/sonar-core/src/test/resources/org/sonar/jpa/dao/AsyncMeasuresServiceTest/addFutureSnapshot-result.xml +++ b/sonar-core/src/test/resources/org/sonar/jpa/dao/AsyncMeasuresServiceTest/addFutureSnapshot-result.xml @@ -1,18 +1,18 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/sonar-core/src/test/resources/org/sonar/jpa/dao/AsyncMeasuresServiceTest/deleteMeasure.xml b/sonar-core/src/test/resources/org/sonar/jpa/dao/AsyncMeasuresServiceTest/deleteMeasure.xml index 971256d9026..eb71b9a83f0 100644 --- a/sonar-core/src/test/resources/org/sonar/jpa/dao/AsyncMeasuresServiceTest/deleteMeasure.xml +++ b/sonar-core/src/test/resources/org/sonar/jpa/dao/AsyncMeasuresServiceTest/deleteMeasure.xml @@ -1,25 +1,25 @@ - - - - -