Skip to content

Commit

Permalink
adjust tests: no empty line between getter and setter methods anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Timur Kelman authored and Timur Kelman committed Jul 25, 2024
1 parent a8c6d10 commit 363a25d
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 42 deletions.
17 changes: 0 additions & 17 deletions Tests/CSharp/MemberTests/MemberTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -590,11 +590,9 @@ public virtual int get_RenamedPropertyParam(int i)
{
return 1;
}
public virtual void set_RenamedPropertyParam(int i, int value)
{
}
int IClass.get_ReadOnlyPropParam(int i) => get_RenamedPropertyParam(i);
public virtual int RenamedReadOnlyProperty
Expand All @@ -614,11 +612,9 @@ public virtual int get_RenamedWriteOnlyPropParam(int i)
{
return 1;
}
public virtual void set_RenamedWriteOnlyPropParam(int i, int value)
{
}
void IClass.set_WriteOnlyPropParam(int i, int value) => set_RenamedWriteOnlyPropParam(i, value);
public virtual int RenamedWriteOnlyProperty
Expand Down Expand Up @@ -832,21 +828,18 @@ public string get_ReadOnlyPropRenamed(int i)
{
throw new NotImplementedException();
}
string IClass.get_ReadOnlyPropToRename(int i) => get_ReadOnlyPropRenamed(i);
public virtual void set_WriteOnlyPropRenamed(int i, string value)
{
throw new NotImplementedException();
}
void IClass.set_WriteOnlyPropToRename(int i, string value) => set_WriteOnlyPropRenamed(i, value);
public virtual string get_PropRenamed(int i)
{
throw new NotImplementedException();
}
public virtual void set_PropRenamed(int i, string value)
{
throw new NotImplementedException();
Expand All @@ -859,21 +852,18 @@ private string get_ReadOnlyPropNonPublic(int i)
{
throw new NotImplementedException();
}
string IClass.get_ReadOnlyPropNonPublic(int i) => get_ReadOnlyPropNonPublic(i);
protected internal virtual void set_WriteOnlyPropNonPublic(int i, string value)
{
throw new NotImplementedException();
}
void IClass.set_WriteOnlyPropNonPublic(int i, string value) => set_WriteOnlyPropNonPublic(i, value);
internal virtual string get_PropNonPublic(int i)
{
throw new NotImplementedException();
}
internal virtual void set_PropNonPublic(int i, string value)
{
throw new NotImplementedException();
Expand All @@ -886,21 +876,18 @@ protected internal virtual string get_ReadOnlyPropRenamedNonPublic(int i)
{
throw new NotImplementedException();
}
string IClass.get_ReadOnlyPropToRenameNonPublic(int i) => get_ReadOnlyPropRenamedNonPublic(i);
private void set_WriteOnlyPropRenamedNonPublic(int i, string value)
{
throw new NotImplementedException();
}
void IClass.set_WriteOnlyPropToRenameNonPublic(int i, string value) => set_WriteOnlyPropRenamedNonPublic(i, value);
internal virtual string get_PropToRenameNonPublic(int i)
{
throw new NotImplementedException();
}
internal virtual void set_PropToRenameNonPublic(int i, string value)
{
throw new NotImplementedException();
Expand Down Expand Up @@ -2397,7 +2384,6 @@ private int get_ExplicitProp(string str = """")
{
return 5;
}
private void set_ExplicitProp(string str = """", int value = default)
{
}
Expand Down Expand Up @@ -3072,7 +3058,6 @@ private int get_ExplicitProp(string str)
{
return 5;
}
private void set_ExplicitProp(string str, int value)
{
}
Expand Down Expand Up @@ -3125,7 +3110,6 @@ public virtual int get_PropParams(string str)
{
return 5;
}
public virtual void set_PropParams(string str, int value)
{
}
Expand Down Expand Up @@ -3748,7 +3732,6 @@ private int get_ExplicitProp(string str)
{
return 5;
}
private void set_ExplicitProp(string str, int value)
{
}
Expand Down
4 changes: 0 additions & 4 deletions Tests/CSharp/MemberTests/PropertyMemberTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ public float get_SomeProp(int index)
{
return 1.5f;
}
public void set_SomeProp(int index, float value)
{
}
Expand Down Expand Up @@ -257,7 +256,6 @@ public string get_MyProp(int blah)
{
return blah.ToString();
}
public void set_MyProp(int blah, string value)
{
}
Expand Down Expand Up @@ -569,7 +567,6 @@ internal int get_Prop2(int x = 1, int y = 2)
{
return default;
}
internal void set_Prop2(int x = 1, int y = 2, int value = default)
{
}
Expand Down Expand Up @@ -659,7 +656,6 @@ internal int get_Prop2(int x = 1, int y = 2, int z = 3)
{
return default;
}
internal void set_Prop2(int x = 1, int y = 2, int z = 3, int value = default)
{
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 363a25d

Please sign in to comment.