Esempio n. 1
0
        public void TestRecordStatusReportWithRollback()
        {
            var report = new JObject();

            report.Add(STATUS_KEY, DEPLOYMENT_FAILED_STATUS);

            TelemetryManager.RecordStatusReported(report);
            Assert.IsTrue(true);
        }
Esempio n. 2
0
        public void TestRecordStatusReportWithoutRollback()
        {
            var reportSuccess = new JObject();

            reportSuccess.Add(STATUS_KEY, DEPLOYMENT_SUCCEEDED_STATUS);
            TelemetryManager.RecordStatusReported(reportSuccess);

            var reportNoStatus = new JObject();

            TelemetryManager.RecordStatusReported(reportNoStatus);

            Assert.IsTrue(true);
        }