Skip to content

Commit ff903df

Browse files
Consolidate MoneroWalletRpc
1 parent 343f277 commit ff903df

32 files changed

Lines changed: 9620 additions & 1806 deletions

Monero.Test/TestMoneroWalletCommon.cs

Lines changed: 5886 additions & 39 deletions
Large diffs are not rendered by default.

Monero.Test/TestMoneroWalletLight.cs

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,28 @@
1-
using Monero.Wallet;
1+
using Monero.Daemon;
2+
using Monero.Wallet;
23
using Monero.Wallet.Common;
34

45
namespace Monero.Test;
56

6-
public class TestMoneroWalletLight : TestMoneroWalletCommon
7+
public class MoneroWalletLightFixture : MoneroWalletCommonFixture
78
{
9+
public new MoneroWalletLight _wallet;
10+
public MoneroDaemonLws _lws;
11+
12+
public MoneroWalletLightFixture(MoneroWalletLight wallet, MoneroDaemonRpc daemon, MoneroDaemonLws lws) : base(wallet, daemon)
13+
{
14+
// Before All
15+
_wallet = wallet;
16+
_lws = lws;
17+
}
18+
}
19+
20+
public class TestMoneroWalletLight : TestMoneroWalletCommon, IClassFixture<MoneroWalletLightFixture>
21+
{
22+
public TestMoneroWalletLight(MoneroWalletLightFixture walletLightFixture) : base(walletLightFixture)
23+
{
24+
25+
}
826

927
protected override void CloseWallet(MoneroWallet wallet, bool save)
1028
{
@@ -30,4 +48,4 @@ protected override MoneroWallet OpenWallet(MoneroWalletConfig config)
3048
{
3149
throw new NotImplementedException();
3250
}
33-
}
51+
}

0 commit comments

Comments
 (0)