Skip to content

Commit 363a25d

Browse files
Timur KelmanTimur Kelman
authored andcommitted
adjust tests: no empty line between getter and setter methods anymore
1 parent a8c6d10 commit 363a25d

9 files changed

Lines changed: 0 additions & 42 deletions

File tree

Tests/CSharp/MemberTests/MemberTests.cs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -590,11 +590,9 @@ public virtual int get_RenamedPropertyParam(int i)
590590
{
591591
return 1;
592592
}
593-
594593
public virtual void set_RenamedPropertyParam(int i, int value)
595594
{
596595
}
597-
598596
int IClass.get_ReadOnlyPropParam(int i) => get_RenamedPropertyParam(i);
599597
600598
public virtual int RenamedReadOnlyProperty
@@ -614,11 +612,9 @@ public virtual int get_RenamedWriteOnlyPropParam(int i)
614612
{
615613
return 1;
616614
}
617-
618615
public virtual void set_RenamedWriteOnlyPropParam(int i, int value)
619616
{
620617
}
621-
622618
void IClass.set_WriteOnlyPropParam(int i, int value) => set_RenamedWriteOnlyPropParam(i, value);
623619
624620
public virtual int RenamedWriteOnlyProperty
@@ -832,21 +828,18 @@ public string get_ReadOnlyPropRenamed(int i)
832828
{
833829
throw new NotImplementedException();
834830
}
835-
836831
string IClass.get_ReadOnlyPropToRename(int i) => get_ReadOnlyPropRenamed(i);
837832
838833
public virtual void set_WriteOnlyPropRenamed(int i, string value)
839834
{
840835
throw new NotImplementedException();
841836
}
842-
843837
void IClass.set_WriteOnlyPropToRename(int i, string value) => set_WriteOnlyPropRenamed(i, value);
844838
845839
public virtual string get_PropRenamed(int i)
846840
{
847841
throw new NotImplementedException();
848842
}
849-
850843
public virtual void set_PropRenamed(int i, string value)
851844
{
852845
throw new NotImplementedException();
@@ -859,21 +852,18 @@ private string get_ReadOnlyPropNonPublic(int i)
859852
{
860853
throw new NotImplementedException();
861854
}
862-
863855
string IClass.get_ReadOnlyPropNonPublic(int i) => get_ReadOnlyPropNonPublic(i);
864856
865857
protected internal virtual void set_WriteOnlyPropNonPublic(int i, string value)
866858
{
867859
throw new NotImplementedException();
868860
}
869-
870861
void IClass.set_WriteOnlyPropNonPublic(int i, string value) => set_WriteOnlyPropNonPublic(i, value);
871862
872863
internal virtual string get_PropNonPublic(int i)
873864
{
874865
throw new NotImplementedException();
875866
}
876-
877867
internal virtual void set_PropNonPublic(int i, string value)
878868
{
879869
throw new NotImplementedException();
@@ -886,21 +876,18 @@ protected internal virtual string get_ReadOnlyPropRenamedNonPublic(int i)
886876
{
887877
throw new NotImplementedException();
888878
}
889-
890879
string IClass.get_ReadOnlyPropToRenameNonPublic(int i) => get_ReadOnlyPropRenamedNonPublic(i);
891880
892881
private void set_WriteOnlyPropRenamedNonPublic(int i, string value)
893882
{
894883
throw new NotImplementedException();
895884
}
896-
897885
void IClass.set_WriteOnlyPropToRenameNonPublic(int i, string value) => set_WriteOnlyPropRenamedNonPublic(i, value);
898886
899887
internal virtual string get_PropToRenameNonPublic(int i)
900888
{
901889
throw new NotImplementedException();
902890
}
903-
904891
internal virtual void set_PropToRenameNonPublic(int i, string value)
905892
{
906893
throw new NotImplementedException();
@@ -2397,7 +2384,6 @@ private int get_ExplicitProp(string str = """")
23972384
{
23982385
return 5;
23992386
}
2400-
24012387
private void set_ExplicitProp(string str = """", int value = default)
24022388
{
24032389
}
@@ -3072,7 +3058,6 @@ private int get_ExplicitProp(string str)
30723058
{
30733059
return 5;
30743060
}
3075-
30763061
private void set_ExplicitProp(string str, int value)
30773062
{
30783063
}
@@ -3125,7 +3110,6 @@ public virtual int get_PropParams(string str)
31253110
{
31263111
return 5;
31273112
}
3128-
31293113
public virtual void set_PropParams(string str, int value)
31303114
{
31313115
}
@@ -3748,7 +3732,6 @@ private int get_ExplicitProp(string str)
37483732
{
37493733
return 5;
37503734
}
3751-
37523735
private void set_ExplicitProp(string str, int value)
37533736
{
37543737
}

Tests/CSharp/MemberTests/PropertyMemberTests.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ public float get_SomeProp(int index)
150150
{
151151
return 1.5f;
152152
}
153-
154153
public void set_SomeProp(int index, float value)
155154
{
156155
}
@@ -257,7 +256,6 @@ public string get_MyProp(int blah)
257256
{
258257
return blah.ToString();
259258
}
260-
261259
public void set_MyProp(int blah, string value)
262260
{
263261
}
@@ -569,7 +567,6 @@ internal int get_Prop2(int x = 1, int y = 2)
569567
{
570568
return default;
571569
}
572-
573570
internal void set_Prop2(int x = 1, int y = 2, int value = default)
574571
{
575572
}
@@ -659,7 +656,6 @@ internal int get_Prop2(int x = 1, int y = 2, int z = 3)
659656
{
660657
return default;
661658
}
662-
663659
internal void set_Prop2(int x = 1, int y = 2, int z = 3, int value = default)
664660
{
665661
}

Tests/TestData/MultiFileCharacterization/VBToCSResults/ConvertVbLibraryOnly/VbLibrary/My Project/MyNamespace.Static.3.Designer.cs

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tests/TestData/MultiFileCharacterization/VBToCSResults/ConvertWholeSolution/ConsoleApp1/My Project/MyNamespace.Static.2.Designer.cs

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tests/TestData/MultiFileCharacterization/VBToCSResults/ConvertWholeSolution/ConsoleApp4/My Project/MyNamespace.Static.2.Designer.cs

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tests/TestData/MultiFileCharacterization/VBToCSResults/ConvertWholeSolution/Prefix.VbLibrary/My Project/MyNamespace.Static.2.Designer.cs

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tests/TestData/MultiFileCharacterization/VBToCSResults/ConvertWholeSolution/VbLibrary/My Project/MyNamespace.Static.3.Designer.cs

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tests/TestData/MultiFileCharacterization/VBToCSResults/ConvertWholeSolution/VbNetStandardLib/My Project/MyNamespace.Static.3.Designer.cs

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tests/TestData/MultiFileCharacterization/VBToCSResults/ConvertWholeSolution/WindowsAppVb/My Project/MyNamespace.Static.2.Designer.cs

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)