appcenter-cli
Version:
Command line tool for Visual Studio App Center
88 lines (83 loc) • 2.06 kB
JavaScript
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
;
/**
* @summary Test Run Summary
*
* Most important information about a test run.
*
*/
class TestRunSummary {
/**
* Create a TestRunSummary.
* @property {string} [date] Date of the test run.
* @property {string} [statusDescription] Human-readable status of the test
* run.
* @property {number} [failed] Number of failed tests
* @property {number} [passed] Number of passed tests
* @property {boolean} [completed] Tells whether the test run has completed
*/
constructor() {
}
/**
* Defines the metadata of TestRunSummary
*
* @returns {object} metadata of TestRunSummary
*
*/
mapper() {
return {
required: false,
serializedName: 'TestRunSummary',
type: {
name: 'Composite',
className: 'TestRunSummary',
modelProperties: {
date: {
required: false,
serializedName: 'date',
type: {
name: 'String'
}
},
statusDescription: {
required: false,
serializedName: 'statusDescription',
type: {
name: 'String'
}
},
failed: {
required: false,
serializedName: 'failed',
type: {
name: 'Number'
}
},
passed: {
required: false,
serializedName: 'passed',
type: {
name: 'Number'
}
},
completed: {
required: false,
serializedName: 'completed',
type: {
name: 'Boolean'
}
}
}
}
};
}
}
module.exports = TestRunSummary;