Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: merkle-testfixtures added #10135

Closed
wants to merge 5 commits into from
Closed

Conversation

hendrikebbers
Copy link
Member

@hendrikebbers hendrikebbers commented Nov 28, 2023

Adding testFixtures source set to merkle module
Part of #7168

Signed-off-by: Hendrik Ebbers <[email protected]>
Signed-off-by: Hendrik Ebbers <[email protected]>
Signed-off-by: Hendrik Ebbers <[email protected]>
@hendrikebbers hendrikebbers changed the title merkle-testfixtures started merkle-testfixtures added Nov 28, 2023
@hendrikebbers hendrikebbers self-assigned this Nov 28, 2023
@hendrikebbers hendrikebbers marked this pull request as ready for review November 28, 2023 12:57
@hendrikebbers hendrikebbers requested review from a team as code owners November 28, 2023 12:57
Copy link

github-actions bot commented Nov 28, 2023

Node: HAPI Test (Crypto) Results

211 tests   204 ✔️  18m 1s ⏱️
  22 suites      7 💤
  22 files        0

Results for commit 3956756.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Nov 28, 2023

Node: Unit Test Results

    2 292 files  ±0      2 292 suites  ±0   52m 1s ⏱️ + 2m 42s
118 434 tests ±0  118 400 ✔️ ±0  34 💤 ±0  0 ±0 
126 851 runs  ±0  126 817 ✔️ ±0  34 💤 ±0  0 ±0 

Results for commit 3956756. ± Comparison against base commit 39cb277.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Nov 28, 2023

Node: HAPI Test (Token) Results

189 tests   189 ✔️  17m 4s ⏱️
  13 suites      0 💤
  13 files        0

Results for commit 3956756.

♻️ This comment has been updated with latest results.

Copy link

codecov bot commented Nov 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (develop@39cb277). Click here to learn what that means.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop   #10135   +/-   ##
==========================================
  Coverage           ?   63.28%           
  Complexity         ?    30740           
==========================================
  Files              ?     3333           
  Lines              ?   134512           
  Branches           ?    14021           
==========================================
  Hits               ?    85132           
  Misses             ?    46031           
  Partials           ?     3349           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Nov 28, 2023

Node: HAPI Test (Misc) Results

420 tests   326 ✔️  30m 18s ⏱️
  74 suites    94 💤
  74 files        0

Results for commit 3956756.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Nov 28, 2023

Node: HAPI Test (Time Consuming) Results

21 tests     9 ✔️  25m 27s ⏱️
  2 suites  12 💤
  2 files      0

Results for commit 3956756.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Nov 28, 2023

Node: E2E Test Results

    1 files      1 suites   24m 12s ⏱️
311 tests 311 ✔️ 0 💤 0
333 runs  333 ✔️ 0 💤 0

Results for commit 3956756.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Nov 28, 2023

Node: Integration Test Results

278 tests  ±0   278 ✔️ +1   26m 48s ⏱️ -5s
    5 suites ±0       0 💤 ±0 
    5 files   ±0       0  - 1 

Results for commit 3956756. ± Comparison against base commit 39cb277.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Nov 28, 2023

Node: HAPI Test (Smart Contract) Results

398 tests   365 ✔️  42m 48s ⏱️
  55 suites    33 💤
  55 files        0

Results for commit 3956756.

♻️ This comment has been updated with latest results.

imalygin
imalygin previously approved these changes Nov 28, 2023
lpetrovic05
lpetrovic05 previously approved these changes Nov 29, 2023
@hendrikebbers hendrikebbers changed the title merkle-testfixtures added chore!: merkle-testfixtures added Dec 4, 2023
jeromy-cannon
jeromy-cannon previously approved these changes Dec 4, 2023
@hendrikebbers hendrikebbers changed the title chore!: merkle-testfixtures added chore: merkle-testfixtures added Dec 4, 2023
# Conflicts:
#	build-logic/project-plugins/src/main/kotlin/com.hedera.hashgraph.jpms-module-dependencies.gradle.kts
#	platform-sdk/platform-apps/tests/PlatformTestingTool/src/main/java/com/swirlds/demo/merkle/map/FCMTransactionHandler.java
#	platform-sdk/platform-apps/tests/PlatformTestingTool/src/main/java/com/swirlds/demo/merkle/map/FCMTransactionPool.java
#	platform-sdk/platform-apps/tests/PlatformTestingTool/src/main/java/com/swirlds/demo/merkle/map/FCMTransactionUtils.java
#	platform-sdk/platform-apps/tests/PlatformTestingTool/src/main/java/com/swirlds/demo/merkle/map/internal/ExpectedFCMFamilyImpl.java
#	platform-sdk/platform-apps/tests/PlatformTestingTool/src/main/java/com/swirlds/demo/merkle/map/internal/ExpectedMapUtils.java
#	platform-sdk/platform-apps/tests/PlatformTestingTool/src/main/java/com/swirlds/demo/platform/FCMQueryController.java
#	platform-sdk/platform-apps/tests/PlatformTestingTool/src/main/java/com/swirlds/demo/platform/PlatformTestingToolMain.java
#	platform-sdk/platform-apps/tests/PlatformTestingTool/src/main/java/com/swirlds/demo/platform/PlatformTestingToolState.java
#	platform-sdk/platform-apps/tests/PlatformTestingTool/src/main/java/com/swirlds/demo/platform/nft/NftSimpleQuerier.java
#	platform-sdk/platform-apps/tests/PlatformTestingTool/src/main/java/com/swirlds/demo/platform/stream/AccountBalanceExport.java
#	platform-sdk/platform-apps/tests/PlatformTestingTool/src/main/java/com/swirlds/demo/virtualmerkle/transaction/handler/VirtualMerkleTransactionHandler.java
#	platform-sdk/platform-apps/tests/PlatformTestingTool/src/test/java/com/swirlds/demo/merkle/map/internal/ExpectedFCMFamilyTest.java
#	platform-sdk/platform-apps/tests/PlatformTestingTool/src/test/java/com/swirlds/demo/platform/PttTransactionPoolTest.java
#	platform-sdk/swirlds-unit-tests/structures/swirlds-merkle-test/src/main/java/module-info.java
Signed-off-by: Hendrik Ebbers <[email protected]>
@@ -160,7 +157,9 @@ public static List<MapKey> getMapKeys(final FCMTransaction fcmTransaction) {
}

private static boolean isBodyRelatedToNft(final Object body) {
return body instanceof TransferToken || body instanceof BurnToken || body instanceof MintToken;
return body instanceof com.swirlds.demo.platform.fs.stresstest.proto.TransferToken
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there reason for using fully-qualified names here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants