mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
fixed several tests that assume english localization
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
using mRemoteNG.Config.Serializers.Xml;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Xml.Linq;
|
||||
using mRemoteNG.Config.Serializers.Xml;
|
||||
using mRemoteNG.Security;
|
||||
using mRemoteNG.Security.Factories;
|
||||
using mRemoteNG.Security.SymmetricEncryption;
|
||||
using mRemoteNG.Tree.Root;
|
||||
using NUnit.Framework;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace mRemoteNGTests.Config.Serializers.ConnectionSerializers.Xml
|
||||
{
|
||||
public class XmlRootNodeSerializerTests
|
||||
public class XmlRootNodeSerializerTests
|
||||
{
|
||||
private XmlRootNodeSerializer _rootNodeSerializer;
|
||||
private ICryptographyProvider _cryptographyProvider;
|
||||
@@ -34,6 +34,7 @@ namespace mRemoteNGTests.Config.Serializers.ConnectionSerializers.Xml
|
||||
}
|
||||
|
||||
[Test]
|
||||
[SetUICulture("en-US")]
|
||||
public void RootNodeInfoNameSerialized()
|
||||
{
|
||||
var element = _rootNodeSerializer.SerializeRootNodeInfo(_rootNodeInfo, _cryptographyProvider, _version);
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
using NUnit.Framework;
|
||||
using mRemoteNG.UI.Forms;
|
||||
using NUnit.Extensions.Forms;
|
||||
using mRemoteNG.UI.Forms;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace mRemoteNGTests.UI.Forms
|
||||
{
|
||||
[TestFixture]
|
||||
[TestFixture]
|
||||
public class PasswordFormTests
|
||||
{
|
||||
PasswordForm _passwordForm;
|
||||
@@ -27,6 +27,7 @@ namespace mRemoteNGTests.UI.Forms
|
||||
}
|
||||
|
||||
[Test]
|
||||
[SetUICulture("en-US")]
|
||||
public void PasswordFormText()
|
||||
{
|
||||
FormTester formTester = new FormTester("PasswordForm");
|
||||
|
||||
Reference in New Issue
Block a user