diff --git a/.Lib9c.Tests/Model/Stake/ContractTest.cs b/.Lib9c.Tests/Model/Stake/ContractTest.cs index 5c5bf3e8c1..739c8b83e4 100644 --- a/.Lib9c.Tests/Model/Stake/ContractTest.cs +++ b/.Lib9c.Tests/Model/Stake/ContractTest.cs @@ -19,7 +19,7 @@ public class ContractTest Contract.StakeRegularRewardSheetPrefix + "test", long.MaxValue, long.MaxValue)] - public void Constructor_Default( + public void Constructor( string stakeRegularFixedRewardSheetTableName, string stakeRegularRewardSheetTableName, long rewardInterval, @@ -127,7 +127,7 @@ public void Constructor_With_StakePolicySheet_Throw_ArgumentNullException() [Theory] [InlineData(StakePolicySheetFixtures.V1)] [InlineData(StakePolicySheetFixtures.V2)] - public void Constructor_StakePolicySheet(string stakePolicySheetCsv) + public void Constructor_With_StakePolicySheet(string stakePolicySheetCsv) { var sheet = new StakePolicySheet(); sheet.Set(stakePolicySheetCsv); diff --git a/.Lib9c.Tests/Model/Stake/StakeStateV2Test.cs b/.Lib9c.Tests/Model/Stake/StakeStateV2Test.cs index f637384f19..924baefb0f 100644 --- a/.Lib9c.Tests/Model/Stake/StakeStateV2Test.cs +++ b/.Lib9c.Tests/Model/Stake/StakeStateV2Test.cs @@ -19,7 +19,7 @@ public void DeriveAddress() [Theory] [InlineData(0, 0)] [InlineData(long.MaxValue, long.MaxValue)] - public void Constructor_Default(long startedBlockIndex, long receivedBlockIndex) + public void Constructor(long startedBlockIndex, long receivedBlockIndex) { var contract = new Contract( Contract.StakeRegularFixedRewardSheetPrefix, @@ -60,7 +60,7 @@ public void Constructor_Throw_ArgumentOutOfRangeException( [InlineData(0, 0)] [InlineData(long.MaxValue, null)] [InlineData(long.MaxValue, long.MaxValue)] - public void Constructor_StakeState(long startedBlockIndex, long? receivedBlockIndex) + public void Constructor_With_StakeState(long startedBlockIndex, long? receivedBlockIndex) { var stakeState = new StakeState( new PrivateKey().ToAddress(), @@ -82,7 +82,7 @@ public void Constructor_StakeState(long startedBlockIndex, long? receivedBlockIn } [Fact] - public void Constructor_StakeState_Throw_ArgumentNullException() + public void Constructor_With_StakeState_Throw_ArgumentNullException() { var stakeState = new StakeState(new PrivateKey().ToAddress(), 0); var contract = new Contract(