# PnP Unit Test report for OnlineAppOnly on Thursday, July 2, 2015 # This page is showing the results of the PnP unit test run. ## Test configuration ## This report contains the unit test results from the following run: Parameter | Value ----------|------ PnP Unit Test configuration | OnlineAppOnly Test run date | Thursday, July 2, 2015 Test run time | 9:54 AM PnP branch | dev Visual Studio build configuration | debug ## Test summary ## During this test run 3 tests have been executed with following outcome: Parameter | Value ----------|------ Executed tests | 3 Elapsed time | 0h 0m 1s Passed tests | 2 Failed tests | **1** Skipped tests | 0 Was canceled | False Was aborted | False Error | ## Test run details ## ### Failed tests ###
Test name Test outcome Durantion Message Stack trace
OfficeDevPnP.Core.Tests.Framework.ProvisioningTemplates.DomainModelTests.CanSerializeDomainObjectWithJsonFormatterFailed0h 0m 1sTest method OfficeDevPnP.Core.Tests.Framework.ProvisioningTemplates.DomainModelTests.CanSerializeDomainObjectWithJsonFormatter threw exception: Newtonsoft.Json.JsonSerializationException: XmlNodeConverter can only convert JSON that begins with an object. at Newtonsoft.Json.Converters.XmlNodeConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IWrappedCollection wrappedList, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value) at OfficeDevPnP.Core.Framework.Provisioning.Providers.Json.JsonPnPFormatter.ToProvisioningTemplate(Stream template, String identifier) in c:\temp\pnpbuild\OfficeDevPnP.Core\OfficeDevPnP.Core\Framework\Provisioning\Providers\Json\JsonPnPFormatter.cs:line 45 at OfficeDevPnP.Core.Framework.Provisioning.Providers.Json.JsonTemplateProvider.GetTemplate(String uri, String identifier, ITemplateFormatter formatter) in c:\temp\pnpbuild\OfficeDevPnP.Core\OfficeDevPnP.Core\Framework\Provisioning\Providers\Json\JsonTemplateProvider.cs:line 95 at OfficeDevPnP.Core.Framework.Provisioning.Providers.Json.JsonTemplateProvider.GetTemplate(String uri) in c:\temp\pnpbuild\OfficeDevPnP.Core\OfficeDevPnP.Core\Framework\Provisioning\Providers\Json\JsonTemplateProvider.cs:line 69 at OfficeDevPnP.Core.Tests.Framework.ProvisioningTemplates.DomainModelTests.CanSerializeDomainObjectWithJsonFormatter() in c:\temp\pnpbuild\OfficeDevPnP.Core\OfficeDevPnP.Core.Tests\Framework\ProvisioningTemplates\DomainModelTests.cs:line 415
### Skipped tests ###
Test name Test outcome Durantion Message
### Passed tests ###
Test name Test outcome Durantion
OfficeDevPnP.Core.Utilities.Tests.JsonUtilityTests.DeserializeListTestPassed0h 0m 0s
OfficeDevPnP.Core.Utilities.Tests.JsonUtilityTests.DeserializeListIsNotFixedSizeTestPassed0h 0m 0s