Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #192 from shazam/agp-7-1
Browse files Browse the repository at this point in the history
Update Android Gradle plugin to 7.1.3
  • Loading branch information
AndreiZaitcev authored Apr 13, 2022
2 parents 0bf0be7 + f5846c5 commit 2a96ef0
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1

- name: Run tests
run: ./build-scripts/run_tests.sh

- name: Deploy Snapshot
run: ./build-scripts/deploy_snapshot.sh
env:
Expand Down
9 changes: 9 additions & 0 deletions build-scripts/run_tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
#
# Run tests for all modules
#

set -e

echo "Running tests..."
./gradlew test
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ ext.targetCompatibility = JavaVersion.VERSION_1_8


ext {
androidPluginVersion = "7.0.1"
ddmlibVersion = "30.0.1"
androidPluginVersion = "7.1.3"
ddmlibVersion = "30.1.3"
jcommanderVersion = "1.48"
slf4jVersion = "1.7.21"
guavaVersion = "19.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
import static com.shazam.fork.model.Diagnostics.VIDEO;
import static com.shazam.fork.summary.ResultStatus.IGNORED;
import static com.shazam.fork.summary.ResultStatus.PASS;
import static com.shazam.fork.utils.ReadableNames.*;
import static com.shazam.fork.utils.ReadableNames.readableClassName;
import static com.shazam.fork.utils.ReadableNames.readablePoolName;
import static com.shazam.fork.utils.ReadableNames.readableTestMethodName;

class HtmlConverters {

Expand Down Expand Up @@ -130,13 +132,14 @@ public static Function<LogCatMessage, HtmlLogCatMessage> toHtmlLogCatMessages()
@Override
public HtmlLogCatMessage apply(@Nullable LogCatMessage logCatMessage) {
HtmlLogCatMessage htmlLogCatMessage = new HtmlLogCatMessage();
htmlLogCatMessage.appName = logCatMessage.getAppName();
htmlLogCatMessage.logLevel = logCatMessage.getLogLevel().getStringValue();
htmlLogCatMessage.appName = logCatMessage.getHeader().getAppName();
htmlLogCatMessage.logLevel =
logCatMessage.getHeader().getLogLevel().getStringValue();
htmlLogCatMessage.message = logCatMessage.getMessage();
htmlLogCatMessage.pid = logCatMessage.getPid();
htmlLogCatMessage.tag = logCatMessage.getTag();
htmlLogCatMessage.tid = logCatMessage.getTid();
htmlLogCatMessage.time = logCatMessage.getTimestamp().toString();
htmlLogCatMessage.pid = logCatMessage.getHeader().getPid();
htmlLogCatMessage.tag = logCatMessage.getHeader().getTag();
htmlLogCatMessage.tid = logCatMessage.getHeader().getTid();
htmlLogCatMessage.time = logCatMessage.getHeader().getTimestamp().toString();
return htmlLogCatMessage;
}
};
Expand Down

0 comments on commit 2a96ef0

Please sign in to comment.