From c08423c4286ae7685e7fdb363b91322a470934a2 Mon Sep 17 00:00:00 2001 From: Matt Hyman Date: Mon, 25 Jul 2016 09:50:04 -0700 Subject: [PATCH 01/27] =?UTF-8?q?Add=20tests=20for=20web=20sockets=20and?= =?UTF-8?q?=20PerformanceData=20methods=20with=20necessary=20mocks.=20Also?= =?UTF-8?q?=20adds=20ability=20to=20add=20mock=20data=20by=20HTTP=20operat?= =?UTF-8?q?ion=20type=20and=20cleaned=20by=20the=20TestAppXbox=E2=80=99s?= =?UTF-8?q?=20use=20of=20web=20sockets.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MockDataGenerator/Program.cs | 32 ++- .../TestAppXbox/Program.cs | 101 +++----- .../Core/AppFileExplorerTests.cs | 14 +- .../Core/OsInformationTests.cs | 3 +- .../Core/PerformanceDataTests.cs | 214 +++++++++++++++++ .../XboxOne/XboxHelpers.cs | 2 +- ..._amd64fre_rs1_xbox_rel_1608_160709_1700.cs | 215 +++++++++++++++++- .../Put_ext_settings_TVResolution_Default.dat | 1 + ..._api_resourcemanager_processes_Default.dat | 1 + ...api_resourcemanager_systemperf_Default.dat | 1 + .../api_resourcemanager_processes_Default.dat | 1 + ...api_resourcemanager_systemperf_Default.dat | 1 + ...amd64fre_rs1_xbox_rel_1608_160709_1700.dat | 1 + ...amd64fre_rs1_xbox_rel_1608_160709_1700.dat | 1 + ...amd64fre_rs1_xbox_rel_1608_160709_1700.dat | 1 + ...amd64fre_rs1_xbox_rel_1608_160709_1700.dat | 1 + .../UnitTestProject/MockHttpResponder.cs | 60 ++++- .../UnitTestProject/TestHelpers.cs | 4 +- .../UnitTestProject/UnitTestProject.csproj | 32 ++- .../MockDevicePortalConnection.cs | 2 +- .../WDPMockImplementations/WebSocket.cs | 81 ++++++- .../Xbox/UserManagementTests.cs | 6 +- .../Xbox/XboxAppDeploymentTests.cs | 3 +- .../UnitTestProject/Xbox/XboxSettingsTests.cs | 9 +- .../Core/PerformanceData.cs | 8 +- .../DevicePortal.cs | 106 ++++++++- .../HttpRest/WebSocket.cs | 39 +++- .../HttpRest/WebSocket.cs | 4 +- .../HttpRest/WebSocket.cs | 4 +- 29 files changed, 813 insertions(+), 135 deletions(-) create mode 100644 WindowsDevicePortalWrapper/UnitTestProject/Core/PerformanceDataTests.cs create mode 100644 WindowsDevicePortalWrapper/UnitTestProject/MockData/Defaults/Put_ext_settings_TVResolution_Default.dat create mode 100644 WindowsDevicePortalWrapper/UnitTestProject/MockData/Defaults/WebSocket_api_resourcemanager_processes_Default.dat create mode 100644 WindowsDevicePortalWrapper/UnitTestProject/MockData/Defaults/WebSocket_api_resourcemanager_systemperf_Default.dat create mode 100644 WindowsDevicePortalWrapper/UnitTestProject/MockData/Defaults/api_resourcemanager_processes_Default.dat create mode 100644 WindowsDevicePortalWrapper/UnitTestProject/MockData/Defaults/api_resourcemanager_systemperf_Default.dat create mode 100644 WindowsDevicePortalWrapper/UnitTestProject/MockData/XboxOne/14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700/WebSocket_api_resourcemanager_processes_XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.dat create mode 100644 WindowsDevicePortalWrapper/UnitTestProject/MockData/XboxOne/14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700/WebSocket_api_resourcemanager_systemperf_XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.dat create mode 100644 WindowsDevicePortalWrapper/UnitTestProject/MockData/XboxOne/14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700/api_resourcemanager_processes_XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.dat create mode 100644 WindowsDevicePortalWrapper/UnitTestProject/MockData/XboxOne/14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700/api_resourcemanager_systemperf_XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.dat diff --git a/WindowsDevicePortalWrapper/MockDataGenerator/Program.cs b/WindowsDevicePortalWrapper/MockDataGenerator/Program.cs index 5eb6226a..3fedce3b 100644 --- a/WindowsDevicePortalWrapper/MockDataGenerator/Program.cs +++ b/WindowsDevicePortalWrapper/MockDataGenerator/Program.cs @@ -9,6 +9,7 @@ using System.IO; using System.Net; using System.Threading.Tasks; using Microsoft.Tools.WindowsDevicePortal; +using static Microsoft.Tools.WindowsDevicePortal.DevicePortal; namespace MockDataGenerator { @@ -17,6 +18,11 @@ namespace MockDataGenerator /// public class Program { + /// + /// WebSocket operation prefix + /// + private const string WebSocketOpertionPrefix = "WebSocket/"; + /// /// Usage string /// @@ -32,6 +38,10 @@ namespace MockDataGenerator DevicePortal.OsInfoApi, DevicePortal.XboxLiveUserApi, DevicePortal.XboxSettingsApi, + DevicePortal.SystemPerfApi, + DevicePortal.RunningProcessApi, + WebSocketOpertionPrefix + DevicePortal.SystemPerfApi, + WebSocketOpertionPrefix + DevicePortal.RunningProcessApi }; /// @@ -103,16 +113,34 @@ namespace MockDataGenerator if (parameters.HasParameter("endpoint")) { - Task saveResponseTask = portal.SaveEndpointResponseToFile(parameters.GetParameterValue("endpoint"), directory); + HttpOperations httpOperation = HttpOperations.Get; + string endpoint = parameters.GetParameterValue("endpoint"); + + if (endpoint.StartsWith(WebSocketOpertionPrefix, StringComparison.OrdinalIgnoreCase)) + { + httpOperation = HttpOperations.WebSocket; + endpoint = endpoint.Substring(WebSocketOpertionPrefix.Length); + } + + Task saveResponseTask = portal.SaveEndpointResponseToFile(endpoint, directory, httpOperation); saveResponseTask.Wait(); } else { foreach (string endpoint in Endpoints) { + string finalEndpoint = endpoint; + HttpOperations httpOperation = HttpOperations.Get; + + if (endpoint.StartsWith(WebSocketOpertionPrefix, StringComparison.OrdinalIgnoreCase)) + { + httpOperation = HttpOperations.WebSocket; + finalEndpoint = endpoint.Substring(WebSocketOpertionPrefix.Length); + } + try { - Task saveResponseTask = portal.SaveEndpointResponseToFile(endpoint, directory); + Task saveResponseTask = portal.SaveEndpointResponseToFile(finalEndpoint, directory, httpOperation); saveResponseTask.Wait(); } catch (Exception e) diff --git a/WindowsDevicePortalWrapper/TestAppXbox/Program.cs b/WindowsDevicePortalWrapper/TestAppXbox/Program.cs index e7558a6a..267a1474 100644 --- a/WindowsDevicePortalWrapper/TestAppXbox/Program.cs +++ b/WindowsDevicePortalWrapper/TestAppXbox/Program.cs @@ -5,11 +5,12 @@ //---------------------------------------------------------------------------------------------- using System; +using System.Diagnostics; using System.Net; using System.Threading; using System.Threading.Tasks; using Microsoft.Tools.WindowsDevicePortal; -using System.Diagnostics; +using static Microsoft.Tools.WindowsDevicePortal.DevicePortal; namespace TestApp { @@ -36,26 +37,6 @@ namespace TestApp /// private static readonly string GeneralUsageMessage = "Usage: /ip: /user: /pwd: [/op: [operation parameters]]"; - /// - /// Event used to indicate that the running processes on the device have been received. - /// - private ManualResetEvent runningProcessesReceived = new ManualResetEvent(false); - - /// - /// The running processes on the device. - /// - private DevicePortal.RunningProcesses runningProcesses = null; - - /// - /// Event used to indicate that the system perf on the device have been received. - /// - private ManualResetEvent systemPerfReceived = new ManualResetEvent(false); - - /// - /// The system perf of the device. - /// - private DevicePortal.SystemPerformanceInformation systemPerf = null; - /// /// Operation types /// @@ -183,28 +164,40 @@ namespace TestApp } else if (operation == OperationType.ListProcessesOperation) { - DevicePortal.RunningProcesses deviceProcesses = null; + RunningProcesses runningProcesses = null; if (listen) { - portal.RunningProcessesMessageReceived += app.ProcessesReceivedHandler; + ManualResetEvent runningProcessesReceived = new ManualResetEvent(false); + + WebSocketMessageReceivedEventHandler runningProcessesReceivedHandler = + delegate(object sender, WebSocketMessageReceivedEventArgs runningProccesesArgs) + { + if (runningProccesesArgs.Message != null) + { + runningProcesses = runningProccesesArgs.Message; + runningProcessesReceived.Set(); + } + }; + + portal.RunningProcessesMessageReceived += runningProcessesReceivedHandler; Task startListeningForProcessesTask = portal.StartListeningForRunningProcesses(); startListeningForProcessesTask.Wait(); - app.runningProcessesReceived.WaitOne(); + runningProcessesReceived.WaitOne(); Task stopListeningForProcessesTask = portal.StopListeningForRunningProcesses(); stopListeningForProcessesTask.Wait(); - deviceProcesses = app.runningProcesses; + portal.RunningProcessesMessageReceived -= runningProcessesReceivedHandler; } else { Task getRunningProcessesTask = portal.GetRunningProcesses(); - deviceProcesses = getRunningProcessesTask.Result; + runningProcesses = getRunningProcessesTask.Result; } - foreach (DevicePortal.DeviceProcessInfo process in deviceProcesses.Processes) + foreach (DeviceProcessInfo process in runningProcesses.Processes) { if (!string.IsNullOrEmpty(process.Name)) { @@ -214,24 +207,36 @@ namespace TestApp } else if (operation == OperationType.GetSystemPerfOperation) { - DevicePortal.SystemPerformanceInformation systemPerformanceInformation = null; + SystemPerformanceInformation systemPerformanceInformation = null; if (listen) { - portal.SystemPerfMessageReceived += app.SystemPerfReceivedHandler; + ManualResetEvent systemPerfReceived = new ManualResetEvent(false); + + WebSocketMessageReceivedEventHandler systemPerfReceivedHandler = + delegate(object sender, WebSocketMessageReceivedEventArgs sysPerfInfoArgs) + { + if (sysPerfInfoArgs.Message != null) + { + systemPerformanceInformation = sysPerfInfoArgs.Message; + systemPerfReceived.Set(); + } + }; + + portal.SystemPerfMessageReceived += systemPerfReceivedHandler; Task startListeningForSystemPerfTask = portal.StartListeningForSystemPerf(); startListeningForSystemPerfTask.Wait(); - app.systemPerfReceived.WaitOne(); + systemPerfReceived.WaitOne(); Task stopListeningForSystemPerfTask = portal.StopListeningForRunningProcesses(); stopListeningForSystemPerfTask.Wait(); - systemPerformanceInformation = app.systemPerf; + portal.SystemPerfMessageReceived -= systemPerfReceivedHandler; } else { - Task getRunningProcessesTask = portal.GetSystemPerf(); + Task getRunningProcessesTask = portal.GetSystemPerf(); systemPerformanceInformation = getRunningProcessesTask.Result; } @@ -321,37 +326,5 @@ namespace TestApp throw new Exception("Unknown Operation Type. " + AvailableOperationsText); } - - /// - /// Handler for the ProcessesMessageReceived event. - /// - /// The object sending the event. - /// The event data. - private void ProcessesReceivedHandler( - object sender, - WebSocketMessageReceivedEventArgs args) - { - if (args.Message != null) - { - this.runningProcesses = args.Message; - this.runningProcessesReceived.Set(); - } - } - - /// - /// Handler for the SystemPerfMessageReceived event. - /// - /// The object sending the event. - /// The event data. - private void SystemPerfReceivedHandler( - object sender, - WebSocketMessageReceivedEventArgs args) - { - if (args.Message != null) - { - this.systemPerf = args.Message; - this.systemPerfReceived.Set(); - } - } } } diff --git a/WindowsDevicePortalWrapper/UnitTestProject/Core/AppFileExplorerTests.cs b/WindowsDevicePortalWrapper/UnitTestProject/Core/AppFileExplorerTests.cs index 16f6b196..78392fb6 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/Core/AppFileExplorerTests.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/Core/AppFileExplorerTests.cs @@ -36,7 +36,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests response.Content = content; - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.KnownFoldersApi, response); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.KnownFoldersApi, response, HttpOperations.Get); Task getKnownFoldersTask = TestHelpers.Portal.GetKnownFolders(); getKnownFoldersTask.Wait(); @@ -69,7 +69,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests response.Content = content; - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFilesApi, response); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFilesApi, response, HttpOperations.Get); Task getFolderContentsTask = TestHelpers.Portal.GetFolderContents("KnownFolderOne"); getFolderContentsTask.Wait(); @@ -117,7 +117,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests HttpContent content = new StreamContent(stream); response.Content = content; - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFileApi, response); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFileApi, response, HttpOperations.Get); Task getFileTask = TestHelpers.Portal.GetFile("knownfolder", "FileToDownload.txt", "SubFolder\\SubFolder2"); getFileTask.Wait(); @@ -135,7 +135,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests { HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.OK); - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFileApi, response); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFileApi, response, HttpOperations.Post); Task uploadFileTask = TestHelpers.Portal.UploadFile("knownfolder", "MockData\\Defaults\\api_os_devicefamily_Default.dat", "SubFolder\\SubFolder2"); uploadFileTask.Wait(); @@ -152,7 +152,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests { HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.OK); - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFileApi, response); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFileApi, response, HttpOperations.Post); try { @@ -175,7 +175,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests { HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.OK); - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFileApi, response); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFileApi, response, HttpOperations.Delete); Task deleteFileTask = TestHelpers.Portal.DeleteFile("knownfolder", "FileToDelete.txt", "SubFolder\\SubFolder2"); deleteFileTask.Wait(); @@ -191,7 +191,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests { HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.OK); - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.RenameFileApi, response); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.RenameFileApi, response, HttpOperations.Post); Task renameFileTask = TestHelpers.Portal.RenameFile("knownfolder", "FileToRename.txt", "NewFileName.txt", "SubFolder\\SubFolder2"); renameFileTask.Wait(); diff --git a/WindowsDevicePortalWrapper/UnitTestProject/Core/OsInformationTests.cs b/WindowsDevicePortalWrapper/UnitTestProject/Core/OsInformationTests.cs index 297cb323..ebd5b16f 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/Core/OsInformationTests.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/Core/OsInformationTests.cs @@ -7,6 +7,7 @@ using System; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; +using static Microsoft.Tools.WindowsDevicePortal.DevicePortal; namespace Microsoft.Tools.WindowsDevicePortal.Tests { @@ -22,7 +23,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests [TestMethod] public void OsInformationTest() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.MachineNameApi); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.MachineNameApi, HttpOperations.Get); Task getNameTask = TestHelpers.Portal.GetDeviceName(); getNameTask.Wait(); diff --git a/WindowsDevicePortalWrapper/UnitTestProject/Core/PerformanceDataTests.cs b/WindowsDevicePortalWrapper/UnitTestProject/Core/PerformanceDataTests.cs new file mode 100644 index 00000000..f0409550 --- /dev/null +++ b/WindowsDevicePortalWrapper/UnitTestProject/Core/PerformanceDataTests.cs @@ -0,0 +1,214 @@ +//---------------------------------------------------------------------------------------------- +// +// Licensed under the MIT License. See LICENSE.TXT in the project root license information. +// +//---------------------------------------------------------------------------------------------- + +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using static Microsoft.Tools.WindowsDevicePortal.DevicePortal; + +namespace Microsoft.Tools.WindowsDevicePortal.Tests.Core +{ + /// + /// Test class for PerformanceData APIs. + /// + [TestClass] + public class PerformanceDataTests : BaseTests + { + /// + /// Basic test of GET method for getting a list of running processes. + /// + [TestMethod] + public void GetRunningProcessesTest() + { + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.RunningProcessApi, HttpOperations.Get); + + Task getRunningProcessesTask = TestHelpers.Portal.GetRunningProcesses(); + getRunningProcessesTask.Wait(); + + Assert.AreEqual(TaskStatus.RanToCompletion, getRunningProcessesTask.Status); + + ValidateRunningProcesses(getRunningProcessesTask.Result); + } + + /// + /// Basic test of web socket connection for getting a list of running processes. + /// + [TestMethod] + public void GetRunningProcessesWebSocketTest() + { + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.RunningProcessApi, HttpOperations.WebSocket); + + ManualResetEvent runningProcessesReceived = new ManualResetEvent(false); + RunningProcesses runningProcesses = null; + + WindowsDevicePortal.WebSocketMessageReceivedEventHandler runningProcessesReceivedHandler = delegate(object sender, + WebSocketMessageReceivedEventArgs args) + { + if (args.Message != null) + { + runningProcesses = args.Message; + runningProcessesReceived.Set(); + } + }; + + TestHelpers.Portal.RunningProcessesMessageReceived += runningProcessesReceivedHandler; + + Task startListeningForProcessesTask = TestHelpers.Portal.StartListeningForRunningProcesses(); + startListeningForProcessesTask.Wait(); + Assert.AreEqual(TaskStatus.RanToCompletion, startListeningForProcessesTask.Status); + + runningProcessesReceived.WaitOne(); + + Task stopListeningForProcessesTask = TestHelpers.Portal.StopListeningForRunningProcesses(); + stopListeningForProcessesTask.Wait(); + Assert.AreEqual(TaskStatus.RanToCompletion, stopListeningForProcessesTask.Status); + + TestHelpers.Portal.RunningProcessesMessageReceived -= runningProcessesReceivedHandler; + + ValidateRunningProcesses(runningProcesses); + } + + /// + /// Basic test of GET method for getting system perf without the known JSON error. + /// + [TestMethod] + public void GetSystemPerfTest() + { + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.SystemPerfApi, HttpOperations.Get); + + Task getSystemPerfTask = TestHelpers.Portal.GetSystemPerf(); + getSystemPerfTask.Wait(); + + Assert.AreEqual(TaskStatus.RanToCompletion, getSystemPerfTask.Status); + + ValidateSystemPerm(getSystemPerfTask.Result); + } + + /// + /// Basic test of web socket for getting system perf. + /// + [TestMethod] + public void GetSystemPerfWebSocketTest() + { + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.SystemPerfApi, HttpOperations.WebSocket); + + ManualResetEvent systemPerfReceived = new ManualResetEvent(false); + SystemPerformanceInformation systemPerfInfo = null; + + WebSocketMessageReceivedEventHandler systemPerfReceivedHandler = delegate(object sender, + WebSocketMessageReceivedEventArgs args) + { + if (args.Message != null) + { + systemPerfInfo = args.Message; + systemPerfReceived.Set(); + } + }; + + TestHelpers.Portal.SystemPerfMessageReceived += systemPerfReceivedHandler; + + Task startListeningForSystemPerfTask = TestHelpers.Portal.StartListeningForSystemPerf(); + startListeningForSystemPerfTask.Wait(); + Assert.AreEqual(TaskStatus.RanToCompletion, startListeningForSystemPerfTask.Status); + + systemPerfReceived.WaitOne(); + + Task stopListeningForSystemPerf = TestHelpers.Portal.StopListeningForSystemPerf(); + stopListeningForSystemPerf.Wait(); + Assert.AreEqual(TaskStatus.RanToCompletion, stopListeningForSystemPerf.Status); + + TestHelpers.Portal.SystemPerfMessageReceived -= systemPerfReceivedHandler; + + ValidateSystemPerm(systemPerfInfo); + } + + /// + /// Validate the returned from the tests. + /// + /// The to validate. + private static void ValidateRunningProcesses(RunningProcesses runningProcesses) + { + List processes = new List(runningProcesses.Processes); + + // Check some known things about this response. + Assert.AreEqual(2, processes.Count); + + DeviceProcessInfo systemIdleprocess = processes[0]; + Assert.IsNull(systemIdleprocess.AppName); + Assert.AreEqual(systemIdleprocess.CpuUsage, 0); + Assert.IsFalse(systemIdleprocess.IsRunning); + Assert.IsFalse(systemIdleprocess.IsXAP); + Assert.AreEqual(systemIdleprocess.Name, "System Idle Process"); + Assert.IsNull(systemIdleprocess.PackageFullName); + Assert.AreEqual(systemIdleprocess.PageFile, 0U); + Assert.AreEqual(systemIdleprocess.PrivateWorkingSet, 4096); + Assert.AreEqual(systemIdleprocess.ProcessId, 0); + Assert.IsNull(systemIdleprocess.Publisher); + Assert.AreEqual(systemIdleprocess.SessionId, 0U); + Assert.AreEqual(systemIdleprocess.TotalCommit, 0); + Assert.AreEqual(systemIdleprocess.UserName, "NT AUTHORITY\\SYSTEM"); + Assert.IsNull(systemIdleprocess.Version); + Assert.AreEqual(systemIdleprocess.VirtualSize, 65536); + Assert.AreEqual(systemIdleprocess.WorkingSet, 4096U); + + DeviceProcessInfo devHomeProcess = processes[1]; + Assert.IsNull(devHomeProcess.AppName); + Assert.AreEqual(devHomeProcess.CpuUsage, 0); + Assert.IsFalse(devHomeProcess.IsRunning); + Assert.IsFalse(devHomeProcess.IsXAP); + Assert.AreEqual(devHomeProcess.Name, "svchost.exe"); + Assert.IsNull(devHomeProcess.PackageFullName); + Assert.AreEqual(devHomeProcess.PageFile, 5472256U); + Assert.AreEqual(devHomeProcess.PrivateWorkingSet, 4755456); + Assert.AreEqual(devHomeProcess.ProcessId, 892); + Assert.IsNull(devHomeProcess.Publisher); + Assert.AreEqual(devHomeProcess.SessionId, 0U); + Assert.AreEqual(devHomeProcess.TotalCommit, 5914624); + Assert.AreEqual(devHomeProcess.UserName, "NT AUTHORITY\\SYSTEM"); + Assert.IsNull(devHomeProcess.Version); + Assert.AreEqual(devHomeProcess.VirtualSize, 2203387539456); + Assert.AreEqual(devHomeProcess.WorkingSet, 17285120U); + } + + /// + /// Validate the returned from the tests. + /// + /// The to validate. + private static void ValidateSystemPerm(SystemPerformanceInformation systemPerfInfo) + { + // Check some known things about this response. + Assert.AreEqual(systemPerfInfo.AvailablePages, 369054); + Assert.AreEqual(systemPerfInfo.CommitLimit, 784851); + Assert.AreEqual(systemPerfInfo.CommittedPages, 322627); + Assert.AreEqual(systemPerfInfo.CpuLoad, 1); + Assert.AreEqual(systemPerfInfo.IoOtherSpeed, 3692); + Assert.AreEqual(systemPerfInfo.IoReadSpeed, 36); + Assert.AreEqual(systemPerfInfo.IoWriteSpeed, 6480); + Assert.AreEqual(systemPerfInfo.NonPagedPoolPages, 42504); + Assert.AreEqual(systemPerfInfo.PageSize, 4096); + Assert.AreEqual(systemPerfInfo.PagedPoolPages, 30697); + Assert.AreEqual(systemPerfInfo.TotalInstalledKb, 1048592); + Assert.AreEqual(systemPerfInfo.TotalPages, 655360); + + Assert.AreEqual(systemPerfInfo.GpuData.Adapters.Count, 1); + GpuAdapter gpuAdapter = systemPerfInfo.GpuData.Adapters[0]; + Assert.AreEqual(gpuAdapter.DedicatedMemory, 268435456U); + Assert.AreEqual(gpuAdapter.DedicatedMemoryUsed, 79282176U); + Assert.AreEqual(gpuAdapter.Description, "ROOT\\SraKmd\\0000"); + Assert.AreEqual(gpuAdapter.SystemMemory, 1342177280U); + Assert.AreEqual(gpuAdapter.SystemMemoryUsed, 10203136U); + + Assert.AreEqual(gpuAdapter.EnginesUtilization.Count, 7); + double enguineUtilization = gpuAdapter.EnginesUtilization[0]; + Assert.AreEqual(enguineUtilization, 0.0011459999950602651); + + NetworkPerformanceData networkPerformanceData = systemPerfInfo.NetworkData; + Assert.AreEqual(networkPerformanceData.BytesIn, 15000); + Assert.AreEqual(networkPerformanceData.BytesOut, 0); + } + } +} diff --git a/WindowsDevicePortalWrapper/UnitTestProject/Device-VersionTests/XboxOne/XboxHelpers.cs b/WindowsDevicePortalWrapper/UnitTestProject/Device-VersionTests/XboxOne/XboxHelpers.cs index 22e4b461..0d0670bd 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/Device-VersionTests/XboxOne/XboxHelpers.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/Device-VersionTests/XboxOne/XboxHelpers.cs @@ -21,7 +21,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests /// The version of the OS we are targeting. public static void VerifyOsInformation(string operatingSystemVersion) { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.MachineNameApi, DevicePortalPlatforms.XboxOne, operatingSystemVersion); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.MachineNameApi, DevicePortalPlatforms.XboxOne, operatingSystemVersion, HttpOperations.Get); Task getNameTask = TestHelpers.Portal.GetDeviceName(); getNameTask.Wait(); diff --git a/WindowsDevicePortalWrapper/UnitTestProject/Device-VersionTests/XboxOne/XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.cs b/WindowsDevicePortalWrapper/UnitTestProject/Device-VersionTests/XboxOne/XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.cs index ff7eb7a5..46fdc6f2 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/Device-VersionTests/XboxOne/XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/Device-VersionTests/XboxOne/XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.cs @@ -5,6 +5,7 @@ //---------------------------------------------------------------------------------------------- using System.Collections.Generic; +using System.Threading; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using static Microsoft.Tools.WindowsDevicePortal.DevicePortal; @@ -47,7 +48,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests [TestMethod] public void GetXboxLiveUserListTest_XboxOne_1608() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxLiveUserApi, this.PlatformType, this.OperatingSystemVersion); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxLiveUserApi, this.PlatformType, this.OperatingSystemVersion, HttpOperations.Get); Task getUserTask = TestHelpers.Portal.GetXboxLiveUsers(); getUserTask.Wait(); @@ -68,7 +69,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests } /// - /// Basic test of GET for operating system info for 1508 OS. + /// Basic test of GET for operating system info for 1608 OS. /// [TestMethod] public void GetOsInfo_XboxOne_1608() @@ -79,12 +80,12 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests /// /// Basic test of the GET method. Gets a mock list of settings /// and verifies it comes back as expected from the raw response - /// content for this 1508 OS. + /// content for this 1608 OS. /// [TestMethod] public void GetXboxSettingsTest_XboxOne_1608() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxSettingsApi, this.PlatformType, this.OperatingSystemVersion); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxSettingsApi, this.PlatformType, this.OperatingSystemVersion, HttpOperations.Get); Task getSettingsTask = TestHelpers.Portal.GetXboxSettings(); getSettingsTask.Wait(); @@ -119,7 +120,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests [TestMethod] public void AppFileExplorerGetKnownFolderTest_XboxOne_1608() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.KnownFoldersApi, this.PlatformType, this.OperatingSystemVersion); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.KnownFoldersApi, this.PlatformType, this.OperatingSystemVersion, HttpOperations.Get); Task getKnownFoldersTask = TestHelpers.Portal.GetKnownFolders(); getKnownFoldersTask.Wait(); @@ -141,7 +142,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests [TestMethod] public void AppFileExplorerGetFolderContentsTest_XboxOne_1608() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFilesApi, this.PlatformType, this.OperatingSystemVersion); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFilesApi, this.PlatformType, this.OperatingSystemVersion, HttpOperations.Get); Task getFolderContentsTask = TestHelpers.Portal.GetFolderContents("DevelopmentFiles"); getFolderContentsTask.Wait(); @@ -236,5 +237,207 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests Assert.AreEqual(16, directoryContents[currentFileIndex].Type); currentFileIndex++; } + + /// + /// Basic test of GET method. Gets a mock list of processes and verifies it comes + /// back as expected from the raw response content for this 1608 OS. + /// + [TestMethod] + public void GetRunningProcessesTest_XboxOne_1608() + { + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.RunningProcessApi, this.PlatformType, this.OperatingSystemVersion, HttpOperations.Get); + + Task getRunningProcessesTask = TestHelpers.Portal.GetRunningProcesses(); + getRunningProcessesTask.Wait(); + + Assert.AreEqual(TaskStatus.RanToCompletion, getRunningProcessesTask.Status); + + ValidateRunningProcesses(getRunningProcessesTask.Result); + } + + /// + /// Basic test of web socket. Gets a mock list of processes and verifies it comes back as expected + /// from the raw response content for this 1608 OS. + /// + [TestMethod] + public void GetRunningProcessesWebSocketTest_XboxOne_1608() + { + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.RunningProcessApi, this.PlatformType, this.OperatingSystemVersion, HttpOperations.WebSocket); + + ManualResetEvent runningProcessesReceived = new ManualResetEvent(false); + RunningProcesses runningProcesses = null; + + WindowsDevicePortal.WebSocketMessageReceivedEventHandler runningProcessesReceivedHandler = delegate(object sender, + WebSocketMessageReceivedEventArgs args) + { + if (args.Message != null) + { + runningProcesses = args.Message; + runningProcessesReceived.Set(); + } + }; + + TestHelpers.Portal.RunningProcessesMessageReceived += runningProcessesReceivedHandler; + + Task startListeningForProcessesTask = TestHelpers.Portal.StartListeningForRunningProcesses(); + startListeningForProcessesTask.Wait(); + Assert.AreEqual(TaskStatus.RanToCompletion, startListeningForProcessesTask.Status); + + runningProcessesReceived.WaitOne(); + + Task stopListeningForProcessesTask = TestHelpers.Portal.StopListeningForRunningProcesses(); + stopListeningForProcessesTask.Wait(); + Assert.AreEqual(TaskStatus.RanToCompletion, stopListeningForProcessesTask.Status); + + TestHelpers.Portal.RunningProcessesMessageReceived -= runningProcessesReceivedHandler; + + ValidateRunningProcesses(runningProcesses); + } + + /// + /// Basic test of GET method. Gets a mock list of processes and verifies it comes back as expected from + /// the raw response content for this 1608 OS. + /// This response contains the known system perf JSON error. + /// + [TestMethod] + public void GetSystemPerfTest_XboxOne_1608() + { + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.SystemPerfApi, this.PlatformType, this.OperatingSystemVersion, HttpOperations.Get); + + Task getSystemPerfTask = TestHelpers.Portal.GetSystemPerf(); + getSystemPerfTask.Wait(); + + Assert.AreEqual(TaskStatus.RanToCompletion, getSystemPerfTask.Status); + + ValidateSystemPerm(getSystemPerfTask.Result); + } + + /// + /// Basic test of web socket. Gets a mock list of processes and verifies it comes back as expected from + /// the raw response content for this 1608 OS. + /// + [TestMethod] + public void GetSystemPerfWebSocketTest_XboxOne_1608() + { + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.SystemPerfApi, this.PlatformType, this.OperatingSystemVersion, HttpOperations.WebSocket); + + ManualResetEvent systemPerfReceived = new ManualResetEvent(false); + SystemPerformanceInformation systemPerfInfo = null; + + WindowsDevicePortal.WebSocketMessageReceivedEventHandler systemPerfReceivedHandler = delegate(object sender, + WebSocketMessageReceivedEventArgs args) + { + if (args.Message != null) + { + systemPerfInfo = args.Message; + systemPerfReceived.Set(); + } + }; + + TestHelpers.Portal.SystemPerfMessageReceived += systemPerfReceivedHandler; + + Task startListeningForSystemPerfTask = TestHelpers.Portal.StartListeningForSystemPerf(); + startListeningForSystemPerfTask.Wait(); + Assert.AreEqual(TaskStatus.RanToCompletion, startListeningForSystemPerfTask.Status); + + systemPerfReceived.WaitOne(); + + Task stopListeningForSystemPerf = TestHelpers.Portal.StopListeningForSystemPerf(); + stopListeningForSystemPerf.Wait(); + Assert.AreEqual(TaskStatus.RanToCompletion, stopListeningForSystemPerf.Status); + + TestHelpers.Portal.SystemPerfMessageReceived -= systemPerfReceivedHandler; + + ValidateSystemPerm(systemPerfInfo); + } + + /// + /// Validate the returned from the tests. + /// + /// The to validate. + private static void ValidateRunningProcesses(RunningProcesses runningProcesses) + { + List processes = new List(runningProcesses.Processes); + + // Check some known things about this response. + Assert.AreEqual(75, processes.Count); + + DeviceProcessInfo systemIdleprocess = processes[0]; + Assert.IsNull(systemIdleprocess.AppName); + Assert.AreEqual(systemIdleprocess.CpuUsage, 0); + Assert.IsFalse(systemIdleprocess.IsRunning); + Assert.IsFalse(systemIdleprocess.IsXAP); + Assert.AreEqual(systemIdleprocess.Name, "System Idle Process"); + Assert.IsNull(systemIdleprocess.PackageFullName); + Assert.AreEqual(systemIdleprocess.PageFile, 0U); + Assert.AreEqual(systemIdleprocess.PrivateWorkingSet, 4096); + Assert.AreEqual(systemIdleprocess.ProcessId, 0); + Assert.IsNull(systemIdleprocess.Publisher); + Assert.AreEqual(systemIdleprocess.SessionId, 0U); + Assert.AreEqual(systemIdleprocess.TotalCommit, 0); + Assert.AreEqual(systemIdleprocess.UserName, "NT AUTHORITY\\SYSTEM"); + Assert.IsNull(systemIdleprocess.Version); + Assert.AreEqual(systemIdleprocess.VirtualSize, 65536); + Assert.AreEqual(systemIdleprocess.WorkingSet, 4096U); + + DeviceProcessInfo devHomeProcess = processes[56]; + Assert.AreEqual(devHomeProcess.AppName, "Dev Home"); + Assert.AreEqual(devHomeProcess.CpuUsage, 0); + Assert.IsFalse(devHomeProcess.IsRunning); + Assert.IsFalse(devHomeProcess.IsXAP); + Assert.AreEqual(devHomeProcess.Name, "WWAHost.exe"); + Assert.AreEqual(devHomeProcess.PackageFullName, "Microsoft.Xbox.DevHome_100.1607.9000.0_x64__8wekyb3d8bbwe"); + Assert.AreEqual(devHomeProcess.PageFile, 47067136U); + Assert.AreEqual(devHomeProcess.PrivateWorkingSet, 32796672); + Assert.AreEqual(devHomeProcess.ProcessId, 3424); + Assert.AreEqual(devHomeProcess.Publisher, "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"); + Assert.AreEqual(devHomeProcess.SessionId, 0U); + Assert.AreEqual(devHomeProcess.TotalCommit, 49213440); + + Assert.AreEqual(devHomeProcess.UserName, "TESTXBOX\\DefaultAccount"); + Assert.AreEqual(devHomeProcess.Version.Build, 9000U); + Assert.AreEqual(devHomeProcess.Version.Major, 100U); + Assert.AreEqual(devHomeProcess.Version.Minor, 1607U); + Assert.AreEqual(devHomeProcess.Version.Revision, 0U); + Assert.AreEqual(devHomeProcess.VirtualSize, 2234032066560); + Assert.AreEqual(devHomeProcess.WorkingSet, 79466496U); + } + + /// + /// Validate the returned from the tests. + /// + /// The to validate. + private static void ValidateSystemPerm(SystemPerformanceInformation systemPerfInfo) + { + // Check some known things about this response. + Assert.AreEqual(systemPerfInfo.AvailablePages, 369054); + Assert.AreEqual(systemPerfInfo.CommitLimit, 784851); + Assert.AreEqual(systemPerfInfo.CommittedPages, 322627); + Assert.AreEqual(systemPerfInfo.CpuLoad, 1); + Assert.AreEqual(systemPerfInfo.IoOtherSpeed, 3692); + Assert.AreEqual(systemPerfInfo.IoReadSpeed, 36); + Assert.AreEqual(systemPerfInfo.IoWriteSpeed, 6480); + Assert.AreEqual(systemPerfInfo.NonPagedPoolPages, 42504); + Assert.AreEqual(systemPerfInfo.PageSize, 4096); + Assert.AreEqual(systemPerfInfo.PagedPoolPages, 30697); + Assert.AreEqual(systemPerfInfo.TotalInstalledKb, 1048592); + Assert.AreEqual(systemPerfInfo.TotalPages, 655360); + + Assert.AreEqual(systemPerfInfo.GpuData.Adapters.Count, 1); + GpuAdapter gpuAdapter = systemPerfInfo.GpuData.Adapters[0]; + Assert.AreEqual(gpuAdapter.DedicatedMemory, 268435456U); + Assert.AreEqual(gpuAdapter.DedicatedMemoryUsed, 79282176U); + Assert.AreEqual(gpuAdapter.Description, "ROOT\\SraKmd\\0000"); + Assert.AreEqual(gpuAdapter.SystemMemory, 1342177280U); + Assert.AreEqual(gpuAdapter.SystemMemoryUsed, 10203136U); + + Assert.AreEqual(gpuAdapter.EnginesUtilization.Count, 7); + double enguineUtilization = gpuAdapter.EnginesUtilization[0]; + Assert.AreEqual(enguineUtilization, 0.0011459999950602651); + + NetworkPerformanceData networkPerformanceData = systemPerfInfo.NetworkData; + Assert.AreEqual(networkPerformanceData.BytesIn, 15000); + Assert.AreEqual(networkPerformanceData.BytesOut, 0); + } } } diff --git a/WindowsDevicePortalWrapper/UnitTestProject/MockData/Defaults/Put_ext_settings_TVResolution_Default.dat b/WindowsDevicePortalWrapper/UnitTestProject/MockData/Defaults/Put_ext_settings_TVResolution_Default.dat new file mode 100644 index 00000000..55b762a4 --- /dev/null +++ b/WindowsDevicePortalWrapper/UnitTestProject/MockData/Defaults/Put_ext_settings_TVResolution_Default.dat @@ -0,0 +1 @@ +{"Name":"TVResolution","Value":"1080p","Category":"Video","RequiresReboot":"No"} \ No newline at end of file diff --git a/WindowsDevicePortalWrapper/UnitTestProject/MockData/Defaults/WebSocket_api_resourcemanager_processes_Default.dat b/WindowsDevicePortalWrapper/UnitTestProject/MockData/Defaults/WebSocket_api_resourcemanager_processes_Default.dat new file mode 100644 index 00000000..20210407 --- /dev/null +++ b/WindowsDevicePortalWrapper/UnitTestProject/MockData/Defaults/WebSocket_api_resourcemanager_processes_Default.dat @@ -0,0 +1 @@ +{"Processes" : [{"CPUUsage" : 0.000000, "ImageName" : "System Idle Process", "PageFileUsage" : 0, "PrivateWorkingSet" : 4096, "ProcessId" : 0, "SessionId" : 0, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 65536, "WorkingSetSize" : 4096},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 5472256, "PrivateWorkingSet" : 4755456, "ProcessId" : 892, "SessionId" : 0, "TotalCommit" : 5914624, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2203387539456, "WorkingSetSize" : 17285120}]} \ No newline at end of file diff --git a/WindowsDevicePortalWrapper/UnitTestProject/MockData/Defaults/WebSocket_api_resourcemanager_systemperf_Default.dat b/WindowsDevicePortalWrapper/UnitTestProject/MockData/Defaults/WebSocket_api_resourcemanager_systemperf_Default.dat new file mode 100644 index 00000000..a85b526a --- /dev/null +++ b/WindowsDevicePortalWrapper/UnitTestProject/MockData/Defaults/WebSocket_api_resourcemanager_systemperf_Default.dat @@ -0,0 +1 @@ +{"AvailablePages" : 369054, "CommitLimit" : 784851, "CommittedPages" : 322627, "CpuLoad" : 1, "IOOtherSpeed" : 3692, "IOReadSpeed" : 36, "IOWriteSpeed" : 6480, "NonPagedPoolPages" : 42504, "PageSize" : 4096, "PagedPoolPages" : 30697, "TotalInstalledInKb" : 1048592, "TotalPages" : 655360, "GPUData" : {"AvailableAdapters" : [{"DedicatedMemory" : 268435456, "DedicatedMemoryUsed" : 79282176, "Description" : "ROOT\\SraKmd\\0000", "SystemMemory" : 1342177280, "SystemMemoryUsed" : 10203136, "EnginesUtilization" : [0.001146,0.000000,0.000000,0.001361,0.000000,0.000000,0.000000]}]}, "NetworkingData" : {"NetworkInBytes" : 15000, "NetworkOutBytes" : 0}} \ No newline at end of file diff --git a/WindowsDevicePortalWrapper/UnitTestProject/MockData/Defaults/api_resourcemanager_processes_Default.dat b/WindowsDevicePortalWrapper/UnitTestProject/MockData/Defaults/api_resourcemanager_processes_Default.dat new file mode 100644 index 00000000..20210407 --- /dev/null +++ b/WindowsDevicePortalWrapper/UnitTestProject/MockData/Defaults/api_resourcemanager_processes_Default.dat @@ -0,0 +1 @@ +{"Processes" : [{"CPUUsage" : 0.000000, "ImageName" : "System Idle Process", "PageFileUsage" : 0, "PrivateWorkingSet" : 4096, "ProcessId" : 0, "SessionId" : 0, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 65536, "WorkingSetSize" : 4096},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 5472256, "PrivateWorkingSet" : 4755456, "ProcessId" : 892, "SessionId" : 0, "TotalCommit" : 5914624, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2203387539456, "WorkingSetSize" : 17285120}]} \ No newline at end of file diff --git a/WindowsDevicePortalWrapper/UnitTestProject/MockData/Defaults/api_resourcemanager_systemperf_Default.dat b/WindowsDevicePortalWrapper/UnitTestProject/MockData/Defaults/api_resourcemanager_systemperf_Default.dat new file mode 100644 index 00000000..a85b526a --- /dev/null +++ b/WindowsDevicePortalWrapper/UnitTestProject/MockData/Defaults/api_resourcemanager_systemperf_Default.dat @@ -0,0 +1 @@ +{"AvailablePages" : 369054, "CommitLimit" : 784851, "CommittedPages" : 322627, "CpuLoad" : 1, "IOOtherSpeed" : 3692, "IOReadSpeed" : 36, "IOWriteSpeed" : 6480, "NonPagedPoolPages" : 42504, "PageSize" : 4096, "PagedPoolPages" : 30697, "TotalInstalledInKb" : 1048592, "TotalPages" : 655360, "GPUData" : {"AvailableAdapters" : [{"DedicatedMemory" : 268435456, "DedicatedMemoryUsed" : 79282176, "Description" : "ROOT\\SraKmd\\0000", "SystemMemory" : 1342177280, "SystemMemoryUsed" : 10203136, "EnginesUtilization" : [0.001146,0.000000,0.000000,0.001361,0.000000,0.000000,0.000000]}]}, "NetworkingData" : {"NetworkInBytes" : 15000, "NetworkOutBytes" : 0}} \ No newline at end of file diff --git a/WindowsDevicePortalWrapper/UnitTestProject/MockData/XboxOne/14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700/WebSocket_api_resourcemanager_processes_XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.dat b/WindowsDevicePortalWrapper/UnitTestProject/MockData/XboxOne/14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700/WebSocket_api_resourcemanager_processes_XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.dat new file mode 100644 index 00000000..f99e1305 --- /dev/null +++ b/WindowsDevicePortalWrapper/UnitTestProject/MockData/XboxOne/14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700/WebSocket_api_resourcemanager_processes_XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.dat @@ -0,0 +1 @@ +{"Processes" : [{"CPUUsage" : 0.000000, "ImageName" : "System Idle Process", "PageFileUsage" : 0, "PrivateWorkingSet" : 4096, "ProcessId" : 0, "SessionId" : 0, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 65536, "WorkingSetSize" : 4096},{"CPUUsage" : 0.000000, "ImageName" : "System", "PageFileUsage" : 122880, "PrivateWorkingSet" : 28672, "ProcessId" : 4, "SessionId" : 0, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 3563520, "WorkingSetSize" : 139264},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 5697536, "PrivateWorkingSet" : 4673536, "ProcessId" : 108, "SessionId" : 0, "TotalCommit" : 6012928, "UserName" : "NT AUTHORITY\\NETWORK SERVICE", "VirtualSize" : 2199086051328, "WorkingSetSize" : 13897728},{"CPUUsage" : 0.000000, "ImageName" : "CastSrv.exe", "PageFileUsage" : 3166208, "PrivateWorkingSet" : 1290240, "ProcessId" : 164, "SessionId" : 0, "TotalCommit" : 3907584, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199083745280, "WorkingSetSize" : 5292032},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 2256896, "PrivateWorkingSet" : 1523712, "ProcessId" : 244, "SessionId" : 0, "TotalCommit" : 2572288, "UserName" : "NT AUTHORITY\\LOCAL SERVICE", "VirtualSize" : 2199060926464, "WorkingSetSize" : 8437760},{"CPUUsage" : 0.000000, "ImageName" : "smss.exe", "PageFileUsage" : 364544, "PrivateWorkingSet" : 208896, "ProcessId" : 316, "SessionId" : 0, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199030419456, "WorkingSetSize" : 1085440},{"CPUUsage" : 0.000000, "ImageName" : "csrss.exe", "PageFileUsage" : 876544, "PrivateWorkingSet" : 512000, "ProcessId" : 400, "SessionId" : 0, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199045697536, "WorkingSetSize" : 2531328},{"CPUUsage" : 0.000000, "ImageName" : "wininit.exe", "PageFileUsage" : 1024000, "PrivateWorkingSet" : 753664, "ProcessId" : 472, "SessionId" : 0, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199051161600, "WorkingSetSize" : 4853760},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 1941504, "PrivateWorkingSet" : 1343488, "ProcessId" : 496, "SessionId" : 0, "TotalCommit" : 2252800, "UserName" : "NT AUTHORITY\\LOCAL SERVICE", "VirtualSize" : 2199054917632, "WorkingSetSize" : 6164480},{"CPUUsage" : 0.000000, "ImageName" : "services.exe", "PageFileUsage" : 2457600, "PrivateWorkingSet" : 2125824, "ProcessId" : 524, "SessionId" : 0, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199046860800, "WorkingSetSize" : 6049792},{"CPUUsage" : 0.000000, "ImageName" : "lsass.exe", "PageFileUsage" : 5316608, "PrivateWorkingSet" : 4665344, "ProcessId" : 532, "SessionId" : 0, "TotalCommit" : 5701632, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199066640384, "WorkingSetSize" : 14090240},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 4681728, "PrivateWorkingSet" : 3444736, "ProcessId" : 632, "SessionId" : 0, "TotalCommit" : 5455872, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199108042752, "WorkingSetSize" : 18960384},{"CPUUsage" : 0.000000, "ImageName" : "dwm.exe", "PageFileUsage" : 38678528, "PrivateWorkingSet" : 8622080, "ProcessId" : 640, "SessionId" : 0, "TotalCommit" : 97013760, "UserName" : "Window Manager\\DWM-0", "VirtualSize" : 2199177822208, "WorkingSetSize" : 25391104},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 3956736, "PrivateWorkingSet" : 3465216, "ProcessId" : 700, "SessionId" : 0, "TotalCommit" : 4403200, "UserName" : "NT AUTHORITY\\NETWORK SERVICE", "VirtualSize" : 2199062298624, "WorkingSetSize" : 8265728},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 10358784, "PrivateWorkingSet" : 9424896, "ProcessId" : 772, "SessionId" : 0, "TotalCommit" : 10674176, "UserName" : "NT AUTHORITY\\LOCAL SERVICE", "VirtualSize" : 2199096283136, "WorkingSetSize" : 18677760},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 16666624, "PrivateWorkingSet" : 12414976, "ProcessId" : 848, "SessionId" : 0, "TotalCommit" : 17543168, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199231172608, "WorkingSetSize" : 42115072},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 5472256, "PrivateWorkingSet" : 4755456, "ProcessId" : 892, "SessionId" : 0, "TotalCommit" : 5914624, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2203387539456, "WorkingSetSize" : 17285120},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 9957376, "PrivateWorkingSet" : 7794688, "ProcessId" : 900, "SessionId" : 0, "TotalCommit" : 10698752, "UserName" : "NT AUTHORITY\\LOCAL SERVICE", "VirtualSize" : 2199175122944, "WorkingSetSize" : 31207424},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 2129920, "PrivateWorkingSet" : 1572864, "ProcessId" : 952, "SessionId" : 0, "TotalCommit" : 2445312, "UserName" : "NT AUTHORITY\\LOCAL SERVICE", "VirtualSize" : 2199058026496, "WorkingSetSize" : 7716864},{"CPUUsage" : 0.000000, "ImageName" : "EtwUploader.exe", "PageFileUsage" : 4767744, "PrivateWorkingSet" : 2940928, "ProcessId" : 1236, "SessionId" : 0, "TotalCommit" : 5218304, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199104114688, "WorkingSetSize" : 15740928},{"CPUUsage" : 0.000000, "ImageName" : "SearchProtocolHost.exe", "PageFileUsage" : 3100672, "PrivateWorkingSet" : 2080768, "ProcessId" : 1312, "SessionId" : 0, "TotalCommit" : 3915776, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199081029632, "WorkingSetSize" : 10555392},{"CPUUsage" : 0.000000, "ImageName" : "NetworkTransferManagerService.exe", "PageFileUsage" : 4210688, "PrivateWorkingSet" : 1789952, "ProcessId" : 1400, "SessionId" : 0, "TotalCommit" : 4526080, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199072116736, "WorkingSetSize" : 10358784},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 4042752, "PrivateWorkingSet" : 2768896, "ProcessId" : 1440, "SessionId" : 0, "TotalCommit" : 4714496, "UserName" : "NT AUTHORITY\\LOCAL SERVICE", "VirtualSize" : 2199097970688, "WorkingSetSize" : 12652544},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 1515520, "PrivateWorkingSet" : 942080, "ProcessId" : 1472, "SessionId" : 0, "TotalCommit" : 1826816, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199054053376, "WorkingSetSize" : 4726784},{"CPUUsage" : 0.000000, "ImageName" : "msvsmon.exe", "PageFileUsage" : 1024000, "PrivateWorkingSet" : 688128, "ProcessId" : 1488, "SessionId" : 0, "TotalCommit" : 1347584, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199052656640, "WorkingSetSize" : 4878336},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 7528448, "PrivateWorkingSet" : 6250496, "ProcessId" : 1496, "SessionId" : 0, "TotalCommit" : 8335360, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199139852288, "WorkingSetSize" : 20865024},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 2265088, "PrivateWorkingSet" : 1683456, "ProcessId" : 1508, "SessionId" : 0, "TotalCommit" : 2715648, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199080902656, "WorkingSetSize" : 9379840},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 5279744, "PrivateWorkingSet" : 3104768, "ProcessId" : 1520, "SessionId" : 0, "TotalCommit" : 5955584, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199123410944, "WorkingSetSize" : 15847424},{"CPUUsage" : 0.000000, "ImageName" : "PRProvisioningService.exe", "PageFileUsage" : 2060288, "PrivateWorkingSet" : 1634304, "ProcessId" : 1588, "SessionId" : 0, "TotalCommit" : 2375680, "UserName" : "NT AUTHORITY\\NETWORK SERVICE", "VirtualSize" : 2199056441344, "WorkingSetSize" : 8704000},{"CPUUsage" : 0.000000, "ImageName" : "XUpdMgr.exe", "PageFileUsage" : 1351680, "PrivateWorkingSet" : 1015808, "ProcessId" : 1608, "SessionId" : 0, "TotalCommit" : 1667072, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199049244672, "WorkingSetSize" : 6815744},{"CPUUsage" : 0.000000, "ImageName" : "WebManagement.exe", "PageFileUsage" : 5795840, "PrivateWorkingSet" : 4214784, "ProcessId" : 1684, "SessionId" : 0, "TotalCommit" : 6496256, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199111409664, "WorkingSetSize" : 20668416},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 4874240, "PrivateWorkingSet" : 3854336, "ProcessId" : 1836, "SessionId" : 0, "TotalCommit" : 5189632, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199106318336, "WorkingSetSize" : 17711104},{"CPUUsage" : 0.000000, "ImageName" : "xnetsharedservice.exe", "PageFileUsage" : 22056960, "PrivateWorkingSet" : 20340736, "ProcessId" : 1868, "SessionId" : 0, "TotalCommit" : 22736896, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199139790848, "WorkingSetSize" : 35409920},{"CPUUsage" : 0.000000, "ImageName" : "npcmd.exe", "PageFileUsage" : 339968, "PrivateWorkingSet" : 221184, "ProcessId" : 1904, "SessionId" : 0, "TotalCommit" : 651264, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199034732544, "WorkingSetSize" : 1671168},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 1433600, "PrivateWorkingSet" : 888832, "ProcessId" : 1912, "SessionId" : 0, "TotalCommit" : 1744896, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199054303232, "WorkingSetSize" : 4775936},{"CPUUsage" : 0.000000, "ImageName" : "", "PageFileUsage" : 0, "PrivateWorkingSet" : 8192, "ProcessId" : 1952, "SessionId" : 0, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 0, "WorkingSetSize" : 8192},{"CPUUsage" : 0.000000, "ImageName" : "wex.services.exe", "PageFileUsage" : 1667072, "PrivateWorkingSet" : 892928, "ProcessId" : 1984, "SessionId" : 0, "TotalCommit" : 1978368, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199046963200, "WorkingSetSize" : 4722688},{"CPUUsage" : 0.000000, "ImageName" : "wex.services.exe", "PageFileUsage" : 1527808, "PrivateWorkingSet" : 1261568, "ProcessId" : 1992, "SessionId" : 0, "TotalCommit" : 1843200, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199050014720, "WorkingSetSize" : 6508544},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 3964928, "PrivateWorkingSet" : 3276800, "ProcessId" : 2252, "SessionId" : 0, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199076098048, "WorkingSetSize" : 10928128},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 8675328, "PrivateWorkingSet" : 6778880, "ProcessId" : 2272, "SessionId" : 0, "TotalCommit" : 9355264, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199173443584, "WorkingSetSize" : 38023168},{"CPUUsage" : 0.000000, "ImageName" : "sihost.exe", "PageFileUsage" : 4489216, "PrivateWorkingSet" : 3502080, "ProcessId" : 2476, "SessionId" : 0, "TotalCommit" : 5357568, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199110021120, "WorkingSetSize" : 19914752},{"CPUUsage" : 0.000000, "ImageName" : "xrun.exe", "PageFileUsage" : 778240, "PrivateWorkingSet" : 589824, "ProcessId" : 2516, "SessionId" : 0, "TotalCommit" : 1089536, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199044571136, "WorkingSetSize" : 3358720},{"CPUUsage" : 0.000000, "ImageName" : "xtfhost.exe", "PageFileUsage" : 3670016, "PrivateWorkingSet" : 2580480, "ProcessId" : 2592, "SessionId" : 0, "TotalCommit" : 4341760, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199089188864, "WorkingSetSize" : 16302080},{"CPUUsage" : 0.000000, "ImageName" : "Windows.Xbox.Test.services.exe", "PageFileUsage" : 860160, "PrivateWorkingSet" : 663552, "ProcessId" : 2620, "SessionId" : 0, "TotalCommit" : 1175552, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199044362240, "WorkingSetSize" : 4939776},{"CPUUsage" : 0.000000, "ImageName" : "nuimonitor.exe", "PageFileUsage" : 696320, "PrivateWorkingSet" : 520192, "ProcessId" : 2648, "SessionId" : 0, "TotalCommit" : 1007616, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199042560000, "WorkingSetSize" : 3010560},{"CPUUsage" : 0.000000, "ImageName" : "xray.exe", "PageFileUsage" : 1019904, "PrivateWorkingSet" : 708608, "ProcessId" : 2688, "SessionId" : 0, "TotalCommit" : 1458176, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199060443136, "WorkingSetSize" : 4108288},{"CPUUsage" : 0.000000, "ImageName" : "nuiservice.exe", "PageFileUsage" : 104783872, "PrivateWorkingSet" : 50601984, "ProcessId" : 2720, "SessionId" : 0, "TotalCommit" : 117035008, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199403495424, "WorkingSetSize" : 69488640},{"CPUUsage" : 0.000000, "ImageName" : "mwdbgsrv.exe", "PageFileUsage" : 462848, "PrivateWorkingSet" : 286720, "ProcessId" : 2768, "SessionId" : 0, "TotalCommit" : 774144, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199037288448, "WorkingSetSize" : 1912832},{"CPUUsage" : 0.000000, "ImageName" : "xstudioxcrdserviceexe.exe", "PageFileUsage" : 512000, "PrivateWorkingSet" : 331776, "ProcessId" : 2824, "SessionId" : 0, "TotalCommit" : 823296, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199037878272, "WorkingSetSize" : 2383872},{"CPUUsage" : 0.000000, "ImageName" : "xrfssvc.exe", "PageFileUsage" : 2859008, "PrivateWorkingSet" : 499712, "ProcessId" : 2884, "SessionId" : 0, "TotalCommit" : 3170304, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199047815168, "WorkingSetSize" : 2740224},{"CPUUsage" : 0.000000, "ImageName" : "xrmntcl.exe", "PageFileUsage" : 1511424, "PrivateWorkingSet" : 1110016, "ProcessId" : 2920, "SessionId" : 0, "TotalCommit" : 1953792, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199063007232, "WorkingSetSize" : 7155712},{"CPUUsage" : 0.000000, "ImageName" : "xtfrtservice.exe", "PageFileUsage" : 4329472, "PrivateWorkingSet" : 3252224, "ProcessId" : 3016, "SessionId" : 0, "TotalCommit" : 5070848, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199113658368, "WorkingSetSize" : 20979712},{"CPUUsage" : 0.000000, "ImageName" : "xstudioserviceexe.exe", "PageFileUsage" : 1699840, "PrivateWorkingSet" : 1241088, "ProcessId" : 3252, "SessionId" : 0, "TotalCommit" : 2138112, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199063560192, "WorkingSetSize" : 6123520},{"CPUUsage" : 0.000000, "ImageName" : "Xam.exe", "PageFileUsage" : 13062144, "PrivateWorkingSet" : 7544832, "ProcessId" : 3264, "SessionId" : 0, "TotalCommit" : 16506880, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199202004992, "WorkingSetSize" : 31584256},{"CPUUsage" : 0.000000, "ImageName" : "dllhost.exe", "PageFileUsage" : 4489216, "PrivateWorkingSet" : 2465792, "ProcessId" : 3332, "SessionId" : 0, "TotalCommit" : 5492736, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199121637376, "WorkingSetSize" : 10821632},{"CPUUsage" : 0.000000, "ImageName" : "telnetd.exe", "PageFileUsage" : 495616, "PrivateWorkingSet" : 335872, "ProcessId" : 3416, "SessionId" : 0, "TotalCommit" : 806912, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199037599744, "WorkingSetSize" : 2289664},{"AppName" : "Dev Home", "CPUUsage" : 0.000000, "ImageName" : "WWAHost.exe", "IsRunning" : false, "PackageFullName" : "Microsoft.Xbox.DevHome_100.1607.9000.0_x64__8wekyb3d8bbwe", "PageFileUsage" : 47067136, "PrivateWorkingSet" : 32796672, "ProcessId" : 3424, "Publisher" : "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", "SessionId" : 0, "TotalCommit" : 49213440, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2234032066560, "WorkingSetSize" : 79466496, "Version" : {"Build" : 9000, "Major" : 100, "Minor" : 1607, "Revision" : 0}},{"CPUUsage" : 0.000000, "ImageName" : "msvsmon.exe", "PageFileUsage" : 892928, "PrivateWorkingSet" : 659456, "ProcessId" : 3428, "SessionId" : 0, "TotalCommit" : 1216512, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199049134080, "WorkingSetSize" : 4157440},{"CPUUsage" : 0.000000, "ImageName" : "WpnHost.exe", "PageFileUsage" : 4767744, "PrivateWorkingSet" : 3506176, "ProcessId" : 3592, "SessionId" : 0, "TotalCommit" : 5439488, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199104012288, "WorkingSetSize" : 18452480},{"CPUUsage" : 0.000000, "ImageName" : "XboxUI.exe", "PageFileUsage" : 25550848, "PrivateWorkingSet" : 14700544, "ProcessId" : 3612, "SessionId" : 0, "TotalCommit" : 35241984, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199313948672, "WorkingSetSize" : 56008704},{"CPUUsage" : 0.000000, "ImageName" : "msvsmon.exe", "PageFileUsage" : 966656, "PrivateWorkingSet" : 749568, "ProcessId" : 3672, "SessionId" : 0, "TotalCommit" : 1290240, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 29544448, "WorkingSetSize" : 4562944},{"CPUUsage" : 0.000000, "ImageName" : "telnetd.exe", "PageFileUsage" : 491520, "PrivateWorkingSet" : 344064, "ProcessId" : 3676, "SessionId" : 0, "TotalCommit" : 802816, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199037599744, "WorkingSetSize" : 2306048},{"CPUUsage" : 0.000000, "ImageName" : "ApplicationClipService.exe", "PageFileUsage" : 27262976, "PrivateWorkingSet" : 3620864, "ProcessId" : 3724, "SessionId" : 0, "TotalCommit" : 28987392, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199169216512, "WorkingSetSize" : 14082048},{"CPUUsage" : 0.000000, "ImageName" : "Speech.Service.exe", "PageFileUsage" : 10948608, "PrivateWorkingSet" : 5316608, "ProcessId" : 3844, "SessionId" : 0, "TotalCommit" : 11628544, "UserName" : "NT AUTHORITY\\LOCAL SERVICE", "VirtualSize" : 2199144280064, "WorkingSetSize" : 23818240},{"CPUUsage" : 0.000000, "ImageName" : "SearchFilterHost.exe", "PageFileUsage" : 1286144, "PrivateWorkingSet" : 868352, "ProcessId" : 3920, "SessionId" : 0, "TotalCommit" : 1617920, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199052939264, "WorkingSetSize" : 5009408},{"CPUUsage" : 0.000000, "ImageName" : "audiodg.exe", "PageFileUsage" : 7512064, "PrivateWorkingSet" : 4841472, "ProcessId" : 3996, "SessionId" : 0, "TotalCommit" : 7901184, "UserName" : "NT AUTHORITY\\LOCAL SERVICE", "VirtualSize" : 2199061712896, "WorkingSetSize" : 11239424},{"CPUUsage" : 0.000000, "ImageName" : "SearchIndexer.exe", "PageFileUsage" : 7987200, "PrivateWorkingSet" : 6021120, "ProcessId" : 4084, "SessionId" : 0, "TotalCommit" : 8998912, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199140245504, "WorkingSetSize" : 18104320},{"CPUUsage" : 0.000000, "ImageName" : "msvsmon.exe", "PageFileUsage" : 1069056, "PrivateWorkingSet" : 745472, "ProcessId" : 4120, "SessionId" : 0, "TotalCommit" : 1392640, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 32190464, "WorkingSetSize" : 5165056},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 3309568, "PrivateWorkingSet" : 2076672, "ProcessId" : 4272, "SessionId" : 0, "TotalCommit" : 4112384, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199115182080, "WorkingSetSize" : 12013568},{"CPUUsage" : 0.000000, "ImageName" : "eracontrol.exe", "PageFileUsage" : 1163264, "PrivateWorkingSet" : 827392, "ProcessId" : 4336, "SessionId" : 0, "TotalCommit" : 1478656, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199048753152, "WorkingSetSize" : 5804032},{"CPUUsage" : 0.000000, "ImageName" : "MicrosoftXboxSecurityClip.exe", "PageFileUsage" : 1032192, "PrivateWorkingSet" : 802816, "ProcessId" : 4436, "SessionId" : 0, "TotalCommit" : 1347584, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199045300224, "WorkingSetSize" : 5922816},{"CPUUsage" : 0.000000, "ImageName" : "RuntimeBroker.exe", "PageFileUsage" : 1560576, "PrivateWorkingSet" : 950272, "ProcessId" : 4592, "SessionId" : 0, "TotalCommit" : 2105344, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199048949760, "WorkingSetSize" : 6197248},{"CPUUsage" : 0.000000, "ImageName" : "SpeechRuntime.exe", "PageFileUsage" : 10412032, "PrivateWorkingSet" : 3358720, "ProcessId" : 4684, "SessionId" : 0, "TotalCommit" : 12525568, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199115530240, "WorkingSetSize" : 14950400},{"CPUUsage" : 0.000000, "ImageName" : "DeveloperToolsSvc.exe", "PageFileUsage" : 1445888, "PrivateWorkingSet" : 1089536, "ProcessId" : 4808, "SessionId" : 0, "TotalCommit" : 1765376, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199059881984, "WorkingSetSize" : 6782976},{"CPUUsage" : 0.000000, "ImageName" : "SpcService.exe", "PageFileUsage" : 1699840, "PrivateWorkingSet" : 1073152, "ProcessId" : 4896, "SessionId" : 0, "TotalCommit" : 2244608, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199058579456, "WorkingSetSize" : 8728576}]} \ No newline at end of file diff --git a/WindowsDevicePortalWrapper/UnitTestProject/MockData/XboxOne/14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700/WebSocket_api_resourcemanager_systemperf_XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.dat b/WindowsDevicePortalWrapper/UnitTestProject/MockData/XboxOne/14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700/WebSocket_api_resourcemanager_systemperf_XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.dat new file mode 100644 index 00000000..a85b526a --- /dev/null +++ b/WindowsDevicePortalWrapper/UnitTestProject/MockData/XboxOne/14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700/WebSocket_api_resourcemanager_systemperf_XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.dat @@ -0,0 +1 @@ +{"AvailablePages" : 369054, "CommitLimit" : 784851, "CommittedPages" : 322627, "CpuLoad" : 1, "IOOtherSpeed" : 3692, "IOReadSpeed" : 36, "IOWriteSpeed" : 6480, "NonPagedPoolPages" : 42504, "PageSize" : 4096, "PagedPoolPages" : 30697, "TotalInstalledInKb" : 1048592, "TotalPages" : 655360, "GPUData" : {"AvailableAdapters" : [{"DedicatedMemory" : 268435456, "DedicatedMemoryUsed" : 79282176, "Description" : "ROOT\\SraKmd\\0000", "SystemMemory" : 1342177280, "SystemMemoryUsed" : 10203136, "EnginesUtilization" : [0.001146,0.000000,0.000000,0.001361,0.000000,0.000000,0.000000]}]}, "NetworkingData" : {"NetworkInBytes" : 15000, "NetworkOutBytes" : 0}} \ No newline at end of file diff --git a/WindowsDevicePortalWrapper/UnitTestProject/MockData/XboxOne/14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700/api_resourcemanager_processes_XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.dat b/WindowsDevicePortalWrapper/UnitTestProject/MockData/XboxOne/14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700/api_resourcemanager_processes_XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.dat new file mode 100644 index 00000000..f99e1305 --- /dev/null +++ b/WindowsDevicePortalWrapper/UnitTestProject/MockData/XboxOne/14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700/api_resourcemanager_processes_XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.dat @@ -0,0 +1 @@ +{"Processes" : [{"CPUUsage" : 0.000000, "ImageName" : "System Idle Process", "PageFileUsage" : 0, "PrivateWorkingSet" : 4096, "ProcessId" : 0, "SessionId" : 0, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 65536, "WorkingSetSize" : 4096},{"CPUUsage" : 0.000000, "ImageName" : "System", "PageFileUsage" : 122880, "PrivateWorkingSet" : 28672, "ProcessId" : 4, "SessionId" : 0, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 3563520, "WorkingSetSize" : 139264},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 5697536, "PrivateWorkingSet" : 4673536, "ProcessId" : 108, "SessionId" : 0, "TotalCommit" : 6012928, "UserName" : "NT AUTHORITY\\NETWORK SERVICE", "VirtualSize" : 2199086051328, "WorkingSetSize" : 13897728},{"CPUUsage" : 0.000000, "ImageName" : "CastSrv.exe", "PageFileUsage" : 3166208, "PrivateWorkingSet" : 1290240, "ProcessId" : 164, "SessionId" : 0, "TotalCommit" : 3907584, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199083745280, "WorkingSetSize" : 5292032},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 2256896, "PrivateWorkingSet" : 1523712, "ProcessId" : 244, "SessionId" : 0, "TotalCommit" : 2572288, "UserName" : "NT AUTHORITY\\LOCAL SERVICE", "VirtualSize" : 2199060926464, "WorkingSetSize" : 8437760},{"CPUUsage" : 0.000000, "ImageName" : "smss.exe", "PageFileUsage" : 364544, "PrivateWorkingSet" : 208896, "ProcessId" : 316, "SessionId" : 0, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199030419456, "WorkingSetSize" : 1085440},{"CPUUsage" : 0.000000, "ImageName" : "csrss.exe", "PageFileUsage" : 876544, "PrivateWorkingSet" : 512000, "ProcessId" : 400, "SessionId" : 0, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199045697536, "WorkingSetSize" : 2531328},{"CPUUsage" : 0.000000, "ImageName" : "wininit.exe", "PageFileUsage" : 1024000, "PrivateWorkingSet" : 753664, "ProcessId" : 472, "SessionId" : 0, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199051161600, "WorkingSetSize" : 4853760},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 1941504, "PrivateWorkingSet" : 1343488, "ProcessId" : 496, "SessionId" : 0, "TotalCommit" : 2252800, "UserName" : "NT AUTHORITY\\LOCAL SERVICE", "VirtualSize" : 2199054917632, "WorkingSetSize" : 6164480},{"CPUUsage" : 0.000000, "ImageName" : "services.exe", "PageFileUsage" : 2457600, "PrivateWorkingSet" : 2125824, "ProcessId" : 524, "SessionId" : 0, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199046860800, "WorkingSetSize" : 6049792},{"CPUUsage" : 0.000000, "ImageName" : "lsass.exe", "PageFileUsage" : 5316608, "PrivateWorkingSet" : 4665344, "ProcessId" : 532, "SessionId" : 0, "TotalCommit" : 5701632, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199066640384, "WorkingSetSize" : 14090240},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 4681728, "PrivateWorkingSet" : 3444736, "ProcessId" : 632, "SessionId" : 0, "TotalCommit" : 5455872, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199108042752, "WorkingSetSize" : 18960384},{"CPUUsage" : 0.000000, "ImageName" : "dwm.exe", "PageFileUsage" : 38678528, "PrivateWorkingSet" : 8622080, "ProcessId" : 640, "SessionId" : 0, "TotalCommit" : 97013760, "UserName" : "Window Manager\\DWM-0", "VirtualSize" : 2199177822208, "WorkingSetSize" : 25391104},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 3956736, "PrivateWorkingSet" : 3465216, "ProcessId" : 700, "SessionId" : 0, "TotalCommit" : 4403200, "UserName" : "NT AUTHORITY\\NETWORK SERVICE", "VirtualSize" : 2199062298624, "WorkingSetSize" : 8265728},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 10358784, "PrivateWorkingSet" : 9424896, "ProcessId" : 772, "SessionId" : 0, "TotalCommit" : 10674176, "UserName" : "NT AUTHORITY\\LOCAL SERVICE", "VirtualSize" : 2199096283136, "WorkingSetSize" : 18677760},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 16666624, "PrivateWorkingSet" : 12414976, "ProcessId" : 848, "SessionId" : 0, "TotalCommit" : 17543168, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199231172608, "WorkingSetSize" : 42115072},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 5472256, "PrivateWorkingSet" : 4755456, "ProcessId" : 892, "SessionId" : 0, "TotalCommit" : 5914624, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2203387539456, "WorkingSetSize" : 17285120},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 9957376, "PrivateWorkingSet" : 7794688, "ProcessId" : 900, "SessionId" : 0, "TotalCommit" : 10698752, "UserName" : "NT AUTHORITY\\LOCAL SERVICE", "VirtualSize" : 2199175122944, "WorkingSetSize" : 31207424},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 2129920, "PrivateWorkingSet" : 1572864, "ProcessId" : 952, "SessionId" : 0, "TotalCommit" : 2445312, "UserName" : "NT AUTHORITY\\LOCAL SERVICE", "VirtualSize" : 2199058026496, "WorkingSetSize" : 7716864},{"CPUUsage" : 0.000000, "ImageName" : "EtwUploader.exe", "PageFileUsage" : 4767744, "PrivateWorkingSet" : 2940928, "ProcessId" : 1236, "SessionId" : 0, "TotalCommit" : 5218304, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199104114688, "WorkingSetSize" : 15740928},{"CPUUsage" : 0.000000, "ImageName" : "SearchProtocolHost.exe", "PageFileUsage" : 3100672, "PrivateWorkingSet" : 2080768, "ProcessId" : 1312, "SessionId" : 0, "TotalCommit" : 3915776, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199081029632, "WorkingSetSize" : 10555392},{"CPUUsage" : 0.000000, "ImageName" : "NetworkTransferManagerService.exe", "PageFileUsage" : 4210688, "PrivateWorkingSet" : 1789952, "ProcessId" : 1400, "SessionId" : 0, "TotalCommit" : 4526080, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199072116736, "WorkingSetSize" : 10358784},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 4042752, "PrivateWorkingSet" : 2768896, "ProcessId" : 1440, "SessionId" : 0, "TotalCommit" : 4714496, "UserName" : "NT AUTHORITY\\LOCAL SERVICE", "VirtualSize" : 2199097970688, "WorkingSetSize" : 12652544},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 1515520, "PrivateWorkingSet" : 942080, "ProcessId" : 1472, "SessionId" : 0, "TotalCommit" : 1826816, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199054053376, "WorkingSetSize" : 4726784},{"CPUUsage" : 0.000000, "ImageName" : "msvsmon.exe", "PageFileUsage" : 1024000, "PrivateWorkingSet" : 688128, "ProcessId" : 1488, "SessionId" : 0, "TotalCommit" : 1347584, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199052656640, "WorkingSetSize" : 4878336},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 7528448, "PrivateWorkingSet" : 6250496, "ProcessId" : 1496, "SessionId" : 0, "TotalCommit" : 8335360, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199139852288, "WorkingSetSize" : 20865024},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 2265088, "PrivateWorkingSet" : 1683456, "ProcessId" : 1508, "SessionId" : 0, "TotalCommit" : 2715648, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199080902656, "WorkingSetSize" : 9379840},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 5279744, "PrivateWorkingSet" : 3104768, "ProcessId" : 1520, "SessionId" : 0, "TotalCommit" : 5955584, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199123410944, "WorkingSetSize" : 15847424},{"CPUUsage" : 0.000000, "ImageName" : "PRProvisioningService.exe", "PageFileUsage" : 2060288, "PrivateWorkingSet" : 1634304, "ProcessId" : 1588, "SessionId" : 0, "TotalCommit" : 2375680, "UserName" : "NT AUTHORITY\\NETWORK SERVICE", "VirtualSize" : 2199056441344, "WorkingSetSize" : 8704000},{"CPUUsage" : 0.000000, "ImageName" : "XUpdMgr.exe", "PageFileUsage" : 1351680, "PrivateWorkingSet" : 1015808, "ProcessId" : 1608, "SessionId" : 0, "TotalCommit" : 1667072, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199049244672, "WorkingSetSize" : 6815744},{"CPUUsage" : 0.000000, "ImageName" : "WebManagement.exe", "PageFileUsage" : 5795840, "PrivateWorkingSet" : 4214784, "ProcessId" : 1684, "SessionId" : 0, "TotalCommit" : 6496256, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199111409664, "WorkingSetSize" : 20668416},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 4874240, "PrivateWorkingSet" : 3854336, "ProcessId" : 1836, "SessionId" : 0, "TotalCommit" : 5189632, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199106318336, "WorkingSetSize" : 17711104},{"CPUUsage" : 0.000000, "ImageName" : "xnetsharedservice.exe", "PageFileUsage" : 22056960, "PrivateWorkingSet" : 20340736, "ProcessId" : 1868, "SessionId" : 0, "TotalCommit" : 22736896, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199139790848, "WorkingSetSize" : 35409920},{"CPUUsage" : 0.000000, "ImageName" : "npcmd.exe", "PageFileUsage" : 339968, "PrivateWorkingSet" : 221184, "ProcessId" : 1904, "SessionId" : 0, "TotalCommit" : 651264, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199034732544, "WorkingSetSize" : 1671168},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 1433600, "PrivateWorkingSet" : 888832, "ProcessId" : 1912, "SessionId" : 0, "TotalCommit" : 1744896, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199054303232, "WorkingSetSize" : 4775936},{"CPUUsage" : 0.000000, "ImageName" : "", "PageFileUsage" : 0, "PrivateWorkingSet" : 8192, "ProcessId" : 1952, "SessionId" : 0, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 0, "WorkingSetSize" : 8192},{"CPUUsage" : 0.000000, "ImageName" : "wex.services.exe", "PageFileUsage" : 1667072, "PrivateWorkingSet" : 892928, "ProcessId" : 1984, "SessionId" : 0, "TotalCommit" : 1978368, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199046963200, "WorkingSetSize" : 4722688},{"CPUUsage" : 0.000000, "ImageName" : "wex.services.exe", "PageFileUsage" : 1527808, "PrivateWorkingSet" : 1261568, "ProcessId" : 1992, "SessionId" : 0, "TotalCommit" : 1843200, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199050014720, "WorkingSetSize" : 6508544},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 3964928, "PrivateWorkingSet" : 3276800, "ProcessId" : 2252, "SessionId" : 0, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199076098048, "WorkingSetSize" : 10928128},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 8675328, "PrivateWorkingSet" : 6778880, "ProcessId" : 2272, "SessionId" : 0, "TotalCommit" : 9355264, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199173443584, "WorkingSetSize" : 38023168},{"CPUUsage" : 0.000000, "ImageName" : "sihost.exe", "PageFileUsage" : 4489216, "PrivateWorkingSet" : 3502080, "ProcessId" : 2476, "SessionId" : 0, "TotalCommit" : 5357568, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199110021120, "WorkingSetSize" : 19914752},{"CPUUsage" : 0.000000, "ImageName" : "xrun.exe", "PageFileUsage" : 778240, "PrivateWorkingSet" : 589824, "ProcessId" : 2516, "SessionId" : 0, "TotalCommit" : 1089536, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199044571136, "WorkingSetSize" : 3358720},{"CPUUsage" : 0.000000, "ImageName" : "xtfhost.exe", "PageFileUsage" : 3670016, "PrivateWorkingSet" : 2580480, "ProcessId" : 2592, "SessionId" : 0, "TotalCommit" : 4341760, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199089188864, "WorkingSetSize" : 16302080},{"CPUUsage" : 0.000000, "ImageName" : "Windows.Xbox.Test.services.exe", "PageFileUsage" : 860160, "PrivateWorkingSet" : 663552, "ProcessId" : 2620, "SessionId" : 0, "TotalCommit" : 1175552, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199044362240, "WorkingSetSize" : 4939776},{"CPUUsage" : 0.000000, "ImageName" : "nuimonitor.exe", "PageFileUsage" : 696320, "PrivateWorkingSet" : 520192, "ProcessId" : 2648, "SessionId" : 0, "TotalCommit" : 1007616, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199042560000, "WorkingSetSize" : 3010560},{"CPUUsage" : 0.000000, "ImageName" : "xray.exe", "PageFileUsage" : 1019904, "PrivateWorkingSet" : 708608, "ProcessId" : 2688, "SessionId" : 0, "TotalCommit" : 1458176, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199060443136, "WorkingSetSize" : 4108288},{"CPUUsage" : 0.000000, "ImageName" : "nuiservice.exe", "PageFileUsage" : 104783872, "PrivateWorkingSet" : 50601984, "ProcessId" : 2720, "SessionId" : 0, "TotalCommit" : 117035008, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199403495424, "WorkingSetSize" : 69488640},{"CPUUsage" : 0.000000, "ImageName" : "mwdbgsrv.exe", "PageFileUsage" : 462848, "PrivateWorkingSet" : 286720, "ProcessId" : 2768, "SessionId" : 0, "TotalCommit" : 774144, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199037288448, "WorkingSetSize" : 1912832},{"CPUUsage" : 0.000000, "ImageName" : "xstudioxcrdserviceexe.exe", "PageFileUsage" : 512000, "PrivateWorkingSet" : 331776, "ProcessId" : 2824, "SessionId" : 0, "TotalCommit" : 823296, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199037878272, "WorkingSetSize" : 2383872},{"CPUUsage" : 0.000000, "ImageName" : "xrfssvc.exe", "PageFileUsage" : 2859008, "PrivateWorkingSet" : 499712, "ProcessId" : 2884, "SessionId" : 0, "TotalCommit" : 3170304, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199047815168, "WorkingSetSize" : 2740224},{"CPUUsage" : 0.000000, "ImageName" : "xrmntcl.exe", "PageFileUsage" : 1511424, "PrivateWorkingSet" : 1110016, "ProcessId" : 2920, "SessionId" : 0, "TotalCommit" : 1953792, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199063007232, "WorkingSetSize" : 7155712},{"CPUUsage" : 0.000000, "ImageName" : "xtfrtservice.exe", "PageFileUsage" : 4329472, "PrivateWorkingSet" : 3252224, "ProcessId" : 3016, "SessionId" : 0, "TotalCommit" : 5070848, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199113658368, "WorkingSetSize" : 20979712},{"CPUUsage" : 0.000000, "ImageName" : "xstudioserviceexe.exe", "PageFileUsage" : 1699840, "PrivateWorkingSet" : 1241088, "ProcessId" : 3252, "SessionId" : 0, "TotalCommit" : 2138112, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199063560192, "WorkingSetSize" : 6123520},{"CPUUsage" : 0.000000, "ImageName" : "Xam.exe", "PageFileUsage" : 13062144, "PrivateWorkingSet" : 7544832, "ProcessId" : 3264, "SessionId" : 0, "TotalCommit" : 16506880, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199202004992, "WorkingSetSize" : 31584256},{"CPUUsage" : 0.000000, "ImageName" : "dllhost.exe", "PageFileUsage" : 4489216, "PrivateWorkingSet" : 2465792, "ProcessId" : 3332, "SessionId" : 0, "TotalCommit" : 5492736, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199121637376, "WorkingSetSize" : 10821632},{"CPUUsage" : 0.000000, "ImageName" : "telnetd.exe", "PageFileUsage" : 495616, "PrivateWorkingSet" : 335872, "ProcessId" : 3416, "SessionId" : 0, "TotalCommit" : 806912, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199037599744, "WorkingSetSize" : 2289664},{"AppName" : "Dev Home", "CPUUsage" : 0.000000, "ImageName" : "WWAHost.exe", "IsRunning" : false, "PackageFullName" : "Microsoft.Xbox.DevHome_100.1607.9000.0_x64__8wekyb3d8bbwe", "PageFileUsage" : 47067136, "PrivateWorkingSet" : 32796672, "ProcessId" : 3424, "Publisher" : "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", "SessionId" : 0, "TotalCommit" : 49213440, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2234032066560, "WorkingSetSize" : 79466496, "Version" : {"Build" : 9000, "Major" : 100, "Minor" : 1607, "Revision" : 0}},{"CPUUsage" : 0.000000, "ImageName" : "msvsmon.exe", "PageFileUsage" : 892928, "PrivateWorkingSet" : 659456, "ProcessId" : 3428, "SessionId" : 0, "TotalCommit" : 1216512, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199049134080, "WorkingSetSize" : 4157440},{"CPUUsage" : 0.000000, "ImageName" : "WpnHost.exe", "PageFileUsage" : 4767744, "PrivateWorkingSet" : 3506176, "ProcessId" : 3592, "SessionId" : 0, "TotalCommit" : 5439488, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199104012288, "WorkingSetSize" : 18452480},{"CPUUsage" : 0.000000, "ImageName" : "XboxUI.exe", "PageFileUsage" : 25550848, "PrivateWorkingSet" : 14700544, "ProcessId" : 3612, "SessionId" : 0, "TotalCommit" : 35241984, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199313948672, "WorkingSetSize" : 56008704},{"CPUUsage" : 0.000000, "ImageName" : "msvsmon.exe", "PageFileUsage" : 966656, "PrivateWorkingSet" : 749568, "ProcessId" : 3672, "SessionId" : 0, "TotalCommit" : 1290240, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 29544448, "WorkingSetSize" : 4562944},{"CPUUsage" : 0.000000, "ImageName" : "telnetd.exe", "PageFileUsage" : 491520, "PrivateWorkingSet" : 344064, "ProcessId" : 3676, "SessionId" : 0, "TotalCommit" : 802816, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199037599744, "WorkingSetSize" : 2306048},{"CPUUsage" : 0.000000, "ImageName" : "ApplicationClipService.exe", "PageFileUsage" : 27262976, "PrivateWorkingSet" : 3620864, "ProcessId" : 3724, "SessionId" : 0, "TotalCommit" : 28987392, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199169216512, "WorkingSetSize" : 14082048},{"CPUUsage" : 0.000000, "ImageName" : "Speech.Service.exe", "PageFileUsage" : 10948608, "PrivateWorkingSet" : 5316608, "ProcessId" : 3844, "SessionId" : 0, "TotalCommit" : 11628544, "UserName" : "NT AUTHORITY\\LOCAL SERVICE", "VirtualSize" : 2199144280064, "WorkingSetSize" : 23818240},{"CPUUsage" : 0.000000, "ImageName" : "SearchFilterHost.exe", "PageFileUsage" : 1286144, "PrivateWorkingSet" : 868352, "ProcessId" : 3920, "SessionId" : 0, "TotalCommit" : 1617920, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199052939264, "WorkingSetSize" : 5009408},{"CPUUsage" : 0.000000, "ImageName" : "audiodg.exe", "PageFileUsage" : 7512064, "PrivateWorkingSet" : 4841472, "ProcessId" : 3996, "SessionId" : 0, "TotalCommit" : 7901184, "UserName" : "NT AUTHORITY\\LOCAL SERVICE", "VirtualSize" : 2199061712896, "WorkingSetSize" : 11239424},{"CPUUsage" : 0.000000, "ImageName" : "SearchIndexer.exe", "PageFileUsage" : 7987200, "PrivateWorkingSet" : 6021120, "ProcessId" : 4084, "SessionId" : 0, "TotalCommit" : 8998912, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199140245504, "WorkingSetSize" : 18104320},{"CPUUsage" : 0.000000, "ImageName" : "msvsmon.exe", "PageFileUsage" : 1069056, "PrivateWorkingSet" : 745472, "ProcessId" : 4120, "SessionId" : 0, "TotalCommit" : 1392640, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 32190464, "WorkingSetSize" : 5165056},{"CPUUsage" : 0.000000, "ImageName" : "svchost.exe", "PageFileUsage" : 3309568, "PrivateWorkingSet" : 2076672, "ProcessId" : 4272, "SessionId" : 0, "TotalCommit" : 4112384, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199115182080, "WorkingSetSize" : 12013568},{"CPUUsage" : 0.000000, "ImageName" : "eracontrol.exe", "PageFileUsage" : 1163264, "PrivateWorkingSet" : 827392, "ProcessId" : 4336, "SessionId" : 0, "TotalCommit" : 1478656, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199048753152, "WorkingSetSize" : 5804032},{"CPUUsage" : 0.000000, "ImageName" : "MicrosoftXboxSecurityClip.exe", "PageFileUsage" : 1032192, "PrivateWorkingSet" : 802816, "ProcessId" : 4436, "SessionId" : 0, "TotalCommit" : 1347584, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199045300224, "WorkingSetSize" : 5922816},{"CPUUsage" : 0.000000, "ImageName" : "RuntimeBroker.exe", "PageFileUsage" : 1560576, "PrivateWorkingSet" : 950272, "ProcessId" : 4592, "SessionId" : 0, "TotalCommit" : 2105344, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199048949760, "WorkingSetSize" : 6197248},{"CPUUsage" : 0.000000, "ImageName" : "SpeechRuntime.exe", "PageFileUsage" : 10412032, "PrivateWorkingSet" : 3358720, "ProcessId" : 4684, "SessionId" : 0, "TotalCommit" : 12525568, "UserName" : "TESTXBOX\\DefaultAccount", "VirtualSize" : 2199115530240, "WorkingSetSize" : 14950400},{"CPUUsage" : 0.000000, "ImageName" : "DeveloperToolsSvc.exe", "PageFileUsage" : 1445888, "PrivateWorkingSet" : 1089536, "ProcessId" : 4808, "SessionId" : 0, "TotalCommit" : 1765376, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199059881984, "WorkingSetSize" : 6782976},{"CPUUsage" : 0.000000, "ImageName" : "SpcService.exe", "PageFileUsage" : 1699840, "PrivateWorkingSet" : 1073152, "ProcessId" : 4896, "SessionId" : 0, "TotalCommit" : 2244608, "UserName" : "NT AUTHORITY\\SYSTEM", "VirtualSize" : 2199058579456, "WorkingSetSize" : 8728576}]} \ No newline at end of file diff --git a/WindowsDevicePortalWrapper/UnitTestProject/MockData/XboxOne/14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700/api_resourcemanager_systemperf_XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.dat b/WindowsDevicePortalWrapper/UnitTestProject/MockData/XboxOne/14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700/api_resourcemanager_systemperf_XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.dat new file mode 100644 index 00000000..875b80eb --- /dev/null +++ b/WindowsDevicePortalWrapper/UnitTestProject/MockData/XboxOne/14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700/api_resourcemanager_systemperf_XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.dat @@ -0,0 +1 @@ +{"Reason" : "{\"AvailablePages\" : 369054, \"CommitLimit\" : 784851, \"CommittedPages\" : 322627, \"CpuLoad\" : 1, \"IOOtherSpeed\" : 3692, \"IOReadSpeed\" : 36, \"IOWriteSpeed\" : 6480, \"NonPagedPoolPages\" : 42504, \"PageSize\" : 4096, \"PagedPoolPages\" : 30697, \"TotalInstalledInKb\" : 1048592, \"TotalPages\" : 655360, \"GPUData\" : {\"AvailableAdapters\" : [{\"DedicatedMemory\" : 268435456, \"DedicatedMemoryUsed\" : 79282176, \"Description\" : \"ROOT\\\\SraKmd\\\\0000\", \"SystemMemory\" : 1342177280, \"SystemMemoryUsed\" : 10203136, \"EnginesUtilization\" : [0.001146,0.000000,0.000000,0.001361,0.000000,0.000000,0.000000]}]}, \"NetworkingData\" : {\"NetworkInBytes\" : 15000, \"NetworkOutBytes\" : 0}}"} \ No newline at end of file diff --git a/WindowsDevicePortalWrapper/UnitTestProject/MockHttpResponder.cs b/WindowsDevicePortalWrapper/UnitTestProject/MockHttpResponder.cs index bb62d5c7..f9cf17dc 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/MockHttpResponder.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/MockHttpResponder.cs @@ -38,8 +38,14 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests /// /// The endpoint to be mocked. /// The response to return. - public void AddMockResponse(string endpoint, HttpResponseMessage response) + /// HTTP operation we are mocking. + public void AddMockResponse(string endpoint, HttpResponseMessage response, HttpOperations httpOperation) { + if (httpOperation != HttpOperations.Get) + { + endpoint = httpOperation.ToString() + "_" + endpoint; + } + Utilities.ModifyEndpointForFilename(ref endpoint); this.mockResponses.Add(endpoint.ToLowerInvariant(), response); @@ -51,15 +57,21 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests /// Endpoint we are mocking. /// Device platform we are testing. /// The OS Version we are testing. - public void AddMockResponse(string endpoint, DevicePortalPlatforms platform, string operatingSystemVersion) + /// HTTP operation we are mocking. + public void AddMockResponse(string endpoint, DevicePortalPlatforms platform, string operatingSystemVersion, HttpOperations httpOperation) { // If no OS is provided, use the default. if (operatingSystemVersion == null) { - this.AddMockResponse(endpoint); + this.AddMockResponse(endpoint, httpOperation); return; } + if (httpOperation != HttpOperations.Get) + { + endpoint = httpOperation.ToString() + "_" + endpoint; + } + Utilities.ModifyEndpointForFilename(ref endpoint); HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.OK); @@ -73,10 +85,16 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests /// Adds a default response for this endpoint, device agnostic. /// /// Endpoint we are mocking. - public void AddMockResponse(string endpoint) + /// HTTP operation we are mocking. + public void AddMockResponse(string endpoint, HttpOperations httpOperation) { HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.OK); + if (httpOperation != HttpOperations.Get) + { + endpoint = httpOperation.ToString() + "_" + endpoint; + } + Utilities.ModifyEndpointForFilename(ref endpoint); // Add the Content from the default file if one exists. @@ -94,7 +112,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests /// Async task returning the response. public async Task GetAsync(Uri uri) { - Task task = new Task(this.HttpStoredResponse, uri); + Task task = new Task(() => this.HttpStoredResponse(uri, HttpOperations.Get)); task.Start(); return await task; @@ -108,7 +126,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests /// Async task returning the response. public async Task PostAsync(Uri uri, HttpContent content) { - Task task = new Task(this.HttpStoredResponse, uri); + Task task = new Task(() => this.HttpStoredResponse(uri, HttpOperations.Post)); task.Start(); return await task; @@ -122,7 +140,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests /// Async task returning the response. public async Task PutAsync(Uri uri, HttpContent content) { - Task task = new Task(this.HttpStoredResponse, uri); + Task task = new Task(() => this.HttpStoredResponse(uri, HttpOperations.Put)); task.Start(); return await task; @@ -135,7 +153,21 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests /// Async task returning the response. public async Task DeleteAsync(Uri uri) { - Task task = new Task(this.HttpStoredResponse, uri); + // Task task = new Task(this.HttpStoredResponse, uri); + Task task = new Task(() => this.HttpStoredResponse(uri, HttpOperations.Delete)); + task.Start(); + + return await task; + } + + /// + /// Abstract method Mock Implementation + /// + /// The target URI. + /// Async task returning the response. + public async Task WebSocketAsync(Uri uri) + { + Task task = new Task(() => this.HttpStoredResponse(uri, HttpOperations.WebSocket)); task.Start(); return await task; @@ -144,12 +176,11 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests /// /// Http Stored Response. /// - /// The URI we are looking for a canned response for. + /// The URI we are looking for a canned response for. + /// The httpOperation we are looking for a canned response for. /// An HttpResponseMessage previously stored for this URI. - private HttpResponseMessage HttpStoredResponse(object state) + private HttpResponseMessage HttpStoredResponse(Uri uri, HttpOperations httpOperation) { - Uri uri = state as Uri; - Assert.IsNotNull(uri); string targetEndpoint = uri.AbsolutePath; @@ -159,6 +190,11 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests targetEndpoint = targetEndpoint.Remove(0, 1); } + if (httpOperation != HttpOperations.Get) + { + targetEndpoint = httpOperation.ToString() + "_" + targetEndpoint; + } + Utilities.ModifyEndpointForFilename(ref targetEndpoint); if (this.mockResponses.ContainsKey(targetEndpoint.ToLowerInvariant())) diff --git a/WindowsDevicePortalWrapper/UnitTestProject/TestHelpers.cs b/WindowsDevicePortalWrapper/UnitTestProject/TestHelpers.cs index 9607b4db..b6d88573 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/TestHelpers.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/TestHelpers.cs @@ -34,8 +34,8 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests public static void EstablishMockConnection(DevicePortalPlatforms platform, string operatingSystemVersion) { TestHelpers.MockHttpResponder = new MockHttpResponder(); - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.DeviceFamilyApi, platform, operatingSystemVersion); - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.OsInfoApi, platform, operatingSystemVersion); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.DeviceFamilyApi, platform, operatingSystemVersion, HttpOperations.Get); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.OsInfoApi, platform, operatingSystemVersion, HttpOperations.Get); TestHelpers.Portal = new DevicePortal(new MockDevicePortalConnection()); diff --git a/WindowsDevicePortalWrapper/UnitTestProject/UnitTestProject.csproj b/WindowsDevicePortalWrapper/UnitTestProject/UnitTestProject.csproj index b703c7b1..43450b8c 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/UnitTestProject.csproj +++ b/WindowsDevicePortalWrapper/UnitTestProject/UnitTestProject.csproj @@ -52,13 +52,16 @@ - + + False + + @@ -90,6 +93,12 @@ PreserveNewest + + PreserveNewest + + + PreserveNewest + PreserveNewest @@ -99,6 +108,15 @@ PreserveNewest + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + PreserveNewest @@ -114,12 +132,24 @@ PreserveNewest + + PreserveNewest + + + PreserveNewest + PreserveNewest PreserveNewest + + PreserveNewest + + + PreserveNewest + diff --git a/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/MockDevicePortalConnection.cs b/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/MockDevicePortalConnection.cs index c327221c..2c394c48 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/MockDevicePortalConnection.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/MockDevicePortalConnection.cs @@ -48,7 +48,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests { get { - return null; + return new Uri("ws://localhost"); } } diff --git a/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/WebSocket.cs b/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/WebSocket.cs index 6e636556..d3c1f5f8 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/WebSocket.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/WebSocket.cs @@ -5,9 +5,13 @@ //---------------------------------------------------------------------------------------------- using System; +using System.IO; +using System.Net.Http; using System.Net.Security; using System.Security.Cryptography.X509Certificates; +using System.Threading; using System.Threading.Tasks; +using Microsoft.Tools.WindowsDevicePortal.Tests; namespace Microsoft.Tools.WindowsDevicePortal { @@ -17,14 +21,33 @@ namespace Microsoft.Tools.WindowsDevicePortal /// Return type for the websocket messages. internal partial class WebSocket { + /// + /// Indicates whether the websocket should continue listening for messages. + /// + private bool keepListeningForMessages = false; + + /// + /// used to indicate that the has stopped receiving messages. + /// + private ManualResetEvent stoppedReceivingMessages = new ManualResetEvent(false); + + /// + /// The handler used to validate server certificates. + /// + private Func serverCertificateValidationHandler; + /// /// Initializes a new instance of the class. /// /// Implementation of a connection object. /// Server certificate handler. - public WebSocket(IDevicePortalConnection connection, Func serverCertificateValidationHandler) + /// specifies whether the web socket should send streams (useful for creating mock data). + public WebSocket(IDevicePortalConnection connection, Func serverCertificateValidationHandler, bool sendStreams = false) { - throw new NotImplementedException(); + this.sendStreams = sendStreams; + this.deviceConnection = connection; + this.IsListeningForMessages = false; + this.serverCertificateValidationHandler = serverCertificateValidationHandler; } /// @@ -33,7 +56,17 @@ namespace Microsoft.Tools.WindowsDevicePortal /// The task of closing the websocket connection. private async Task StopListeningForMessagesInternal() { - throw new NotImplementedException(); + if (this.IsListeningForMessages) + { + this.keepListeningForMessages = false; + + // Wait for web socket to no longer be receiving messages. + if (this.IsListeningForMessages) + { + this.stoppedReceivingMessages.WaitOne(); + this.stoppedReceivingMessages.Reset(); + } + } } /// @@ -44,7 +77,47 @@ namespace Microsoft.Tools.WindowsDevicePortal /// The task of listening for messages from the websocket. private async Task StartListeningForMessagesInternal(Uri endpoint) { - throw new NotImplementedException(); + this.keepListeningForMessages = true; + + try + { + while (this.keepListeningForMessages) + { + Task webSocketTask = TestHelpers.MockHttpResponder.WebSocketAsync(endpoint); + await webSocketTask.ConfigureAwait(false); + webSocketTask.Wait(); + + using (HttpResponseMessage response = webSocketTask.Result) + { + if (!response.IsSuccessStatusCode) + { + throw new DevicePortalException(response); + } + + using (HttpContent content = response.Content) + { + MemoryStream dataStream = new MemoryStream(); + + Task copyTask = content.CopyToAsync(dataStream); + await copyTask.ConfigureAwait(false); + copyTask.Wait(); + + // Ensure we return with the stream pointed at the origin. + dataStream.Position = 0; + + this.ConvertStreamToMessage(dataStream); + } + } + } + } + catch + { + } + finally + { + this.stoppedReceivingMessages.Set(); + this.IsListeningForMessages = false; + } } } } diff --git a/WindowsDevicePortalWrapper/UnitTestProject/Xbox/UserManagementTests.cs b/WindowsDevicePortalWrapper/UnitTestProject/Xbox/UserManagementTests.cs index c2269723..e2d253ac 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/Xbox/UserManagementTests.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/Xbox/UserManagementTests.cs @@ -28,7 +28,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests [TestMethod] public void GetXboxLiveUserListTest() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxLiveUserApi); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxLiveUserApi, HttpOperations.Get); Task getUserTask = TestHelpers.Portal.GetXboxLiveUsers(); getUserTask.Wait(); @@ -63,7 +63,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests public void UpdateXboxLiveUsersTest() { HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.NoContent); - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxLiveUserApi, response); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxLiveUserApi, response, HttpOperations.Put); UserList users = new UserList(); UserInfo user = new UserInfo(); @@ -93,7 +93,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests response.Content = content; - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxLiveUserApi, response); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxLiveUserApi, response, HttpOperations.Put); UserList users = new UserList(); UserInfo user = new UserInfo(); diff --git a/WindowsDevicePortalWrapper/UnitTestProject/Xbox/XboxAppDeploymentTests.cs b/WindowsDevicePortalWrapper/UnitTestProject/Xbox/XboxAppDeploymentTests.cs index 2c8e85a7..e2ffc656 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/Xbox/XboxAppDeploymentTests.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/Xbox/XboxAppDeploymentTests.cs @@ -6,6 +6,7 @@ using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; +using static Microsoft.Tools.WindowsDevicePortal.DevicePortal; namespace Microsoft.Tools.WindowsDevicePortal.Tests { @@ -21,7 +22,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests [TestMethod] public void XboxAppDeploymentTest() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.RegisterPackageApi); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.RegisterPackageApi, HttpOperations.Post); Task registerTask = TestHelpers.Portal.RegisterApplication("SomeLooseFolder"); registerTask.Wait(); diff --git a/WindowsDevicePortalWrapper/UnitTestProject/Xbox/XboxSettingsTests.cs b/WindowsDevicePortalWrapper/UnitTestProject/Xbox/XboxSettingsTests.cs index 02a4b672..e57b359f 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/Xbox/XboxSettingsTests.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/Xbox/XboxSettingsTests.cs @@ -28,7 +28,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests [TestMethod] public void GetXboxSettingsTest() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxSettingsApi); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxSettingsApi, HttpOperations.Get); Task getSettingsTask = TestHelpers.Portal.GetXboxSettings(); getSettingsTask.Wait(); @@ -64,7 +64,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests public void GetSingleXboxSettingTest() { string settingName = "TVResolution"; - TestHelpers.MockHttpResponder.AddMockResponse(Path.Combine(DevicePortal.XboxSettingsApi, settingName)); + TestHelpers.MockHttpResponder.AddMockResponse(Path.Combine(DevicePortal.XboxSettingsApi, settingName), HttpOperations.Get); Task getSettingTask = TestHelpers.Portal.GetXboxSetting(settingName); getSettingTask.Wait(); @@ -92,7 +92,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests setting.Value = "1080p"; HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.NoContent); - TestHelpers.MockHttpResponder.AddMockResponse(Path.Combine(DevicePortal.XboxSettingsApi, setting.Name)); + TestHelpers.MockHttpResponder.AddMockResponse(Path.Combine(DevicePortal.XboxSettingsApi, setting.Name), HttpOperations.Put); Task updateSettingsTask = TestHelpers.Portal.UpdateXboxSetting(setting); updateSettingsTask.Wait(); @@ -104,8 +104,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests // Check some known things about this response. Assert.AreEqual(setting.Name, recievedSetting.Name); - // Note this is still 720p because that's what our default mock returns. - Assert.AreEqual("720p", recievedSetting.Value); + Assert.AreEqual("1080p", recievedSetting.Value); Assert.AreEqual("Video", recievedSetting.Category); Assert.AreEqual("No", recievedSetting.RequiresReboot); } diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/Core/PerformanceData.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/Core/PerformanceData.cs index f0416f3b..c0561233 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/Core/PerformanceData.cs +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/Core/PerformanceData.cs @@ -19,12 +19,12 @@ namespace Microsoft.Tools.WindowsDevicePortal /// /// API for getting all running processes /// - private static readonly string RunningProcessApi = "api/resourcemanager/processes"; + public static readonly string RunningProcessApi = "api/resourcemanager/processes"; /// /// API for getting system performance /// - private static readonly string SystemPerfApi = "api/resourcemanager/systemperf"; + public static readonly string SystemPerfApi = "api/resourcemanager/systemperf"; /// /// Web socket to get running processes. @@ -337,7 +337,7 @@ namespace Microsoft.Tools.WindowsDevicePortal /// GPU Adaptors /// [DataContract] - public class GpuAdapters + public class GpuAdapter { /// /// Gets or sets total Dedicated memory @@ -386,7 +386,7 @@ namespace Microsoft.Tools.WindowsDevicePortal /// Gets or sets list of available adapters /// [DataMember(Name = "AvailableAdapters")] - public List Adapters { get; set; } + public List Adapters { get; set; } } /// diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/DevicePortal.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/DevicePortal.cs index 98a79739..97451fff 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/DevicePortal.cs +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/DevicePortal.cs @@ -5,11 +5,11 @@ //---------------------------------------------------------------------------------------------- using System; -using System.Collections.Generic; using System.IO; #if !WINDOWS_UWP using System.Net; #endif // !WINDOWS_UWP +using System.Threading; using System.Threading.Tasks; #if WINDOWS_UWP using Windows.Web.Http; @@ -46,6 +46,37 @@ namespace Microsoft.Tools.WindowsDevicePortal this.deviceConnection = connection; } + /// + /// HTTP Operations + /// + public enum HttpOperations + { + /// + /// The HTTP Get operation. + /// + Get, + + /// + /// The HTTP Put operation. + /// + Put, + + /// + /// The HTTP Post operation. + /// + Post, + + /// + /// The HTTP Delete operation. + /// + Delete, + + /// + /// The HTTP WebSocket operation. + /// + WebSocket + } + /// /// Gets the device address. /// @@ -247,26 +278,77 @@ namespace Microsoft.Tools.WindowsDevicePortal /// /// API endpoint we are calling. /// Directory to store our file. + /// The http operation to be performed. /// Task waiting for HTTP call to return and file copy to complete. - public async Task SaveEndpointResponseToFile(string endpoint, string directory) + public async Task SaveEndpointResponseToFile(string endpoint, string directory, HttpOperations httpOperation) { Uri uri = new Uri(this.deviceConnection.Connection, endpoint); - using (Stream dataStream = await this.Get(uri)) + // Create the filename as DeviceFamily_OSVersion.dat, replacing '/', '.', and '-' with '_' so + // we can create a class with the same name as this Device/OS pair for tests. + string filename = endpoint + "_" + this.Platform.ToString() + "_" + this.OperatingSystemVersion; + + if (httpOperation != HttpOperations.Get) + { + filename = httpOperation.ToString() + "_" + filename; + } + + Utilities.ModifyEndpointForFilename(ref filename); + + filename += ".dat"; + string filepath = Path.Combine(directory, filename); + + if (HttpOperations.WebSocket == httpOperation) { - // Create the filename as DeviceFamily_OSVersion.dat, replacing '/', '.', and '-' with '_' so - // we can create a class with the same name as this Device/OS pair for tests. - string filename = endpoint + "_" + this.Platform.ToString() + "_" + this.OperatingSystemVersion; +#if WINDOWS_UWP + WebSocket websocket = new WebSocket(this.deviceConnection, true); +#else + WebSocket websocket = new WebSocket(this.deviceConnection, this.ServerCertificateValidation, true); +#endif // WINDOWS_UWP + + ManualResetEvent streamReceived = new ManualResetEvent(false); + Stream stream = null; + + WindowsDevicePortal.WebSocketMessageReceivedEventHandler streamReceivedHandler = + delegate(object sender, WebSocketMessageReceivedEventArgs args) + { + if (args.Message != null) + { + stream = args.Message; + streamReceived.Set(); + } + }; - Utilities.ModifyEndpointForFilename(ref filename); + websocket.WebSocketStreamReceived += streamReceivedHandler; - filename += ".dat"; - string filepath = Path.Combine(directory, filename); + Task startListeningForStreamTask = websocket.StartListeningForMessages(endpoint); + startListeningForStreamTask.Wait(); - using (var fileStream = File.Create(filepath)) + streamReceived.WaitOne(); + + Task stopListeningForStreamTask = websocket.StopListeningForMessages(); + stopListeningForStreamTask.Wait(); + + websocket.WebSocketStreamReceived -= streamReceivedHandler; + + using (stream) + { + using (var fileStream = File.Create(filepath)) + { + stream.Seek(0, SeekOrigin.Begin); + stream.CopyTo(fileStream); + } + } + } + else + { + using (Stream dataStream = await this.Get(uri)) { - dataStream.Seek(0, SeekOrigin.Begin); - dataStream.CopyTo(fileStream); + using (var fileStream = File.Create(filepath)) + { + dataStream.Seek(0, SeekOrigin.Begin); + dataStream.CopyTo(fileStream); + } } } } diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/HttpRest/WebSocket.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/HttpRest/WebSocket.cs index 8eb0f75b..231874d9 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/HttpRest/WebSocket.cs +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/HttpRest/WebSocket.cs @@ -22,6 +22,11 @@ namespace Microsoft.Tools.WindowsDevicePortal /// private IDevicePortalConnection deviceConnection; + /// + /// Indicates whether the web socket should send streams instead of parsed objects + /// + private bool sendStreams = false; + /// /// Gets a value indicating whether the web socket is listening for messages. /// @@ -40,6 +45,15 @@ namespace Microsoft.Tools.WindowsDevicePortal set; } + /// + /// Gets or sets the stream received handler. + /// + public WebSocketMessageReceivedEventHandler WebSocketStreamReceived + { + get; + set; + } + /// /// Closes the connection to the websocket and stop listening for messages. /// @@ -74,21 +88,32 @@ namespace Microsoft.Tools.WindowsDevicePortal } /// - /// Converts received stream to a parsed message and passes it to the WebSocketMessageReceived handler. + /// Converts received stream to a parsed object and passes it to + /// the WebSocketMessageReceived handler. The sendstreams property can be used to + /// override this and send the instead via the WebSocketStreamReceived handler. /// /// The received stream. private void ConvertStreamToMessage(Stream stream) { if (stream != null && stream.Length != 0) { - using (stream) + if (this.sendStreams) + { + this.WebSocketStreamReceived?.Invoke( + this, + new WebSocketMessageReceivedEventArgs(stream)); + } + else { - DataContractJsonSerializer serializer = new DataContractJsonSerializer(typeof(T)); - T message = (T)serializer.ReadObject(stream); + using (stream) + { + DataContractJsonSerializer serializer = new DataContractJsonSerializer(typeof(T)); + T message = (T)serializer.ReadObject(stream); - this.WebSocketMessageReceived?.Invoke( - this, - new WebSocketMessageReceivedEventArgs(message)); + this.WebSocketMessageReceived?.Invoke( + this, + new WebSocketMessageReceivedEventArgs(message)); + } } } } diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/HttpRest/WebSocket.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/HttpRest/WebSocket.cs index 5116a64f..eeb178fe 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/HttpRest/WebSocket.cs +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/HttpRest/WebSocket.cs @@ -28,8 +28,10 @@ namespace Microsoft.Tools.WindowsDevicePortal /// Initializes a new instance of the class. /// /// Implementation of a connection object. - public WebSocket(IDevicePortalConnection connection) + /// specifies whether the web socket should send streams (useful for creating mock data). + public WebSocket(IDevicePortalConnection connection, bool sendStreams = false) { + this.sendStreams = sendStreams; this.deviceConnection = connection; this.IsListeningForMessages = false; } diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/HttpRest/WebSocket.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/HttpRest/WebSocket.cs index faff4446..98c1d270 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/HttpRest/WebSocket.cs +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/HttpRest/WebSocket.cs @@ -52,8 +52,10 @@ namespace Microsoft.Tools.WindowsDevicePortal /// /// Implementation of a connection object. /// Server certificate handler. - public WebSocket(IDevicePortalConnection connection, Func serverCertificateValidationHandler) + /// specifies whether the web socket should send streams (useful for creating mock data). + public WebSocket(IDevicePortalConnection connection, Func serverCertificateValidationHandler, bool sendStreams = false) { + this.sendStreams = sendStreams; this.deviceConnection = connection; this.IsListeningForMessages = false; this.serverCertificateValidationHandler = serverCertificateValidationHandler; -- GitLab From c8cc9a4d9da1f5b7c9057511bd566125d1d66b22 Mon Sep 17 00:00:00 2001 From: Matt Hyman Date: Tue, 26 Jul 2016 14:12:16 -0700 Subject: [PATCH 02/27] Renamed HttpOperations to HttpMethods and haveApplyHttpHeaders use it instead of a string --- .../MockDataGenerator/Program.cs | 12 +++--- .../Core/AppFileExplorerTests.cs | 14 +++---- .../Core/OsInformationTests.cs | 2 +- .../Core/PerformanceDataTests.cs | 8 ++-- .../XboxOne/XboxHelpers.cs | 2 +- ..._amd64fre_rs1_xbox_rel_1608_160709_1700.cs | 16 ++++---- .../UnitTestProject/MockHttpResponder.cs | 40 +++++++++---------- .../UnitTestProject/TestHelpers.cs | 4 +- .../WDPMockImplementations/AppDeployment.cs | 2 +- .../WDPMockImplementations/RestDelete.cs | 2 +- .../WDPMockImplementations/RestGet.cs | 2 +- .../WDPMockImplementations/RestPost.cs | 2 +- .../WDPMockImplementations/RestPut.cs | 2 +- .../Xbox/UserManagementTests.cs | 6 +-- .../Xbox/XboxAppDeploymentTests.cs | 2 +- .../UnitTestProject/Xbox/XboxSettingsTests.cs | 6 +-- .../DevicePortal.cs | 24 +++++------ .../HttpRest/HttpHeadersHelper.cs | 6 +-- .../CertificateHandling.cs | 2 +- .../Core/AppDeployment.cs | 2 +- .../HttpRest/RestDelete.cs | 2 +- .../HttpRest/RestGet.cs | 2 +- .../HttpRest/RestPost.cs | 2 +- .../HttpRest/RestPut.cs | 2 +- .../Core/AppDeployment.cs | 2 +- .../HttpRest/RestDelete.cs | 2 +- .../HttpRest/RestGet.cs | 2 +- .../HttpRest/RestPost.cs | 2 +- .../HttpRest/RestPut.cs | 2 +- 29 files changed, 87 insertions(+), 87 deletions(-) diff --git a/WindowsDevicePortalWrapper/MockDataGenerator/Program.cs b/WindowsDevicePortalWrapper/MockDataGenerator/Program.cs index 3fedce3b..d4c7bd98 100644 --- a/WindowsDevicePortalWrapper/MockDataGenerator/Program.cs +++ b/WindowsDevicePortalWrapper/MockDataGenerator/Program.cs @@ -113,16 +113,16 @@ namespace MockDataGenerator if (parameters.HasParameter("endpoint")) { - HttpOperations httpOperation = HttpOperations.Get; + HttpMethods httpMethod = HttpMethods.Get; string endpoint = parameters.GetParameterValue("endpoint"); if (endpoint.StartsWith(WebSocketOpertionPrefix, StringComparison.OrdinalIgnoreCase)) { - httpOperation = HttpOperations.WebSocket; + httpMethod = HttpMethods.WebSocket; endpoint = endpoint.Substring(WebSocketOpertionPrefix.Length); } - Task saveResponseTask = portal.SaveEndpointResponseToFile(endpoint, directory, httpOperation); + Task saveResponseTask = portal.SaveEndpointResponseToFile(endpoint, directory, httpMethod); saveResponseTask.Wait(); } else @@ -130,17 +130,17 @@ namespace MockDataGenerator foreach (string endpoint in Endpoints) { string finalEndpoint = endpoint; - HttpOperations httpOperation = HttpOperations.Get; + HttpMethods httpMethod = HttpMethods.Get; if (endpoint.StartsWith(WebSocketOpertionPrefix, StringComparison.OrdinalIgnoreCase)) { - httpOperation = HttpOperations.WebSocket; + httpMethod = HttpMethods.WebSocket; finalEndpoint = endpoint.Substring(WebSocketOpertionPrefix.Length); } try { - Task saveResponseTask = portal.SaveEndpointResponseToFile(finalEndpoint, directory, httpOperation); + Task saveResponseTask = portal.SaveEndpointResponseToFile(finalEndpoint, directory, httpMethod); saveResponseTask.Wait(); } catch (Exception e) diff --git a/WindowsDevicePortalWrapper/UnitTestProject/Core/AppFileExplorerTests.cs b/WindowsDevicePortalWrapper/UnitTestProject/Core/AppFileExplorerTests.cs index 78392fb6..311966e3 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/Core/AppFileExplorerTests.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/Core/AppFileExplorerTests.cs @@ -36,7 +36,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests response.Content = content; - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.KnownFoldersApi, response, HttpOperations.Get); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.KnownFoldersApi, response, HttpMethods.Get); Task getKnownFoldersTask = TestHelpers.Portal.GetKnownFolders(); getKnownFoldersTask.Wait(); @@ -69,7 +69,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests response.Content = content; - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFilesApi, response, HttpOperations.Get); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFilesApi, response, HttpMethods.Get); Task getFolderContentsTask = TestHelpers.Portal.GetFolderContents("KnownFolderOne"); getFolderContentsTask.Wait(); @@ -117,7 +117,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests HttpContent content = new StreamContent(stream); response.Content = content; - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFileApi, response, HttpOperations.Get); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFileApi, response, HttpMethods.Get); Task getFileTask = TestHelpers.Portal.GetFile("knownfolder", "FileToDownload.txt", "SubFolder\\SubFolder2"); getFileTask.Wait(); @@ -135,7 +135,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests { HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.OK); - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFileApi, response, HttpOperations.Post); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFileApi, response, HttpMethods.Post); Task uploadFileTask = TestHelpers.Portal.UploadFile("knownfolder", "MockData\\Defaults\\api_os_devicefamily_Default.dat", "SubFolder\\SubFolder2"); uploadFileTask.Wait(); @@ -152,7 +152,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests { HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.OK); - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFileApi, response, HttpOperations.Post); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFileApi, response, HttpMethods.Post); try { @@ -175,7 +175,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests { HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.OK); - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFileApi, response, HttpOperations.Delete); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFileApi, response, HttpMethods.Delete); Task deleteFileTask = TestHelpers.Portal.DeleteFile("knownfolder", "FileToDelete.txt", "SubFolder\\SubFolder2"); deleteFileTask.Wait(); @@ -191,7 +191,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests { HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.OK); - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.RenameFileApi, response, HttpOperations.Post); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.RenameFileApi, response, HttpMethods.Post); Task renameFileTask = TestHelpers.Portal.RenameFile("knownfolder", "FileToRename.txt", "NewFileName.txt", "SubFolder\\SubFolder2"); renameFileTask.Wait(); diff --git a/WindowsDevicePortalWrapper/UnitTestProject/Core/OsInformationTests.cs b/WindowsDevicePortalWrapper/UnitTestProject/Core/OsInformationTests.cs index ebd5b16f..163bce66 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/Core/OsInformationTests.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/Core/OsInformationTests.cs @@ -23,7 +23,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests [TestMethod] public void OsInformationTest() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.MachineNameApi, HttpOperations.Get); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.MachineNameApi, HttpMethods.Get); Task getNameTask = TestHelpers.Portal.GetDeviceName(); getNameTask.Wait(); diff --git a/WindowsDevicePortalWrapper/UnitTestProject/Core/PerformanceDataTests.cs b/WindowsDevicePortalWrapper/UnitTestProject/Core/PerformanceDataTests.cs index f0409550..eebe54d6 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/Core/PerformanceDataTests.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/Core/PerformanceDataTests.cs @@ -24,7 +24,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests.Core [TestMethod] public void GetRunningProcessesTest() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.RunningProcessApi, HttpOperations.Get); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.RunningProcessApi, HttpMethods.Get); Task getRunningProcessesTask = TestHelpers.Portal.GetRunningProcesses(); getRunningProcessesTask.Wait(); @@ -40,7 +40,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests.Core [TestMethod] public void GetRunningProcessesWebSocketTest() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.RunningProcessApi, HttpOperations.WebSocket); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.RunningProcessApi, HttpMethods.WebSocket); ManualResetEvent runningProcessesReceived = new ManualResetEvent(false); RunningProcesses runningProcesses = null; @@ -78,7 +78,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests.Core [TestMethod] public void GetSystemPerfTest() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.SystemPerfApi, HttpOperations.Get); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.SystemPerfApi, HttpMethods.Get); Task getSystemPerfTask = TestHelpers.Portal.GetSystemPerf(); getSystemPerfTask.Wait(); @@ -94,7 +94,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests.Core [TestMethod] public void GetSystemPerfWebSocketTest() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.SystemPerfApi, HttpOperations.WebSocket); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.SystemPerfApi, HttpMethods.WebSocket); ManualResetEvent systemPerfReceived = new ManualResetEvent(false); SystemPerformanceInformation systemPerfInfo = null; diff --git a/WindowsDevicePortalWrapper/UnitTestProject/Device-VersionTests/XboxOne/XboxHelpers.cs b/WindowsDevicePortalWrapper/UnitTestProject/Device-VersionTests/XboxOne/XboxHelpers.cs index 0d0670bd..f997f6dd 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/Device-VersionTests/XboxOne/XboxHelpers.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/Device-VersionTests/XboxOne/XboxHelpers.cs @@ -21,7 +21,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests /// The version of the OS we are targeting. public static void VerifyOsInformation(string operatingSystemVersion) { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.MachineNameApi, DevicePortalPlatforms.XboxOne, operatingSystemVersion, HttpOperations.Get); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.MachineNameApi, DevicePortalPlatforms.XboxOne, operatingSystemVersion, HttpMethods.Get); Task getNameTask = TestHelpers.Portal.GetDeviceName(); getNameTask.Wait(); diff --git a/WindowsDevicePortalWrapper/UnitTestProject/Device-VersionTests/XboxOne/XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.cs b/WindowsDevicePortalWrapper/UnitTestProject/Device-VersionTests/XboxOne/XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.cs index 46fdc6f2..94f5b699 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/Device-VersionTests/XboxOne/XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/Device-VersionTests/XboxOne/XboxOne_14385_1002_amd64fre_rs1_xbox_rel_1608_160709_1700.cs @@ -48,7 +48,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests [TestMethod] public void GetXboxLiveUserListTest_XboxOne_1608() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxLiveUserApi, this.PlatformType, this.OperatingSystemVersion, HttpOperations.Get); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxLiveUserApi, this.PlatformType, this.OperatingSystemVersion, HttpMethods.Get); Task getUserTask = TestHelpers.Portal.GetXboxLiveUsers(); getUserTask.Wait(); @@ -85,7 +85,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests [TestMethod] public void GetXboxSettingsTest_XboxOne_1608() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxSettingsApi, this.PlatformType, this.OperatingSystemVersion, HttpOperations.Get); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxSettingsApi, this.PlatformType, this.OperatingSystemVersion, HttpMethods.Get); Task getSettingsTask = TestHelpers.Portal.GetXboxSettings(); getSettingsTask.Wait(); @@ -120,7 +120,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests [TestMethod] public void AppFileExplorerGetKnownFolderTest_XboxOne_1608() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.KnownFoldersApi, this.PlatformType, this.OperatingSystemVersion, HttpOperations.Get); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.KnownFoldersApi, this.PlatformType, this.OperatingSystemVersion, HttpMethods.Get); Task getKnownFoldersTask = TestHelpers.Portal.GetKnownFolders(); getKnownFoldersTask.Wait(); @@ -142,7 +142,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests [TestMethod] public void AppFileExplorerGetFolderContentsTest_XboxOne_1608() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFilesApi, this.PlatformType, this.OperatingSystemVersion, HttpOperations.Get); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.GetFilesApi, this.PlatformType, this.OperatingSystemVersion, HttpMethods.Get); Task getFolderContentsTask = TestHelpers.Portal.GetFolderContents("DevelopmentFiles"); getFolderContentsTask.Wait(); @@ -245,7 +245,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests [TestMethod] public void GetRunningProcessesTest_XboxOne_1608() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.RunningProcessApi, this.PlatformType, this.OperatingSystemVersion, HttpOperations.Get); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.RunningProcessApi, this.PlatformType, this.OperatingSystemVersion, HttpMethods.Get); Task getRunningProcessesTask = TestHelpers.Portal.GetRunningProcesses(); getRunningProcessesTask.Wait(); @@ -262,7 +262,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests [TestMethod] public void GetRunningProcessesWebSocketTest_XboxOne_1608() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.RunningProcessApi, this.PlatformType, this.OperatingSystemVersion, HttpOperations.WebSocket); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.RunningProcessApi, this.PlatformType, this.OperatingSystemVersion, HttpMethods.WebSocket); ManualResetEvent runningProcessesReceived = new ManualResetEvent(false); RunningProcesses runningProcesses = null; @@ -302,7 +302,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests [TestMethod] public void GetSystemPerfTest_XboxOne_1608() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.SystemPerfApi, this.PlatformType, this.OperatingSystemVersion, HttpOperations.Get); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.SystemPerfApi, this.PlatformType, this.OperatingSystemVersion, HttpMethods.Get); Task getSystemPerfTask = TestHelpers.Portal.GetSystemPerf(); getSystemPerfTask.Wait(); @@ -319,7 +319,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests [TestMethod] public void GetSystemPerfWebSocketTest_XboxOne_1608() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.SystemPerfApi, this.PlatformType, this.OperatingSystemVersion, HttpOperations.WebSocket); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.SystemPerfApi, this.PlatformType, this.OperatingSystemVersion, HttpMethods.WebSocket); ManualResetEvent systemPerfReceived = new ManualResetEvent(false); SystemPerformanceInformation systemPerfInfo = null; diff --git a/WindowsDevicePortalWrapper/UnitTestProject/MockHttpResponder.cs b/WindowsDevicePortalWrapper/UnitTestProject/MockHttpResponder.cs index f9cf17dc..a30c5a42 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/MockHttpResponder.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/MockHttpResponder.cs @@ -38,12 +38,12 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests /// /// The endpoint to be mocked. /// The response to return. - /// HTTP operation we are mocking. - public void AddMockResponse(string endpoint, HttpResponseMessage response, HttpOperations httpOperation) + /// HTTP method we are mocking. + public void AddMockResponse(string endpoint, HttpResponseMessage response, HttpMethods httpMethod) { - if (httpOperation != HttpOperations.Get) + if (httpMethod != HttpMethods.Get) { - endpoint = httpOperation.ToString() + "_" + endpoint; + endpoint = httpMethod.ToString() + "_" + endpoint; } Utilities.ModifyEndpointForFilename(ref endpoint); @@ -57,19 +57,19 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests /// Endpoint we are mocking. /// Device platform we are testing. /// The OS Version we are testing. - /// HTTP operation we are mocking. - public void AddMockResponse(string endpoint, DevicePortalPlatforms platform, string operatingSystemVersion, HttpOperations httpOperation) + /// HTTP method we are mocking. + public void AddMockResponse(string endpoint, DevicePortalPlatforms platform, string operatingSystemVersion, HttpMethods httpMethod) { // If no OS is provided, use the default. if (operatingSystemVersion == null) { - this.AddMockResponse(endpoint, httpOperation); + this.AddMockResponse(endpoint, httpMethod); return; } - if (httpOperation != HttpOperations.Get) + if (httpMethod != HttpMethods.Get) { - endpoint = httpOperation.ToString() + "_" + endpoint; + endpoint = httpMethod.ToString() + "_" + endpoint; } Utilities.ModifyEndpointForFilename(ref endpoint); @@ -85,14 +85,14 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests /// Adds a default response for this endpoint, device agnostic. /// /// Endpoint we are mocking. - /// HTTP operation we are mocking. - public void AddMockResponse(string endpoint, HttpOperations httpOperation) + /// HTTP method we are mocking. + public void AddMockResponse(string endpoint, HttpMethods httpMethod) { HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.OK); - if (httpOperation != HttpOperations.Get) + if (httpMethod != HttpMethods.Get) { - endpoint = httpOperation.ToString() + "_" + endpoint; + endpoint = httpMethod.ToString() + "_" + endpoint; } Utilities.ModifyEndpointForFilename(ref endpoint); @@ -112,7 +112,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests /// Async task returning the response. public async Task GetAsync(Uri uri) { - Task task = new Task(() => this.HttpStoredResponse(uri, HttpOperations.Get)); + Task task = new Task(() => this.HttpStoredResponse(uri, HttpMethods.Get)); task.Start(); return await task; @@ -126,7 +126,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests /// Async task returning the response. public async Task PostAsync(Uri uri, HttpContent content) { - Task task = new Task(() => this.HttpStoredResponse(uri, HttpOperations.Post)); + Task task = new Task(() => this.HttpStoredResponse(uri, HttpMethods.Post)); task.Start(); return await task; @@ -140,7 +140,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests /// Async task returning the response. public async Task PutAsync(Uri uri, HttpContent content) { - Task task = new Task(() => this.HttpStoredResponse(uri, HttpOperations.Put)); + Task task = new Task(() => this.HttpStoredResponse(uri, HttpMethods.Put)); task.Start(); return await task; @@ -154,7 +154,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests public async Task DeleteAsync(Uri uri) { // Task task = new Task(this.HttpStoredResponse, uri); - Task task = new Task(() => this.HttpStoredResponse(uri, HttpOperations.Delete)); + Task task = new Task(() => this.HttpStoredResponse(uri, HttpMethods.Delete)); task.Start(); return await task; @@ -167,7 +167,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests /// Async task returning the response. public async Task WebSocketAsync(Uri uri) { - Task task = new Task(() => this.HttpStoredResponse(uri, HttpOperations.WebSocket)); + Task task = new Task(() => this.HttpStoredResponse(uri, HttpMethods.WebSocket)); task.Start(); return await task; @@ -179,7 +179,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests /// The URI we are looking for a canned response for. /// The httpOperation we are looking for a canned response for. /// An HttpResponseMessage previously stored for this URI. - private HttpResponseMessage HttpStoredResponse(Uri uri, HttpOperations httpOperation) + private HttpResponseMessage HttpStoredResponse(Uri uri, HttpMethods httpOperation) { Assert.IsNotNull(uri); @@ -190,7 +190,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests targetEndpoint = targetEndpoint.Remove(0, 1); } - if (httpOperation != HttpOperations.Get) + if (httpOperation != HttpMethods.Get) { targetEndpoint = httpOperation.ToString() + "_" + targetEndpoint; } diff --git a/WindowsDevicePortalWrapper/UnitTestProject/TestHelpers.cs b/WindowsDevicePortalWrapper/UnitTestProject/TestHelpers.cs index b6d88573..229549aa 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/TestHelpers.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/TestHelpers.cs @@ -34,8 +34,8 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests public static void EstablishMockConnection(DevicePortalPlatforms platform, string operatingSystemVersion) { TestHelpers.MockHttpResponder = new MockHttpResponder(); - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.DeviceFamilyApi, platform, operatingSystemVersion, HttpOperations.Get); - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.OsInfoApi, platform, operatingSystemVersion, HttpOperations.Get); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.DeviceFamilyApi, platform, operatingSystemVersion, HttpMethods.Get); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.OsInfoApi, platform, operatingSystemVersion, HttpMethods.Get); TestHelpers.Portal = new DevicePortal(new MockDevicePortalConnection()); diff --git a/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/AppDeployment.cs b/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/AppDeployment.cs index bb9779cb..d4361e44 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/AppDeployment.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/AppDeployment.cs @@ -36,7 +36,7 @@ namespace Microsoft.Tools.WindowsDevicePortal using (HttpClient client = new HttpClient(handler)) { - this.ApplyHttpHeaders(client, "GET"); + this.ApplyHttpHeaders(client, HttpMethods.Get); Task getTask = TestHelpers.MockHttpResponder.GetAsync(uri); await getTask.ConfigureAwait(false); diff --git a/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/RestDelete.cs b/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/RestDelete.cs index 95aaf6cf..3b03cf70 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/RestDelete.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/RestDelete.cs @@ -33,7 +33,7 @@ namespace Microsoft.Tools.WindowsDevicePortal using (HttpClient client = new HttpClient(requestSettings)) { - this.ApplyHttpHeaders(client, "DELETE"); + this.ApplyHttpHeaders(client, HttpMethods.Delete); Task deleteTask = TestHelpers.MockHttpResponder.DeleteAsync(uri); await deleteTask.ConfigureAwait(false); diff --git a/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/RestGet.cs b/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/RestGet.cs index bc9c5b5a..ee7052cc 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/RestGet.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/RestGet.cs @@ -43,7 +43,7 @@ namespace Microsoft.Tools.WindowsDevicePortal using (HttpClient client = new HttpClient(handler)) { - this.ApplyHttpHeaders(client, "GET"); + this.ApplyHttpHeaders(client, HttpMethods.Get); Task getTask = TestHelpers.MockHttpResponder.GetAsync(uri); await getTask.ConfigureAwait(false); diff --git a/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/RestPost.cs b/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/RestPost.cs index d15db99a..887123f0 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/RestPost.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/RestPost.cs @@ -46,7 +46,7 @@ namespace Microsoft.Tools.WindowsDevicePortal using (HttpClient client = new HttpClient(requestSettings)) { - this.ApplyHttpHeaders(client, "POST"); + this.ApplyHttpHeaders(client, HttpMethods.Post); Task postTask = TestHelpers.MockHttpResponder.PostAsync(uri, requestContent); await postTask.ConfigureAwait(false); diff --git a/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/RestPut.cs b/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/RestPut.cs index a3fc0db8..12abe99e 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/RestPut.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/RestPut.cs @@ -36,7 +36,7 @@ namespace Microsoft.Tools.WindowsDevicePortal using (HttpClient client = new HttpClient(requestSettings)) { - this.ApplyHttpHeaders(client, "PUT"); + this.ApplyHttpHeaders(client, HttpMethods.Put); // Send the request Task putTask = TestHelpers.MockHttpResponder.PutAsync(uri, body); diff --git a/WindowsDevicePortalWrapper/UnitTestProject/Xbox/UserManagementTests.cs b/WindowsDevicePortalWrapper/UnitTestProject/Xbox/UserManagementTests.cs index e2d253ac..1a60e53f 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/Xbox/UserManagementTests.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/Xbox/UserManagementTests.cs @@ -28,7 +28,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests [TestMethod] public void GetXboxLiveUserListTest() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxLiveUserApi, HttpOperations.Get); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxLiveUserApi, HttpMethods.Get); Task getUserTask = TestHelpers.Portal.GetXboxLiveUsers(); getUserTask.Wait(); @@ -63,7 +63,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests public void UpdateXboxLiveUsersTest() { HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.NoContent); - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxLiveUserApi, response, HttpOperations.Put); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxLiveUserApi, response, HttpMethods.Put); UserList users = new UserList(); UserInfo user = new UserInfo(); @@ -93,7 +93,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests response.Content = content; - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxLiveUserApi, response, HttpOperations.Put); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxLiveUserApi, response, HttpMethods.Put); UserList users = new UserList(); UserInfo user = new UserInfo(); diff --git a/WindowsDevicePortalWrapper/UnitTestProject/Xbox/XboxAppDeploymentTests.cs b/WindowsDevicePortalWrapper/UnitTestProject/Xbox/XboxAppDeploymentTests.cs index e2ffc656..de97d34f 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/Xbox/XboxAppDeploymentTests.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/Xbox/XboxAppDeploymentTests.cs @@ -22,7 +22,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests [TestMethod] public void XboxAppDeploymentTest() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.RegisterPackageApi, HttpOperations.Post); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.RegisterPackageApi, HttpMethods.Post); Task registerTask = TestHelpers.Portal.RegisterApplication("SomeLooseFolder"); registerTask.Wait(); diff --git a/WindowsDevicePortalWrapper/UnitTestProject/Xbox/XboxSettingsTests.cs b/WindowsDevicePortalWrapper/UnitTestProject/Xbox/XboxSettingsTests.cs index e57b359f..ffcd3def 100644 --- a/WindowsDevicePortalWrapper/UnitTestProject/Xbox/XboxSettingsTests.cs +++ b/WindowsDevicePortalWrapper/UnitTestProject/Xbox/XboxSettingsTests.cs @@ -28,7 +28,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests [TestMethod] public void GetXboxSettingsTest() { - TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxSettingsApi, HttpOperations.Get); + TestHelpers.MockHttpResponder.AddMockResponse(DevicePortal.XboxSettingsApi, HttpMethods.Get); Task getSettingsTask = TestHelpers.Portal.GetXboxSettings(); getSettingsTask.Wait(); @@ -64,7 +64,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests public void GetSingleXboxSettingTest() { string settingName = "TVResolution"; - TestHelpers.MockHttpResponder.AddMockResponse(Path.Combine(DevicePortal.XboxSettingsApi, settingName), HttpOperations.Get); + TestHelpers.MockHttpResponder.AddMockResponse(Path.Combine(DevicePortal.XboxSettingsApi, settingName), HttpMethods.Get); Task getSettingTask = TestHelpers.Portal.GetXboxSetting(settingName); getSettingTask.Wait(); @@ -92,7 +92,7 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests setting.Value = "1080p"; HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.NoContent); - TestHelpers.MockHttpResponder.AddMockResponse(Path.Combine(DevicePortal.XboxSettingsApi, setting.Name), HttpOperations.Put); + TestHelpers.MockHttpResponder.AddMockResponse(Path.Combine(DevicePortal.XboxSettingsApi, setting.Name), HttpMethods.Put); Task updateSettingsTask = TestHelpers.Portal.UpdateXboxSetting(setting); updateSettingsTask.Wait(); diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/DevicePortal.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/DevicePortal.cs index 97451fff..337d92ce 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/DevicePortal.cs +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/DevicePortal.cs @@ -47,32 +47,32 @@ namespace Microsoft.Tools.WindowsDevicePortal } /// - /// HTTP Operations + /// HTTP Methods /// - public enum HttpOperations + public enum HttpMethods { /// - /// The HTTP Get operation. + /// The HTTP Get method. /// Get, /// - /// The HTTP Put operation. + /// The HTTP Put method. /// Put, /// - /// The HTTP Post operation. + /// The HTTP Post method. /// Post, /// - /// The HTTP Delete operation. + /// The HTTP Delete method. /// Delete, /// - /// The HTTP WebSocket operation. + /// The HTTP WebSocket method. /// WebSocket } @@ -278,9 +278,9 @@ namespace Microsoft.Tools.WindowsDevicePortal /// /// API endpoint we are calling. /// Directory to store our file. - /// The http operation to be performed. + /// The http method to be performed. /// Task waiting for HTTP call to return and file copy to complete. - public async Task SaveEndpointResponseToFile(string endpoint, string directory, HttpOperations httpOperation) + public async Task SaveEndpointResponseToFile(string endpoint, string directory, HttpMethods httpMethod) { Uri uri = new Uri(this.deviceConnection.Connection, endpoint); @@ -288,9 +288,9 @@ namespace Microsoft.Tools.WindowsDevicePortal // we can create a class with the same name as this Device/OS pair for tests. string filename = endpoint + "_" + this.Platform.ToString() + "_" + this.OperatingSystemVersion; - if (httpOperation != HttpOperations.Get) + if (httpMethod != HttpMethods.Get) { - filename = httpOperation.ToString() + "_" + filename; + filename = httpMethod.ToString() + "_" + filename; } Utilities.ModifyEndpointForFilename(ref filename); @@ -298,7 +298,7 @@ namespace Microsoft.Tools.WindowsDevicePortal filename += ".dat"; string filepath = Path.Combine(directory, filename); - if (HttpOperations.WebSocket == httpOperation) + if (HttpMethods.WebSocket == httpMethod) { #if WINDOWS_UWP WebSocket websocket = new WebSocket(this.deviceConnection, true); diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/HttpRest/HttpHeadersHelper.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/HttpRest/HttpHeadersHelper.cs index 2ee5ed8d..48c6b5cd 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/HttpRest/HttpHeadersHelper.cs +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/HttpRest/HttpHeadersHelper.cs @@ -56,12 +56,12 @@ namespace Microsoft.Tools.WindowsDevicePortal /// The HTTP method (ex: POST) that will be called on the client. public void ApplyCSRFHeader( HttpClient client, - string method) + HttpMethods method) { string headerName = "X-" + CsrfTokenName; string headerValue = this.csrfToken; - if (string.Compare(method, "get", true) == 0) + if (string.Compare(method.ToString(), "get", true) == 0) { headerName = CsrfTokenName; headerValue = string.IsNullOrEmpty(this.csrfToken) ? "Fetch" : headerValue; @@ -83,7 +83,7 @@ namespace Microsoft.Tools.WindowsDevicePortal /// The HTTP method (ex: POST) that will be called on the client. public void ApplyHttpHeaders( HttpClient client, - string method) + HttpMethods method) { this.ApplyCSRFHeader(client, method); this.ApplyUserAgentHeader(client); diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/CertificateHandling.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/CertificateHandling.cs index de17f042..5100f118 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/CertificateHandling.cs +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/CertificateHandling.cs @@ -53,7 +53,7 @@ namespace Microsoft.Tools.WindowsDevicePortal using (HttpClient client = new HttpClient(requestSettings)) { - this.ApplyHttpHeaders(client, "GET"); + this.ApplyHttpHeaders(client, HttpMethods.Get); IAsyncOperationWithProgress responseOperation = client.GetAsync(uri); TaskAwaiter responseAwaiter = responseOperation.GetAwaiter(); diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/Core/AppDeployment.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/Core/AppDeployment.cs index 07afd9f8..89264473 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/Core/AppDeployment.cs +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/Core/AppDeployment.cs @@ -43,7 +43,7 @@ namespace Microsoft.Tools.WindowsDevicePortal using (HttpClient client = new HttpClient(httpFilter)) { - this.ApplyHttpHeaders(client, "GET"); + this.ApplyHttpHeaders(client, HttpMethods.Get); IAsyncOperationWithProgress responseOperation = client.GetAsync(uri); while (responseOperation.Status != AsyncStatus.Completed) diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/HttpRest/RestDelete.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/HttpRest/RestDelete.cs index f2b46dd4..46872549 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/HttpRest/RestDelete.cs +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/HttpRest/RestDelete.cs @@ -40,7 +40,7 @@ namespace Microsoft.Tools.WindowsDevicePortal using (HttpClient client = new HttpClient(httpFilter)) { - this.ApplyHttpHeaders(client, "DELETE"); + this.ApplyHttpHeaders(client, HttpMethods.Delete); IAsyncOperationWithProgress responseOperation = client.DeleteAsync(uri); TaskAwaiter responseAwaiter = responseOperation.GetAwaiter(); diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/HttpRest/RestGet.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/HttpRest/RestGet.cs index ecc1e5bc..6be6e565 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/HttpRest/RestGet.cs +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/HttpRest/RestGet.cs @@ -40,7 +40,7 @@ namespace Microsoft.Tools.WindowsDevicePortal using (HttpClient client = new HttpClient(requestSettings)) { - this.ApplyHttpHeaders(client, "GET"); + this.ApplyHttpHeaders(client, HttpMethods.Get); IAsyncOperationWithProgress responseOperation = client.GetAsync(uri); TaskAwaiter responseAwaiter = responseOperation.GetAwaiter(); diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/HttpRest/RestPost.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/HttpRest/RestPost.cs index 9fae9416..b1e90d5e 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/HttpRest/RestPost.cs +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/HttpRest/RestPost.cs @@ -53,7 +53,7 @@ namespace Microsoft.Tools.WindowsDevicePortal using (HttpClient client = new HttpClient(httpFilter)) { - this.ApplyHttpHeaders(client, "POST"); + this.ApplyHttpHeaders(client, HttpMethods.Post); IAsyncOperationWithProgress responseOperation = client.PostAsync(uri, requestContent); TaskAwaiter responseAwaiter = responseOperation.GetAwaiter(); diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/HttpRest/RestPut.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/HttpRest/RestPut.cs index 79df743f..85b7bdf4 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/HttpRest/RestPut.cs +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/HttpRest/RestPut.cs @@ -43,7 +43,7 @@ namespace Microsoft.Tools.WindowsDevicePortal using (HttpClient client = new HttpClient(httpFilter)) { - this.ApplyHttpHeaders(client, "PUT"); + this.ApplyHttpHeaders(client, HttpMethods.Put); // Send the request IAsyncOperationWithProgress responseOperation = client.PutAsync(uri, null); diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/Core/AppDeployment.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/Core/AppDeployment.cs index d2d9f68e..2b27ce18 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/Core/AppDeployment.cs +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/Core/AppDeployment.cs @@ -39,7 +39,7 @@ namespace Microsoft.Tools.WindowsDevicePortal using (HttpClient client = new HttpClient(handler)) { - this.ApplyHttpHeaders(client, "GET"); + this.ApplyHttpHeaders(client, HttpMethods.Get); Task getTask = client.GetAsync(uri); await getTask.ConfigureAwait(false); diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/HttpRest/RestDelete.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/HttpRest/RestDelete.cs index 62b8b4cb..1498ec85 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/HttpRest/RestDelete.cs +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/HttpRest/RestDelete.cs @@ -32,7 +32,7 @@ namespace Microsoft.Tools.WindowsDevicePortal using (HttpClient client = new HttpClient(requestSettings)) { - this.ApplyHttpHeaders(client, "DELETE"); + this.ApplyHttpHeaders(client, HttpMethods.Delete); Task deleteTask = client.DeleteAsync(uri); await deleteTask.ConfigureAwait(false); diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/HttpRest/RestGet.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/HttpRest/RestGet.cs index 0887f930..760b8779 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/HttpRest/RestGet.cs +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/HttpRest/RestGet.cs @@ -42,7 +42,7 @@ namespace Microsoft.Tools.WindowsDevicePortal using (HttpClient client = new HttpClient(handler)) { - this.ApplyHttpHeaders(client, "GET"); + this.ApplyHttpHeaders(client, HttpMethods.Get); Task getTask = client.GetAsync(uri); await getTask.ConfigureAwait(false); diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/HttpRest/RestPost.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/HttpRest/RestPost.cs index e4723f99..067650a5 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/HttpRest/RestPost.cs +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/HttpRest/RestPost.cs @@ -45,7 +45,7 @@ namespace Microsoft.Tools.WindowsDevicePortal using (HttpClient client = new HttpClient(requestSettings)) { - this.ApplyHttpHeaders(client, "POST"); + this.ApplyHttpHeaders(client, HttpMethods.Post); Task postTask = client.PostAsync(uri, requestContent); await postTask.ConfigureAwait(false); diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/HttpRest/RestPut.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/HttpRest/RestPut.cs index 65201d18..3add15ea 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/HttpRest/RestPut.cs +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/HttpRest/RestPut.cs @@ -35,7 +35,7 @@ namespace Microsoft.Tools.WindowsDevicePortal using (HttpClient client = new HttpClient(requestSettings)) { - this.ApplyHttpHeaders(client, "PUT"); + this.ApplyHttpHeaders(client, HttpMethods.Put); // Send the request Task putTask = client.PutAsync(uri, body); -- GitLab From 77e273b3f4b5e1c1eaeb1dc73ec8e0531a15e4e0 Mon Sep 17 00:00:00 2001 From: Jason Williams Date: Tue, 26 Jul 2016 14:42:06 -0700 Subject: [PATCH 03/27] Minor renaming in TestAppXbox project. Rename done to reflect better that it can be used as a WDP driver and not just for doing one-off tests. Also provides a sample script showing how it could emulate/replace other Xbox remote management tools. --- .../TestAppXbox/Properties/AssemblyInfo.cs | 10 +++++----- .../TestAppXbox/TestAppXbox.csproj | 10 ++++++++-- .../TestAppXbox/Tools/XbUser.cmd | 3 +++ 3 files changed, 16 insertions(+), 7 deletions(-) create mode 100644 WindowsDevicePortalWrapper/TestAppXbox/Tools/XbUser.cmd diff --git a/WindowsDevicePortalWrapper/TestAppXbox/Properties/AssemblyInfo.cs b/WindowsDevicePortalWrapper/TestAppXbox/Properties/AssemblyInfo.cs index 6248353c..f73bc911 100644 --- a/WindowsDevicePortalWrapper/TestAppXbox/Properties/AssemblyInfo.cs +++ b/WindowsDevicePortalWrapper/TestAppXbox/Properties/AssemblyInfo.cs @@ -10,11 +10,11 @@ using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("TestAppXbox")] -[assembly: AssemblyDescription("")] +[assembly: AssemblyTitle("XboxWdpDriver")] +[assembly: AssemblyDescription("Driver app for accessing WDP on an Xbox device.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("TestAppXbox")] +[assembly: AssemblyProduct("XboxWdpDriver")] [assembly: AssemblyCopyright("Copyright © 2016")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -37,5 +37,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("0.9.*")] +[assembly: AssemblyFileVersion("0.9.0.0")] diff --git a/WindowsDevicePortalWrapper/TestAppXbox/TestAppXbox.csproj b/WindowsDevicePortalWrapper/TestAppXbox/TestAppXbox.csproj index cc9fcaa6..3e60473a 100644 --- a/WindowsDevicePortalWrapper/TestAppXbox/TestAppXbox.csproj +++ b/WindowsDevicePortalWrapper/TestAppXbox/TestAppXbox.csproj @@ -7,12 +7,13 @@ {1F3CA46B-1E52-418E-A293-23F3FA3BD213} Exe Properties - TestAppXbox - TestAppXbox + XboxWdpDriver + XboxWdpDriver v4.5.2 512 true True + AnyCPU @@ -23,6 +24,7 @@ DEBUG;TRACE prompt 4 + false AnyCPU @@ -32,6 +34,7 @@ TRACE prompt 4 + false @@ -54,6 +57,9 @@ + + PreserveNewest + diff --git a/WindowsDevicePortalWrapper/TestAppXbox/Tools/XbUser.cmd b/WindowsDevicePortalWrapper/TestAppXbox/Tools/XbUser.cmd new file mode 100644 index 00000000..ff1206fb --- /dev/null +++ b/WindowsDevicePortalWrapper/TestAppXbox/Tools/XbUser.cmd @@ -0,0 +1,3 @@ +REM This is an example of how a batch script can wrap the XboxWdpDriver to resemble traditional Xbox remote management tools. + +..\XboxWdpDriver.exe /op:xbluser %* \ No newline at end of file -- GitLab From ef12bfa60db0dc7edeb640068af4fe0730ac0f72 Mon Sep 17 00:00:00 2001 From: David Kline Date: Tue, 26 Jul 2016 14:56:46 -0700 Subject: [PATCH 04/27] add default implementation of IDevicePortalConnection --- .../DevicePortalConnection.cs | 9 - .../TestApp/DevicePortalConnection.cs | 1 - .../DevicePortalConnection.cs | 11 -- .../DevicePortal.cs | 1 - .../Exceptions/DevicePortalException.cs | 1 - .../Interfaces/IDevicePortalConnection.cs | 3 +- ...on.cs => DefaultDevicePortalConnection.cs} | 152 +++++++------- ...evicePortalWrapper.UniversalWindows.csproj | 1 + .../DefaultDevicePortalConnection.cs | 186 ++++++++++++++++++ .../WindowsDevicePortalWrapper.csproj | 1 + 10 files changed, 265 insertions(+), 101 deletions(-) rename WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/{DefaultDeviceConnection.cs => DefaultDevicePortalConnection.cs} (62%) create mode 100644 WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/DefaultDevicePortalConnection.cs diff --git a/WindowsDevicePortalWrapper/MockDataGenerator/DevicePortalConnection.cs b/WindowsDevicePortalWrapper/MockDataGenerator/DevicePortalConnection.cs index 981b613a..3acfba26 100644 --- a/WindowsDevicePortalWrapper/MockDataGenerator/DevicePortalConnection.cs +++ b/WindowsDevicePortalWrapper/MockDataGenerator/DevicePortalConnection.cs @@ -108,15 +108,6 @@ namespace MockDataGenerator set; } - /// - /// Gets or sets the device's qualified name - /// - public string QualifiedName - { - get; - set; - } - /// /// Returns certificate data /// diff --git a/WindowsDevicePortalWrapper/TestApp/DevicePortalConnection.cs b/WindowsDevicePortalWrapper/TestApp/DevicePortalConnection.cs index b07eccac..7c4f12e5 100644 --- a/WindowsDevicePortalWrapper/TestApp/DevicePortalConnection.cs +++ b/WindowsDevicePortalWrapper/TestApp/DevicePortalConnection.cs @@ -176,7 +176,6 @@ namespace TestApp if ((addressInfo.Address != "0.0.0.0") && !addressInfo.Address.StartsWith("169.")) { newConnection = new Uri(string.Format("{0}://{1}:50443", this.GetUriScheme(addressInfo.Address, requiresHttps), addressInfo.Address)); - //// TODO qualified name break; } } diff --git a/WindowsDevicePortalWrapper/TestAppHL.UniversalWindows/DevicePortalConnection.cs b/WindowsDevicePortalWrapper/TestAppHL.UniversalWindows/DevicePortalConnection.cs index f7e821bb..bad8abb4 100644 --- a/WindowsDevicePortalWrapper/TestAppHL.UniversalWindows/DevicePortalConnection.cs +++ b/WindowsDevicePortalWrapper/TestAppHL.UniversalWindows/DevicePortalConnection.cs @@ -7,9 +7,7 @@ using System; using System.Net; using System.Text.RegularExpressions; -using Windows.Foundation; using Windows.Security.Cryptography.Certificates; -using Windows.Storage.Streams; using Microsoft.Tools.WindowsDevicePortal; using static Microsoft.Tools.WindowsDevicePortal.DevicePortal; @@ -106,15 +104,6 @@ namespace TestApp } } - /// - /// Returns certificate data - /// - /// certificate data - public byte[] GetDeviceCertificateData() - { - throw new NotImplementedException(); - } - /// /// Validates and sets the device certificate. /// diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/DevicePortal.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/DevicePortal.cs index 97451fff..54f637c6 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/DevicePortal.cs +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/DevicePortal.cs @@ -168,7 +168,6 @@ namespace Microsoft.Tools.WindowsDevicePortal #endif // WINDOWS_UWP string connectionPhaseDescription = string.Empty; - // TODO - add status event. this can take a LONG time try { // Get the device certificate diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/Exceptions/DevicePortalException.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/Exceptions/DevicePortalException.cs index 1872c505..68630fb1 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/Exceptions/DevicePortalException.cs +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/Exceptions/DevicePortalException.cs @@ -145,7 +145,6 @@ namespace Microsoft.Tools.WindowsDevicePortal [SecurityCritical] public override void GetObjectData(SerializationInfo info, StreamingContext context) { - // TODO - look at an example of how this function is implemented base.GetObjectData(info, context); } #endif // !WINDOWS_UWP diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/Interfaces/IDevicePortalConnection.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/Interfaces/IDevicePortalConnection.cs index bd0b3c6f..74947875 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/Interfaces/IDevicePortalConnection.cs +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/Interfaces/IDevicePortalConnection.cs @@ -5,7 +5,6 @@ //---------------------------------------------------------------------------------------------- using System; -using System.Diagnostics.CodeAnalysis; using System.Net; using static Microsoft.Tools.WindowsDevicePortal.DevicePortal; @@ -46,11 +45,13 @@ namespace Microsoft.Tools.WindowsDevicePortal /// OperatingSystemInformation OsInfo { get; set; } +#if !WINDOWS_UWP /// /// Get the raw data of the device's root certificate. /// /// Byte array containing the certificate data. byte[] GetDeviceCertificateData(); +#endif /// /// Validates and sets the device certificate. diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/DefaultDeviceConnection.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/DefaultDevicePortalConnection.cs similarity index 62% rename from WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/DefaultDeviceConnection.cs rename to WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/DefaultDevicePortalConnection.cs index a8f54feb..c418793c 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/DefaultDeviceConnection.cs +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/DefaultDevicePortalConnection.cs @@ -1,20 +1,29 @@ -using System; +//---------------------------------------------------------------------------------------------- +// +// Licensed under the MIT License. See LICENSE.TXT in the project root license information. +// +//---------------------------------------------------------------------------------------------- + +using System; using System.Net; using System.Text.RegularExpressions; using Windows.Foundation; using Windows.Security.Cryptography.Certificates; using Windows.Storage.Streams; -using Microsoft.Tools.WindowsDevicePortal; using static Microsoft.Tools.WindowsDevicePortal.DevicePortal; -namespace TestApp +namespace Microsoft.Tools.WindowsDevicePortal { + /// + /// Default implementation of the IDevicePortalConnection interface. + /// This implementation is designed to be compatibile with all device families. + /// public class DefaultDevicePortalConnection : IDevicePortalConnection { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - /// The address of the device. + /// The fully qualified (ex: "https:/1.2.3.4:4321") address of the device. /// The user name used in the connection credentials. /// The password used in the connection credentials. public DefaultDevicePortalConnection( @@ -23,17 +32,46 @@ namespace TestApp string password) { this.Connection = new Uri(address); - this.Credentials = new NetworkCredential( - userName, - password); + this.Credentials = new NetworkCredential(userName, password); } + /// + /// Gets the URI used to connect to the device. + /// public Uri Connection { get; private set; } + /// + /// Gets Web Socket Connection property + /// + public Uri WebSocketConnection + { + get + { + if (this.Connection == null) + { + return null; + } + + string absoluteUri = this.Connection.AbsoluteUri; + + if (absoluteUri.StartsWith("https", StringComparison.OrdinalIgnoreCase)) + { + return new Uri(Regex.Replace(absoluteUri, "https", "wss", RegexOptions.IgnoreCase | RegexOptions.CultureInvariant)); + } + else + { + return new Uri(Regex.Replace(absoluteUri, "http", "ws", RegexOptions.IgnoreCase | RegexOptions.CultureInvariant)); + } + } + } + + /// + /// Gets the credentials used to connect to the device. + /// public NetworkCredential Credentials { get; @@ -67,40 +105,6 @@ namespace TestApp set; } - /// - /// Gets the connection as a Web Socket - /// - public Uri WebSocketConnection - { - get - { - if (this.Connection == null) - { - return null; - } - - string absoluteUri = this.Connection.AbsoluteUri; - - if (absoluteUri.StartsWith("https", StringComparison.OrdinalIgnoreCase)) - { - return new Uri(Regex.Replace(absoluteUri, "https", "wss", RegexOptions.IgnoreCase | RegexOptions.CultureInvariant)); - } - else - { - return new Uri(Regex.Replace(absoluteUri, "http", "ws", RegexOptions.IgnoreCase | RegexOptions.CultureInvariant)); - } - } - } - - /// - /// Returns certificate data - /// - /// certificate data - public byte[] GetDeviceCertificateData() - { - throw new NotImplementedException(); - } - /// /// Validates and sets the device certificate. /// @@ -121,10 +125,6 @@ namespace TestApp null, "Failed to set the device certificate"); } - - // Install the certificate. - CertificateStore trustedStore = CertificateStores.TrustedRootCertificationAuthorities; - trustedStore.Add(certificate); } /// @@ -133,48 +133,46 @@ namespace TestApp /// Indicates whether or not to always require a secure connection. public void UpdateConnection(bool requiresHttps) { - // BUGBUG - DK - //string uriScheme = this.GetUriScheme( - // this.Connection.Authority, - // requiresHttps); - - //this.Connection = new Uri( - // string.Format( - // "{0}://{1}", - // uriScheme, - // this.Connection.Authority)); + this.Connection = new Uri( + string.Format( + "{0}://{1}", + requiresHttps ? "https" : "http", + this.Connection.Authority)); } - + /// /// Updates the device's connection Uri. /// /// The device's IP configuration data. - /// Indicates whether or not the connection should always be secure. + /// Indicates whether or not to always require a secure connection. public void UpdateConnection( IpConfiguration ipConfig, bool requiresHttps = false) { - // BUGBUG - DK - //Uri newConnection = null; + Uri newConnection = null; - //foreach (NetworkAdapterInfo adapter in ipConfig.Adapters) - //{ - // foreach (IpAddressInfo addressInfo in adapter.IpAddresses) - // { - // // We take the first, non-169.x.x.x address we find that is not 0.0.0.0. - // if ((addressInfo.Address != "0.0.0.0") && !addressInfo.Address.StartsWith("169.")) - // { - // newConnection = new Uri(string.Format("{0}://{1}", this.GetUriScheme(addressInfo.Address, requiresHttps), addressInfo.Address)); - // break; - // } - // } + foreach (NetworkAdapterInfo adapter in ipConfig.Adapters) + { + foreach (IpAddressInfo addressInfo in adapter.IpAddresses) + { + // We take the first, non-169.x.x.x address we find that is not 0.0.0.0. + if ((addressInfo.Address != "0.0.0.0") && !addressInfo.Address.StartsWith("169.")) + { + newConnection = new Uri( + string.Format( + "{0}://{1}", + requiresHttps ? "https" : "http", + this.Connection.Authority)); + break; + } + } - // if (newConnection != null) - // { - // this.Connection = newConnection; - // break; - // } - //} + if (newConnection != null) + { + this.Connection = newConnection; + break; + } + } } } } diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/WindowsDevicePortalWrapper.UniversalWindows.csproj b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/WindowsDevicePortalWrapper.UniversalWindows.csproj index 2ada96a1..f5cf0221 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/WindowsDevicePortalWrapper.UniversalWindows.csproj +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/WindowsDevicePortalWrapper.UniversalWindows.csproj @@ -110,6 +110,7 @@ + diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/DefaultDevicePortalConnection.cs b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/DefaultDevicePortalConnection.cs new file mode 100644 index 00000000..b5c4f2f5 --- /dev/null +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/DefaultDevicePortalConnection.cs @@ -0,0 +1,186 @@ +//---------------------------------------------------------------------------------------------- +// +// Licensed under the MIT License. See LICENSE.TXT in the project root license information. +// +//---------------------------------------------------------------------------------------------- + +using System; +using System.Net; +using System.Security.Cryptography.X509Certificates; +using System.Text.RegularExpressions; +using static Microsoft.Tools.WindowsDevicePortal.DevicePortal; + +namespace Microsoft.Tools.WindowsDevicePortal +{ + /// + /// Default implementation of the IDevicePortalConnection interface. + /// This implementation is designed to be compatibile with all device families. + /// + public class DefaultDevicePortalConnection : IDevicePortalConnection + { + /// + /// The device's root certificate. + /// + private X509Certificate2 deviceCertificate = null; + + /// + /// Initializes a new instance of the class. + /// + /// The fully qualified (ex: "https:/1.2.3.4:4321") address of the device. + /// The user name used in the connection credentials. + /// The password used in the connection credentials. + public DefaultDevicePortalConnection( + string address, + string userName, + string password) + { + this.Connection = new Uri(address); + this.Credentials = new NetworkCredential(userName, password); + } + + /// + /// Gets the URI used to connect to the device. + /// + public Uri Connection + { + get; + private set; + } + + /// + /// Gets Web Socket Connection property + /// + public Uri WebSocketConnection + { + get + { + if (this.Connection == null) + { + return null; + } + + string absoluteUri = this.Connection.AbsoluteUri; + + if (absoluteUri.StartsWith("https", StringComparison.OrdinalIgnoreCase)) + { + return new Uri(Regex.Replace(absoluteUri, "https", "wss", RegexOptions.IgnoreCase | RegexOptions.CultureInvariant)); + } + else + { + return new Uri(Regex.Replace(absoluteUri, "http", "ws", RegexOptions.IgnoreCase | RegexOptions.CultureInvariant)); + } + } + } + + /// + /// Gets the credentials used to connect to the device. + /// + public NetworkCredential Credentials + { + get; + private set; + } + + /// + /// Gets or sets the device's operating system family. + /// + public string Family + { + get; + set; + } + + /// + /// Gets or sets the device name. + /// + public string Name + { + get; + set; + } + + /// + /// Gets or sets the operating system information. + /// + public OperatingSystemInformation OsInfo + { + get; + set; + } + + /// + /// Gets the raw device certificate. + /// + /// Byte array containing the raw certificate data. + public byte[] GetDeviceCertificateData() + { + return this.deviceCertificate.GetRawCertData(); + } + + /// + /// Validates and sets the device certificate. + /// + /// The device's root certificate. + public void SetDeviceCertificate(X509Certificate2 certificate) + { + if (!certificate.IssuerName.Name.Contains(DevicePortalCertificateIssuer)) + { + throw new DevicePortalException( + (HttpStatusCode)0, + "Invalid certificate issuer", + null, + "Failed to download device certificate"); + } + + this.deviceCertificate = certificate; + } + + /// + /// Updates the device's connection Uri. + /// + /// Indicates whether or not to always require a secure connection. + public void UpdateConnection(bool requiresHttps) + { + this.Connection = new Uri( + string.Format( + "{0}://{1}", + requiresHttps ? "https" : "http", + this.Connection.Authority)); + } + + /// + /// Updates the device's connection Uri. + /// + /// The device's IP configuration data. + /// Indicates whether or not to always require a secure connection. + public void UpdateConnection( + IpConfiguration ipConfig, + bool requiresHttps = false) + { + Uri newConnection = null; + + foreach (NetworkAdapterInfo adapter in ipConfig.Adapters) + { + foreach (IpAddressInfo addressInfo in adapter.IpAddresses) + { + // We take the first, non-169.x.x.x address we find that is not 0.0.0.0. + if ((addressInfo.Address != "0.0.0.0") && !addressInfo.Address.StartsWith("169.")) + { + newConnection = new Uri( + string.Format( + "{0}://{1}", + requiresHttps ? "https" : "http", + this.Connection.Authority)); + break; + } + } + + if (newConnection != null) + { + this.Connection = newConnection; + break; + } + } + } + } +} diff --git a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.csproj b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.csproj index 200bf729..e8ac0546 100644 --- a/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.csproj +++ b/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.csproj @@ -44,6 +44,7 @@ + -- GitLab From e7816f92ba2093d7a51e664d9b99dbcf92dfabe1 Mon Sep 17 00:00:00 2001 From: Jason Williams Date: Tue, 26 Jul 2016 16:15:19 -0700 Subject: [PATCH 05/27] Update documentation to use Doxygen to auto generate code docs, including providing instructions in the project on how to do this for future doc updating. --- CONTRIBUTING.md | 16 +- DocConfig.txt | 2425 +++++++++++ README.md | 303 +- .../DevicePortalConnection.cs | 2 +- .../MainPage.xaml.cs | 1 - .../TestAppHL/DevicePortalConnection.cs | 2 +- .../TestAppHL/Program.cs | 2 +- .../TestAppXbox/DevicePortalConnection.cs | 2 +- .../TestAppXbox/NetworkShare.cs | 2 +- .../TestAppXbox/Operations/FileOperation.cs | 4 +- .../Operations/InstallOperation.cs | 4 +- .../Operations/SettingOperation.cs | 4 +- .../TestAppXbox/Operations/UserOperation.cs | 6 +- .../TestAppXbox/ParameterHelper.cs | 2 +- .../TestAppXbox/Program.cs | 2 +- .../Core/OsInformation.cs | 4 +- .../DevicePortal.cs | 4 +- html/annotated.html | 194 + html/arrowdown.png | Bin 0 -> 246 bytes html/arrowright.png | Bin 0 -> 229 bytes html/bc_s.png | Bin 0 -> 676 bytes html/bdwn.png | Bin 0 -> 147 bytes ...ion_install_status_event_args-members.html | 109 + ...application_install_status_event_args.html | 194 + ..._connection_status_event_args-members.html | 109 + ...1_device_connection_status_event_args.html | 194 + ...vice_portal_1_1_device_portal-members.html | 198 + ...ndows_device_portal_1_1_device_portal.html | 3532 +++++++++++++++++ ...ortal_1_1_active_power_scheme-members.html | 107 + ...device_portal_1_1_active_power_scheme.html | 144 + ...evice_portal_1_1_app_packages-members.html | 107 + ...al_1_1_device_portal_1_1_app_packages.html | 144 + ...vice_portal_1_1_battery_state-members.html | 115 + ...l_1_1_device_portal_1_1_battery_state.html | 344 ++ ..._1_1_device_portal_1_1_device-members.html | 114 + ...e_portal_1_1_device_portal_1_1_device.html | 319 ++ ...device_portal_1_1_device_list-members.html | 107 + ...tal_1_1_device_portal_1_1_device_list.html | 144 + ...device_portal_1_1_device_name-members.html | 107 + ...tal_1_1_device_portal_1_1_device_name.html | 144 + ...e_portal_1_1_device_os_family-members.html | 107 + ..._1_device_portal_1_1_device_os_family.html | 144 + ...ortal_1_1_device_process_info-members.html | 123 + ...device_portal_1_1_device_process_info.html | 553 +++ ...e_portal_1_1_device_processes-members.html | 107 + ..._1_device_portal_1_1_device_processes.html | 144 + ...al_1_1_device_portal_1_1_dhcp-members.html | 111 + ...ice_portal_1_1_device_portal_1_1_dhcp.html | 244 ++ ..._1_file_or_folder_information-members.html | 114 + ...portal_1_1_file_or_folder_information.html | 328 ++ ...ce_portal_1_1_folder_contents-members.html | 108 + ...1_1_device_portal_1_1_folder_contents.html | 178 + ...device_portal_1_1_gpu_adapter-members.html | 112 + ...tal_1_1_device_portal_1_1_gpu_adapter.html | 269 ++ ...rtal_1_1_gpu_performance_data-members.html | 107 + ...evice_portal_1_1_gpu_performance_data.html | 144 + ...vice_portal_1_1_install_state-members.html | 110 + ...l_1_1_device_portal_1_1_install_state.html | 219 + ...l_1_1_inter_pupilary_distance-members.html | 108 + ...ce_portal_1_1_inter_pupilary_distance.html | 169 + ...ce_portal_1_1_ip_address_info-members.html | 108 + ...1_1_device_portal_1_1_ip_address_info.html | 169 + ...e_portal_1_1_ip_configuration-members.html | 107 + ..._1_device_portal_1_1_ip_configuration.html | 144 + ...vice_portal_1_1_known_folders-members.html | 108 + ...l_1_1_device_portal_1_1_known_folders.html | 178 + ...rtal_1_1_mrc_file_information-members.html | 111 + ...evice_portal_1_1_mrc_file_information.html | 244 ++ ...vice_portal_1_1_mrc_file_list-members.html | 107 + ...l_1_1_device_portal_1_1_mrc_file_list.html | 144 + ..._device_portal_1_1_mrc_status-members.html | 108 + ...rtal_1_1_device_portal_1_1_mrc_status.html | 169 + ...rtal_1_1_network_adapter_info-members.html | 114 + ...evice_portal_1_1_network_adapter_info.html | 319 ++ ..._1_1_network_performance_data-members.html | 108 + ...e_portal_1_1_network_performance_data.html | 169 + ..._operating_system_information-members.html | 113 + ...rtal_1_1_operating_system_information.html | 294 ++ ...evice_portal_1_1_package_info-members.html | 113 + ...al_1_1_device_portal_1_1_package_info.html | 303 ++ ...ce_portal_1_1_package_version-members.html | 112 + ...1_1_device_portal_1_1_package_version.html | 278 ++ ...device_portal_1_1_power_state-members.html | 108 + ...tal_1_1_device_portal_1_1_power_state.html | 169 + ...evice_portal_1_1_process_info-members.html | 122 + ...al_1_1_device_portal_1_1_process_info.html | 519 +++ ...ice_portal_1_1_process_status-members.html | 107 + ..._1_1_device_portal_1_1_process_status.html | 144 + ...ce_portal_1_1_process_version-members.html | 110 + ...1_1_device_portal_1_1_process_version.html | 220 + ..._portal_1_1_running_processes-members.html | 109 + ...1_device_portal_1_1_running_processes.html | 232 ++ ...evice_portal_1_1_service_tags-members.html | 107 + ...al_1_1_device_portal_1_1_service_tags.html | 144 + ..._1_device_portal_1_1_smb_info-members.html | 110 + ...portal_1_1_device_portal_1_1_smb_info.html | 228 ++ ...ystem_performance_information-members.html | 120 + ...al_1_1_system_performance_information.html | 469 +++ ...vice_portal_1_1_thermal_stage-members.html | 108 + ...l_1_1_device_portal_1_1_thermal_stage.html | 169 + ...1_device_portal_1_1_user_info-members.html | 116 + ...ortal_1_1_device_portal_1_1_user_info.html | 378 ++ ...1_device_portal_1_1_user_list-members.html | 110 + ...ortal_1_1_device_portal_1_1_user_list.html | 242 ++ ..._web_management_http_settings-members.html | 107 + ...rtal_1_1_web_management_http_settings.html | 144 + ...ice_portal_1_1_wifi_interface-members.html | 110 + ..._1_1_device_portal_1_1_wifi_interface.html | 219 + ...ce_portal_1_1_wifi_interfaces-members.html | 107 + ...1_1_device_portal_1_1_wifi_interfaces.html | 144 + ..._portal_1_1_wifi_network_info-members.html | 119 + ...1_device_portal_1_1_wifi_network_info.html | 444 +++ ...rtal_1_1_wifi_network_profile-members.html | 109 + ...evice_portal_1_1_wifi_network_profile.html | 194 + ...vice_portal_1_1_wifi_networks-members.html | 107 + ...l_1_1_device_portal_1_1_wifi_networks.html | 144 + ...evice_portal_1_1_xbox_setting-members.html | 111 + ...al_1_1_device_portal_1_1_xbox_setting.html | 253 ++ ..._portal_1_1_xbox_setting_list-members.html | 109 + ...1_device_portal_1_1_xbox_setting_list.html | 207 + ...l_1_1_device_portal_exception-members.html | 112 + ...ce_portal_1_1_device_portal_exception.html | 375 ++ ...ice_portal_1_1_device_portal_exception.png | Bin 0 -> 910 bytes ...s_1_1_app_file_explorer_tests-members.html | 117 + ...1_1_tests_1_1_app_file_explorer_tests.html | 341 ++ ..._1_1_tests_1_1_app_file_explorer_tests.png | Bin 0 -> 1262 bytes ...rtal_1_1_tests_1_1_base_tests-members.html | 110 + ...evice_portal_1_1_tests_1_1_base_tests.html | 246 ++ ...device_portal_1_1_tests_1_1_base_tests.png | Bin 0 -> 5051 bytes ...re_1_1_performance_data_tests-members.html | 114 + ...s_1_1_core_1_1_performance_data_tests.html | 257 ++ ...ts_1_1_core_1_1_performance_data_tests.png | Bin 0 -> 1295 bytes ...mock_device_portal_connection-members.html | 119 + ...sts_1_1_mock_device_portal_connection.html | 511 +++ ...ests_1_1_mock_device_portal_connection.png | Bin 0 -> 1264 bytes ...tests_1_1_mock_http_responder-members.html | 115 + ...tal_1_1_tests_1_1_mock_http_responder.html | 508 +++ ...ests_1_1_os_information_tests-members.html | 111 + ...al_1_1_tests_1_1_os_information_tests.html | 173 + ...tal_1_1_tests_1_1_os_information_tests.png | Bin 0 -> 1231 bytes ...sts_1_1_user_management_tests-members.html | 113 + ...l_1_1_tests_1_1_user_management_tests.html | 229 ++ ...al_1_1_tests_1_1_user_management_tests.png | Bin 0 -> 1280 bytes ...1_1_xbox_app_deployment_tests-members.html | 111 + ...1_tests_1_1_xbox_app_deployment_tests.html | 173 + ..._1_tests_1_1_xbox_app_deployment_tests.png | Bin 0 -> 1311 bytes ...al_1_1_tests_1_1_xbox_helpers-members.html | 107 + ...ice_portal_1_1_tests_1_1_xbox_helpers.html | 154 + ...d64fr2b36840deb25be2c7bcf9cb645a3252e.html | 119 + ...d64frd9599e6105747a2dd5ce5cbe798a705b.html | 449 +++ ...md64frd9599e6105747a2dd5ce5cbe798a705b.png | Bin 0 -> 1702 bytes ...tests_1_1_xbox_settings_tests-members.html | 113 + ...tal_1_1_tests_1_1_xbox_settings_tests.html | 229 ++ ...rtal_1_1_tests_1_1_xbox_settings_tests.png | Bin 0 -> 1244 bytes ...t_message_received_event_args-members.html | 107 + ...eb_socket_message_received_event_args.html | 150 + ..._1_1_device_portal_connection-members.html | 120 + ...enerator_1_1_device_portal_connection.html | 571 +++ ...generator_1_1_device_portal_connection.png | Bin 0 -> 1128 bytes ...enerator_1_1_parameter_helper-members.html | 114 + ...k_data_generator_1_1_parameter_helper.html | 367 ++ ...ck_data_generator_1_1_program-members.html | 107 + ...class_mock_data_generator_1_1_program.html | 154 + ...ault_device_portal_connection-members.html | 118 + ..._1_1_default_device_portal_connection.html | 469 +++ ...p_1_1_default_device_portal_connection.png | Bin 0 -> 1135 bytes ..._1_1_device_portal_connection-members.html | 118 + ...test_app_1_1_device_portal_connection.html | 511 +++ ..._test_app_1_1_device_portal_connection.png | Bin 0 -> 1085 bytes ..._1_1_device_portal_connection-members.html | 118 + ..._app_h_l_1_1_device_portal_connection.html | 511 +++ ...t_app_h_l_1_1_device_portal_connection.png | Bin 0 -> 1103 bytes ...1_1_universal_windows_1_1_app-members.html | 113 + ...app_h_l_1_1_universal_windows_1_1_app.html | 339 ++ ..._app_h_l_1_1_universal_windows_1_1_app.png | Bin 0 -> 1600 bytes ..._1_1_device_portal_connection-members.html | 118 + ..._windows_1_1_device_portal_connection.html | 469 +++ ...l_windows_1_1_device_portal_connection.png | Bin 0 -> 1200 bytes ...iversal_windows_1_1_main_page-members.html | 111 + ...l_1_1_universal_windows_1_1_main_page.html | 227 ++ ..._l_1_1_universal_windows_1_1_main_page.png | Bin 0 -> 1741 bytes ..._1_1_device_portal_connection-members.html | 117 + ...app_io_t_1_1_device_portal_connection.html | 509 +++ ..._app_io_t_1_1_device_portal_connection.png | Bin 0 -> 1100 bytes ..._1_1_device_portal_connection-members.html | 118 + ...p_driver_1_1_device_portal_connection.html | 511 +++ ...dp_driver_1_1_device_portal_connection.png | Bin 0 -> 1138 bytes ...wdp_driver_1_1_file_operation-members.html | 107 + ...ss_xbox_wdp_driver_1_1_file_operation.html | 165 + ..._driver_1_1_install_operation-members.html | 109 + ...xbox_wdp_driver_1_1_install_operation.html | 244 ++ ..._xbox_wdp_driver_1_1_install_operation.png | Bin 0 -> 669 bytes ...p_driver_1_1_parameter_helper-members.html | 117 + ..._xbox_wdp_driver_1_1_parameter_helper.html | 442 +++ ...s_xbox_wdp_driver_1_1_program-members.html | 107 + html/class_xbox_wdp_driver_1_1_program.html | 154 + ..._driver_1_1_setting_operation-members.html | 107 + ...xbox_wdp_driver_1_1_setting_operation.html | 165 + ...wdp_driver_1_1_user_operation-members.html | 107 + ...ss_xbox_wdp_driver_1_1_user_operation.html | 165 + html/classes.html | 146 + html/closed.png | Bin 0 -> 132 bytes .../dir_0d993ccfc5ab61a97047242818b14695.html | 102 + .../dir_0e1c811db1e631c847a2728248a6eb52.html | 99 + .../dir_10ecb63f223e4d933ce2f06d233cbb08.html | 99 + .../dir_141e26017f56cd5f7f075f2978005d4f.html | 102 + .../dir_16b4af97cb4229137991b23f166f694d.html | 99 + .../dir_203e079a9e5e7b0a2dbb2fd4159204dc.html | 102 + .../dir_226c67fefa4c12a1ec5e92c6cac72b8f.html | 99 + .../dir_2441287e06f7805feda21d4cb78e5951.html | 99 + .../dir_26eecc9f350624d6ecd91b345f51fe4d.html | 99 + .../dir_31e2b2eb707ffe92460e6318a1e65832.html | 99 + .../dir_366ead30527b9ad5158474b2564339e1.html | 99 + .../dir_3dfd9d84f78c034d38bdb42a779fb70b.html | 99 + .../dir_41175dc3322a9eb2677a439ac4b67711.html | 99 + .../dir_438ee9751c08a16a435fd6381bd76881.html | 99 + .../dir_4865a43ff1bfa02a148cbb21e4e2cb01.html | 99 + .../dir_49e482e5422311df60d5b8803f781080.html | 99 + .../dir_4af802fdfaad665dea705547ce6844d2.html | 99 + .../dir_4b86b4ebb088f5443800d281e320e2da.html | 99 + .../dir_530c0c32e15f22e6f2fe09b16ccdb26e.html | 99 + .../dir_578e73e974e38cc90f9799f4216f19d3.html | 99 + .../dir_5db9b8f53c2624152775652e525c48f5.html | 99 + .../dir_5eaabcb7f268b26ec5dd2667b1900960.html | 99 + .../dir_61b72ba587e453703daa35896c03b5c0.html | 99 + .../dir_62e3684a1c24489a974a6e693455f417.html | 102 + .../dir_63b16e605e97761feb80e6ab3b37aa77.html | 99 + .../dir_6410cfa203185d8c98b056eff438d07e.html | 99 + .../dir_6813576edd85a2e48ed01738b5cbff5b.html | 99 + .../dir_6d8aa7c9938dbc3f1b8d0626f933e13f.html | 99 + .../dir_7470d867f3f2875322dbf20181d09df4.html | 99 + .../dir_750c5dc12a305fe52b5d20cdd817950b.html | 99 + .../dir_75ae85166f01a01ef9c112ac281739c9.html | 99 + .../dir_78dd264c96320d73438f6edd84721562.html | 99 + .../dir_7a53d4b505cd29622299f5226027f19a.html | 99 + .../dir_7a81585a08b2f64e3522fda120fd4b26.html | 99 + .../dir_7f222e1b80c094255814fed8a992ba50.html | 99 + .../dir_8032d3f6418be0db79e7ea0d643adfe8.html | 99 + .../dir_80369be14e516b2d8d23e9ba59b5ae2b.html | 99 + .../dir_81cfa5be17e4affe3a35136a6d42b009.html | 102 + .../dir_8a42cbe89857e6325a4dfa69015b1bf2.html | 99 + .../dir_9c968c6bf94e17af16bba538e390e1fc.html | 99 + .../dir_9e8dbfb293e5b6aa1565dd3415fc1803.html | 99 + .../dir_a2aa60d471c80cf455d5ae36650ce91e.html | 99 + .../dir_a333f76013d815bdbe22a611edf35ede.html | 99 + .../dir_a3f8264c1b613bef25370e462e3d3c49.html | 99 + .../dir_a75e730eeaf9c8e40dad33e8f4404cdc.html | 99 + .../dir_acba0d1ac79c7adf63dea9d894157900.html | 99 + .../dir_aef032105a093e17a6703cd9cabc6c52.html | 99 + .../dir_b1fce700360c9e873d7a5c3eb4f2338a.html | 99 + .../dir_b2f59985b589db1901debad9bb003926.html | 99 + .../dir_b335c087433c75aaad6c89409f089e45.html | 102 + .../dir_b52bb6ef00f1c9f0082aef90c03750e7.html | 99 + .../dir_b7aad8839a089ff0f1208946e1a54ffb.html | 102 + .../dir_c2a3dfc5dd8699374a3eb33ada8edc6d.html | 99 + .../dir_ca7318fc5ff517213b63ab30c71cb364.html | 99 + .../dir_cc7c9f9fff26002bfafa6ddd6811ed71.html | 99 + .../dir_d31d29fc644a334b2bc64d1f3a582bff.html | 102 + .../dir_d503be92d71ec74a82aebd9746a9be4b.html | 99 + .../dir_d653982f5239868f89cd772f1e47e6f9.html | 99 + .../dir_d6c077d150b45209892c0b604ee7a0cc.html | 99 + .../dir_d90325a2b574cf586f23d4f141eadfa1.html | 102 + .../dir_e0a227d908f36d6a67a412eca8c65df8.html | 99 + .../dir_e17a2ff7d1845f45089e7f9351da83a7.html | 99 + .../dir_e25d5e7c1a04a11b77b3e8ef51c6090c.html | 99 + .../dir_e59b77a701288149890600a3d0d18b41.html | 102 + .../dir_ededed9c60de1666e16e3e6abebd5acb.html | 99 + .../dir_efb7b0b55f950234c013ce8c63252316.html | 99 + .../dir_f33225cca781db89edc536dfc7a5a7a7.html | 99 + .../dir_f9b98c82b508c1af5a08de4931f24df8.html | 99 + html/doc.png | Bin 0 -> 746 bytes html/doxygen.css | 1475 +++++++ html/doxygen.png | Bin 0 -> 3779 bytes html/dynsections.js | 97 + html/folderclosed.png | Bin 0 -> 616 bytes html/folderopen.png | Bin 0 -> 597 bytes html/functions.html | 220 + html/functions_b.html | 151 + html/functions_c.html | 214 + html/functions_d.html | 212 + html/functions_e.html | 144 + html/functions_enum.html | 112 + html/functions_f.html | 168 + html/functions_func.html | 628 +++ html/functions_g.html | 306 ++ html/functions_h.html | 156 + html/functions_i.html | 234 ++ html/functions_k.html | 138 + html/functions_l.html | 159 + html/functions_m.html | 170 + html/functions_n.html | 162 + html/functions_o.html | 172 + html/functions_p.html | 219 + html/functions_prop.html | 167 + html/functions_prop_b.html | 146 + html/functions_prop_c.html | 202 + html/functions_prop_d.html | 166 + html/functions_prop_e.html | 142 + html/functions_prop_f.html | 166 + html/functions_prop_g.html | 145 + html/functions_prop_i.html | 221 ++ html/functions_prop_l.html | 151 + html/functions_prop_m.html | 158 + html/functions_prop_n.html | 160 + html/functions_prop_o.html | 158 + html/functions_prop_p.html | 207 + html/functions_prop_q.html | 137 + html/functions_prop_r.html | 153 + html/functions_prop_s.html | 185 + html/functions_prop_t.html | 152 + html/functions_prop_u.html | 146 + html/functions_prop_v.html | 146 + html/functions_prop_w.html | 153 + html/functions_prop_x.html | 136 + html/functions_q.html | 139 + html/functions_r.html | 179 + html/functions_s.html | 240 ++ html/functions_t.html | 176 + html/functions_u.html | 180 + html/functions_v.html | 154 + html/functions_vars.html | 170 + html/functions_w.html | 166 + html/functions_x.html | 150 + html/hierarchy.html | 199 + html/index.html | 91 + ..._1_i_device_portal_connection-members.html | 116 + ...portal_1_1_i_device_portal_connection.html | 412 ++ ..._portal_1_1_i_device_portal_connection.png | Bin 0 -> 6725 bytes html/jquery.js | 68 + html/md_CONTRIBUTING.html | 142 + html/md_README.html | 105 + html/md_Testing.html | 93 + html/namespace_microsoft.html | 102 + html/namespace_microsoft_1_1_tools.html | 106 + ...t_1_1_tools_1_1_windows_device_portal.html | 490 +++ ...s_1_1_windows_device_portal_1_1_tests.html | 143 + ...dows_device_portal_1_1_tests_1_1_core.html | 109 + html/namespace_mock_data_generator.html | 111 + html/namespace_test_app.html | 110 + html/namespace_test_app_h_l.html | 112 + ...ce_test_app_h_l_1_1_universal_windows.html | 121 + ...___universal_windows___xaml_type_info.html | 114 + html/namespace_test_app_io_t.html | 108 + html/namespace_xbox_wdp_driver.html | 126 + html/namespacemembers.html | 125 + html/namespacemembers_enum.html | 116 + html/namespacemembers_func.html | 110 + html/namespaces.html | 114 + html/nav_f.png | Bin 0 -> 153 bytes html/nav_g.png | Bin 0 -> 95 bytes html/nav_h.png | Bin 0 -> 98 bytes html/open.png | Bin 0 -> 123 bytes html/pages.html | 98 + html/search/all_0.html | 26 + html/search/all_0.js | 39 + html/search/all_1.html | 26 + html/search/all_1.js | 10 + html/search/all_10.html | 26 + html/search/all_10.js | 20 + html/search/all_11.html | 26 + html/search/all_11.js | 38 + html/search/all_12.html | 26 + html/search/all_12.js | 20 + html/search/all_13.html | 26 + html/search/all_13.js | 21 + html/search/all_14.html | 26 + html/search/all_14.js | 8 + html/search/all_15.html | 26 + html/search/all_15.js | 22 + html/search/all_16.html | 26 + html/search/all_16.js | 16 + html/search/all_2.html | 26 + html/search/all_2.js | 31 + html/search/all_3.html | 26 + html/search/all_3.js | 47 + html/search/all_4.html | 26 + html/search/all_4.js | 6 + html/search/all_5.html | 26 + html/search/all_5.js | 15 + html/search/all_6.html | 26 + html/search/all_6.js | 60 + html/search/all_7.html | 26 + html/search/all_7.js | 9 + html/search/all_8.html | 26 + html/search/all_8.js | 45 + html/search/all_9.html | 26 + html/search/all_9.js | 5 + html/search/all_a.html | 26 + html/search/all_a.js | 11 + html/search/all_b.html | 26 + html/search/all_b.js | 26 + html/search/all_c.html | 26 + html/search/all_c.js | 11 + html/search/all_d.html | 26 + html/search/all_d.js | 14 + html/search/all_e.html | 26 + html/search/all_e.js | 40 + html/search/all_f.html | 26 + html/search/all_f.js | 4 + html/search/classes_0.html | 26 + html/search/classes_0.js | 8 + html/search/classes_1.html | 26 + html/search/classes_1.js | 5 + html/search/classes_10.html | 26 + html/search/classes_10.js | 9 + html/search/classes_2.html | 26 + html/search/classes_2.js | 20 + html/search/classes_3.html | 26 + html/search/classes_3.js | 6 + html/search/classes_4.html | 26 + html/search/classes_4.js | 5 + html/search/classes_5.html | 26 + html/search/classes_5.js | 9 + html/search/classes_6.html | 26 + html/search/classes_6.js | 4 + html/search/classes_7.html | 26 + html/search/classes_7.js | 9 + html/search/classes_8.html | 26 + html/search/classes_8.js | 5 + html/search/classes_9.html | 26 + html/search/classes_9.js | 5 + html/search/classes_a.html | 26 + html/search/classes_a.js | 14 + html/search/classes_b.html | 26 + html/search/classes_b.js | 4 + html/search/classes_c.html | 26 + html/search/classes_c.js | 7 + html/search/classes_d.html | 26 + html/search/classes_d.js | 4 + html/search/classes_e.html | 26 + html/search/classes_e.js | 7 + html/search/classes_f.html | 26 + html/search/classes_f.js | 10 + html/search/close.png | Bin 0 -> 273 bytes html/search/enums_0.html | 26 + html/search/enums_0.js | 5 + html/search/enums_1.html | 26 + html/search/enums_1.js | 6 + html/search/enums_2.html | 26 + html/search/enums_2.js | 4 + html/search/enums_3.html | 26 + html/search/enums_3.js | 4 + html/search/enumvalues_0.html | 26 + html/search/enumvalues_0.js | 4 + html/search/enumvalues_1.html | 26 + html/search/enumvalues_1.js | 9 + html/search/enumvalues_2.html | 26 + html/search/enumvalues_2.js | 5 + html/search/enumvalues_3.html | 26 + html/search/enumvalues_3.js | 4 + html/search/enumvalues_4.html | 26 + html/search/enumvalues_4.js | 4 + html/search/enumvalues_5.html | 26 + html/search/enumvalues_5.js | 4 + html/search/enumvalues_6.html | 26 + html/search/enumvalues_6.js | 10 + html/search/enumvalues_7.html | 26 + html/search/enumvalues_7.js | 4 + html/search/enumvalues_8.html | 26 + html/search/enumvalues_8.js | 5 + html/search/enumvalues_9.html | 26 + html/search/enumvalues_9.js | 5 + html/search/enumvalues_a.html | 26 + html/search/enumvalues_a.js | 4 + html/search/enumvalues_b.html | 26 + html/search/enumvalues_b.js | 6 + html/search/enumvalues_c.html | 26 + html/search/enumvalues_c.js | 6 + html/search/enumvalues_d.html | 26 + html/search/enumvalues_d.js | 4 + html/search/functions_0.html | 26 + html/search/functions_0.js | 21 + html/search/functions_1.html | 26 + html/search/functions_1.js | 4 + html/search/functions_10.html | 26 + html/search/functions_10.js | 5 + html/search/functions_11.html | 26 + html/search/functions_11.js | 5 + html/search/functions_2.html | 26 + html/search/functions_2.js | 6 + html/search/functions_3.html | 26 + html/search/functions_3.js | 14 + html/search/functions_4.html | 26 + html/search/functions_4.js | 51 + html/search/functions_5.html | 26 + html/search/functions_5.js | 6 + html/search/functions_6.html | 26 + html/search/functions_6.js | 5 + html/search/functions_7.html | 26 + html/search/functions_7.js | 4 + html/search/functions_8.html | 26 + html/search/functions_8.js | 5 + html/search/functions_9.html | 26 + html/search/functions_9.js | 5 + html/search/functions_a.html | 26 + html/search/functions_a.js | 6 + html/search/functions_b.html | 26 + html/search/functions_b.js | 8 + html/search/functions_c.html | 26 + html/search/functions_c.js | 17 + html/search/functions_d.html | 26 + html/search/functions_d.js | 7 + html/search/functions_e.html | 26 + html/search/functions_e.js | 11 + html/search/functions_f.html | 26 + html/search/functions_f.js | 4 + html/search/mag_sel.png | Bin 0 -> 563 bytes html/search/namespaces_0.html | 26 + html/search/namespaces_0.js | 9 + html/search/namespaces_1.html | 26 + html/search/namespaces_1.js | 8 + html/search/namespaces_2.html | 26 + html/search/namespaces_2.js | 4 + html/search/nomatches.html | 12 + html/search/pages_0.html | 26 + html/search/pages_0.js | 4 + html/search/pages_1.html | 26 + html/search/pages_1.js | 4 + html/search/pages_2.html | 26 + html/search/pages_2.js | 4 + html/search/properties_0.html | 26 + html/search/properties_0.js | 13 + html/search/properties_1.html | 26 + html/search/properties_1.js | 7 + html/search/properties_10.html | 26 + html/search/properties_10.js | 9 + html/search/properties_11.html | 26 + html/search/properties_11.js | 6 + html/search/properties_12.html | 26 + html/search/properties_12.js | 6 + html/search/properties_13.html | 26 + html/search/properties_13.js | 7 + html/search/properties_14.html | 26 + html/search/properties_14.js | 4 + html/search/properties_2.html | 26 + html/search/properties_2.js | 21 + html/search/properties_3.html | 26 + html/search/properties_3.js | 13 + html/search/properties_4.html | 26 + html/search/properties_4.js | 6 + html/search/properties_5.html | 26 + html/search/properties_5.js | 11 + html/search/properties_6.html | 26 + html/search/properties_6.js | 7 + html/search/properties_7.html | 26 + html/search/properties_7.js | 29 + html/search/properties_8.html | 26 + html/search/properties_8.js | 9 + html/search/properties_9.html | 26 + html/search/properties_9.js | 10 + html/search/properties_a.html | 26 + html/search/properties_a.js | 7 + html/search/properties_b.html | 26 + html/search/properties_b.js | 8 + html/search/properties_c.html | 26 + html/search/properties_c.js | 24 + html/search/properties_d.html | 26 + html/search/properties_d.js | 4 + html/search/properties_e.html | 26 + html/search/properties_e.js | 9 + html/search/properties_f.html | 26 + html/search/properties_f.js | 19 + html/search/search.css | 271 ++ html/search/search.js | 791 ++++ html/search/search_l.png | Bin 0 -> 604 bytes html/search/search_m.png | Bin 0 -> 158 bytes html/search/search_r.png | Bin 0 -> 612 bytes html/search/searchdata.js | 39 + html/search/variables_0.html | 26 + html/search/variables_0.js | 5 + html/search/variables_1.html | 26 + html/search/variables_1.js | 5 + html/search/variables_2.html | 26 + html/search/variables_2.js | 4 + html/search/variables_3.html | 26 + html/search/variables_3.js | 4 + html/search/variables_4.html | 26 + html/search/variables_4.js | 4 + html/search/variables_5.html | 26 + html/search/variables_5.js | 4 + html/search/variables_6.html | 26 + html/search/variables_6.js | 4 + html/search/variables_7.html | 26 + html/search/variables_7.js | 5 + html/search/variables_8.html | 26 + html/search/variables_8.js | 6 + html/search/variables_9.html | 26 + html/search/variables_9.js | 4 + html/search/variables_a.html | 26 + html/search/variables_a.js | 4 + html/search/variables_b.html | 26 + html/search/variables_b.js | 5 + html/search/variables_c.html | 26 + html/search/variables_c.js | 5 + html/splitbar.png | Bin 0 -> 314 bytes html/sync_off.png | Bin 0 -> 853 bytes html/sync_on.png | Bin 0 -> 845 bytes html/tab_a.png | Bin 0 -> 142 bytes html/tab_b.png | Bin 0 -> 169 bytes html/tab_h.png | Bin 0 -> 177 bytes html/tab_s.png | Bin 0 -> 184 bytes html/tabs.css | 60 + 602 files changed, 61913 insertions(+), 321 deletions(-) create mode 100644 DocConfig.txt create mode 100644 html/annotated.html create mode 100644 html/arrowdown.png create mode 100644 html/arrowright.png create mode 100644 html/bc_s.png create mode 100644 html/bdwn.png create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_application_install_status_event_args-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_application_install_status_event_args.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_connection_status_event_args-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_connection_status_event_args.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_active_power_scheme-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_active_power_scheme.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_app_packages-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_app_packages.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_battery_state-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_battery_state.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_device-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_device.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_device_list-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_device_list.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_device_name-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_device_name.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_device_os_family-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_device_os_family.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_device_process_info-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_device_process_info.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_device_processes-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_device_processes.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_dhcp-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_dhcp.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_file_or_folder_information-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_file_or_folder_information.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_folder_contents-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_folder_contents.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_gpu_adapter-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_gpu_adapter.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_gpu_performance_data-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_gpu_performance_data.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_install_state-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_install_state.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_inter_pupilary_distance-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_inter_pupilary_distance.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_ip_address_info-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_ip_address_info.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_ip_configuration-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_ip_configuration.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_known_folders-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_known_folders.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_mrc_file_information-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_mrc_file_information.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_mrc_file_list-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_mrc_file_list.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_mrc_status-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_mrc_status.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_network_adapter_info-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_network_adapter_info.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_network_performance_data-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_network_performance_data.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_operating_system_information-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_operating_system_information.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_package_info-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_package_info.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_package_version-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_package_version.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_power_state-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_power_state.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_process_info-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_process_info.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_process_status-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_process_status.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_process_version-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_process_version.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_running_processes-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_running_processes.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_service_tags-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_service_tags.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_smb_info-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_smb_info.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_system_performance_information-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_system_performance_information.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_thermal_stage-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_thermal_stage.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_user_info-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_user_info.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_user_list-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_user_list.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_web_management_http_settings-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_web_management_http_settings.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_wifi_interface-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_wifi_interface.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_wifi_interfaces-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_wifi_interfaces.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_wifi_network_info-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_wifi_network_info.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_wifi_network_profile-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_wifi_network_profile.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_wifi_networks-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_wifi_networks.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_xbox_setting-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_xbox_setting.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_xbox_setting_list-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_1_1_xbox_setting_list.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_exception-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_exception.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_device_portal_exception.png create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_app_file_explorer_tests-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_app_file_explorer_tests.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_app_file_explorer_tests.png create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_base_tests-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_base_tests.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_base_tests.png create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_core_1_1_performance_data_tests-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_core_1_1_performance_data_tests.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_core_1_1_performance_data_tests.png create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_mock_device_portal_connection-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_mock_device_portal_connection.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_mock_device_portal_connection.png create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_mock_http_responder-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_mock_http_responder.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_os_information_tests-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_os_information_tests.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_os_information_tests.png create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_user_management_tests-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_user_management_tests.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_user_management_tests.png create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_xbox_app_deployment_tests-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_xbox_app_deployment_tests.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_xbox_app_deployment_tests.png create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_xbox_helpers-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_xbox_helpers.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_xbox_one__14385__1002__amd64fr2b36840deb25be2c7bcf9cb645a3252e.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_xbox_one__14385__1002__amd64frd9599e6105747a2dd5ce5cbe798a705b.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_xbox_one__14385__1002__amd64frd9599e6105747a2dd5ce5cbe798a705b.png create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_xbox_settings_tests-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_xbox_settings_tests.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_xbox_settings_tests.png create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_web_socket_message_received_event_args-members.html create mode 100644 html/class_microsoft_1_1_tools_1_1_windows_device_portal_1_1_web_socket_message_received_event_args.html create mode 100644 html/class_mock_data_generator_1_1_device_portal_connection-members.html create mode 100644 html/class_mock_data_generator_1_1_device_portal_connection.html create mode 100644 html/class_mock_data_generator_1_1_device_portal_connection.png create mode 100644 html/class_mock_data_generator_1_1_parameter_helper-members.html create mode 100644 html/class_mock_data_generator_1_1_parameter_helper.html create mode 100644 html/class_mock_data_generator_1_1_program-members.html create mode 100644 html/class_mock_data_generator_1_1_program.html create mode 100644 html/class_test_app_1_1_default_device_portal_connection-members.html create mode 100644 html/class_test_app_1_1_default_device_portal_connection.html create mode 100644 html/class_test_app_1_1_default_device_portal_connection.png create mode 100644 html/class_test_app_1_1_device_portal_connection-members.html create mode 100644 html/class_test_app_1_1_device_portal_connection.html create mode 100644 html/class_test_app_1_1_device_portal_connection.png create mode 100644 html/class_test_app_h_l_1_1_device_portal_connection-members.html create mode 100644 html/class_test_app_h_l_1_1_device_portal_connection.html create mode 100644 html/class_test_app_h_l_1_1_device_portal_connection.png create mode 100644 html/class_test_app_h_l_1_1_universal_windows_1_1_app-members.html create mode 100644 html/class_test_app_h_l_1_1_universal_windows_1_1_app.html create mode 100644 html/class_test_app_h_l_1_1_universal_windows_1_1_app.png create mode 100644 html/class_test_app_h_l_1_1_universal_windows_1_1_device_portal_connection-members.html create mode 100644 html/class_test_app_h_l_1_1_universal_windows_1_1_device_portal_connection.html create mode 100644 html/class_test_app_h_l_1_1_universal_windows_1_1_device_portal_connection.png create mode 100644 html/class_test_app_h_l_1_1_universal_windows_1_1_main_page-members.html create mode 100644 html/class_test_app_h_l_1_1_universal_windows_1_1_main_page.html create mode 100644 html/class_test_app_h_l_1_1_universal_windows_1_1_main_page.png create mode 100644 html/class_test_app_io_t_1_1_device_portal_connection-members.html create mode 100644 html/class_test_app_io_t_1_1_device_portal_connection.html create mode 100644 html/class_test_app_io_t_1_1_device_portal_connection.png create mode 100644 html/class_xbox_wdp_driver_1_1_device_portal_connection-members.html create mode 100644 html/class_xbox_wdp_driver_1_1_device_portal_connection.html create mode 100644 html/class_xbox_wdp_driver_1_1_device_portal_connection.png create mode 100644 html/class_xbox_wdp_driver_1_1_file_operation-members.html create mode 100644 html/class_xbox_wdp_driver_1_1_file_operation.html create mode 100644 html/class_xbox_wdp_driver_1_1_install_operation-members.html create mode 100644 html/class_xbox_wdp_driver_1_1_install_operation.html create mode 100644 html/class_xbox_wdp_driver_1_1_install_operation.png create mode 100644 html/class_xbox_wdp_driver_1_1_parameter_helper-members.html create mode 100644 html/class_xbox_wdp_driver_1_1_parameter_helper.html create mode 100644 html/class_xbox_wdp_driver_1_1_program-members.html create mode 100644 html/class_xbox_wdp_driver_1_1_program.html create mode 100644 html/class_xbox_wdp_driver_1_1_setting_operation-members.html create mode 100644 html/class_xbox_wdp_driver_1_1_setting_operation.html create mode 100644 html/class_xbox_wdp_driver_1_1_user_operation-members.html create mode 100644 html/class_xbox_wdp_driver_1_1_user_operation.html create mode 100644 html/classes.html create mode 100644 html/closed.png create mode 100644 html/dir_0d993ccfc5ab61a97047242818b14695.html create mode 100644 html/dir_0e1c811db1e631c847a2728248a6eb52.html create mode 100644 html/dir_10ecb63f223e4d933ce2f06d233cbb08.html create mode 100644 html/dir_141e26017f56cd5f7f075f2978005d4f.html create mode 100644 html/dir_16b4af97cb4229137991b23f166f694d.html create mode 100644 html/dir_203e079a9e5e7b0a2dbb2fd4159204dc.html create mode 100644 html/dir_226c67fefa4c12a1ec5e92c6cac72b8f.html create mode 100644 html/dir_2441287e06f7805feda21d4cb78e5951.html create mode 100644 html/dir_26eecc9f350624d6ecd91b345f51fe4d.html create mode 100644 html/dir_31e2b2eb707ffe92460e6318a1e65832.html create mode 100644 html/dir_366ead30527b9ad5158474b2564339e1.html create mode 100644 html/dir_3dfd9d84f78c034d38bdb42a779fb70b.html create mode 100644 html/dir_41175dc3322a9eb2677a439ac4b67711.html create mode 100644 html/dir_438ee9751c08a16a435fd6381bd76881.html create mode 100644 html/dir_4865a43ff1bfa02a148cbb21e4e2cb01.html create mode 100644 html/dir_49e482e5422311df60d5b8803f781080.html create mode 100644 html/dir_4af802fdfaad665dea705547ce6844d2.html create mode 100644 html/dir_4b86b4ebb088f5443800d281e320e2da.html create mode 100644 html/dir_530c0c32e15f22e6f2fe09b16ccdb26e.html create mode 100644 html/dir_578e73e974e38cc90f9799f4216f19d3.html create mode 100644 html/dir_5db9b8f53c2624152775652e525c48f5.html create mode 100644 html/dir_5eaabcb7f268b26ec5dd2667b1900960.html create mode 100644 html/dir_61b72ba587e453703daa35896c03b5c0.html create mode 100644 html/dir_62e3684a1c24489a974a6e693455f417.html create mode 100644 html/dir_63b16e605e97761feb80e6ab3b37aa77.html create mode 100644 html/dir_6410cfa203185d8c98b056eff438d07e.html create mode 100644 html/dir_6813576edd85a2e48ed01738b5cbff5b.html create mode 100644 html/dir_6d8aa7c9938dbc3f1b8d0626f933e13f.html create mode 100644 html/dir_7470d867f3f2875322dbf20181d09df4.html create mode 100644 html/dir_750c5dc12a305fe52b5d20cdd817950b.html create mode 100644 html/dir_75ae85166f01a01ef9c112ac281739c9.html create mode 100644 html/dir_78dd264c96320d73438f6edd84721562.html create mode 100644 html/dir_7a53d4b505cd29622299f5226027f19a.html create mode 100644 html/dir_7a81585a08b2f64e3522fda120fd4b26.html create mode 100644 html/dir_7f222e1b80c094255814fed8a992ba50.html create mode 100644 html/dir_8032d3f6418be0db79e7ea0d643adfe8.html create mode 100644 html/dir_80369be14e516b2d8d23e9ba59b5ae2b.html create mode 100644 html/dir_81cfa5be17e4affe3a35136a6d42b009.html create mode 100644 html/dir_8a42cbe89857e6325a4dfa69015b1bf2.html create mode 100644 html/dir_9c968c6bf94e17af16bba538e390e1fc.html create mode 100644 html/dir_9e8dbfb293e5b6aa1565dd3415fc1803.html create mode 100644 html/dir_a2aa60d471c80cf455d5ae36650ce91e.html create mode 100644 html/dir_a333f76013d815bdbe22a611edf35ede.html create mode 100644 html/dir_a3f8264c1b613bef25370e462e3d3c49.html create mode 100644 html/dir_a75e730eeaf9c8e40dad33e8f4404cdc.html create mode 100644 html/dir_acba0d1ac79c7adf63dea9d894157900.html create mode 100644 html/dir_aef032105a093e17a6703cd9cabc6c52.html create mode 100644 html/dir_b1fce700360c9e873d7a5c3eb4f2338a.html create mode 100644 html/dir_b2f59985b589db1901debad9bb003926.html create mode 100644 html/dir_b335c087433c75aaad6c89409f089e45.html create mode 100644 html/dir_b52bb6ef00f1c9f0082aef90c03750e7.html create mode 100644 html/dir_b7aad8839a089ff0f1208946e1a54ffb.html create mode 100644 html/dir_c2a3dfc5dd8699374a3eb33ada8edc6d.html create mode 100644 html/dir_ca7318fc5ff517213b63ab30c71cb364.html create mode 100644 html/dir_cc7c9f9fff26002bfafa6ddd6811ed71.html create mode 100644 html/dir_d31d29fc644a334b2bc64d1f3a582bff.html create mode 100644 html/dir_d503be92d71ec74a82aebd9746a9be4b.html create mode 100644 html/dir_d653982f5239868f89cd772f1e47e6f9.html create mode 100644 html/dir_d6c077d150b45209892c0b604ee7a0cc.html create mode 100644 html/dir_d90325a2b574cf586f23d4f141eadfa1.html create mode 100644 html/dir_e0a227d908f36d6a67a412eca8c65df8.html create mode 100644 html/dir_e17a2ff7d1845f45089e7f9351da83a7.html create mode 100644 html/dir_e25d5e7c1a04a11b77b3e8ef51c6090c.html create mode 100644 html/dir_e59b77a701288149890600a3d0d18b41.html create mode 100644 html/dir_ededed9c60de1666e16e3e6abebd5acb.html create mode 100644 html/dir_efb7b0b55f950234c013ce8c63252316.html create mode 100644 html/dir_f33225cca781db89edc536dfc7a5a7a7.html create mode 100644 html/dir_f9b98c82b508c1af5a08de4931f24df8.html create mode 100644 html/doc.png create mode 100644 html/doxygen.css create mode 100644 html/doxygen.png create mode 100644 html/dynsections.js create mode 100644 html/folderclosed.png create mode 100644 html/folderopen.png create mode 100644 html/functions.html create mode 100644 html/functions_b.html create mode 100644 html/functions_c.html create mode 100644 html/functions_d.html create mode 100644 html/functions_e.html create mode 100644 html/functions_enum.html create mode 100644 html/functions_f.html create mode 100644 html/functions_func.html create mode 100644 html/functions_g.html create mode 100644 html/functions_h.html create mode 100644 html/functions_i.html create mode 100644 html/functions_k.html create mode 100644 html/functions_l.html create mode 100644 html/functions_m.html create mode 100644 html/functions_n.html create mode 100644 html/functions_o.html create mode 100644 html/functions_p.html create mode 100644 html/functions_prop.html create mode 100644 html/functions_prop_b.html create mode 100644 html/functions_prop_c.html create mode 100644 html/functions_prop_d.html create mode 100644 html/functions_prop_e.html create mode 100644 html/functions_prop_f.html create mode 100644 html/functions_prop_g.html create mode 100644 html/functions_prop_i.html create mode 100644 html/functions_prop_l.html create mode 100644 html/functions_prop_m.html create mode 100644 html/functions_prop_n.html create mode 100644 html/functions_prop_o.html create mode 100644 html/functions_prop_p.html create mode 100644 html/functions_prop_q.html create mode 100644 html/functions_prop_r.html create mode 100644 html/functions_prop_s.html create mode 100644 html/functions_prop_t.html create mode 100644 html/functions_prop_u.html create mode 100644 html/functions_prop_v.html create mode 100644 html/functions_prop_w.html create mode 100644 html/functions_prop_x.html create mode 100644 html/functions_q.html create mode 100644 html/functions_r.html create mode 100644 html/functions_s.html create mode 100644 html/functions_t.html create mode 100644 html/functions_u.html create mode 100644 html/functions_v.html create mode 100644 html/functions_vars.html create mode 100644 html/functions_w.html create mode 100644 html/functions_x.html create mode 100644 html/hierarchy.html create mode 100644 html/index.html create mode 100644 html/interface_microsoft_1_1_tools_1_1_windows_device_portal_1_1_i_device_portal_connection-members.html create mode 100644 html/interface_microsoft_1_1_tools_1_1_windows_device_portal_1_1_i_device_portal_connection.html create mode 100644 html/interface_microsoft_1_1_tools_1_1_windows_device_portal_1_1_i_device_portal_connection.png create mode 100644 html/jquery.js create mode 100644 html/md_CONTRIBUTING.html create mode 100644 html/md_README.html create mode 100644 html/md_Testing.html create mode 100644 html/namespace_microsoft.html create mode 100644 html/namespace_microsoft_1_1_tools.html create mode 100644 html/namespace_microsoft_1_1_tools_1_1_windows_device_portal.html create mode 100644 html/namespace_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests.html create mode 100644 html/namespace_microsoft_1_1_tools_1_1_windows_device_portal_1_1_tests_1_1_core.html create mode 100644 html/namespace_mock_data_generator.html create mode 100644 html/namespace_test_app.html create mode 100644 html/namespace_test_app_h_l.html create mode 100644 html/namespace_test_app_h_l_1_1_universal_windows.html create mode 100644 html/namespace_test_app_h_l_1_1_universal_windows_1_1_test_app_h_l___universal_windows___xaml_type_info.html create mode 100644 html/namespace_test_app_io_t.html create mode 100644 html/namespace_xbox_wdp_driver.html create mode 100644 html/namespacemembers.html create mode 100644 html/namespacemembers_enum.html create mode 100644 html/namespacemembers_func.html create mode 100644 html/namespaces.html create mode 100644 html/nav_f.png create mode 100644 html/nav_g.png create mode 100644 html/nav_h.png create mode 100644 html/open.png create mode 100644 html/pages.html create mode 100644 html/search/all_0.html create mode 100644 html/search/all_0.js create mode 100644 html/search/all_1.html create mode 100644 html/search/all_1.js create mode 100644 html/search/all_10.html create mode 100644 html/search/all_10.js create mode 100644 html/search/all_11.html create mode 100644 html/search/all_11.js create mode 100644 html/search/all_12.html create mode 100644 html/search/all_12.js create mode 100644 html/search/all_13.html create mode 100644 html/search/all_13.js create mode 100644 html/search/all_14.html create mode 100644 html/search/all_14.js create mode 100644 html/search/all_15.html create mode 100644 html/search/all_15.js create mode 100644 html/search/all_16.html create mode 100644 html/search/all_16.js create mode 100644 html/search/all_2.html create mode 100644 html/search/all_2.js create mode 100644 html/search/all_3.html create mode 100644 html/search/all_3.js create mode 100644 html/search/all_4.html create mode 100644 html/search/all_4.js create mode 100644 html/search/all_5.html create mode 100644 html/search/all_5.js create mode 100644 html/search/all_6.html create mode 100644 html/search/all_6.js create mode 100644 html/search/all_7.html create mode 100644 html/search/all_7.js create mode 100644 html/search/all_8.html create mode 100644 html/search/all_8.js create mode 100644 html/search/all_9.html create mode 100644 html/search/all_9.js create mode 100644 html/search/all_a.html create mode 100644 html/search/all_a.js create mode 100644 html/search/all_b.html create mode 100644 html/search/all_b.js create mode 100644 html/search/all_c.html create mode 100644 html/search/all_c.js create mode 100644 html/search/all_d.html create mode 100644 html/search/all_d.js create mode 100644 html/search/all_e.html create mode 100644 html/search/all_e.js create mode 100644 html/search/all_f.html create mode 100644 html/search/all_f.js create mode 100644 html/search/classes_0.html create mode 100644 html/search/classes_0.js create mode 100644 html/search/classes_1.html create mode 100644 html/search/classes_1.js create mode 100644 html/search/classes_10.html create mode 100644 html/search/classes_10.js create mode 100644 html/search/classes_2.html create mode 100644 html/search/classes_2.js create mode 100644 html/search/classes_3.html create mode 100644 html/search/classes_3.js create mode 100644 html/search/classes_4.html create mode 100644 html/search/classes_4.js create mode 100644 html/search/classes_5.html create mode 100644 html/search/classes_5.js create mode 100644 html/search/classes_6.html create mode 100644 html/search/classes_6.js create mode 100644 html/search/classes_7.html create mode 100644 html/search/classes_7.js create mode 100644 html/search/classes_8.html create mode 100644 html/search/classes_8.js create mode 100644 html/search/classes_9.html create mode 100644 html/search/classes_9.js create mode 100644 html/search/classes_a.html create mode 100644 html/search/classes_a.js create mode 100644 html/search/classes_b.html create mode 100644 html/search/classes_b.js create mode 100644 html/search/classes_c.html create mode 100644 html/search/classes_c.js create mode 100644 html/search/classes_d.html create mode 100644 html/search/classes_d.js create mode 100644 html/search/classes_e.html create mode 100644 html/search/classes_e.js create mode 100644 html/search/classes_f.html create mode 100644 html/search/classes_f.js create mode 100644 html/search/close.png create mode 100644 html/search/enums_0.html create mode 100644 html/search/enums_0.js create mode 100644 html/search/enums_1.html create mode 100644 html/search/enums_1.js create mode 100644 html/search/enums_2.html create mode 100644 html/search/enums_2.js create mode 100644 html/search/enums_3.html create mode 100644 html/search/enums_3.js create mode 100644 html/search/enumvalues_0.html create mode 100644 html/search/enumvalues_0.js create mode 100644 html/search/enumvalues_1.html create mode 100644 html/search/enumvalues_1.js create mode 100644 html/search/enumvalues_2.html create mode 100644 html/search/enumvalues_2.js create mode 100644 html/search/enumvalues_3.html create mode 100644 html/search/enumvalues_3.js create mode 100644 html/search/enumvalues_4.html create mode 100644 html/search/enumvalues_4.js create mode 100644 html/search/enumvalues_5.html create mode 100644 html/search/enumvalues_5.js create mode 100644 html/search/enumvalues_6.html create mode 100644 html/search/enumvalues_6.js create mode 100644 html/search/enumvalues_7.html create mode 100644 html/search/enumvalues_7.js create mode 100644 html/search/enumvalues_8.html create mode 100644 html/search/enumvalues_8.js create mode 100644 html/search/enumvalues_9.html create mode 100644 html/search/enumvalues_9.js create mode 100644 html/search/enumvalues_a.html create mode 100644 html/search/enumvalues_a.js create mode 100644 html/search/enumvalues_b.html create mode 100644 html/search/enumvalues_b.js create mode 100644 html/search/enumvalues_c.html create mode 100644 html/search/enumvalues_c.js create mode 100644 html/search/enumvalues_d.html create mode 100644 html/search/enumvalues_d.js create mode 100644 html/search/functions_0.html create mode 100644 html/search/functions_0.js create mode 100644 html/search/functions_1.html create mode 100644 html/search/functions_1.js create mode 100644 html/search/functions_10.html create mode 100644 html/search/functions_10.js create mode 100644 html/search/functions_11.html create mode 100644 html/search/functions_11.js create mode 100644 html/search/functions_2.html create mode 100644 html/search/functions_2.js create mode 100644 html/search/functions_3.html create mode 100644 html/search/functions_3.js create mode 100644 html/search/functions_4.html create mode 100644 html/search/functions_4.js create mode 100644 html/search/functions_5.html create mode 100644 html/search/functions_5.js create mode 100644 html/search/functions_6.html create mode 100644 html/search/functions_6.js create mode 100644 html/search/functions_7.html create mode 100644 html/search/functions_7.js create mode 100644 html/search/functions_8.html create mode 100644 html/search/functions_8.js create mode 100644 html/search/functions_9.html create mode 100644 html/search/functions_9.js create mode 100644 html/search/functions_a.html create mode 100644 html/search/functions_a.js create mode 100644 html/search/functions_b.html create mode 100644 html/search/functions_b.js create mode 100644 html/search/functions_c.html create mode 100644 html/search/functions_c.js create mode 100644 html/search/functions_d.html create mode 100644 html/search/functions_d.js create mode 100644 html/search/functions_e.html create mode 100644 html/search/functions_e.js create mode 100644 html/search/functions_f.html create mode 100644 html/search/functions_f.js create mode 100644 html/search/mag_sel.png create mode 100644 html/search/namespaces_0.html create mode 100644 html/search/namespaces_0.js create mode 100644 html/search/namespaces_1.html create mode 100644 html/search/namespaces_1.js create mode 100644 html/search/namespaces_2.html create mode 100644 html/search/namespaces_2.js create mode 100644 html/search/nomatches.html create mode 100644 html/search/pages_0.html create mode 100644 html/search/pages_0.js create mode 100644 html/search/pages_1.html create mode 100644 html/search/pages_1.js create mode 100644 html/search/pages_2.html create mode 100644 html/search/pages_2.js create mode 100644 html/search/properties_0.html create mode 100644 html/search/properties_0.js create mode 100644 html/search/properties_1.html create mode 100644 html/search/properties_1.js create mode 100644 html/search/properties_10.html create mode 100644 html/search/properties_10.js create mode 100644 html/search/properties_11.html create mode 100644 html/search/properties_11.js create mode 100644 html/search/properties_12.html create mode 100644 html/search/properties_12.js create mode 100644 html/search/properties_13.html create mode 100644 html/search/properties_13.js create mode 100644 html/search/properties_14.html create mode 100644 html/search/properties_14.js create mode 100644 html/search/properties_2.html create mode 100644 html/search/properties_2.js create mode 100644 html/search/properties_3.html create mode 100644 html/search/properties_3.js create mode 100644 html/search/properties_4.html create mode 100644 html/search/properties_4.js create mode 100644 html/search/properties_5.html create mode 100644 html/search/properties_5.js create mode 100644 html/search/properties_6.html create mode 100644 html/search/properties_6.js create mode 100644 html/search/properties_7.html create mode 100644 html/search/properties_7.js create mode 100644 html/search/properties_8.html create mode 100644 html/search/properties_8.js create mode 100644 html/search/properties_9.html create mode 100644 html/search/properties_9.js create mode 100644 html/search/properties_a.html create mode 100644 html/search/properties_a.js create mode 100644 html/search/properties_b.html create mode 100644 html/search/properties_b.js create mode 100644 html/search/properties_c.html create mode 100644 html/search/properties_c.js create mode 100644 html/search/properties_d.html create mode 100644 html/search/properties_d.js create mode 100644 html/search/properties_e.html create mode 100644 html/search/properties_e.js create mode 100644 html/search/properties_f.html create mode 100644 html/search/properties_f.js create mode 100644 html/search/search.css create mode 100644 html/search/search.js create mode 100644 html/search/search_l.png create mode 100644 html/search/search_m.png create mode 100644 html/search/search_r.png create mode 100644 html/search/searchdata.js create mode 100644 html/search/variables_0.html create mode 100644 html/search/variables_0.js create mode 100644 html/search/variables_1.html create mode 100644 html/search/variables_1.js create mode 100644 html/search/variables_2.html create mode 100644 html/search/variables_2.js create mode 100644 html/search/variables_3.html create mode 100644 html/search/variables_3.js create mode 100644 html/search/variables_4.html create mode 100644 html/search/variables_4.js create mode 100644 html/search/variables_5.html create mode 100644 html/search/variables_5.js create mode 100644 html/search/variables_6.html create mode 100644 html/search/variables_6.js create mode 100644 html/search/variables_7.html create mode 100644 html/search/variables_7.js create mode 100644 html/search/variables_8.html create mode 100644 html/search/variables_8.js create mode 100644 html/search/variables_9.html create mode 100644 html/search/variables_9.js create mode 100644 html/search/variables_a.html create mode 100644 html/search/variables_a.js create mode 100644 html/search/variables_b.html create mode 100644 html/search/variables_b.js create mode 100644 html/search/variables_c.html create mode 100644 html/search/variables_c.js create mode 100644 html/splitbar.png create mode 100644 html/sync_off.png create mode 100644 html/sync_on.png create mode 100644 html/tab_a.png create mode 100644 html/tab_b.png create mode 100644 html/tab_h.png create mode 100644 html/tab_s.png create mode 100644 html/tabs.css diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bfe4f7bf..c769b53b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,10 +25,18 @@ Note: If you wish to work on something that already exists on our backlog, you 1. Fork the repository. Click on the "Fork" button on the top right of the page and follow the flow. 2. If your work needs more time, the consider branching off of master else just code in your fork. 3. Ensure your changes check for the appropriate device families (ex: Windows Desktop and IoT only). -4. Implement one or more tests to ensure the change works on the target platform(s). -5. Make small and frequent commits that include tests which could be a unity scene showing usage of your feature. -6. Make sure that all existing tests continue to pass. -7. Ensure you update the [README](https://github.com/Microsoft/WindowsDevicePortalWrapper/blob/master/README.md) with additional documentation as needed. +4. Implement one or more [tests](https://github.com/Microsoft/WindowsDevicePortalWrapper/blob/master/Testing.md) to ensure the change works on the target platform(s). +5. Make small and frequent commits that include [tests](https://github.com/Microsoft/WindowsDevicePortalWrapper/blob/master/Testing.md) against mock data or manual tests which can be run against real devices. +6. Make sure that all existing [tests](https://github.com/Microsoft/WindowsDevicePortalWrapper/blob/master/Testing.md) continue to pass. + +# Updating code documentation + +The Windows Device Portal Wrapper uses [Doxygen](http://www.stack.nl/~dimitri/doxygen/download.html) to automatically generate code documentation directly from the source code. Any changes to existing or new classes or methods should also update the documentation. + +1. Download and install [Doxygen](http://www.stack.nl/~dimitri/doxygen/download.html) (our docs are generated using version 1.8.11). +2. Open a CMD prompt and navigate to your git repository's root directory. +3. Run '\\\doxygen.exe DocConfig.txt'. This will update the files under the html folder relative to the root directory. +4. Include the updated files with your PR. # Run StyleCop diff --git a/DocConfig.txt b/DocConfig.txt new file mode 100644 index 00000000..42240f7a --- /dev/null +++ b/DocConfig.txt @@ -0,0 +1,2425 @@ +# Doxyfile 1.8.11 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project. +# +# All text after a double hash (##) is considered a comment and is placed in +# front of the TAG it is preceding. +# +# All text after a single hash (#) is considered a comment and will be ignored. +# The format is: +# TAG = value [value, ...] +# For lists, items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (\" \"). + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- + +# This tag specifies the encoding used for all characters in the config file +# that follow. The default is UTF-8 which is also the encoding used for all text +# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv +# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv +# for the list of possible encodings. +# The default value is: UTF-8. + +DOXYFILE_ENCODING = UTF-8 + +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by +# double-quotes, unless you are using Doxywizard) that should identify the +# project for which the documentation is generated. This name is used in the +# title of most generated pages and in a few other places. +# The default value is: My Project. + +PROJECT_NAME = "WindowsDevicePortalWrapper" + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. This +# could be handy for archiving the generated documentation or if some version +# control system is used. + +PROJECT_NUMBER = 0.9.0.0 + +# Using the PROJECT_BRIEF tag one can provide an optional one line description +# for a project that appears at the top of each page and should give viewer a +# quick idea about the purpose of the project. Keep the description short. + +PROJECT_BRIEF = "A client library that wraps the Windows Device Portal REST APIs." + +# With the PROJECT_LOGO tag one can specify a logo or an icon that is included +# in the documentation. The maximum height of the logo should not exceed 55 +# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy +# the logo to the output directory. + +PROJECT_LOGO = + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path +# into which the generated documentation will be written. If a relative path is +# entered, it will be relative to the location where doxygen was started. If +# left blank the current directory will be used. + +OUTPUT_DIRECTORY = + +# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- +# directories (in 2 levels) under the output directory of each output format and +# will distribute the generated files over these directories. Enabling this +# option can be useful when feeding doxygen a huge amount of source files, where +# putting all generated files in the same directory would otherwise causes +# performance problems for the file system. +# The default value is: NO. + +CREATE_SUBDIRS = NO + +# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII +# characters to appear in the names of generated files. If set to NO, non-ASCII +# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode +# U+3044. +# The default value is: NO. + +ALLOW_UNICODE_NAMES = NO + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese, +# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States), +# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian, +# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages), +# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian, +# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian, +# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish, +# Ukrainian and Vietnamese. +# The default value is: English. + +OUTPUT_LANGUAGE = English + +# If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member +# descriptions after the members that are listed in the file and class +# documentation (similar to Javadoc). Set to NO to disable this. +# The default value is: YES. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief +# description of a member or function before the detailed description +# +# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. +# The default value is: YES. + +REPEAT_BRIEF = YES + +# This tag implements a quasi-intelligent brief description abbreviator that is +# used to form the text in various listings. Each string in this list, if found +# as the leading text of the brief description, will be stripped from the text +# and the result, after processing the whole list, is used as the annotated +# text. Otherwise, the brief description is used as-is. If left blank, the +# following values are used ($name is automatically replaced with the name of +# the entity):The $name class, The $name widget, The $name file, is, provides, +# specifies, contains, represents, a, an and the. + +ABBREVIATE_BRIEF = + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# doxygen will generate a detailed section even if there is only a brief +# description. +# The default value is: NO. + +ALWAYS_DETAILED_SEC = NO + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all +# inherited members of a class in the documentation of that class as if those +# members were ordinary class members. Constructors, destructors and assignment +# operators of the base classes will not be shown. +# The default value is: NO. + +INLINE_INHERITED_MEMB = NO + +# If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path +# before files name in the file list and in the header files. If set to NO the +# shortest path that makes the file name unique will be used +# The default value is: YES. + +FULL_PATH_NAMES = YES + +# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path. +# Stripping is only done if one of the specified strings matches the left-hand +# part of the path. The tag can be used to show relative paths in the file list. +# If left blank the directory from which doxygen is run is used as the path to +# strip. +# +# Note that you can specify absolute paths here, but also relative paths, which +# will be relative from the directory where doxygen is started. +# This tag requires that the tag FULL_PATH_NAMES is set to YES. + +STRIP_FROM_PATH = + +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the +# path mentioned in the documentation of a class, which tells the reader which +# header file to include in order to use a class. If left blank only the name of +# the header file containing the class definition is used. Otherwise one should +# specify the list of include paths that are normally passed to the compiler +# using the -I flag. + +STRIP_FROM_INC_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but +# less readable) file names. This can be useful is your file systems doesn't +# support long names like on DOS, Mac, or CD-ROM. +# The default value is: NO. + +SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the +# first line (until the first dot) of a Javadoc-style comment as the brief +# description. If set to NO, the Javadoc-style will behave just like regular Qt- +# style comments (thus requiring an explicit @brief command for a brief +# description.) +# The default value is: NO. + +JAVADOC_AUTOBRIEF = NO + +# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first +# line (until the first dot) of a Qt-style comment as the brief description. If +# set to NO, the Qt-style will behave just like regular Qt-style comments (thus +# requiring an explicit \brief command for a brief description.) +# The default value is: NO. + +QT_AUTOBRIEF = NO + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a +# multi-line C++ special comment block (i.e. a block of //! or /// comments) as +# a brief description. This used to be the default behavior. The new default is +# to treat a multi-line C++ comment block as a detailed description. Set this +# tag to YES if you prefer the old behavior instead. +# +# Note that setting this tag to YES also means that rational rose comments are +# not recognized any more. +# The default value is: NO. + +MULTILINE_CPP_IS_BRIEF = NO + +# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the +# documentation from any documented member that it re-implements. +# The default value is: YES. + +INHERIT_DOCS = YES + +# If the SEPARATE_MEMBER_PAGES tag is set to YES then doxygen will produce a new +# page for each member. If set to NO, the documentation of a member will be part +# of the file/class/namespace that contains it. +# The default value is: NO. + +SEPARATE_MEMBER_PAGES = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen +# uses this value to replace tabs by spaces in code fragments. +# Minimum value: 1, maximum value: 16, default value: 4. + +TAB_SIZE = 4 + +# This tag can be used to specify a number of aliases that act as commands in +# the documentation. An alias has the form: +# name=value +# For example adding +# "sideeffect=@par Side Effects:\n" +# will allow you to put the command \sideeffect (or @sideeffect) in the +# documentation, which will result in a user-defined paragraph with heading +# "Side Effects:". You can put \n's in the value part of an alias to insert +# newlines. + +ALIASES = + +# This tag can be used to specify a number of word-keyword mappings (TCL only). +# A mapping has the form "name=value". For example adding "class=itcl::class" +# will allow you to use the command class in the itcl::class meaning. + +TCL_SUBST = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources +# only. Doxygen will then generate output that is more tailored for C. For +# instance, some of the names that are used will be different. The list of all +# members will be omitted, etc. +# The default value is: NO. + +OPTIMIZE_OUTPUT_FOR_C = NO + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or +# Python sources only. Doxygen will then generate output that is more tailored +# for that language. For instance, namespaces will be presented as packages, +# qualified scopes will look different, etc. +# The default value is: NO. + +OPTIMIZE_OUTPUT_JAVA = NO + +# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran +# sources. Doxygen will then generate output that is tailored for Fortran. +# The default value is: NO. + +OPTIMIZE_FOR_FORTRAN = NO + +# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL +# sources. Doxygen will then generate output that is tailored for VHDL. +# The default value is: NO. + +OPTIMIZE_OUTPUT_VHDL = NO + +# Doxygen selects the parser to use depending on the extension of the files it +# parses. With this tag you can assign which parser to use for a given +# extension. Doxygen has a built-in mapping, but you can override or extend it +# using this tag. The format is ext=language, where ext is a file extension, and +# language is one of the parsers supported by doxygen: IDL, Java, Javascript, +# C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran: +# FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran: +# Fortran. In the later case the parser tries to guess whether the code is fixed +# or free formatted code, this is the default for Fortran type files), VHDL. For +# instance to make doxygen treat .inc files as Fortran files (default is PHP), +# and .f files as C (default is Fortran), use: inc=Fortran f=C. +# +# Note: For files without extension you can use no_extension as a placeholder. +# +# Note that for custom extensions you also need to set FILE_PATTERNS otherwise +# the files are not read by doxygen. + +EXTENSION_MAPPING = + +# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments +# according to the Markdown format, which allows for more readable +# documentation. See http://daringfireball.net/projects/markdown/ for details. +# The output of markdown processing is further processed by doxygen, so you can +# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in +# case of backward compatibilities issues. +# The default value is: YES. + +MARKDOWN_SUPPORT = YES + +# When enabled doxygen tries to link words that correspond to documented +# classes, or namespaces to their corresponding documentation. Such a link can +# be prevented in individual cases by putting a % sign in front of the word or +# globally by setting AUTOLINK_SUPPORT to NO. +# The default value is: YES. + +AUTOLINK_SUPPORT = YES + +# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want +# to include (a tag file for) the STL sources as input, then you should set this +# tag to YES in order to let doxygen match functions declarations and +# definitions whose arguments contain STL classes (e.g. func(std::string); +# versus func(std::string) {}). This also make the inheritance and collaboration +# diagrams that involve STL classes more complete and accurate. +# The default value is: NO. + +BUILTIN_STL_SUPPORT = NO + +# If you use Microsoft's C++/CLI language, you should set this option to YES to +# enable parsing support. +# The default value is: NO. + +CPP_CLI_SUPPORT = NO + +# Set the SIP_SUPPORT tag to YES if your project consists of sip (see: +# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen +# will parse them like normal C++ but will assume all classes use public instead +# of private inheritance when no explicit protection keyword is present. +# The default value is: NO. + +SIP_SUPPORT = NO + +# For Microsoft's IDL there are propget and propput attributes to indicate +# getter and setter methods for a property. Setting this option to YES will make +# doxygen to replace the get and set methods by a property in the documentation. +# This will only work if the methods are indeed getting or setting a simple +# type. If this is not the case, or you want to show the methods anyway, you +# should set this option to NO. +# The default value is: YES. + +IDL_PROPERTY_SUPPORT = YES + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. +# The default value is: NO. + +DISTRIBUTE_GROUP_DOC = NO + +# If one adds a struct or class to a group and this option is enabled, then also +# any nested class or struct is added to the same group. By default this option +# is disabled and one has to add nested compounds explicitly via \ingroup. +# The default value is: NO. + +GROUP_NESTED_COMPOUNDS = NO + +# Set the SUBGROUPING tag to YES to allow class member groups of the same type +# (for instance a group of public functions) to be put as a subgroup of that +# type (e.g. under the Public Functions section). Set it to NO to prevent +# subgrouping. Alternatively, this can be done per class using the +# \nosubgrouping command. +# The default value is: YES. + +SUBGROUPING = YES + +# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions +# are shown inside the group in which they are included (e.g. using \ingroup) +# instead of on a separate page (for HTML and Man pages) or section (for LaTeX +# and RTF). +# +# Note that this feature does not work in combination with +# SEPARATE_MEMBER_PAGES. +# The default value is: NO. + +INLINE_GROUPED_CLASSES = NO + +# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions +# with only public data fields or simple typedef fields will be shown inline in +# the documentation of the scope in which they are defined (i.e. file, +# namespace, or group documentation), provided this scope is documented. If set +# to NO, structs, classes, and unions are shown on a separate page (for HTML and +# Man pages) or section (for LaTeX and RTF). +# The default value is: NO. + +INLINE_SIMPLE_STRUCTS = NO + +# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or +# enum is documented as struct, union, or enum with the name of the typedef. So +# typedef struct TypeS {} TypeT, will appear in the documentation as a struct +# with name TypeT. When disabled the typedef will appear as a member of a file, +# namespace, or class. And the struct will be named TypeS. This can typically be +# useful for C code in case the coding convention dictates that all compound +# types are typedef'ed and only the typedef is referenced, never the tag name. +# The default value is: NO. + +TYPEDEF_HIDES_STRUCT = NO + +# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This +# cache is used to resolve symbols given their name and scope. Since this can be +# an expensive process and often the same symbol appears multiple times in the +# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small +# doxygen will become slower. If the cache is too large, memory is wasted. The +# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range +# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536 +# symbols. At the end of a run doxygen will report the cache usage and suggest +# the optimal cache size from a speed point of view. +# Minimum value: 0, maximum value: 9, default value: 0. + +LOOKUP_CACHE_SIZE = 0 + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES, doxygen will assume all entities in +# documentation are documented, even if no documentation was available. Private +# class members and static file members will be hidden unless the +# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES. +# Note: This will also disable the warnings about undocumented members that are +# normally produced when WARNINGS is set to YES. +# The default value is: NO. + +EXTRACT_ALL = NO + +# If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will +# be included in the documentation. +# The default value is: NO. + +EXTRACT_PRIVATE = NO + +# If the EXTRACT_PACKAGE tag is set to YES, all members with package or internal +# scope will be included in the documentation. +# The default value is: NO. + +EXTRACT_PACKAGE = NO + +# If the EXTRACT_STATIC tag is set to YES, all static members of a file will be +# included in the documentation. +# The default value is: NO. + +EXTRACT_STATIC = NO + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined +# locally in source files will be included in the documentation. If set to NO, +# only classes defined in header files are included. Does not have any effect +# for Java sources. +# The default value is: YES. + +EXTRACT_LOCAL_CLASSES = YES + +# This flag is only useful for Objective-C code. If set to YES, local methods, +# which are defined in the implementation section but not in the interface are +# included in the documentation. If set to NO, only methods in the interface are +# included. +# The default value is: NO. + +EXTRACT_LOCAL_METHODS = NO + +# If this flag is set to YES, the members of anonymous namespaces will be +# extracted and appear in the documentation as a namespace called +# 'anonymous_namespace{file}', where file will be replaced with the base name of +# the file that contains the anonymous namespace. By default anonymous namespace +# are hidden. +# The default value is: NO. + +EXTRACT_ANON_NSPACES = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all +# undocumented members inside documented classes or files. If set to NO these +# members will be included in the various overviews, but no documentation +# section is generated. This option has no effect if EXTRACT_ALL is enabled. +# The default value is: NO. + +HIDE_UNDOC_MEMBERS = NO + +# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. If set +# to NO, these classes will be included in the various overviews. This option +# has no effect if EXTRACT_ALL is enabled. +# The default value is: NO. + +HIDE_UNDOC_CLASSES = NO + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend +# (class|struct|union) declarations. If set to NO, these declarations will be +# included in the documentation. +# The default value is: NO. + +HIDE_FRIEND_COMPOUNDS = NO + +# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any +# documentation blocks found inside the body of a function. If set to NO, these +# blocks will be appended to the function's detailed documentation block. +# The default value is: NO. + +HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation that is typed after a +# \internal command is included. If the tag is set to NO then the documentation +# will be excluded. Set it to YES to include the internal documentation. +# The default value is: NO. + +INTERNAL_DOCS = NO + +# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file +# names in lower-case letters. If set to YES, upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# and Mac users are advised to set this option to NO. +# The default value is: system dependent. + +CASE_SENSE_NAMES = NO + +# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with +# their full class and namespace scopes in the documentation. If set to YES, the +# scope will be hidden. +# The default value is: NO. + +HIDE_SCOPE_NAMES = NO + +# If the HIDE_COMPOUND_REFERENCE tag is set to NO (default) then doxygen will +# append additional text to a page's title, such as Class Reference. If set to +# YES the compound reference will be hidden. +# The default value is: NO. + +HIDE_COMPOUND_REFERENCE= NO + +# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of +# the files that are included by a file in the documentation of that file. +# The default value is: YES. + +SHOW_INCLUDE_FILES = YES + +# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each +# grouped member an include statement to the documentation, telling the reader +# which file to include in order to use the member. +# The default value is: NO. + +SHOW_GROUPED_MEMB_INC = NO + +# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include +# files with double quotes in the documentation rather than with sharp brackets. +# The default value is: NO. + +FORCE_LOCAL_INCLUDES = NO + +# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the +# documentation for inline members. +# The default value is: YES. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the +# (detailed) documentation of file and class members alphabetically by member +# name. If set to NO, the members will appear in declaration order. +# The default value is: YES. + +SORT_MEMBER_DOCS = YES + +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief +# descriptions of file, namespace and class members alphabetically by member +# name. If set to NO, the members will appear in declaration order. Note that +# this will also influence the order of the classes in the class list. +# The default value is: NO. + +SORT_BRIEF_DOCS = NO + +# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the +# (brief and detailed) documentation of class members so that constructors and +# destructors are listed first. If set to NO the constructors will appear in the +# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS. +# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief +# member documentation. +# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting +# detailed member documentation. +# The default value is: NO. + +SORT_MEMBERS_CTORS_1ST = NO + +# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy +# of group names into alphabetical order. If set to NO the group names will +# appear in their defined order. +# The default value is: NO. + +SORT_GROUP_NAMES = NO + +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by +# fully-qualified names, including namespaces. If set to NO, the class list will +# be sorted only by class name, not including the namespace part. +# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. +# Note: This option applies only to the class list, not to the alphabetical +# list. +# The default value is: NO. + +SORT_BY_SCOPE_NAME = NO + +# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper +# type resolution of all parameters of a function it will reject a match between +# the prototype and the implementation of a member function even if there is +# only one candidate or it is obvious which candidate to choose by doing a +# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still +# accept a match between prototype and implementation in such cases. +# The default value is: NO. + +STRICT_PROTO_MATCHING = NO + +# The GENERATE_TODOLIST tag can be used to enable (YES) or disable (NO) the todo +# list. This list is created by putting \todo commands in the documentation. +# The default value is: YES. + +GENERATE_TODOLIST = YES + +# The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test +# list. This list is created by putting \test commands in the documentation. +# The default value is: YES. + +GENERATE_TESTLIST = YES + +# The GENERATE_BUGLIST tag can be used to enable (YES) or disable (NO) the bug +# list. This list is created by putting \bug commands in the documentation. +# The default value is: YES. + +GENERATE_BUGLIST = YES + +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO) +# the deprecated list. This list is created by putting \deprecated commands in +# the documentation. +# The default value is: YES. + +GENERATE_DEPRECATEDLIST= YES + +# The ENABLED_SECTIONS tag can be used to enable conditional documentation +# sections, marked by \if ... \endif and \cond +# ... \endcond blocks. + +ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the +# initial value of a variable or macro / define can have for it to appear in the +# documentation. If the initializer consists of more lines than specified here +# it will be hidden. Use a value of 0 to hide initializers completely. The +# appearance of the value of individual variables and macros / defines can be +# controlled using \showinitializer or \hideinitializer command in the +# documentation regardless of this setting. +# Minimum value: 0, maximum value: 10000, default value: 30. + +MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at +# the bottom of the documentation of classes and structs. If set to YES, the +# list will mention the files that were used to generate the documentation. +# The default value is: YES. + +SHOW_USED_FILES = YES + +# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This +# will remove the Files entry from the Quick Index and from the Folder Tree View +# (if specified). +# The default value is: YES. + +SHOW_FILES = YES + +# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces +# page. This will remove the Namespaces entry from the Quick Index and from the +# Folder Tree View (if specified). +# The default value is: YES. + +SHOW_NAMESPACES = NO + +# The FILE_VERSION_FILTER tag can be used to specify a program or script that +# doxygen should invoke to get the current version for each file (typically from +# the version control system). Doxygen will invoke the program by executing (via +# popen()) the command command input-file, where command is the value of the +# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided +# by doxygen. Whatever the program writes to standard output is used as the file +# version. For an example see the documentation. + +FILE_VERSION_FILTER = + +# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed +# by doxygen. The layout file controls the global structure of the generated +# output files in an output format independent way. To create the layout file +# that represents doxygen's defaults, run doxygen with the -l option. You can +# optionally specify a file name after the option, if omitted DoxygenLayout.xml +# will be used as the name of the layout file. +# +# Note that if you run doxygen from a directory containing a file called +# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE +# tag is left empty. + +LAYOUT_FILE = + +# The CITE_BIB_FILES tag can be used to specify one or more bib files containing +# the reference definitions. This must be a list of .bib files. The .bib +# extension is automatically appended if omitted. This requires the bibtex tool +# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info. +# For LaTeX the style of the bibliography can be controlled using +# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the +# search path. See also \cite for info how to create references. + +CITE_BIB_FILES = + +#--------------------------------------------------------------------------- +# Configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated to +# standard output by doxygen. If QUIET is set to YES this implies that the +# messages are off. +# The default value is: NO. + +QUIET = NO + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated to standard error (stderr) by doxygen. If WARNINGS is set to YES +# this implies that the warnings are on. +# +# Tip: Turn warnings on while writing the documentation. +# The default value is: YES. + +WARNINGS = YES + +# If the WARN_IF_UNDOCUMENTED tag is set to YES then doxygen will generate +# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag +# will automatically be disabled. +# The default value is: YES. + +WARN_IF_UNDOCUMENTED = YES + +# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some parameters +# in a documented function, or documenting parameters that don't exist or using +# markup commands wrongly. +# The default value is: YES. + +WARN_IF_DOC_ERROR = YES + +# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that +# are documented, but have no documentation for their parameters or return +# value. If set to NO, doxygen will only warn about wrong or incomplete +# parameter documentation, but not about the absence of documentation. +# The default value is: NO. + +WARN_NO_PARAMDOC = NO + +# If the WARN_AS_ERROR tag is set to YES then doxygen will immediately stop when +# a warning is encountered. +# The default value is: NO. + +WARN_AS_ERROR = NO + +# The WARN_FORMAT tag determines the format of the warning messages that doxygen +# can produce. The string should contain the $file, $line, and $text tags, which +# will be replaced by the file and line number from which the warning originated +# and the warning text. Optionally the format may contain $version, which will +# be replaced by the version of the file (if it could be obtained via +# FILE_VERSION_FILTER) +# The default value is: $file:$line: $text. + +WARN_FORMAT = "$file:$line: $text" + +# The WARN_LOGFILE tag can be used to specify a file to which warning and error +# messages should be written. If left blank the output is written to standard +# error (stderr). + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# Configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag is used to specify the files and/or directories that contain +# documented source files. You may enter file names like myfile.cpp or +# directories like /usr/src/myproject. Separate the files or directories with +# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING +# Note: If this tag is empty the current directory is searched. + +INPUT = + +# This tag can be used to specify the character encoding of the source files +# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses +# libiconv (or the iconv built into libc) for the transcoding. See the libiconv +# documentation (see: http://www.gnu.org/software/libiconv) for the list of +# possible encodings. +# The default value is: UTF-8. + +INPUT_ENCODING = UTF-8 + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and +# *.h) to filter out the source-files in the directories. +# +# Note that for custom extensions or not directly supported extensions you also +# need to set EXTENSION_MAPPING for the extension otherwise the files are not +# read by doxygen. +# +# If left blank the following patterns are tested:*.c, *.cc, *.cxx, *.cpp, +# *.c++, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, +# *.hh, *.hxx, *.hpp, *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, +# *.m, *.markdown, *.md, *.mm, *.dox, *.py, *.pyw, *.f90, *.f, *.for, *.tcl, +# *.vhd, *.vhdl, *.ucf, *.qsf, *.as and *.js. + +FILE_PATTERNS = + +# The RECURSIVE tag can be used to specify whether or not subdirectories should +# be searched for input files as well. +# The default value is: NO. + +RECURSIVE = YES + +# The EXCLUDE tag can be used to specify files and/or directories that should be +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. +# +# Note that relative paths are relative to the directory from which doxygen is +# run. + +EXCLUDE = + +# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or +# directories that are symbolic links (a Unix file system feature) are excluded +# from the input. +# The default value is: NO. + +EXCLUDE_SYMLINKS = NO + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. +# +# Note that the wildcards are matched against the file with absolute path, so to +# exclude all test directories for example use the pattern */test/* + +EXCLUDE_PATTERNS = + +# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names +# (namespaces, classes, functions, etc.) that should be excluded from the +# output. The symbol name can be a fully qualified name, a word, or if the +# wildcard * is used, a substring. Examples: ANamespace, AClass, +# AClass::ANamespace, ANamespace::*Test +# +# Note that the wildcards are matched against the file with absolute path, so to +# exclude all test directories use the pattern */test/* + +EXCLUDE_SYMBOLS = + +# The EXAMPLE_PATH tag can be used to specify one or more files or directories +# that contain example code fragments that are included (see the \include +# command). + +EXAMPLE_PATH = + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and +# *.h) to filter out the source-files in the directories. If left blank all +# files are included. + +EXAMPLE_PATTERNS = + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude commands +# irrespective of the value of the RECURSIVE tag. +# The default value is: NO. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or directories +# that contain images that are to be included in the documentation (see the +# \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command: +# +# +# +# where is the value of the INPUT_FILTER tag, and is the +# name of an input file. Doxygen will then use the output that the filter +# program writes to standard output. If FILTER_PATTERNS is specified, this tag +# will be ignored. +# +# Note that the filter must not add or remove lines; it is applied before the +# code is scanned, but not when the output code is generated. If lines are added +# or removed, the anchors will not be placed correctly. +# +# Note that for custom extensions or not directly supported extensions you also +# need to set EXTENSION_MAPPING for the extension otherwise the files are not +# properly processed by doxygen. + +INPUT_FILTER = + +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern +# basis. Doxygen will compare the file name with each pattern and apply the +# filter if there is a match. The filters are a list of the form: pattern=filter +# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how +# filters are used. If the FILTER_PATTERNS tag is empty or if none of the +# patterns match the file name, INPUT_FILTER is applied. +# +# Note that for custom extensions or not directly supported extensions you also +# need to set EXTENSION_MAPPING for the extension otherwise the files are not +# properly processed by doxygen. + +FILTER_PATTERNS = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER) will also be used to filter the input files that are used for +# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES). +# The default value is: NO. + +FILTER_SOURCE_FILES = NO + +# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file +# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and +# it is also possible to disable source filtering for a specific pattern using +# *.ext= (so without naming a filter). +# This tag requires that the tag FILTER_SOURCE_FILES is set to YES. + +FILTER_SOURCE_PATTERNS = + +# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that +# is part of the input, its contents will be placed on the main page +# (index.html). This can be useful if you have a project on for instance GitHub +# and want to reuse the introduction page also for the doxygen output. + +USE_MDFILE_AS_MAINPAGE = + +#--------------------------------------------------------------------------- +# Configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will be +# generated. Documented entities will be cross-referenced with these sources. +# +# Note: To get rid of all source code in the generated output, make sure that +# also VERBATIM_HEADERS is set to NO. +# The default value is: NO. + +SOURCE_BROWSER = NO + +# Setting the INLINE_SOURCES tag to YES will include the body of functions, +# classes and enums directly into the documentation. +# The default value is: NO. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any +# special comment blocks from generated source code fragments. Normal C, C++ and +# Fortran comments will always remain visible. +# The default value is: YES. + +STRIP_CODE_COMMENTS = YES + +# If the REFERENCED_BY_RELATION tag is set to YES then for each documented +# function all documented functions referencing it will be listed. +# The default value is: NO. + +REFERENCED_BY_RELATION = NO + +# If the REFERENCES_RELATION tag is set to YES then for each documented function +# all documented entities called/used by that function will be listed. +# The default value is: NO. + +REFERENCES_RELATION = NO + +# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set +# to YES then the hyperlinks from functions in REFERENCES_RELATION and +# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will +# link to the documentation. +# The default value is: YES. + +REFERENCES_LINK_SOURCE = YES + +# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the +# source code will show a tooltip with additional information such as prototype, +# brief description and links to the definition and documentation. Since this +# will make the HTML file larger and loading of large files a bit slower, you +# can opt to disable this feature. +# The default value is: YES. +# This tag requires that the tag SOURCE_BROWSER is set to YES. + +SOURCE_TOOLTIPS = YES + +# If the USE_HTAGS tag is set to YES then the references to source code will +# point to the HTML generated by the htags(1) tool instead of doxygen built-in +# source browser. The htags tool is part of GNU's global source tagging system +# (see http://www.gnu.org/software/global/global.html). You will need version +# 4.8.6 or higher. +# +# To use it do the following: +# - Install the latest version of global +# - Enable SOURCE_BROWSER and USE_HTAGS in the config file +# - Make sure the INPUT points to the root of the source tree +# - Run doxygen as normal +# +# Doxygen will invoke htags (and that will in turn invoke gtags), so these +# tools must be available from the command line (i.e. in the search path). +# +# The result: instead of the source browser generated by doxygen, the links to +# source code will now point to the output of htags. +# The default value is: NO. +# This tag requires that the tag SOURCE_BROWSER is set to YES. + +USE_HTAGS = NO + +# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a +# verbatim copy of the header file for each class for which an include is +# specified. Set to NO to disable this. +# See also: Section \class. +# The default value is: YES. + +VERBATIM_HEADERS = YES + +# If the CLANG_ASSISTED_PARSING tag is set to YES then doxygen will use the +# clang parser (see: http://clang.llvm.org/) for more accurate parsing at the +# cost of reduced performance. This can be particularly helpful with template +# rich C++ code for which doxygen's built-in parser lacks the necessary type +# information. +# Note: The availability of this option depends on whether or not doxygen was +# generated with the -Duse-libclang=ON option for CMake. +# The default value is: NO. + +CLANG_ASSISTED_PARSING = NO + +# If clang assisted parsing is enabled you can provide the compiler with command +# line options that you would normally use when invoking the compiler. Note that +# the include paths will already be set by doxygen for the files and directories +# specified with INPUT and INCLUDE_PATH. +# This tag requires that the tag CLANG_ASSISTED_PARSING is set to YES. + +CLANG_OPTIONS = + +#--------------------------------------------------------------------------- +# Configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all +# compounds will be generated. Enable this if the project contains a lot of +# classes, structs, unions or interfaces. +# The default value is: YES. + +ALPHABETICAL_INDEX = YES + +# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in +# which the alphabetical index list will be split. +# Minimum value: 1, maximum value: 20, default value: 5. +# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. + +COLS_IN_ALPHA_INDEX = 5 + +# In case all classes in a project start with a common prefix, all classes will +# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag +# can be used to specify a prefix (or a list of prefixes) that should be ignored +# while generating the index headers. +# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. + +IGNORE_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output +# The default value is: YES. + +GENERATE_HTML = YES + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a +# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of +# it. +# The default directory is: html. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_OUTPUT = html + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each +# generated HTML page (for example: .htm, .php, .asp). +# The default value is: .html. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a user-defined HTML header file for +# each generated HTML page. If the tag is left blank doxygen will generate a +# standard header. +# +# To get valid HTML the header file that includes any scripts and style sheets +# that doxygen needs, which is dependent on the configuration options used (e.g. +# the setting GENERATE_TREEVIEW). It is highly recommended to start with a +# default header using +# doxygen -w html new_header.html new_footer.html new_stylesheet.css +# YourConfigFile +# and then modify the file new_header.html. See also section "Doxygen usage" +# for information on how to generate the default header that doxygen normally +# uses. +# Note: The header is subject to change so you typically have to regenerate the +# default header when upgrading to a newer version of doxygen. For a description +# of the possible markers and block names see the documentation. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_HEADER = + +# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each +# generated HTML page. If the tag is left blank doxygen will generate a standard +# footer. See HTML_HEADER for more information on how to generate a default +# footer and what special commands can be used inside the footer. See also +# section "Doxygen usage" for information on how to generate the default footer +# that doxygen normally uses. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_FOOTER = + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style +# sheet that is used by each HTML page. It can be used to fine-tune the look of +# the HTML output. If left blank doxygen will generate a default style sheet. +# See also section "Doxygen usage" for information on how to generate the style +# sheet that doxygen normally uses. +# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as +# it is more robust and this tag (HTML_STYLESHEET) will in the future become +# obsolete. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_STYLESHEET = + +# The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined +# cascading style sheets that are included after the standard style sheets +# created by doxygen. Using this option one can overrule certain style aspects. +# This is preferred over using HTML_STYLESHEET since it does not replace the +# standard style sheet and is therefore more robust against future updates. +# Doxygen will copy the style sheet files to the output directory. +# Note: The order of the extra style sheet files is of importance (e.g. the last +# style sheet in the list overrules the setting of the previous ones in the +# list). For an example see the documentation. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_EXTRA_STYLESHEET = + +# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or +# other source files which should be copied to the HTML output directory. Note +# that these files will be copied to the base HTML output directory. Use the +# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these +# files. In the HTML_STYLESHEET file, use the file name only. Also note that the +# files will be copied as-is; there are no commands or markers available. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_EXTRA_FILES = + +# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen +# will adjust the colors in the style sheet and background images according to +# this color. Hue is specified as an angle on a colorwheel, see +# http://en.wikipedia.org/wiki/Hue for more information. For instance the value +# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300 +# purple, and 360 is red again. +# Minimum value: 0, maximum value: 359, default value: 220. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_HUE = 220 + +# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors +# in the HTML output. For a value of 0 the output will use grayscales only. A +# value of 255 will produce the most vivid colors. +# Minimum value: 0, maximum value: 255, default value: 100. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_SAT = 100 + +# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the +# luminance component of the colors in the HTML output. Values below 100 +# gradually make the output lighter, whereas values above 100 make the output +# darker. The value divided by 100 is the actual gamma applied, so 80 represents +# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not +# change the gamma. +# Minimum value: 40, maximum value: 240, default value: 80. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_GAMMA = 80 + +# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML +# page will contain the date and time when the page was generated. Setting this +# to YES can help to show when doxygen was last run and thus if the +# documentation is up to date. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_TIMESTAMP = NO + +# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML +# documentation will contain sections that can be hidden and shown after the +# page has loaded. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_DYNAMIC_SECTIONS = NO + +# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries +# shown in the various tree structured indices initially; the user can expand +# and collapse entries dynamically later on. Doxygen will expand the tree to +# such a level that at most the specified number of entries are visible (unless +# a fully collapsed tree already exceeds this amount). So setting the number of +# entries 1 will produce a full collapsed tree by default. 0 is a special value +# representing an infinite number of entries and will result in a full expanded +# tree by default. +# Minimum value: 0, maximum value: 9999, default value: 100. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_INDEX_NUM_ENTRIES = 100 + +# If the GENERATE_DOCSET tag is set to YES, additional index files will be +# generated that can be used as input for Apple's Xcode 3 integrated development +# environment (see: http://developer.apple.com/tools/xcode/), introduced with +# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a +# Makefile in the HTML output directory. Running make will produce the docset in +# that directory and running make install will install the docset in +# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at +# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html +# for more information. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_DOCSET = NO + +# This tag determines the name of the docset feed. A documentation feed provides +# an umbrella under which multiple documentation sets from a single provider +# (such as a company or product suite) can be grouped. +# The default value is: Doxygen generated docs. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_FEEDNAME = "Doxygen generated docs" + +# This tag specifies a string that should uniquely identify the documentation +# set bundle. This should be a reverse domain-name style string, e.g. +# com.mycompany.MyDocSet. Doxygen will append .docset to the name. +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_BUNDLE_ID = org.doxygen.Project + +# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify +# the documentation publisher. This should be a reverse domain-name style +# string, e.g. com.mycompany.MyDocSet.documentation. +# The default value is: org.doxygen.Publisher. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_PUBLISHER_ID = org.doxygen.Publisher + +# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher. +# The default value is: Publisher. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_PUBLISHER_NAME = Publisher + +# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three +# additional HTML index files: index.hhp, index.hhc, and index.hhk. The +# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop +# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on +# Windows. +# +# The HTML Help Workshop contains a compiler that can convert all HTML output +# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML +# files are now used as the Windows 98 help format, and will replace the old +# Windows help format (.hlp) on all Windows platforms in the future. Compressed +# HTML files also contain an index, a table of contents, and you can search for +# words in the documentation. The HTML workshop also contains a viewer for +# compressed HTML files. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_HTMLHELP = NO + +# The CHM_FILE tag can be used to specify the file name of the resulting .chm +# file. You can add a path in front of the file if the result should not be +# written to the html output directory. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +CHM_FILE = + +# The HHC_LOCATION tag can be used to specify the location (absolute path +# including file name) of the HTML help compiler (hhc.exe). If non-empty, +# doxygen will try to run the HTML help compiler on the generated index.hhp. +# The file has to be specified with full path. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +HHC_LOCATION = + +# The GENERATE_CHI flag controls if a separate .chi index file is generated +# (YES) or that it should be included in the master .chm file (NO). +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +GENERATE_CHI = NO + +# The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc) +# and project file content. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +CHM_INDEX_ENCODING = + +# The BINARY_TOC flag controls whether a binary table of contents is generated +# (YES) or a normal table of contents (NO) in the .chm file. Furthermore it +# enables the Previous and Next buttons. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members to +# the table of contents of the HTML help documentation and to the tree view. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +TOC_EXPAND = NO + +# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and +# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that +# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help +# (.qch) of the generated HTML documentation. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_QHP = NO + +# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify +# the file name of the resulting .qch file. The path specified is relative to +# the HTML output folder. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QCH_FILE = + +# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help +# Project output. For more information please see Qt Help Project / Namespace +# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace). +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_NAMESPACE = org.doxygen.Project + +# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt +# Help Project output. For more information please see Qt Help Project / Virtual +# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual- +# folders). +# The default value is: doc. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_VIRTUAL_FOLDER = doc + +# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom +# filter to add. For more information please see Qt Help Project / Custom +# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- +# filters). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_CUST_FILTER_NAME = + +# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the +# custom filter to add. For more information please see Qt Help Project / Custom +# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- +# filters). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_CUST_FILTER_ATTRS = + +# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this +# project's filter section matches. Qt Help Project / Filter Attributes (see: +# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_SECT_FILTER_ATTRS = + +# The QHG_LOCATION tag can be used to specify the location of Qt's +# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the +# generated .qhp file. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHG_LOCATION = + +# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be +# generated, together with the HTML files, they form an Eclipse help plugin. To +# install this plugin and make it available under the help contents menu in +# Eclipse, the contents of the directory containing the HTML and XML files needs +# to be copied into the plugins directory of eclipse. The name of the directory +# within the plugins directory should be the same as the ECLIPSE_DOC_ID value. +# After copying Eclipse needs to be restarted before the help appears. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_ECLIPSEHELP = NO + +# A unique identifier for the Eclipse help plugin. When installing the plugin +# the directory name containing the HTML and XML files should also have this +# name. Each documentation set should have its own identifier. +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES. + +ECLIPSE_DOC_ID = org.doxygen.Project + +# If you want full control over the layout of the generated HTML pages it might +# be necessary to disable the index and replace it with your own. The +# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top +# of each HTML page. A value of NO enables the index and the value YES disables +# it. Since the tabs in the index contain the same information as the navigation +# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +DISABLE_INDEX = NO + +# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index +# structure should be generated to display hierarchical information. If the tag +# value is set to YES, a side panel will be generated containing a tree-like +# index structure (just like the one that is generated for HTML Help). For this +# to work a browser that supports JavaScript, DHTML, CSS and frames is required +# (i.e. any modern browser). Windows users are probably better off using the +# HTML help feature. Via custom style sheets (see HTML_EXTRA_STYLESHEET) one can +# further fine-tune the look of the index. As an example, the default style +# sheet generated by doxygen has an example that shows how to put an image at +# the root of the tree instead of the PROJECT_NAME. Since the tree basically has +# the same information as the tab index, you could consider setting +# DISABLE_INDEX to YES when enabling this option. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_TREEVIEW = NO + +# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that +# doxygen will group on one line in the generated HTML documentation. +# +# Note that a value of 0 will completely suppress the enum values from appearing +# in the overview section. +# Minimum value: 0, maximum value: 20, default value: 4. +# This tag requires that the tag GENERATE_HTML is set to YES. + +ENUM_VALUES_PER_LINE = 4 + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used +# to set the initial width (in pixels) of the frame in which the tree is shown. +# Minimum value: 0, maximum value: 1500, default value: 250. +# This tag requires that the tag GENERATE_HTML is set to YES. + +TREEVIEW_WIDTH = 250 + +# If the EXT_LINKS_IN_WINDOW option is set to YES, doxygen will open links to +# external symbols imported via tag files in a separate window. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +EXT_LINKS_IN_WINDOW = NO + +# Use this tag to change the font size of LaTeX formulas included as images in +# the HTML documentation. When you change the font size after a successful +# doxygen run you need to manually remove any form_*.png images from the HTML +# output directory to force them to be regenerated. +# Minimum value: 8, maximum value: 50, default value: 10. +# This tag requires that the tag GENERATE_HTML is set to YES. + +FORMULA_FONTSIZE = 10 + +# Use the FORMULA_TRANPARENT tag to determine whether or not the images +# generated for formulas are transparent PNGs. Transparent PNGs are not +# supported properly for IE 6.0, but are supported on all modern browsers. +# +# Note that when changing this option you need to delete any form_*.png files in +# the HTML output directory before the changes have effect. +# The default value is: YES. +# This tag requires that the tag GENERATE_HTML is set to YES. + +FORMULA_TRANSPARENT = YES + +# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see +# http://www.mathjax.org) which uses client side Javascript for the rendering +# instead of using pre-rendered bitmaps. Use this if you do not have LaTeX +# installed or if you want to formulas look prettier in the HTML output. When +# enabled you may also need to install MathJax separately and configure the path +# to it using the MATHJAX_RELPATH option. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +USE_MATHJAX = NO + +# When MathJax is enabled you can set the default output format to be used for +# the MathJax output. See the MathJax site (see: +# http://docs.mathjax.org/en/latest/output.html) for more details. +# Possible values are: HTML-CSS (which is slower, but has the best +# compatibility), NativeMML (i.e. MathML) and SVG. +# The default value is: HTML-CSS. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_FORMAT = HTML-CSS + +# When MathJax is enabled you need to specify the location relative to the HTML +# output directory using the MATHJAX_RELPATH option. The destination directory +# should contain the MathJax.js script. For instance, if the mathjax directory +# is located at the same level as the HTML output directory, then +# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax +# Content Delivery Network so you can quickly see the result without installing +# MathJax. However, it is strongly recommended to install a local copy of +# MathJax from http://www.mathjax.org before deployment. +# The default value is: http://cdn.mathjax.org/mathjax/latest. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest + +# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax +# extension names that should be enabled during MathJax rendering. For example +# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_EXTENSIONS = + +# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces +# of code that will be used on startup of the MathJax code. See the MathJax site +# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an +# example see the documentation. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_CODEFILE = + +# When the SEARCHENGINE tag is enabled doxygen will generate a search box for +# the HTML output. The underlying search engine uses javascript and DHTML and +# should work on any modern browser. Note that when using HTML help +# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET) +# there is already a search function so this one should typically be disabled. +# For large projects the javascript based search engine can be slow, then +# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to +# search using the keyboard; to jump to the search box use + S +# (what the is depends on the OS and browser, but it is typically +# , /