Skip to content

Commit

Permalink
test: running locally tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LynxLynxx committed Nov 12, 2024
1 parent 4c03ef3 commit 4f37348
Show file tree
Hide file tree
Showing 9 changed files with 644 additions and 0 deletions.

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions catalyst_voices/test_reports/catalyst_cose.junit-report.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite errors="0" failures="0" tests="5" skipped="0" name=".frontend.packages.libs.catalyst_cose.test.catalyst_cose" timestamp="2024-11-12T13:26:43">
<properties>
<property name="platform" value="vm"/>
</properties>
<testcase classname=".frontend.packages.libs.catalyst_cose.test.catalyst_cose" name="CatalystCose sign1 generates a valid COSE_SIGN1 structure" time="0.069"/>
<testcase classname=".frontend.packages.libs.catalyst_cose.test.catalyst_cose" name="CatalystCose sign1 generates a valid cbor" time="0.009"/>
<testcase classname=".frontend.packages.libs.catalyst_cose.test.catalyst_cose" name="CatalystCose verifyCoseSign1 validates correct signature" time="0.015"/>
<testcase classname=".frontend.packages.libs.catalyst_cose.test.catalyst_cose" name="CatalystCose verifyCoseSign1 rejects invalid signatures" time="0.01"/>
<testcase classname=".frontend.packages.libs.catalyst_cose.test.catalyst_cose" name="CatalystCose verifyCoseSign1 handles invalid COSE_SIGN1 structure" time="0.007"/>
</testsuite>
</testsuites>
198 changes: 198 additions & 0 deletions catalyst_voices/test_reports/catalyst_voices.junit-report.xml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite errors="0" failures="0" tests="5" skipped="0" name=".frontend.packages.internal.catalyst_voices_blocs.test.session.session_cubit" timestamp="2024-11-12T13:28:20">
<properties>
<property name="platform" value="vm"/>
</properties>
<testcase classname=".frontend.packages.internal.catalyst_voices_blocs.test.session.session_cubit" name="SessionCubit when no keychain is found session is in Visitor state" time="0.027"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_blocs.test.session.session_cubit" name="SessionCubit when no keychain is found session is in Visitor state" time="0.11"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_blocs.test.session.session_cubit" name="SessionCubit when no keychain is found but there is a registration progress session is in Visitor state with correct flag" time="0.117"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_blocs.test.session.session_cubit" name="SessionCubit when keychain is locked session is in Guest state" time="0.209"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_blocs.test.session.session_cubit" name="SessionCubit when keychain is unlocked session is in Active state" time="0.259"/>
</testsuite>
</testsuites>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite errors="0" failures="0" tests="2" skipped="0" name=".frontend.packages.internal.catalyst_voices_brands.test.src.catalyst_voices_brands" timestamp="2024-11-12T13:28:29">
<properties>
<property name="platform" value="vm"/>
</properties>
<testcase classname=".frontend.packages.internal.catalyst_voices_brands.test.src.catalyst_voices_brands" name="Test brands Default Catalyst theme is applied" time="0.557"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_brands.test.src.catalyst_voices_brands" name="Test brand_assets Logo from Default theme is applied" time="0.058"/>
</testsuite>
</testsuites>
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite errors="0" failures="0" tests="12" skipped="0" name=".frontend.packages.internal.catalyst_voices_models.test.seed_phrase" timestamp="2024-11-12T13:28:35">
<properties>
<property name="platform" value="vm"/>
</properties>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.seed_phrase" name="SeedPhrase should generate a new SeedPhrase with random mnemonic" time="0.79"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.seed_phrase" name="SeedPhrase should generate a seed phrase with 12, 15, 18, 21, and 24 words" time="0.01"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.seed_phrase" name="SeedPhrase should throw an error for an invalid word count" time="0.005"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.seed_phrase" name="SeedPhrase should create SeedPhrase from a valid mnemonic" time="0.664"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.seed_phrase" name="SeedPhrase should create SeedPhrase from hex-encoded entropy" time="0.004"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.seed_phrase" name="SeedPhrase should throw an error for invalid mnemonic" time="0.005"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.seed_phrase" name="SeedPhrase should contain consistent mnemonic and seed in generated SeedPhrase" time="0.544"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.seed_phrase" name="SeedPhrase should split mnemonic into a list of words" time="0.005"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.seed_phrase" name="SeedPhrase toString should return hashed mnemonic" time="0.003"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.seed_phrase" name="SeedPhrase mnemonic words should be sorted" time="0.016"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.seed_phrase" name="SeedPhraseWord same word with different numbers are not equal" time="0.003"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.seed_phrase" name="SeedPhraseWord sorting list of words works base on nr" time="0.004"/>
</testsuite>
<testsuite errors="0" failures="0" tests="5" skipped="0" name=".frontend.packages.internal.catalyst_voices_models.test.optional" timestamp="2024-11-12T13:28:35">
<properties>
<property name="platform" value="vm"/>
</properties>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.optional" name="Optional&lt;Object> empty creates instance with null data" time="0.017"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.optional" name="Optional&lt;Object> default constructor accepts nullable data" time="0.004"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.optional" name="Optional&lt;Object> of constructor accepts non-nullable data" time="0.005"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.optional" name="Optional&lt;Object> dataOr returns optional data when not null" time="0.003"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.optional" name="Optional&lt;Object> dataOr returns fallback when called on null Optional" time="0.004"/>
</testsuite>
<testsuite errors="0" failures="0" tests="6" skipped="0" name=".frontend.packages.internal.catalyst_voices_models.test.auth.password_strength" timestamp="2024-11-12T13:28:35">
<properties>
<property name="platform" value="vm"/>
</properties>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.auth.password_strength" name="PasswordStrength weak password - too short" time="0.038"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.auth.password_strength" name="PasswordStrength weak password - too popular" time="0.056"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.auth.password_strength" name="PasswordStrength weak password - too simple" time="0.004"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.auth.password_strength" name="PasswordStrength normal password" time="0.005"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.auth.password_strength" name="PasswordStrength strong password" time="0.003"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.auth.password_strength" name="PasswordStrength strong password" time="0.003"/>
</testsuite>
<testsuite errors="0" failures="0" tests="2" skipped="0" name=".frontend.packages.internal.catalyst_voices_models.test.crypto.lock_factor" timestamp="2024-11-12T13:28:35">
<properties>
<property name="platform" value="vm"/>
</properties>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.crypto.lock_factor" name="PasswordLockFactor seed generates utf8 version of password" time="0.02"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.crypto.lock_factor" name="PasswordLockFactor toString does not contain password" time="0.006"/>
</testsuite>
<testsuite errors="0" failures="0" tests="3" skipped="0" name=".frontend.packages.internal.catalyst_voices_models.test.crypto.keychain_metadata" timestamp="2024-11-12T13:28:35">
<properties>
<property name="platform" value="vm"/>
</properties>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.crypto.keychain_metadata" name="Serialization json createAt to createdAt" time="0.019"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.crypto.keychain_metadata" name="Equality same source dates equals" time="0.004"/>
<testcase classname=".frontend.packages.internal.catalyst_voices_models.test.crypto.keychain_metadata" name="Equality different source dates equals" time="0.003"/>
</testsuite>
</testsuites>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite errors="0" failures="0" tests="0" skipped="0" name=".frontend.packages.internal.catalyst_voices_repositories.test.src.catalyst_voices_repositories" timestamp="2024-11-12T13:28:39">
<properties>
<property name="platform" value="vm"/>
</properties>
</testsuite>
<testsuite errors="0" failures="0" tests="1" skipped="0" name=".frontend.packages.internal.catalyst_voices_repositories.test.src.transaction.transaction_config_repository" timestamp="2024-11-12T13:28:39">
<properties>
<property name="platform" value="vm"/>
</properties>
<testcase classname=".frontend.packages.internal.catalyst_voices_repositories.test.src.transaction.transaction_config_repository" name="TransactionConfigRepository fetchConfig for all networks returns non empty fee" time="0.03"/>
</testsuite>
</testsuites>
Loading

0 comments on commit 4f37348

Please sign in to comment.