コード例 #1
0
        internal override void Execute()
        {
            var cmdlet = (GetTmxTestResultStatusCommand)Cmdlet;

            // 20140721
            var dataObject = new TestResultCmdletBaseDataObject {
                Description    = cmdlet.Description,
                Id             = cmdlet.Id,
                KnownIssue     = cmdlet.KnownIssue,
                TestOrigin     = cmdlet.TestOrigin,
                TestResultName = cmdlet.TestResultName
            };

            // TmxHelper.GetCurrentTestResultStatus(cmdlet);
            // 20140722
            // TmxHelper.GetCurrentTestResultStatus(dataObject);
            cmdlet.WriteObject(TmxHelper.GetCurrentTestResultStatus(dataObject));
        }
コード例 #2
0
 internal override void Execute()
 {
     var cmdlet = (GetTmxTestResultStatusCommand)Cmdlet;
     
     // 20140721
     var dataObject = new TestResultCmdletBaseDataObject {
         Description = cmdlet.Description,
         Id = cmdlet.Id,
         KnownIssue = cmdlet.KnownIssue,
         TestOrigin = cmdlet.TestOrigin,
         TestResultName = cmdlet.TestResultName
     };
     
     // TmxHelper.GetCurrentTestResultStatus(cmdlet);
     // 20140722
     // TmxHelper.GetCurrentTestResultStatus(dataObject);
     cmdlet.WriteObject(TmxHelper.GetCurrentTestResultStatus(dataObject));
 }