Skip to content

Commit

Permalink
Revert previous changes
Browse files Browse the repository at this point in the history
  • Loading branch information
adhiamboperes committed Aug 20, 2024
1 parent 08eb249 commit 301a095
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class HomeActivity :

@Inject
lateinit var activityRouter: ActivityRouter
// #HomeActivity github action changes

private var internalProfileId: Int = -1

companion object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class GitClient(
private fun retrieveCurrentBranch(): String {
return executeGitCommandWithOneLineOutput("rev-parse --abbrev-ref HEAD")
}
// #GitClient github action changes

private fun retrieveBranchMergeBase(): String {
return executeGitCommandWithOneLineOutput("merge-base $baseCommit HEAD").also {
if (baseCommit != it) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ class ComputeAabDifferencesTest {
scriptBgDispatcher.close()
}

@Test
fun testComputeBuildStats_forZeroProfiles_returnsEmptyStats() {
val differencesUtility = createComputeAabDifferences()

val stats = differencesUtility.computeBuildStats()

assertThat(stats.aabStats).isEmpty()
}

@Test
fun testComputeBuildStats_forProfileWithMissingFiles_throwsException() {
val differencesUtility = createComputeAabDifferences()
Expand Down

0 comments on commit 301a095

Please sign in to comment.