Skip to content

Commit c6fee28

Browse files
committed
Correct some unfortunate autoformatting
1 parent c0209df commit c6fee28

1 file changed

Lines changed: 23 additions & 15 deletions

File tree

Src/xWorks/xWorksTests/ConfiguredXHTMLGeneratorTests.cs

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,9 @@ public void GenerateContentForEntry_PronunciationVideoFileGeneratesAnchorTag()
373373
CssGeneratorTests.PopulateFieldsForTesting(mainEntryNode);
374374
var entry = CreateInterestingLexEntry(Cache);
375375
var variant = CreateInterestingLexEntry(Cache);
376-
CreateVariantForm(Cache, entry, variant, "Spelling Variant"); // we need a real Variant Type to pass the list options test
377-
// Create a folder in the project to hold the media files
376+
// we need a real Variant Type to pass the list options test
377+
CreateVariantForm(Cache, entry, variant, "Spelling Variant");
378+
// Create a folder in the project to hold the media files
378379
var folder = Cache.ServiceLocator.GetInstance<ICmFolderFactory>().Create();
379380
Cache.LangProject.MediaOC.Add(folder);
380381
// Create and fill in the media files
@@ -475,8 +476,9 @@ public void GenerateContentForEntry_HomographNumbersGeneratesCorrectResult()
475476
var entryTwo = CreateInterestingLexEntry(Cache);
476477

477478
var settings = new ConfiguredLcmGenerator.GeneratorSettings(Cache, m_propertyTable, false, false, null);
478-
XHTMLStringBuilder.AppendLine("<TESTWRAPPER>"); //keep the xml valid (single root element)
479-
//SUT
479+
//keep the xml valid (single root element)
480+
XHTMLStringBuilder.AppendLine("<TESTWRAPPER>");
481+
//SUT
480482
var result = ConfiguredLcmGenerator.GenerateContentForEntry(entryOne, mainEntryNode, null, settings).ToString();
481483
XHTMLStringBuilder.Append(result);
482484
result = ConfiguredLcmGenerator.GenerateContentForEntry(entryTwo, mainEntryNode, null, settings).ToString();
@@ -584,8 +586,9 @@ public void GenerateContentForEntry_OneEntryWithSenseAndOneWithoutWorks()
584586
var entryTwoId = entryTwo.Guid;
585587

