Skip to content

Commit 8087997

Browse files
committed
#49 Correction of tests
1 parent 788fb81 commit 8087997

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

src/main/groovy/net/nemerosa/versioning/svn/SVNInfoService.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ class SVNInfoService implements SCMInfoService {
5252
revision,
5353
revision,
5454
null,
55+
null,
5556
isWorkingCopyDirty(project.projectDir, clientManager)
5657
)
5758
}

src/test/groovy/net/nemerosa/versioning/git/GitVersionReleaseBuildFalseTest.groovy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ VERSION_DISPLAY=master-${headAbbreviated}
273273
VERSION_FULL=master-${headAbbreviated}
274274
VERSION_SCM=git
275275
VERSION_TAG=
276+
VERSION_LAST_TAG=
276277
VERSION_DIRTY=false
277278
""" as String
278279
} finally {
@@ -316,6 +317,7 @@ CUSTOM_DISPLAY=master-${headAbbreviated}
316317
CUSTOM_FULL=master-${headAbbreviated}
317318
CUSTOM_SCM=git
318319
CUSTOM_TAG=
320+
CUSTOM_LAST_TAG=
319321
CUSTOM_DIRTY=false
320322
""" as String
321323
} finally {
@@ -359,6 +361,7 @@ VERSION_DISPLAY=master-${headAbbreviated}
359361
VERSION_FULL=master-${headAbbreviated}
360362
VERSION_SCM=git
361363
VERSION_TAG=
364+
VERSION_LAST_TAG=
362365
VERSION_DIRTY=false
363366
""" as String
364367
} finally {

src/test/groovy/net/nemerosa/versioning/git/GitVersionReleaseBuildTrueTest.groovy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ VERSION_DISPLAY=master-${headAbbreviated}
273273
VERSION_FULL=master-${headAbbreviated}
274274
VERSION_SCM=git
275275
VERSION_TAG=
276+
VERSION_LAST_TAG=
276277
VERSION_DIRTY=false
277278
""" as String
278279
} finally {
@@ -316,6 +317,7 @@ CUSTOM_DISPLAY=master-${headAbbreviated}
316317
CUSTOM_FULL=master-${headAbbreviated}
317318
CUSTOM_SCM=git
318319
CUSTOM_TAG=
320+
CUSTOM_LAST_TAG=
319321
CUSTOM_DIRTY=false
320322
""" as String
321323
} finally {
@@ -359,6 +361,7 @@ VERSION_DISPLAY=master-${headAbbreviated}
359361
VERSION_FULL=master-${headAbbreviated}
360362
VERSION_SCM=git
361363
VERSION_TAG=
364+
VERSION_LAST_TAG=
362365
VERSION_DIRTY=false
363366
""" as String
364367
} finally {

src/test/groovy/net/nemerosa/versioning/svn/SVNVersionTest.groovy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ VERSION_DISPLAY=trunk-4
132132
VERSION_FULL=trunk-4
133133
VERSION_SCM=svn
134134
VERSION_TAG=
135+
VERSION_LAST_TAG=
135136
VERSION_DIRTY=false
136137
"""
137138
}
@@ -171,6 +172,7 @@ CUSTOM_DISPLAY=trunk-4
171172
CUSTOM_FULL=trunk-4
172173
CUSTOM_SCM=svn
173174
CUSTOM_TAG=
175+
CUSTOM_LAST_TAG=
174176
CUSTOM_DIRTY=false
175177
"""
176178
}
@@ -210,6 +212,7 @@ VERSION_DISPLAY=trunk-4
210212
VERSION_FULL=trunk-4
211213
VERSION_SCM=svn
212214
VERSION_TAG=
215+
VERSION_LAST_TAG=
213216
VERSION_DIRTY=false
214217
"""
215218
}

0 commit comments

Comments
 (0)