summaryrefslogtreecommitdiffstats
path: root/version.properties
blob: 576a5c9024dbd445cba3de9495d5b38dfd7b6537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
###########################################################
# Versioning variables
# Note that these variables cannot be structured (e.g. : version.release or version.snapshot etc... )
# because they are used in Jenkins, whose plug-in doesn't support


release_name=1
sprint_number=6
feature_revision=0

base_version=${release_name}.${sprint_number}.${feature_revision}

release_version=${base_version}
snapshot_version=${base_version}-SNAPSHOT
cept in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express * or implied. See the License for the specific language governing * permissions and limitations under the License. */ import uuid from 'src/nfvo-utils/UUID.js'; describe('UUID', () => { it('function does exist', () => { expect(uuid).toBeTruthy(); }); it('generate UUID synchronously', () => { let result = uuid(undefined, true); expect(result).toBeTruthy(); }); it('generate UUID synchronously with number', () => { let result = uuid(5, true); expect(result).toBeTruthy(); }); it('generate UUID synchronously with number', () => { let result = uuid(1, true); expect(result).toBeTruthy(); }); it('generate UUID asynchronously', done => { uuid().then(result => { expect(result).toBeTruthy(); done(); }); }); });