Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
676b589
chore(deps): bump com.android.application from 8.10.1 to 8.11.1
dependabot[bot] Jul 14, 2025
9f3ca9a
deps: update Gradle to 8.13 and bump version in libs.versions.toml
superus8r Jul 20, 2025
5951f6f
Merge pull request #49 from superus8r/deps/update_gradle
superus8r Jul 20, 2025
ee080df
Merge branch 'develop' into dependabot/gradle/com.android.application…
superus8r Jul 20, 2025
437b0fe
ci:run distribute-internal-testing only after successful tests
superus8r Jul 20, 2025
2840e07
ci:make android_setup reusable
superus8r Jul 20, 2025
468bb3b
ci:remove unncessary lint lane and use the gradlew command directly
superus8r Jul 20, 2025
fe5b8ab
ci: hopefully add caching to jobs that run on docker
superus8r Jul 20, 2025
ce84bd4
fix: fix incorrect jobname in the config
superus8r Jul 20, 2025
47141c3
chore: update bundlder dependencies
superus8r Jul 20, 2025
33df292
ci: include architecture in bundler cache key
superus8r Jul 20, 2025
7c8ee51
ci: update ruby orb
superus8r Jul 20, 2025
2bd8f85
ci: update circleci android-machine and android-docker
superus8r Jul 20, 2025
4c90387
ci: avoid manually installing ruby in docker images that already prov…
superus8r Jul 20, 2025
b7754eb
Merge pull request #50 from superus8r/ci/prioritize_circle_ci_jobs
superus8r Jul 20, 2025
e847168
tests: add unit tests for MainActivityViewModel
superus8r Jul 20, 2025
73d0925
docs: document a TODO for fixing the unused value of hasPermission.
superus8r Jul 20, 2025
52a9918
tests: improve MainActivityViewModelTest with additional connection s…
superus8r Jul 20, 2025
3fbca75
nitpick: change openDeviceAndPort to private in MainActivityViewModel
superus8r Jul 20, 2025
17e4532
docs: add TODO comments for DROID-17 in MainActivityViewModel
superus8r Jul 20, 2025
745467c
tests: refactor MainActivityViewModelTest setup and cleanup methods
superus8r Jul 20, 2025
8e985a7
refactor: move USB device observation out of the init method
superus8r Jul 20, 2025
9416aa1
refactor(tests): use runTest block
superus8r Jul 20, 2025
0ed880c
tests: make sure connectIfAlreadyHasPermission works as expected
superus8r Jul 20, 2025
7538082
tests: make sure startObservingUsbDevice works as expected
superus8r Jul 20, 2025
1416d96
tests: make sure startObservingUsbDevice works as expected when the d…
superus8r Jul 20, 2025
2e7737a
tests(nitpick): standardize comment casing to match the rest of the t…
superus8r Jul 20, 2025
2263ad6
tests: make sure disconnect and serialWrite methods work as expected
superus8r Jul 20, 2025
8cf9bfc
nitpick: reformat the file
superus8r Jul 20, 2025
24dab40
nitpick: reformat MainActivity; no changes
superus8r Jul 20, 2025
d0c7087
nitpick(refactor): avoid wildcard imports
superus8r Aug 7, 2025
06b4eff
chore: hopefully fix jacoco
superus8r Aug 7, 2025
ce5e28d
chore: exclude MainActivity file from jacoco because it was being sho…
superus8r Aug 7, 2025
cc2197c
tests: make sure all branches are covered for getArduinoType
superus8r Aug 7, 2025
6bab0ea
tests: avoid using mockkstatic and return vendorId and productId
superus8r Aug 7, 2025
3aa15b9
tests: avoid using mockkstatic and return vendorId and productId
superus8r Aug 7, 2025
4dce806
nitpick: fix formatting to match ktlint rules
superus8r Aug 7, 2025
5933ac3
Merge pull request #51 from superus8r/tests/Improve-test-coverage
superus8r Aug 7, 2025
9a4f772
chore(deps): bump mockk from 1.14.2 to 1.14.5
dependabot[bot] Aug 7, 2025
dd8bc04
chore(deps): bump androidx.lifecycle:lifecycle-runtime-ktx
dependabot[bot] Aug 7, 2025
cf2dcd8
chore(deps): remove unused firebase dependency
superus8r Aug 28, 2025
a290c96
Merge pull request #52 from superus8r/dependabot/gradle/mockk-1.14.5
superus8r Aug 28, 2025
b877668
Merge branch 'develop' into dependabot/gradle/com.android.application…
superus8r Aug 28, 2025
ae4ad5a
Merge pull request #48 from superus8r/dependabot/gradle/com.android.a…
superus8r Aug 30, 2025
cc7f549
Merge branch 'develop' into dependabot/gradle/androidx.lifecycle-life…
superus8r Aug 30, 2025
57bd271
feat: add auto scroll switch composable
superus8r Aug 30, 2025
664b0cd
tests: add auto scroll setting to getFakeUserSettingRepository
superus8r Aug 30, 2025
5c7e9bf
res: add auto-scroll terminal output label to settings
superus8r Aug 30, 2025
4f164cf
feat: add auto scroll preference to UserSettingRepository; move tests…
superus8r Aug 30, 2025
be838c1
feat: implement GetAutoScrollUseCase and its test
superus8r Aug 30, 2025
e618352
feat: implement SetAutoScrollUseCase and its test
superus8r Aug 30, 2025
6bd22b2
tests: enhance GetAutoScrollUseCaseTest with additional assertions fo…
superus8r Aug 30, 2025
18c9e99
feat: add providers for GetAutoScrollUseCase and SetAutoScrollUseCase…
superus8r Aug 30, 2025
6bb5700
feat: add autoScroll preference to UserSettingPreferences data class
superus8r Aug 30, 2025
795acff
test: add cleanup method
superus8r Aug 30, 2025
398efae
feat: add autoScroll functionality to SettingViewModel and add tests …
superus8r Aug 30, 2025
e69868a
feat: add auto-scroll toggle to settings UI
superus8r Aug 30, 2025
9ecf7b2
feat: implement auto-scroll functionality in MainActivity based on se…
superus8r Aug 30, 2025
cb894e6
feat: set default auto-scroll value when the user clicks on default b…
superus8r Aug 30, 2025
b51a688
test: move Get/Set-CustomBaudRateUseCase tests to unit tests director…
superus8r Aug 30, 2025
db7935e
refactor: remove FrequentMocks.kt
superus8r Aug 30, 2025
5929df8
test: add Compose tests for SettingContent to verify displayed texts
superus8r Aug 30, 2025
2b59b2e
fix: improve auto-scroll text in settings item
superus8r Aug 30, 2025
14945c3
refactor: rename auto-scroll setting component to SettingSwitchItem f…
superus8r Aug 30, 2025
e8450f3
tests: add Android Compose tests for SettingSwitchItem functionality
superus8r Aug 30, 2025
90dd528
refactor: change interface declaration to a fun interface for GetAuto…
superus8r Aug 30, 2025
af6a073
Merge pull request #56 from superus8r/feature/DROID-17/AddAutoScrollS…
superus8r Aug 30, 2025
f4eb19a
chore: stop tracking IDE files .idea/androidTestResultsUserPreference…
superus8r Aug 30, 2025
fd6d2c6
Merge branch 'develop' into dependabot/gradle/androidx.lifecycle-life…
superus8r Aug 30, 2025
ab556fc
Merge pull request #53 from superus8r/dependabot/gradle/androidx.life…
superus8r Aug 30, 2025
4cbb39f
chore: bump version code and version number
superus8r Aug 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 25 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2.1
orbs:
codecov: codecov/codecov@5.4.3
ruby: circleci/ruby@2.0.0
ruby: circleci/ruby@2.5.3

