Fixup tests to work on 32bit

This commit is contained in:
Garry Newman 2020-02-19 12:29:07 +00:00
parent f5050f3f94
commit e3eb5dccdd
14 changed files with 27 additions and 13 deletions

View File

@ -7,6 +7,7 @@
namespace Steamworks namespace Steamworks
{ {
[DeploymentItem( "steam_api64.dll" )] [DeploymentItem( "steam_api64.dll" )]
[DeploymentItem( "steam_api.dll" )]
[TestClass] [TestClass]
public class FriendsTest public class FriendsTest
{ {

View File

@ -5,7 +5,8 @@
namespace Steamworks namespace Steamworks
{ {
[DeploymentItem( "steam_api64.dll" )] [DeploymentItem( "steam_api64.dll" )]
[TestClass] [DeploymentItem( "steam_api.dll" )]
[TestClass]
public partial class GameServerTest public partial class GameServerTest
{ {
[TestMethod] [TestMethod]

View File

@ -11,7 +11,8 @@ namespace Steamworks
{ {
[TestClass] [TestClass]
[DeploymentItem( "steam_api64.dll" )] [DeploymentItem( "steam_api64.dll" )]
[DeploymentItem( "controller_config/game_actions_252490.vdf" )] [DeploymentItem( "steam_api.dll" )]
[DeploymentItem( "controller_config/game_actions_252490.vdf" )]
public class InputTest public class InputTest
{ {
[TestMethod] [TestMethod]

View File

@ -10,7 +10,8 @@ namespace Steamworks
{ {
[TestClass] [TestClass]
[DeploymentItem( "steam_api64.dll" )] [DeploymentItem( "steam_api64.dll" )]
public class InventoryTest [DeploymentItem( "steam_api.dll" )]
public class InventoryTest
{ {
[TestMethod] [TestMethod]
public async Task LoadItemDefinitionsAsync() public async Task LoadItemDefinitionsAsync()

View File

@ -10,7 +10,8 @@ namespace Steamworks
{ {
[TestClass] [TestClass]
[DeploymentItem( "steam_api64.dll" )] [DeploymentItem( "steam_api64.dll" )]
public class RemoteStorageTest [DeploymentItem( "steam_api.dll" )]
public class RemoteStorageTest
{ {
[TestMethod] [TestMethod]
public void Quotas() public void Quotas()

View File

@ -11,7 +11,8 @@ namespace Steamworks
{ {
[TestClass] [TestClass]
[DeploymentItem( "steam_api64.dll" )] [DeploymentItem( "steam_api64.dll" )]
public partial class ServerListTest [DeploymentItem( "steam_api.dll" )]
public partial class ServerListTest
{ {
[TestMethod] [TestMethod]
public void IpAddressConversions() public void IpAddressConversions()

View File

@ -10,7 +10,8 @@ namespace Steamworks
{ {
[TestClass] [TestClass]
[DeploymentItem( "steam_api64.dll" )] [DeploymentItem( "steam_api64.dll" )]
public class SteamMatchmakingTest [DeploymentItem( "steam_api.dll" )]
public class SteamMatchmakingTest
{ {
[TestMethod] [TestMethod]
public async Task LobbyList() public async Task LobbyList()

View File

@ -10,7 +10,8 @@ namespace Steamworks
{ {
[TestClass] [TestClass]
[DeploymentItem( "steam_api64.dll" )] [DeploymentItem( "steam_api64.dll" )]
public class SteamNetworkingTest [DeploymentItem( "steam_api.dll" )]
public class SteamNetworkingTest
{ {
[TestMethod] [TestMethod]
public async Task SendP2PPacket() public async Task SendP2PPacket()

View File

@ -10,7 +10,8 @@ namespace Steamworks
{ {
[TestClass] [TestClass]
[DeploymentItem( "steam_api64.dll" )] [DeploymentItem( "steam_api64.dll" )]
public class UgcEditor [DeploymentItem( "steam_api.dll" )]
public class UgcEditor
{ {
[TestMethod] [TestMethod]
public async Task CreateFile() public async Task CreateFile()

View File

@ -10,7 +10,8 @@ namespace Steamworks
{ {
[TestClass] [TestClass]
[DeploymentItem( "steam_api64.dll" )] [DeploymentItem( "steam_api64.dll" )]
public class UgcQueryTests [DeploymentItem( "steam_api.dll" )]
public class UgcQueryTests
{ {
[TestMethod] [TestMethod]
public async Task QueryAll() public async Task QueryAll()

View File

@ -10,7 +10,8 @@ namespace Steamworks
{ {
[TestClass] [TestClass]
[DeploymentItem( "steam_api64.dll" )] [DeploymentItem( "steam_api64.dll" )]
public class UgcTest [DeploymentItem( "steam_api.dll" )]
public class UgcTest
{ {
[TestMethod] [TestMethod]
public void Download() public void Download()

View File

@ -10,7 +10,8 @@ namespace Steamworks
{ {
[TestClass] [TestClass]
[DeploymentItem( "steam_api64.dll" )] [DeploymentItem( "steam_api64.dll" )]
public class UserStatsTest [DeploymentItem( "steam_api.dll" )]
public class UserStatsTest
{ {
[TestMethod] [TestMethod]
public async Task AchievementList() public async Task AchievementList()

View File

@ -11,7 +11,8 @@ namespace Steamworks
{ {
[TestClass] [TestClass]
[DeploymentItem( "steam_api64.dll" )] [DeploymentItem( "steam_api64.dll" )]
public class UserTest [DeploymentItem( "steam_api.dll" )]
public class UserTest
{ {
[TestMethod] [TestMethod]
public void GetVoice() public void GetVoice()

View File

@ -9,7 +9,8 @@ namespace Steamworks
{ {
[TestClass] [TestClass]
[DeploymentItem( "steam_api64.dll" )] [DeploymentItem( "steam_api64.dll" )]
public class UtilsTest [DeploymentItem( "steam_api.dll" )]
public class UtilsTest
{ {
[TestMethod] [TestMethod]
public void SecondsSinceAppActive() public void SecondsSinceAppActive()