Skip to content

Commit

Permalink
test: consolidate test helpers (#169)
Browse files Browse the repository at this point in the history
* test: build transactions without using tree

* test: hashchains can be acquired from TransactionBuilder

* test: Remove obsolete TestTreeState code from integration test

* test: Extend transaction builder capabilities

* test: Replace TestTreeState with TransactionBuilder in KeyDirectoryTreeUnitTests

* test: extend capabilities to create invalid transactions

* test: remove TestTreeState
  • Loading branch information
jns-ps authored Dec 12, 2024
1 parent f78924e commit 0f2f977
Show file tree
Hide file tree
Showing 6 changed files with 298 additions and 455 deletions.
2 changes: 0 additions & 2 deletions crates/common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,5 @@ pub mod tree;
#[macro_use]
extern crate log;

#[cfg(feature = "test_utils")]
pub mod test_utils;
#[cfg(feature = "test_utils")]
pub mod transaction_builder;
275 changes: 0 additions & 275 deletions crates/common/src/test_utils.rs

This file was deleted.

Loading

0 comments on commit 0f2f977

Please sign in to comment.