commands:
restore_gradle_cache:
Expand All @@ -10,10 +10,11 @@ commands:
key: v1-gradle-wrapper-{{ arch }}-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }}
- restore_cache:
key: v1-gradle-cache-{{ arch }}-{{ checksum "build.gradle.kts" }}-{{ checksum "settings.gradle.kts" }}-{{ checksum "gradle.properties" }}-{{ checksum "app/build.gradle.kts" }}-{{ checksum "gradle/libs.versions.toml" }}

restore_bundler_cache:
steps:
- restore_cache:
key: v1-bundler-cache-{{ checksum "Gemfile.lock" }}
key: v1-bundler-cache-{{ arch }}-{{ checksum "Gemfile.lock" }}

save_gradle_cache:
steps:
Expand All @@ -25,41 +26,46 @@ commands:
paths:
- ~/.gradle/caches
key: v1-gradle-cache-{{ arch }}-{{ checksum "build.gradle.kts" }}-{{ checksum "settings.gradle.kts" }}-{{ checksum "gradle.properties" }}-{{ checksum "app/build.gradle.kts" }}-{{ checksum "gradle/libs.versions.toml" }}

save_bundler_cache:
steps:
- save_cache:
paths:
- vendor/bundle
key: v1-bundler-cache-{{ checksum "Gemfile.lock" }}

