Пример #1
0
 public BranchDetectingTxVerifier(LogProvider logProvider, TransactionChecksumLookup txChecksumLookup)
 {
     this._log = logProvider.getLog(this.GetType());
     this._txChecksumLookup = txChecksumLookup;
 }
Пример #2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void lookupChecksumUsingCommittedTransaction() throws Exception
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
        public virtual void LookupChecksumUsingCommittedTransaction()
        {
            TransactionChecksumLookup checksumLookup = new TransactionChecksumLookup(_transactionIdStore, _transactionStore);

            assertEquals(1, checksumLookup.Lookup(1));
        }
Пример #3
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void lookupChecksumUsingTransactionStore() throws Exception
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
        public virtual void LookupChecksumUsingTransactionStore()
        {
            TransactionChecksumLookup checksumLookup = new TransactionChecksumLookup(_transactionIdStore, _transactionStore);

            assertEquals(3, checksumLookup.Lookup(3));
        }
Пример #4
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void lookupChecksumUsingUpgradeTransaction() throws Exception
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
        public virtual void LookupChecksumUsingUpgradeTransaction()
        {
            TransactionChecksumLookup checksumLookup = new TransactionChecksumLookup(_transactionIdStore, _transactionStore);

            assertEquals(2, checksumLookup.Lookup(2));
        }