586588
var settings = new ConfiguredLcmGenerator.GeneratorSettings(Cache, m_propertyTable, false, false, null);
587-
XHTMLStringBuilder.AppendLine("<TESTWRAPPER>"); //keep the xml valid (single root element)
588-
//SUT
589+
//keep the xml valid (single root element)
590+
XHTMLStringBuilder.AppendLine("<TESTWRAPPER>");
591+
//SUT
589592
var result = ConfiguredLcmGenerator.GenerateContentForEntry(entryOne, mainEntryNode, null, settings).ToString();
590593
XHTMLStringBuilder.Append(result);
591594
result = ConfiguredLcmGenerator.GenerateContentForEntry(entryTwo, mainEntryNode, null, settings).ToString();
@@ -6691,8 +6694,9 @@ public void GenerateContentForEntry_AudioConversionDestinationDoesNotExist(bool
66916694
CssGeneratorTests.PopulateFieldsForTesting(mainEntryNode);
66926695
var entry = CreateInterestingLexEntry(Cache);
66936696
var variant = CreateInterestingLexEntry(Cache);
6694-
CreateVariantForm(Cache, entry, variant, "Spelling Variant"); // we need a real Variant Type to pass the list options test
6695-
// Create a folder in the project to hold the media files
6697+
// we need a real Variant Type to pass the list options test
6698+
CreateVariantForm(Cache, entry, variant, "Spelling Variant");
6699+
// Create a folder in the project to hold the media files
66966700
var folder = Cache.ServiceLocator.GetInstance<ICmFolderFactory>().Create();
66976701
Cache.LangProject.MediaOC.Add(folder);
66986702
// Create and fill in the media files
@@ -6778,8 +6782,9 @@ public void GenerateContentForEntry_AudioConversionIdenticalFileExists(bool isWe
67786782
CssGeneratorTests.PopulateFieldsForTesting(mainEntryNode);
67796783
var entry = CreateInterestingLexEntry(Cache);
67806784
var variant = CreateInterestingLexEntry(Cache);
6781-
CreateVariantForm(Cache, entry, variant, "Spelling Variant"); // we need a real Variant Type to pass the list options test
6782-
// Create a folder in the project to hold the media files
6785+
// we need a real Variant Type to pass the list options test
6786+
CreateVariantForm(Cache, entry, variant, "Spelling Variant");
6787+
// Create a folder in the project to hold the media files
67836788
var folder = Cache.ServiceLocator.GetInstance<ICmFolderFactory>().Create();
67846789
Cache.LangProject.MediaOC.Add(folder);
67856790
// Create and fill in the media files
@@ -6868,8 +6873,9 @@ public void GenerateContentForEntry_AudioConversionNonIdenticalFileExists(bool i
68686873
CssGeneratorTests.PopulateFieldsForTesting(mainEntryNode);
68696874
var entry = CreateInterestingLexEntry(Cache);
68706875
var variant = CreateInterestingLexEntry(Cache);
6871-
CreateVariantForm(Cache, entry, variant, "Spelling Variant"); // we need a real Variant Type to pass the list options test
6872-
// Create a folder in the project to hold the media files
6876+
// we need a real Variant Type to pass the list options test
6877+
CreateVariantForm(Cache, entry, variant, "Spelling Variant");
6878+
// Create a folder in the project to hold the media files
68736879
var folder = Cache.ServiceLocator.GetInstance<ICmFolderFactory>().Create();
68746880
Cache.LangProject.MediaOC.Add(folder);
68756881
// Create and fill in the media files
@@ -9275,7 +9281,8 @@ public void GenerateContentForEntry_WritingSystemOfSameDirectionGeneratesNoExtra
92759281
var wsHe = Cache.ServiceLocator.WritingSystemManager.GetWsFromStr("he");
92769282
entry.Bibliography.set_String(wsHe, multiRunString);
92779283
var settings = new ConfiguredLcmGenerator.GeneratorSettings(Cache, m_propertyTable, false, false, null, true); // Right-to-Left
9278-
//SUT
9284+
9285+
//SUT
92799286
var result = ConfiguredLcmGenerator.GenerateContentForEntry(entry, mainEntryNode, null, settings).ToString();
92809287
const string nestedEn = "/div[@class='lexentry']/span[@class='bib']/span[@lang='he']/span[@lang='en']/span[@dir='ltr']";
92819288
const string nestedHe = "/div[@class='lexentry']/span[@class='bib']/span[@lang='he']/span[@lang='he']";
@@ -10033,8 +10040,9 @@ public void GenerateContentForFieldByReflection_NullOrEmptyMediaFilePathDoesNotC
1003310040
CssGeneratorTests.PopulateFieldsForTesting(mainEntryNode);
1003410041
var entry = CreateInterestingLexEntry(Cache);
1003510042
var variant = CreateInterestingLexEntry(Cache);
10036-
CreateVariantForm(Cache, entry, variant, "Spelling Variant"); // we need a real Variant Type to pass the list options test
10037-
// Create a folder in the project to hold the media files
10043+
// we need a real Variant Type to pass the list options test
10044+
CreateVariantForm(Cache, entry, variant, "Spelling Variant");
10045+
// Create a folder in the project to hold the media files
1003810046
var folder = Cache.ServiceLocator.GetInstance<ICmFolderFactory>().Create();
1003910047
Cache.LangProject.MediaOC.Add(folder);
1004010048
// Create and fill in the media files

0 commit comments

Comments
 (0)