Browse Source

Give test suites more general names

pull/1/head
Alex Corrado 14 years ago
parent
commit
0210644c4d
  1. 2
      tests/InheritanceTests.cs
  2. 10
      tests/Makefile.am
  3. 2
      tests/MarshalingTests.cs
  4. 2
      tests/Native/InheritanceTests.cpp
  5. 0
      tests/Native/InheritanceTests.h
  6. 2
      tests/Native/MarshalingTests.cpp
  7. 0
      tests/Native/MarshalingTests.h
  8. 14
      tests/Tests.csproj

2
tests/VirtualTests.cs → tests/InheritanceTests.cs

@ -4,7 +4,7 @@ using NUnit.Framework;
namespace Tests { namespace Tests {
[TestFixture] [TestFixture]
public class VirtualTests { public class InheritanceTests {
[Test] [Test]
public void TestVirtualCall () public void TestVirtualCall ()

10
tests/Makefile.am

@ -7,13 +7,13 @@ INTEROP_DLL = \
TEST_DLL = $(BUILD_DIR)/Test.dll TEST_DLL = $(BUILD_DIR)/Test.dll
NATIVE = \ NATIVE = \
ByValTests \ MarshalingTests \
VirtualTests InheritanceTests
MANAGED = \ MANAGED = \
ByValTests.cs \ InheritanceTests.cs \
Support/CppNUnitAsserts.cs \ MarshalingTests.cs \
VirtualTests.cs Support/CppNUnitAsserts.cs
REFERENCES = \ REFERENCES = \
-pkg:mono-nunit -pkg:mono-nunit

2
tests/ByValTests.cs → tests/MarshalingTests.cs

@ -6,7 +6,7 @@ using Tests.Support;
namespace Tests { namespace Tests {
[TestFixture] [TestFixture]
public class ByValTests { public class MarshalingTests {
[Test] [Test]
public void TestClassReturn () public void TestClassReturn ()

2
tests/Native/VirtualTests.cpp → tests/Native/InheritanceTests.cpp

@ -1,5 +1,5 @@
#include "VirtualTests.h" #include "InheritanceTests.h"
NumberClass::NumberClass (int n) NumberClass::NumberClass (int n)
: num (n) : num (n)

0
tests/Native/VirtualTests.h → tests/Native/InheritanceTests.h

2
tests/Native/ByValTests.cpp → tests/Native/MarshalingTests.cpp

@ -1,5 +1,5 @@
#include "ByValTests.h" #include "MarshalingTests.h"
ClassWithCopyCtor::ClassWithCopyCtor(const ClassWithCopyCtor& f) { ClassWithCopyCtor::ClassWithCopyCtor(const ClassWithCopyCtor& f) {
x = f.x; x = f.x;

0
tests/Native/ByValTests.h → tests/Native/MarshalingTests.h

14
tests/Tests.csproj

@ -52,8 +52,8 @@
<ItemGroup> <ItemGroup>
<Compile Include="Support\CppMockObject.cs" /> <Compile Include="Support\CppMockObject.cs" />
<Compile Include="Support\CppNUnitAsserts.cs" /> <Compile Include="Support\CppNUnitAsserts.cs" />
<Compile Include="ByValTests.cs" /> <Compile Include="MarshalingTests.cs" />
<Compile Include="VirtualTests.cs" /> <Compile Include="InheritanceTests.cs" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup> <ItemGroup>
@ -70,10 +70,10 @@
<ItemGroup> <ItemGroup>
<None Include="Native\NUnit.cpp" /> <None Include="Native\NUnit.cpp" />
<None Include="Native\NUnit.h" /> <None Include="Native\NUnit.h" />
<None Include="Native\ByValTests.cpp" /> <None Include="Native\MarshalingTests.cpp" />
<None Include="Native\ByValTests.h" /> <None Include="Native\MarshalingTests.h" />
<None Include="Native\VirtualTests.h" /> <None Include="Native\InheritanceTests.h" />
<None Include="Native\VirtualTests.cpp" /> <None Include="Native\InheritanceTests.cpp" />
</ItemGroup> </ItemGroup>
<ProjectExtensions> <ProjectExtensions>
<MonoDevelop> <MonoDevelop>
@ -100,4 +100,4 @@
<Name>Mono.Cxxi</Name> <Name>Mono.Cxxi</Name>
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>
</Project> </Project>

Loading…
Cancel
Save