setup_android:
steps:
- checkout
- restore_gradle_cache
- restore_bundler_cache

executors:
android-machine:
machine:
image: android:2024.01.1
image: android:2024.11.1
android-docker:
docker:
- image: cimg/android:2024.01
- image: cimg/android:2025.04

jobs:
android-test:
executor: android-machine
resource_class: large
steps:
- checkout
- restore_gradle_cache
- restore_bundler_cache
- setup_android
- ruby/install-deps:
with-cache: true
- run:
name: Fastlane - run all tests with coverage report
command: |
bundle exec fastlane testDev
bundle exec fastlane lint
- run: ./gradlew lintDebug
- save_gradle_cache
- save_bundler_cache
- run:
name: Analyze on SonarCloud
command: ./gradlew lintDebug sonar
command: ./gradlew sonar
- codecov/upload:
files: app/build/mergedReportDir/jacocoTestReport/jacocoTestReport.xml
- store_test_results:
Expand All @@ -71,14 +77,15 @@ jobs:
executor: android-docker
resource_class: large
steps:
- checkout
- restore_gradle_cache
- setup_android
- run:
name: Prepare Fastlane
command: sudo bundle update
- run:
name: Distribute to Firebase AppTester Dev
command: bundle exec fastlane distDev
- save_gradle_cache
- save_bundler_cache
- store_artifacts:
path: /home/circleci/project/app/build/outputs/apk/debug/app-debug.apk
destination: fastlane-output-debug
Expand All @@ -87,8 +94,7 @@ jobs:
executor: android-docker
resource_class: large
steps:
- checkout
- restore_gradle_cache
- setup_android
- run:
name: Prepare Fastlane
command: sudo bundle update
Expand All @@ -98,6 +104,8 @@ jobs:
- run:
name: Distribute to Firebase AppTester Prod
command: bundle exec fastlane distProd
- save_gradle_cache
- save_bundler_cache
- store_artifacts:
path: /home/circleci/project/app/build/outputs/bundle/release/app-release.aab
destination: fastlane-output-release
Expand All @@ -108,4 +116,7 @@ workflows:
- android-test:
context: SonarCloud
- distribute-dev
- distribute-internal-testing
- distribute-internal-testing:
requires:
- android-test

144 changes: 0 additions & 144 deletions .idea/androidTestResultsUserPreferences.xml

This file was deleted.

122 changes: 0 additions & 122 deletions .idea/codeStyles/Project.xml

This file was deleted.

Loading