Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
e8331c7
Enable analyzer rule xUnit1024
alexvy86 Apr 3, 2020
8e80f75
Remove redundant test in System.Text.Json
alexvy86 Apr 3, 2020
e79f8a0
Rename test methods in System.Text.Json
alexvy86 Apr 3, 2020
42742c0
Private methods -> local functions in System.Text.Json
alexvy86 Apr 5, 2020
f39c409
Rename test methods in System.ComponentModel.Annotations
alexvy86 Apr 3, 2020
a25a75f
Rename test methods in System.Collections.Immutable
alexvy86 Apr 3, 2020
eb5596a
Rename test methods in System.Globalization
alexvy86 Apr 3, 2020
f1a4c49
Rename test methods in System.Runtime.Extensions
alexvy86 Apr 4, 2020
6a6b739
Rename test methods in System.Private.Uri
alexvy86 Apr 4, 2020
f773c3b
Rename test methods in System.Runtime.WindowsRuntime.UI.Xaml
alexvy86 Apr 4, 2020
d04193c
Rename test methods in System.Security.Cryptography.X509Certificates
alexvy86 Apr 4, 2020
d7e6307
Rename test methods in System.Reflection
alexvy86 Apr 4, 2020
093eb26
Remove redundant test in System.IO.FileSystem.Watcher
alexvy86 Apr 4, 2020
7e9cece
Rename test methods in System.IO.FileSystem.Watcher
alexvy86 Apr 4, 2020
87bae0f
Rename test methods in System.Composition.Runtime
alexvy86 Apr 4, 2020
999eac4
Rename test methods in System.Drawing.Primitives
alexvy86 Apr 4, 2020
9f3a8ae
Rename test methods in System.Reflection.Emit
alexvy86 Apr 4, 2020
e40ca18
Rename test methods in System.Text.RegularExpressions
alexvy86 Apr 4, 2020
d02ae8f
Private methods -> local functions in System.Threading.Tasks.Parallel
alexvy86 Apr 4, 2020
b09750a
Rename test methods in System.Threading.Tasks.Parallel
alexvy86 Apr 4, 2020
f495e14
Rename test methods in System.Threading.Tasks
alexvy86 Apr 4, 2020
2a840dc
Simplify tests in System.Threading
alexvy86 Apr 4, 2020
9ef7250
Rename test methods in System.Threading
alexvy86 Apr 4, 2020
8ac50b0
Rename test methods in Microsoft.VisualBasic.Core
alexvy86 Apr 4, 2020
b1c4fc2
Rename test methods in System.DirectoryServices.AccountManagement
alexvy86 Apr 4, 2020
670b4c0
Private methods -> local functions in System.Text.Encoding
alexvy86 Apr 4, 2020
a16535d
Rename test methods in System.Text.Encoding
alexvy86 Apr 4, 2020
7ba83ac
Rename test methods in System.Security.Cryptography.Primitives
alexvy86 Apr 4, 2020
baa632f
Rename test methods in System.Runtime.Numeric
alexvy86 Apr 4, 2020
2785d7b
Rename test methods in System.CodeDom.Tests
alexvy86 Apr 4, 2020
11769e0
Rename test methods in System.Reflection.Emit.ILGeneration
alexvy86 Apr 4, 2020
936f460
Rename test methods in System.Composition.AttributedModel
alexvy86 Apr 4, 2020
baea35c
Rename test methods in System.Data.DataSetExtensions
alexvy86 Apr 4, 2020
8291c07
Rename test methods in System.Runtime
alexvy86 Apr 4, 2020
4d7a3e3
Rename test methods in System.Runtime.InteropServices
alexvy86 Apr 4, 2020
e6d42ea
Remove redundant test in System.ServiceModel.Syndication
alexvy86 Apr 4, 2020
8c9fe5c
Rename test methods in System.ServiceModel.Syndication
alexvy86 Apr 4, 2020
ddf6d1a
Rename test methods in System.Data.Common
alexvy86 Apr 4, 2020
0e382d8
Rename test methods in System.Security.Cryptography.Xml
alexvy86 Apr 4, 2020
7c58e12
Private methods -> local functions in System.Security.Cryptography.Xml
alexvy86 Apr 4, 2020
8d58824
Simplify tests in System.Security.Cryptography.ProtectedData
alexvy86 Apr 4, 2020
7a35160
Replace private methods with local functions...
alexvy86 Apr 4, 2020
efc24fa
Rename test methods in System.Security.Cryptography.Algorithms
alexvy86 Apr 4, 2020
2c3d90b
Simplify tests code in System.Collections.Concurrent
alexvy86 Apr 5, 2020
a42b74b
Rename test methods in System.Drawing.Common
alexvy86 Apr 5, 2020
7d1b4aa
Rename test methods in System.Data.OleDb
alexvy86 Apr 5, 2020
fd046fd
Rename test methods in System.ComponentModel.TypeConverter
alexvy86 Apr 5, 2020
8791101
Rename test methods in System.Web.HttpUtility
alexvy86 Apr 5, 2020
d03b23d
Rename test methods in System.Linq
alexvy86 Apr 5, 2020
fbbd5a0
Private method -> local function in System.Linq
alexvy86 Apr 5, 2020
7c76599
Rename test methods in System.Memory
alexvy86 Apr 5, 2020
56d2e28
Rename test methods in System.IO.IsolatedStorage
alexvy86 Apr 5, 2020
f4785f5
Rename test methods in System.DirectoryServices.Protocols
alexvy86 Apr 5, 2020
fc70765
Rename test methods in System.Globalization.Extensions
alexvy86 Apr 5, 2020
57abd5a
Private methods -> local functions in System.Globalization.Extensions
alexvy86 Apr 5, 2020
a63dc26
Rename test methods in System.IO.Compression
alexvy86 Apr 5, 2020
20b357c
Rename test methods in System.Security.Cryptography.Encoding
alexvy86 Apr 5, 2020
f616b5f
Rename test methods in Microsoft.Win32.Registry
alexvy86 Apr 5, 2020
adc651f
Rename test methods in System.IO.UnmanagedMemoryStream
alexvy86 Apr 5, 2020
b4124d9
Rename test methods in System.Collections
alexvy86 Apr 5, 2020
98811f8
Rename test methods in System.Collections.Specialized
alexvy86 Apr 5, 2020
043f1de
Rename test methods in System.Private.Xml
alexvy86 Apr 5, 2020
98c89c3
Rename test methods in System.IO.FileSystem
alexvy86 Apr 5, 2020
e7b0bb7
Rename test methods in System.Diagnostics.StackTrace
alexvy86 Apr 5, 2020
194376e
Rename test methods in System.Diagnostics
alexvy86 Apr 6, 2020
e3e0049
Improve some test method renames
alexvy86 Apr 7, 2020
3d29c9f
Minor nit fixing
alexvy86 Apr 7, 2020
2f0bc0c
More improvements to test method names
alexvy86 Apr 7, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rename test methods in System.Data.Common
  • Loading branch information
