Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 305040d

Browse files
committed
Rename test classes/files
Make it easier to distinguish if editor tab refers to class or test.
1 parent 92996a1 commit 305040d

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

src/embed_tests/Python.EmbeddingTest.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,16 +80,16 @@
8080
<None Include="packages.config" />
8181
</ItemGroup>
8282
<ItemGroup>
83-
<Compile Include="pyinitialize.cs" />
8483
<Compile Include="dynamic.cs" />
8584
<Compile Include="pyimport.cs" />
86-
<Compile Include="pyiter.cs" />
87-
<Compile Include="pylong.cs" />
88-
<Compile Include="pyobject.cs" />
85+
<Compile Include="pyinitialize.cs" />
8986
<Compile Include="pyrunstring.cs" />
90-
<Compile Include="pythonexception.cs" />
91-
<Compile Include="pytuple.cs" />
87+
<Compile Include="TestPyList.cs" />
88+
<Compile Include="TestPyLong.cs" />
89+
<Compile Include="TestPyString.cs" />
90+
<Compile Include="TestPythonException.cs" />
9291
<Compile Include="TestPythonEngineProperties.cs" />
92+
<Compile Include="TestPyTuple.cs" />
9393
</ItemGroup>
9494
<ItemGroup>
9595
<ProjectReference Include="..\runtime\Python.Runtime.csproj">

src/embed_tests/pyiter.cs renamed to src/embed_tests/TestPyList.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace Python.EmbeddingTest
77
{
8-
public class PyIterTest
8+
public class TestPyList
99
{
1010
[Test]
1111
public void TestOnPyList()

src/embed_tests/pylong.cs renamed to src/embed_tests/TestPyLong.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Python.EmbeddingTest
66
{
7-
public class PyLongTest
7+
public class TestPyLong
88
{
99
[Test]
1010
public void TestToInt64()

src/embed_tests/pyobject.cs renamed to src/embed_tests/TestPyString.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Python.EmbeddingTest
66
{
7-
public class PyObjectTest
7+
public class TestPyString
88
{
99
[Test]
1010
public void TestUnicode()

src/embed_tests/pytuple.cs renamed to src/embed_tests/TestPyTuple.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Python.EmbeddingTest
66
{
7-
public class PyTupleTest
7+
public class TestPyTuple
88
{
99
/// <summary>
1010
/// Test IsTupleType without having to Initialize a tuple.

src/embed_tests/pythonexception.cs renamed to src/embed_tests/TestPythonException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace Python.EmbeddingTest
1111
/// Keeping this in the old-style SetUp/TearDown
1212
/// to ensure that setup still works.
1313
/// </remarks>
14-
public class PythonExceptionTest
14+
public class TestPythonException
1515
{
1616
private IntPtr gs;
1717

0 commit comments

Comments
 (0)