Skip to content

feat(navigation): add NavigationActions and the composable SideBarNavigation #19

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

Merged
merged 18 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
14c9265
feat: implement the NavigationActions.kt and SideBarNavigation.kt
mchac15 Oct 5, 2024
3ab0df7
feat: implement the NavigationActions.kt and SideBarNavigation.kt
mchac15 Oct 5, 2024
0a0e28d
feat: implement NavigationActionsTest.kt
mchac15 Oct 6, 2024
234bc69
feat: implement SideBarNavigationTest.kt with TestTags, update the gr…
mchac15 Oct 6, 2024
8fd5b02
Merge branch 'feat/11-add-navigation' of github.com:HikeMate/hikeMate…
mchac15 Oct 6, 2024
eb47cd5
feat: add documentation to both NavigationActions.kt and SideBarNavig…
mchac15 Oct 6, 2024
f5da834
fix: run ktfmtFormat
mchac15 Oct 6, 2024
b81c067
feat: add tests to NavigationActionsTest.kt and SideBarNavigationTest.kt
mchac15 Oct 6, 2024
a907295
Merge remote-tracking branch 'origin/main' into feat/add-navigation
mchac15 Oct 6, 2024
4f7eef9
feat: add tests to SideBarNavigationTests.kt
mchac15 Oct 6, 2024
f2f2463
fix: bug in test in SideBarNavigationTest.kt drawer should be open ev…
mchac15 Oct 6, 2024
896d186
feat: add tests to SideBarNavigationTest.kt
mchac15 Oct 7, 2024
e48d2ba
feat: add tests to SideBarNavigationTests.kt and NavigationActionsTes…
mchac15 Oct 7, 2024
6356284
fix: dependency issues in tests, removed Auth as a TopLevelDestinatio…
mchac15 Oct 7, 2024
3478e7f
fix: remove comment GradelDependency
mchac15 Oct 7, 2024
ac79a81
fix: remove unnecessary import in SideBarNavigation.kt
mchac15 Oct 7, 2024
4f32bd1
fix: change according to PR review.
mchac15 Oct 10, 2024
a37407d
fix: make AUTH a TopLevelDestination
mchac15 Oct 10, 2024
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
33 changes: 32 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ dependencies {
implementation(libs.androidx.lifecycle.runtime.ktx)
implementation(platform(libs.compose.bom))
implementation(libs.firebase.firestore.ktx)
implementation(libs.androidx.navigation.runtime.ktx)
implementation(libs.androidx.navigation.common.ktx)
implementation(libs.androidx.navigation.testing)
testImplementation(libs.junit)
globalTestImplementation(libs.androidx.junit)
globalTestImplementation(libs.androidx.espresso.core)
Expand Down Expand Up @@ -155,11 +158,39 @@ dependencies {
implementation(platform(libs.firebase.bom))

// Adds a remote binary dependency only for local tests.
testImplementation(libs.junit)

testImplementation (libs.mockito.inline)
testImplementation (libs.mockito.android)
testImplementation ("org.mockito:mockito-core:3.12.4")
testImplementation ("org.mockito.kotlin:mockito-kotlin:3.2.0")
androidTestImplementation(libs.androidx.espresso.core)
androidTestImplementation (libs.ui.test.junit4)
androidTestImplementation (libs.mockito.mockito.kotlin)
debugImplementation (libs.ui.test.manifest)
// JUnit
testImplementation(libs.junit)
androidTestImplementation(libs.junit)

// AndroidX Test
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)

// Compose UI Testing
androidTestImplementation(libs.compose.test.junit)
debugImplementation(libs.compose.test.manifest)

// For both unit and instrumented tests
testImplementation(libs.compose.test.junit)
testImplementation(libs.compose.test.manifest)

// Mockito
testImplementation("org.mockito:mockito-core:3.12.4")
testImplementation("org.mockito.kotlin:mockito-kotlin:3.2.0")
androidTestImplementation("org.mockito:mockito-android:3.12.4")
androidTestImplementation("org.mockito.kotlin:mockito-kotlin:3.2.0")

// Robolectric (for unit tests that require Android framework)
testImplementation(libs.robolectric)
// To fix an issue with Firebase and the Protobuf library
configurations.configureEach {
exclude(group = "com.google.protobuf", module = "protobuf-lite")
Expand Down
Loading