alexvy86 committed Apr 5, 2020
commit ddf6d1a2580da6e078561b373b5edae4b4f5975d
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ public void CopyTo()
}

[Fact]
public void Equals()
public void EqualsTest()
{
DataTable table = new DataTable("test_table");
DataTable table2 = new DataTable("test_table");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public void CopyTo()
}

[Fact]
public void Equals()
public void EqualsTest()
{
DataRelationCollection drcol = _dataset.Relations;
drcol.Add("CustOrder"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public void ParentTable()
}

[Fact]
public new void ToString()
public void ToStringTest()
{
var ds = new DataSet();
DataTable dtChild = DataProvider.CreateChildDataTable();
Expand Down Expand Up @@ -441,7 +441,7 @@ public void ExtendedProperties()
PropertyCollection pc;
pc = dRel.ExtendedProperties;

// Checking ExtendedProperties default
// Checking ExtendedProperties default
Assert.NotNull(pc);

// Checking ExtendedProperties count
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ public void CopyTo()
}

[Fact]
public void Equals()
public void EqualsTest()
{
_tbl.Columns.Add();
_tbl.Columns.Add();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public void EndEdit()
}

[Fact]
public void Equals()
public void EqualsTest()
{
DataTable myTable = new DataTable("myTable");
DataRow dr1, dr2;
Expand Down Expand Up @@ -389,7 +389,7 @@ public void GetColumnsInError()
}

[Fact]
public new void GetHashCode()
public void GetHashCodeTest()
{
int iHashCode;
DataRow dr;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public void EndEdit()
}

[Fact]
public void Equals()
public void EqualsTest()
{
DataTable dt = DataProvider.CreateParentDataTable();
DataView dv = new DataView(dt);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ public void CopyTo()
Assert.Equal("Table4", array1[5].TableName);
}
[Fact]
public void Equals()
public void EqualsTest()
{
DataTableCollection tbcol1 = _dataset[0].Tables;
DataTableCollection tbcol2 = _dataset[1].Tables;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1846,13 +1846,13 @@ public void PrimaryKey_CheckSetsAllowDBNull()
Assert.False(col2.Unique);
}

private void RowChanging(object o, DataRowChangeEventArgs e)
private void RowChangingEventHandler(object o, DataRowChangeEventArgs e)
{
Assert.Equal(_rowChangingExpectedAction, e.Action);
_rowChangingRowChanging = true;
}

private void RowChanged(object o, DataRowChangeEventArgs e)
private void RowChangedEventHandler(object o, DataRowChangeEventArgs e)
{
Assert.Equal(_rowChangingExpectedAction, e.Action);
_rowChangingRowChanged = true;
Expand All @@ -1867,8 +1867,8 @@ public void RowChanging()
DataTable dt = new DataTable("table");
dt.Columns.Add("col1");
dt.Columns.Add("col2");
dt.RowChanging += new DataRowChangeEventHandler(RowChanging);
dt.RowChanged += new DataRowChangeEventHandler(RowChanged);
dt.RowChanging += new DataRowChangeEventHandler(RowChangingEventHandler);
dt.RowChanged += new DataRowChangeEventHandler(RowChangedEventHandler);
_rowChangingExpectedAction = DataRowAction.Add;
dt.Rows.Add(new object[] { 1, 2 });
Assert.True(_rowChangingRowChanging);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ public void GetErrors()
}

[Fact]
public new void GetHashCode()
public void GetHashCodeTest()
{
DataTable dt = DataProvider.CreateParentDataTable();
int iHashCode;
Expand Down Expand Up @@ -1431,7 +1431,7 @@ public void TableName()
}

[Fact]
public new void ToString()
public void ToStringTest()
{
DataTable dt = DataProvider.CreateParentDataTable();
dt.DisplayExpression = dt.Columns[0].ColumnName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void Columns()
}

[Fact]
public void Equals()
public void EqualsTest()
{
var ds = new DataSet();
DataTable dtParent = DataProvider.CreateParentDataTable();
Expand Down Expand Up @@ -120,7 +120,7 @@ public void Table()
}

[Fact]
public new void ToString()
public void ToStringTest()
{
DataTable dtParent = DataProvider.CreateParentDataTable();
DataTable dtChild = DataProvider.CreateChildDataTable();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public void CompareTo()

// Equals
[Fact]
public void Equals()
public void EqualsTest()
{
SqlBoolean sqlTrue2 = new SqlBoolean(true);
SqlBoolean sqlFalse2 = new SqlBoolean(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public void Divide()
}

[Fact]
public void Equals()
public void EqualsTest()
{
SqlInt32 x;
SqlInt32 y;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public void Table()
}

[Fact]
public new void ToString()
public void ToStringTest()
{
DataTable dtParent = DataProvider.CreateParentDataTable();

Expand Down