@@ -41,8 +41,8 @@ public void Export_BasicTopic_MapsProperties() {
41
41
| TEST: EXPORT: BASE TOPIC: MAPS REFERENCE DATA
42
42
\-------------------------------------------------------------------------------------------------------------------------*/
43
43
/// <summary>
44
- /// Creates a <see cref="Topic"/> with a <see cref="Topic.BaseTopic"/> and ensures that a <see cref="AttributeData "/>
45
- /// item with a <see cref="AttributeData .Key"/> of <c>BasedTopic</c> is correctly set.
44
+ /// Creates a <see cref="Topic"/> with a <see cref="Topic.BaseTopic"/> and ensures that a <see cref="RecordData "/> item
45
+ /// with a <see cref="RecordData .Key"/> of <c>BasedTopic</c> is correctly set.
46
46
/// </summary>
47
47
[ TestMethod ]
48
48
public void Export_BaseTopic_MapsReferenceData ( ) {
@@ -375,7 +375,7 @@ public void Import_DerivedTopicKey_MapsDerivedTopic() {
375
375
| TEST: IMPORT: BASE TOPIC: MAPS BASE TOPIC
376
376
\-------------------------------------------------------------------------------------------------------------------------*/
377
377
/// <summary>
378
- /// Creates a <see cref="TopicData"/> with a <see cref="AttributeData "/> with the <see cref="AttributeData .Key"/> of <c>
378
+ /// Creates a <see cref="TopicData"/> with a <see cref="RecordData "/> with the <see cref="RecordData .Key"/> of <c>
379
379
/// BaseTopic</c> in the <see cref="TopicData.References"/> collection, which references a topic in the topic graph.
380
380
/// Ensures that it is correctly wired up.
381
381
/// </summary>
@@ -392,7 +392,7 @@ public void Import_BaseTopic_MapsBaseTopic() {
392
392
ContentType = topic . ContentType
393
393
} ;
394
394
395
- var referencedTopicData = new AttributeData ( ) {
395
+ var referencedTopicData = new RecordData ( ) {
396
396
Key = "BaseTopic" ,
397
397
Value = $ "{ baseTopic . GetUniqueKey ( ) } "
398
398
} ;
@@ -410,7 +410,7 @@ public void Import_BaseTopic_MapsBaseTopic() {
410
410
| TEST: IMPORT: BASE TOPIC: MAPS NEW BASE TOPIC
411
411
\-------------------------------------------------------------------------------------------------------------------------*/
412
412
/// <summary>
413
- /// Creates a <see cref="TopicData"/> with a <see cref="AttributeData "/> with the <see cref="AttributeData .Key"/> of <c>
413
+ /// Creates a <see cref="TopicData"/> with a <see cref="RecordData "/> with the <see cref="RecordData .Key"/> of <c>
414
414
/// BaseTopic</c> in the <see cref="TopicData.References"/> collection, which references a newly imported topic that
415
415
/// occurs later in the tree, ensuring that the <see cref="Topic.BaseTopic"/> is set correctly.
416
416
/// </summary>
@@ -438,7 +438,7 @@ public void Import_BaseTopic_MapsNewBaseTopic() {
438
438
ContentType = "Container"
439
439
} ;
440
440
441
- var baseTopicReference = new AttributeData ( ) {
441
+ var baseTopicReference = new RecordData ( ) {
442
442
Key = "BaseTopic" ,
443
443
Value = $ "{ topicData . UniqueKey } :BaseTopic"
444
444
} ;
@@ -478,7 +478,7 @@ public void Import_InvalidBaseTopic_MaintainsExistingValue() {
478
478
ContentType = topic . ContentType
479
479
} ;
480
480
481
- var baseTopicReference = new AttributeData ( ) {
481
+ var baseTopicReference = new RecordData ( ) {
482
482
Key = "BaseTopic" ,
483
483
Value = $ "{ topicData . UniqueKey } :BaseTopic"
484
484
} ;
@@ -672,12 +672,12 @@ public void Import_TopicDataWithReferences_MapsReferenceCollection() {
672
672
UniqueKey = topic . GetUniqueKey ( ) ,
673
673
ContentType = topic . ContentType
674
674
} ;
675
- var referenData = new AttributeData ( ) {
675
+ var referenceData = new RecordData ( ) {
676
676
Key = "Referenced" ,
677
677
Value = referencedTopic . GetUniqueKey ( )
678
678
} ;
679
679
680
- topicData . References . Add ( referenData ) ;
680
+ topicData . References . Add ( referenceData ) ;
681
681
682
682
topic . Import ( topicData ) ;
683
683
@@ -704,7 +704,7 @@ public void Import_TopicDataWithReferences_MaintainsExisting() {
704
704
UniqueKey = topic . GetUniqueKey ( ) ,
705
705
ContentType = topic . ContentType
706
706
} ;
707
- var referenceData = new AttributeData ( ) {
707
+ var referenceData = new RecordData ( ) {
708
708
Key = "Referenced" ,
709
709
Value = referencedTopic2 . GetUniqueKey ( )
710
710
} ;
@@ -824,8 +824,8 @@ public void Import_TopicDataWithChild_SkipsOrphanedChild() {
824
824
| TEST: IMPORT: TOPIC DATA WITH LEGACY TOPIC REFERENCE: MAPS TOPIC ID
825
825
\-------------------------------------------------------------------------------------------------------------------------*/
826
826
/// <summary>
827
- /// Creates a <see cref="TopicData"/> with an arbitrary <see cref="AttributeData "/> that references another topic.
828
- /// Confirms that it is converted to a <see cref="Topic.Id"/> if valid, and otherwise left as is.
827
+ /// Creates a <see cref="TopicData"/> with an arbitrary <see cref="RecordData "/> that references another topic. Confirms
828
+ /// that it is converted to a <see cref="Topic.Id"/> if valid, and otherwise left as is.
829
829
/// </summary>
830
830
[ TestMethod ]
831
831
public void Import_TopicDataWithLegacyTopicReference_MapsTopicID ( ) {
@@ -857,7 +857,7 @@ public void Import_TopicDataWithLegacyTopicReference_MapsTopicID() {
857
857
| TEST: IMPORT: TOPIC DATA WITH MISSING LEGACY TOPIC REFERENCE: SKIPS ATTRIBUTE
858
858
\-------------------------------------------------------------------------------------------------------------------------*/
859
859
/// <summary>
860
- /// Creates a <see cref="TopicData"/> with an arbitrary <see cref="AttributeData "/> that references to a missing topic.
860
+ /// Creates a <see cref="TopicData"/> with an arbitrary <see cref="RecordData "/> that references to a missing topic.
861
861
/// Confirms that the attribute is skipped.
862
862
/// </summary>
863
863
[ TestMethod ]
@@ -888,7 +888,7 @@ public void Import_TopicDataWithMissingLegacyTopicReference_SkipsAttribute() {
888
888
| TEST: IMPORT: TOPIC DATA WITH INVALID LEGACY TOPIC REFERENCE: IMPORTS ORIGINAL VALUE
889
889
\-------------------------------------------------------------------------------------------------------------------------*/
890
890
/// <summary>
891
- /// Creates a <see cref="TopicData"/> with an arbitrary <see cref="AttributeData "/> that does not reference a topic key
891
+ /// Creates a <see cref="TopicData"/> with an arbitrary <see cref="RecordData "/> that does not reference a topic key
892
892
/// (i.e., it doesn't start with <c>Root</c>). Confirms that the original attribute value is imported.
893
893
/// </summary>
894
894
[ TestMethod ]
0 commit comments