|
| 1 | +// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. |
| 2 | + |
| 3 | + |
| 4 | +internal sealed class NodejsProjectSettings |
| 5 | +{ |
| 6 | + public NodejsProjectSettings() |
| 7 | + { |
| 8 | + this.NodeExePath = string.Empty; |
| 9 | + this.SearchPath = string.Empty; |
| 10 | + this.WorkingDir = string.Empty; |
| 11 | + } |
| 12 | + |
| 13 | + public string NodeExePath { get; set; } |
| 14 | + public string SearchPath { get; set; } |
| 15 | + public string WorkingDir { get; set; } |
| 16 | + public string ProjectRootDir { get; set; } |
| 17 | +} |
| 18 | + |
| 19 | +internal sealed class ResultObject |
| 20 | +{ |
| 21 | + public string title { get; set; } |
| 22 | + public bool passed { get; set; } |
| 23 | + public bool? pending { get; set; } |
| 24 | + public string stdout { get; set; } |
| 25 | + public string stderr { get; set; } |
| 26 | +} |
| 27 | + |
| 28 | +internal sealed class TestEvent |
| 29 | +{ |
| 30 | + public string type { get; set; } |
| 31 | + public string title { get; set; } |
| 32 | + public ResultObject result { get; set; } |
| 33 | +} |
| 34 | + |
| 35 | +internal sealed class TestCaseObject |
| 36 | +{ |
| 37 | + public TestCaseObject() |
| 38 | + { |
| 39 | + this.framework = string.Empty; |
| 40 | + this.testName = string.Empty; |
| 41 | + this.testFile = string.Empty; |
| 42 | + this.workingFolder = string.Empty; |
| 43 | + this.projectFolder = string.Empty; |
| 44 | + } |
| 45 | + |
| 46 | + public TestCaseObject(string framework, string testName, string testFile, string workingFolder, string projectFolder) |
| 47 | + { |
| 48 | + this.framework = framework; |
| 49 | + this.testName = testName; |
| 50 | + this.testFile = testFile; |
| 51 | + this.workingFolder = workingFolder; |
| 52 | + this.projectFolder = projectFolder; |
| 53 | + } |
| 54 | + public string framework { get; set; } |
| 55 | + public string testName { get; set; } |
| 56 | + public string testFile { get; set; } |
| 57 | + public string workingFolder { get; set; } |
| 58 | + public string projectFolder { get; set; } |
| 59 | +} |
0 commit comments