Commit 1f36e015 authored by Eric Domke's avatar Eric Domke
Browse files

Descendants Extension and Metadata Tweaks

- Adding a descendants convenience methods (similar to the Xml to Linq
API)
- Removed non-functional property from the SvgDescription class to
encourage use of the Content property instead
- Added unit test project for unit test of new functionality.
parent 7bb22d37
<?xml version="1.0" encoding="UTF-8"?>
<TestRun id="a96970d5-48d3-4692-8ab9-cf2c9015f0a0" name="eric.domke@G5130 2014-06-30 16:54:09" runUser="WONDERLAN\eric.domke" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<TestSettings name="Local" id="ad4d99d5-165f-493c-9b8f-937d51b9a02a">
<Description>These are default test settings for a local test run.</Description>
<Deployment userDeploymentRoot="C:\Users\edomke\Documents\GitHub\SVG\Source\TestResults" useDefaultDeploymentRoot="false" enabled="false" runDeploymentRoot="eric.domke_G5130 2014-06-30 16_54_09">
<DeploymentItem filename="C:\Users\edomke\Documents\GitHub\vvvv\public\common\src\thirdparty\Svg.dll" />
</Deployment>
<Execution>
<TestTypeSpecific />
<AgentRule name="Execution Agents">
</AgentRule>
</Execution>
</TestSettings>
<Times creation="2014-06-30T16:54:09.9351635-04:00" queuing="2014-06-30T16:54:11.7103410-04:00" start="2014-06-30T16:54:11.7993499-04:00" finish="2014-06-30T16:54:29.9851683-04:00" />
<ResultSummary outcome="Error">
<Counters total="1" executed="1" error="0" failed="0" timeout="0" aborted="1" inconclusive="0" passedButRunAborted="0" notRunnable="0" notExecuted="0" disconnected="0" warning="0" passed="0" completed="0" inProgress="0" pending="0" />
<RunInfos>
<RunInfo computerName="G5130" outcome="Error" timestamp="2014-06-30T16:54:29.9831681-04:00">
<Text>Test host process exited unexpectedly.</Text>
</RunInfo>
</RunInfos>
</ResultSummary>
<TestDefinitions>
<UnitTest name="TestDescendants" storage="c:\users\edomke\documents\github\svg\source\svg.unittests\bin\debug\svg.unittests.dll" id="2422b99b-f3cc-d94b-5c30-c25d9ff9e9a3">
<Execution id="2c5889b8-fda9-4723-b008-77ec1d8966eb" />
<TestMethod codeBase="C:/Users/edomke/Documents/GitHub/SVG/Source/Svg.UnitTests/bin/Debug/Svg.UnitTests.DLL" adapterTypeName="Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestAdapter, Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" className="Svg.UnitTests.ExtensionsTest, Svg.UnitTests, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="TestDescendants" />
</UnitTest>
</TestDefinitions>
<TestLists>
<TestList name="Results Not in a List" id="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestList name="All Loaded Results" id="19431567-8539-422a-85d7-44ee4e166bda" />
</TestLists>
<TestEntries>
<TestEntry testId="2422b99b-f3cc-d94b-5c30-c25d9ff9e9a3" executionId="2c5889b8-fda9-4723-b008-77ec1d8966eb" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
</TestEntries>
<Results>
<UnitTestResult executionId="2c5889b8-fda9-4723-b008-77ec1d8966eb" testId="2422b99b-f3cc-d94b-5c30-c25d9ff9e9a3" testName="TestDescendants" computerName="G5130" duration="00:00:18.0918090" startTime="2014-06-30T16:54:11.8933593-04:00" endTime="2014-06-30T16:54:29.9851683-04:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Aborted" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="2c5889b8-fda9-4723-b008-77ec1d8966eb">
</UnitTestResult>
</Results>
</TestRun>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<TestRun id="ef788727-7280-49c2-a4ad-79113d04c855" name="eric.domke@G5130 2014-06-30 16:54:47" runUser="WONDERLAN\eric.domke" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<TestSettings name="Local" id="ad4d99d5-165f-493c-9b8f-937d51b9a02a">
<Description>These are default test settings for a local test run.</Description>
<Deployment userDeploymentRoot="C:\Users\edomke\Documents\GitHub\SVG\Source\TestResults" useDefaultDeploymentRoot="false" enabled="false" runDeploymentRoot="eric.domke_G5130 2014-06-30 16_54_47">
<DeploymentItem filename="C:\Users\edomke\Documents\GitHub\vvvv\public\common\src\thirdparty\Svg.dll" />
</Deployment>
<Execution>
<TestTypeSpecific />
<AgentRule name="Execution Agents">
</AgentRule>
</Execution>
</TestSettings>
<Times creation="2014-06-30T16:54:47.6779374-04:00" queuing="2014-06-30T16:54:49.6521348-04:00" start="2014-06-30T16:54:49.7721468-04:00" finish="2014-06-30T16:56:00.5282217-04:00" />
<ResultSummary outcome="Completed">
<Counters total="1" executed="1" passed="1" error="0" failed="0" timeout="0" aborted="0" inconclusive="0" passedButRunAborted="0" notRunnable="0" notExecuted="0" disconnected="0" warning="0" completed="0" inProgress="0" pending="0" />
</ResultSummary>
<TestDefinitions>
<UnitTest name="TestDescendants" storage="c:\users\edomke\documents\github\svg\source\svg.unittests\bin\debug\svg.unittests.dll" id="2422b99b-f3cc-d94b-5c30-c25d9ff9e9a3">
<Execution id="8761e0ad-4a1e-414c-b162-3c58e417909e" />
<TestMethod codeBase="C:/Users/edomke/Documents/GitHub/SVG/Source/Svg.UnitTests/bin/Debug/Svg.UnitTests.DLL" adapterTypeName="Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestAdapter, Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" className="Svg.UnitTests.ExtensionsTest, Svg.UnitTests, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="TestDescendants" />
</UnitTest>
</TestDefinitions>
<TestLists>
<TestList name="Results Not in a List" id="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestList name="All Loaded Results" id="19431567-8539-422a-85d7-44ee4e166bda" />
</TestLists>
<TestEntries>
<TestEntry testId="2422b99b-f3cc-d94b-5c30-c25d9ff9e9a3" executionId="8761e0ad-4a1e-414c-b162-3c58e417909e" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
</TestEntries>
<Results>
<UnitTestResult executionId="8761e0ad-4a1e-414c-b162-3c58e417909e" testId="2422b99b-f3cc-d94b-5c30-c25d9ff9e9a3" testName="TestDescendants" computerName="G5130" duration="00:01:08.8569228" startTime="2014-06-30T16:54:49.8811577-04:00" endTime="2014-06-30T16:56:00.4422131-04:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="8761e0ad-4a1e-414c-b162-3c58e417909e">
<Output>
<DebugTrace>SvgDefinitionList
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgLinearGradientServer
SvgLinearGradientServer
SvgLinearGradientServer
SvgFilter
SvgGaussianBlur
SvgFilter
SvgGaussianBlur
SvgFilter
SvgGaussianBlur
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgPath
SvgClipPath
SvgUse
SvgPath
SvgClipPath
SvgUse
SvgPath
SvgClipPath
SvgUse
SvgPath
SvgClipPath
SvgUse
SvgPath
SvgClipPath
SvgUse
SvgPath
SvgClipPath
SvgUse
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgLinearGradientServer
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgDocumentMetadata
SvgGroup
SvgGroup
SvgPath
SvgPath
SvgPath
SvgRectangle
SvgPath
SvgPath
SvgPath
SvgRectangle
SvgPath
SvgRectangle
SvgRectangle
SvgRectangle
SvgRectangle
SvgRectangle
SvgPath
SvgPath
SvgRectangle
SvgPath
SvgRectangle
SvgPath
SvgPath
SvgPath
SvgPath
SvgText
SvgTextSpan
SvgPath
SvgPath
SvgPath
SvgPath
SvgGroup
SvgPath
SvgPath
SvgText
SvgTextSpan
SvgPath
SvgPath
SvgPath
SvgPath
SvgPath
SvgPath
</DebugTrace>
</Output>
</UnitTestResult>
</Results>
</TestRun>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<TestRun id="a578ea20-3d1e-4706-80f7-ef51fc03f8a0" name="eric.domke@G5130 2014-06-30 16:56:29" runUser="WONDERLAN\eric.domke" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<TestSettings name="Local" id="ad4d99d5-165f-493c-9b8f-937d51b9a02a">
<Description>These are default test settings for a local test run.</Description>
<Deployment userDeploymentRoot="C:\Users\edomke\Documents\GitHub\SVG\Source\TestResults" useDefaultDeploymentRoot="false" enabled="false" runDeploymentRoot="eric.domke_G5130 2014-06-30 16_56_29">
<DeploymentItem filename="C:\Users\edomke\Documents\GitHub\vvvv\public\common\src\thirdparty\Svg.dll" />
</Deployment>
<Execution>
<TestTypeSpecific />
<AgentRule name="Execution Agents">
</AgentRule>
</Execution>
</TestSettings>
<Times creation="2014-06-30T16:56:29.0230709-04:00" queuing="2014-06-30T16:56:30.9962682-04:00" start="2014-06-30T16:56:31.1392825-04:00" finish="2014-06-30T16:56:35.7357421-04:00" />
<ResultSummary outcome="Completed">
<Counters total="1" executed="1" passed="1" error="0" failed="0" timeout="0" aborted="0" inconclusive="0" passedButRunAborted="0" notRunnable="0" notExecuted="0" disconnected="0" warning="0" completed="0" inProgress="0" pending="0" />
</ResultSummary>
<TestDefinitions>
<UnitTest name="TestDescendants" storage="c:\users\edomke\documents\github\svg\source\svg.unittests\bin\debug\svg.unittests.dll" id="2422b99b-f3cc-d94b-5c30-c25d9ff9e9a3">
<Execution id="6e136fc3-49ee-410b-83cc-2b92e6c33668" />
<TestMethod codeBase="C:/Users/edomke/Documents/GitHub/SVG/Source/Svg.UnitTests/bin/Debug/Svg.UnitTests.DLL" adapterTypeName="Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestAdapter, Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" className="Svg.UnitTests.ExtensionsTest, Svg.UnitTests, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="TestDescendants" />
</UnitTest>
</TestDefinitions>
<TestLists>
<TestList name="Results Not in a List" id="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestList name="All Loaded Results" id="19431567-8539-422a-85d7-44ee4e166bda" />
</TestLists>
<TestEntries>
<TestEntry testId="2422b99b-f3cc-d94b-5c30-c25d9ff9e9a3" executionId="6e136fc3-49ee-410b-83cc-2b92e6c33668" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
</TestEntries>
<Results>
<UnitTestResult executionId="6e136fc3-49ee-410b-83cc-2b92e6c33668" testId="2422b99b-f3cc-d94b-5c30-c25d9ff9e9a3" testName="TestDescendants" computerName="G5130" duration="00:00:02.8171618" startTime="2014-06-30T16:56:31.3173003-04:00" endTime="2014-06-30T16:56:35.6667352-04:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="6e136fc3-49ee-410b-83cc-2b92e6c33668">
<Output>
<DebugTrace>SvgDefinitionList
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgLinearGradientServer
SvgLinearGradientServer
SvgLinearGradientServer
SvgFilter
SvgGaussianBlur
SvgFilter
SvgGaussianBlur
SvgFilter
SvgGaussianBlur
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgPath
SvgClipPath
SvgUse
SvgPath
SvgClipPath
SvgUse
SvgPath
SvgClipPath
SvgUse
SvgPath
SvgClipPath
SvgUse
SvgPath
SvgClipPath
SvgUse
SvgPath
SvgClipPath
SvgUse
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgLinearGradientServer
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgDocumentMetadata
SvgGroup
SvgGroup
SvgPath
SvgPath
SvgPath
SvgRectangle
SvgPath
SvgPath
SvgPath
SvgRectangle
SvgPath
SvgRectangle
SvgRectangle
SvgRectangle
SvgRectangle
SvgRectangle
SvgPath
SvgPath
SvgRectangle
SvgPath
SvgRectangle
SvgPath
SvgPath
SvgPath
SvgPath
SvgText
SvgTextSpan
SvgPath
SvgPath
SvgPath
SvgPath
SvgGroup
SvgPath
SvgPath
SvgText
SvgTextSpan
SvgPath
SvgPath
SvgPath
SvgPath
SvgPath
SvgPath
</DebugTrace>
</Output>
</UnitTestResult>
</Results>
</TestRun>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<TestRun id="c9ca8274-0dac-446a-be51-5f2bfd5bb8b7" name="eric.domke@G5130 2014-06-30 16:57:50" runUser="WONDERLAN\eric.domke" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<TestSettings name="Local" id="ad4d99d5-165f-493c-9b8f-937d51b9a02a">
<Description>These are default test settings for a local test run.</Description>
<Deployment enabled="false" runDeploymentRoot="eric.domke_G5130 2014-06-30 16_57_50">
<DeploymentItem filename="C:\Users\edomke\Documents\GitHub\vvvv\public\common\src\thirdparty\Svg.dll" />
</Deployment>
<Execution>
<TestTypeSpecific />
<AgentRule name="Execution Agents">
</AgentRule>
</Execution>
</TestSettings>
<Times creation="2014-06-30T16:57:50.3362014-04:00" queuing="2014-06-30T16:57:50.9392617-04:00" start="2014-06-30T16:57:50.9632641-04:00" finish="2014-06-30T16:57:51.7163394-04:00" />
<ResultSummary outcome="Completed">
<Counters total="1" executed="1" passed="1" error="0" failed="0" timeout="0" aborted="0" inconclusive="0" passedButRunAborted="0" notRunnable="0" notExecuted="0" disconnected="0" warning="0" completed="0" inProgress="0" pending="0" />
</ResultSummary>
<TestDefinitions>
<UnitTest name="TestDescendants" storage="c:\users\edomke\documents\github\svg\source\svg.unittests\bin\debug\svg.unittests.dll" id="2422b99b-f3cc-d94b-5c30-c25d9ff9e9a3">
<Execution id="59a9af8c-e6cb-4be7-9189-68cbbb5aa13b" />
<TestMethod codeBase="C:/Users/edomke/Documents/GitHub/SVG/Source/Svg.UnitTests/bin/Debug/Svg.UnitTests.DLL" adapterTypeName="Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestAdapter, Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" className="Svg.UnitTests.ExtensionsTest, Svg.UnitTests, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="TestDescendants" />
</UnitTest>
</TestDefinitions>
<TestLists>
<TestList name="Results Not in a List" id="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
<TestList name="All Loaded Results" id="19431567-8539-422a-85d7-44ee4e166bda" />
</TestLists>
<TestEntries>
<TestEntry testId="2422b99b-f3cc-d94b-5c30-c25d9ff9e9a3" executionId="59a9af8c-e6cb-4be7-9189-68cbbb5aa13b" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
</TestEntries>
<Results>
<UnitTestResult executionId="59a9af8c-e6cb-4be7-9189-68cbbb5aa13b" testId="2422b99b-f3cc-d94b-5c30-c25d9ff9e9a3" testName="TestDescendants" computerName="G5130" duration="00:00:00.0161522" startTime="2014-06-30T16:57:50.9782656-04:00" endTime="2014-06-30T16:57:51.3513029-04:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="59a9af8c-e6cb-4be7-9189-68cbbb5aa13b">
<Output>
<DebugTrace>SvgDefinitionList
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgLinearGradientServer
SvgLinearGradientServer
SvgLinearGradientServer
SvgFilter
SvgGaussianBlur
SvgFilter
SvgGaussianBlur
SvgFilter
SvgGaussianBlur
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgPath
SvgClipPath
SvgUse
SvgPath
SvgClipPath
SvgUse
SvgPath
SvgClipPath
SvgUse
SvgPath
SvgClipPath
SvgUse
SvgPath
SvgClipPath
SvgUse
SvgPath
SvgClipPath
SvgUse
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgLinearGradientServer
SvgLinearGradientServer
SvgGradientStop
SvgGradientStop
SvgLinearGradientServer
SvgDocumentMetadata
SvgGroup
SvgGroup
SvgPath
SvgPath
SvgPath
SvgRectangle
SvgPath
SvgPath
SvgPath
SvgRectangle
SvgPath
SvgRectangle
SvgRectangle
SvgRectangle
SvgRectangle
SvgRectangle
SvgPath
SvgPath
SvgRectangle
SvgPath
SvgRectangle
SvgPath
SvgPath
SvgPath
SvgPath
SvgText
SvgTextSpan
SvgPath
SvgPath
SvgPath
SvgPath
SvgGroup
SvgPath
SvgPath
SvgText
SvgTextSpan
SvgPath
SvgPath
SvgPath
SvgPath
SvgPath
SvgPath
</DebugTrace>
</Output>
</UnitTestResult>
</Results>
</TestRun>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<TestSettings name="Trace and Test Impact" id="84b93c72-1ada-4d8d-a7a1-abdf3aaccd1b" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<Description>These are test settings for Trace and Test Impact.</Description>
<Execution>
<TestTypeSpecific />
<AgentRule name="Execution Agents">
</AgentRule>
</Execution>
</TestSettings>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment