diff --git a/AndroidApp/.idea/kotlinc.xml b/AndroidApp/.idea/kotlinc.xml index 8ad8c861..c224ad56 100644 --- a/AndroidApp/.idea/kotlinc.xml +++ b/AndroidApp/.idea/kotlinc.xml @@ -1,6 +1,6 @@ - \ No newline at end of file diff --git a/AndroidApp/README.md b/AndroidApp/README.md index 2cdc03fd..d636cd94 100644 --- a/AndroidApp/README.md +++ b/AndroidApp/README.md @@ -15,6 +15,12 @@ - 結果 - https://github.com/ptkNktq/AndroidNotificationNotifier/tree/develop/AndroidApp/ui/build/reports/screenshotTest/preview/debug/.html +###### 注意事項 + +- ⚠ Windows環境だと、`CreateProcess error=206, ファイル名または拡張子が長すぎます。`というエラーが出る可能性がある + ⚠ + - 諦めてwsl2等使おう + ### 注意事項 - AGPの更新をするときはAndroid Studioとの互換性を確認すること diff --git a/AndroidApp/build.gradle.kts b/AndroidApp/build.gradle.kts index 86f8b042..db0d8c00 100644 --- a/AndroidApp/build.gradle.kts +++ b/AndroidApp/build.gradle.kts @@ -6,8 +6,3 @@ plugins { alias(libs.plugins.com.google.devtools.ksp) apply false alias(libs.plugins.com.jaredsburrows.license) apply false } - -// https://github.com/facebook/react-native/issues/44501#issuecomment-2112926438 -gradle.startParameter.excludedTaskNames.addAll( - gradle.startParameter.taskNames.filter { it.contains("testClasses") } -) \ No newline at end of file diff --git a/AndroidApp/gradle/libs.versions.toml b/AndroidApp/gradle/libs.versions.toml index aee2f9ff..4da20ba6 100644 --- a/AndroidApp/gradle/libs.versions.toml +++ b/AndroidApp/gradle/libs.versions.toml @@ -71,6 +71,7 @@ androidx-test-ext-junit = { module = "androidx.test.ext:junit", version.ref = "a androidx-test-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "androidx-test-espresso" } mockk = { module = "io.mockk:mockk", version.ref = "mockk" } mockk-android = { module = "io.mockk:mockk-android", version.ref = "mockk" } +screenshot-validation-api = { group = "com.android.tools.screenshot", name = "screenshot-validation-api", version.ref = "androidx-compose-screenshot" } # for build-logic android-gradle-plugin = { module = "com.android.tools.build:gradle", version.ref = "agp" } diff --git a/AndroidApp/gradle/wrapper/gradle-wrapper.properties b/AndroidApp/gradle/wrapper/gradle-wrapper.properties index 19a6bdeb..d4081da4 100644 --- a/AndroidApp/gradle/wrapper/gradle-wrapper.properties +++ b/AndroidApp/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.0-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/AndroidApp/ui/build.gradle.kts b/AndroidApp/ui/build.gradle.kts index 3781b729..09d06cf6 100644 --- a/AndroidApp/ui/build.gradle.kts +++ b/AndroidApp/ui/build.gradle.kts @@ -29,14 +29,10 @@ dependencies { androidTestImplementation(composeBom) debugImplementation(libs.androidx.compose.ui.tooling) screenshotTestImplementation(libs.androidx.compose.ui.tooling) + screenshotTestImplementation(libs.screenshot.validation.api) implementation(libs.bundles.androidx.compose) // その他 implementation(libs.io.insert.koin) implementation(libs.io.insert.koin.compose) } - -tasks.withType().configureEach { - // FIXME: ScreenshotTestを全部コメントアウトしてるので一時的にfalseにしておく - failOnNoDiscoveredTests = false -} \ No newline at end of file diff --git a/AndroidApp/ui/build/reports/screenshotTest/preview/debug/css/base-style.css b/AndroidApp/ui/build/reports/screenshotTest/preview/debug/css/base-style.css new file mode 100644 index 00000000..e09a387f --- /dev/null +++ b/AndroidApp/ui/build/reports/screenshotTest/preview/debug/css/base-style.css @@ -0,0 +1,162 @@ + +body { + margin: 0; + padding: 0; + font-family: sans-serif; + font-size: 12pt; +} + +body, a, a:visited { + color: #303030; +} + +#content { + padding-left: 50px; + padding-right: 50px; + padding-top: 30px; + padding-bottom: 30px; +} + +#content h1 { + font-size: 160%; + margin-bottom: 10px; +} + +#footer { + margin-top: 100px; + font-size: 80%; + white-space: nowrap; +} + +#footer, #footer a { + color: #a0a0a0; +} + +ul { + margin-left: 0; +} + +h1, h2, h3 { + white-space: nowrap; +} + +h2 { + font-size: 120%; +} + +ul.tabLinks { + padding-left: 0; + padding-top: 10px; + padding-bottom: 10px; + overflow: auto; + min-width: 800px; + width: auto !important; + width: 800px; +} + +ul.tabLinks li { + float: left; + height: 100%; + list-style: none; + padding-left: 10px; + padding-right: 10px; + padding-top: 5px; + padding-bottom: 5px; + margin-bottom: 0; + -moz-border-radius: 7px; + border-radius: 7px; + margin-right: 25px; + border: solid 1px #d4d4d4; + background-color: #f0f0f0; + behavior: url(css3-pie-1.0beta3.htc); +} + +ul.tabLinks li:hover { + background-color: #fafafa; +} + +ul.tabLinks li.selected { + background-color: #c5f0f5; + border-color: #c5f0f5; +} + +ul.tabLinks a { + font-size: 120%; + display: block; + outline: none; + text-decoration: none; + margin: 0; + padding: 0; +} + +ul.tabLinks li h2 { + margin: 0; + padding: 0; +} + +div.tab { +} + +div.selected { + display: block; +} + +div.deselected { + display: none; +} + +div.tab table { + min-width: 350px; + width: auto !important; + width: 350px; + border-collapse: collapse; +} + +div.tab th, div.tab table { + border-bottom: solid #d0d0d0 1px; +} + +div.tab th { + text-align: left; + white-space: nowrap; + padding-left: 6em; +} + +div.tab th:first-child { + padding-left: 0; +} + +div.tab td { + white-space: nowrap; + padding-left: 6em; + padding-top: 5px; + padding-bottom: 5px; +} + +div.tab td:first-child { + padding-left: 0; +} + +div.tab td.numeric, div.tab th.numeric { + text-align: right; +} + +span.code { + display: inline-block; + margin-top: 0em; + margin-bottom: 1em; +} + +span.code pre { + font-size: 11pt; + padding-top: 10px; + padding-bottom: 10px; + padding-left: 10px; + padding-right: 10px; + margin: 0; + background-color: #f7f7f7; + border: solid 1px #d0d0d0; + min-width: 700px; + width: auto !important; + width: 700px; +} diff --git a/AndroidApp/ui/build/reports/screenshotTest/preview/debug/css/style.css b/AndroidApp/ui/build/reports/screenshotTest/preview/debug/css/style.css new file mode 100644 index 00000000..746cd0bf --- /dev/null +++ b/AndroidApp/ui/build/reports/screenshotTest/preview/debug/css/style.css @@ -0,0 +1,85 @@ +#summary { + margin-top: 30px; + margin-bottom: 40px; +} + +#summary table { + border-collapse: collapse; +} + +#summary td { + vertical-align: top; +} + +.breadcrumbs, .breadcrumbs a { + color: #606060; +} + +.infoBox { + width: 110px; + padding-top: 15px; + padding-bottom: 15px; + text-align: center; +} + +.infoBox p { + margin: 0; +} + +.grid { + background: linear-gradient(-90deg, rgba(0, 0, 0, .05) 1px, transparent 1px), linear-gradient(rgba(0, 0, 0, .05) 1px, transparent 1px), linear-gradient(-90deg, rgba(0, 0, 0, .04) 1px, transparent 1px), linear-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px), linear-gradient(transparent 3px, #f2f2f2 3px, #f2f2f2 98px, transparent 98px), linear-gradient(-90deg, #aaa 1px, transparent 1px), linear-gradient(-90deg, transparent 3px, #f2f2f2 3px, #f2f2f2 98px, transparent 98px), linear-gradient(#aaa 1px, transparent 1px), #f2f2f2; + background-size: 10px 10px, 10px 10px, 100px 100px, 100px 100px, 100px 100px, 100px 100px, 100px 100px, 100px 100px; +} + +.counter, .percent { + font-size: 120%; + font-weight: bold; + margin-bottom: 8px; +} + +#duration { + width: 125px; +} + +#successRate, .summaryGroup { + border: solid 2px #d0d0d0; + -moz-border-radius: 10px; + border-radius: 10px; + behavior: url(css3-pie-1.0beta3.htc); +} + +#successRate { + width: 140px; + margin-left: 35px; +} + +#successRate .percent { + font-size: 180%; +} + +.success, .success a { + color: #008000; +} + +div.success, #successRate.success { + background-color: #bbd9bb; + border-color: #008000; +} + +.failures, .failures a { + color: #b60808; +} + +div.failures, #successRate.failures { + background-color: #ecdada; + border-color: #b60808; +} + +ul.linkList { + padding-left: 0; +} + +ul.linkList li { + list-style: none; + margin-bottom: 5px; +} diff --git a/AndroidApp/ui/build/reports/screenshotTest/preview/debug/index.html b/AndroidApp/ui/build/reports/screenshotTest/preview/debug/index.html new file mode 100644 index 00000000..39dd0577 --- /dev/null +++ b/AndroidApp/ui/build/reports/screenshotTest/preview/debug/index.html @@ -0,0 +1,145 @@ + + + + +Test results - Test Summary + + + + + +
+

Test Summary

+
+ + + + + +
+
+ + + + + + + + +
+
+
16
+

tests

+
+
+
+
0
+

errors

+
+
+
+
0
+

failures

+
+
+
+
0
+

skipped

+
+
+
+
3.154s
+

duration

+
+
+
+
+
+
100%
+

successful

+
+
+
+
+ +
+

Packages

+ + + + + + + + + + + + + + + + + + + + + + + +
PackageTestsErrorsFailuresSkippedDurationSuccess rate
+me.nya_n.notificationnotifier +160003.154s100%
+
+
+

Classes

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassTestsErrorsFailuresSkippedDurationSuccess rate
+me.nya_n.notificationnotifier.ComponentScreenshotTest +110001.615s100%
+me.nya_n.notificationnotifier.ContentScreenshotTest +50001.539s100%
+
+
+ +
+ \ No newline at end of file diff --git a/AndroidApp/ui/build/reports/screenshotTest/preview/debug/js/report.js b/AndroidApp/ui/build/reports/screenshotTest/preview/debug/js/report.js new file mode 100644 index 00000000..234fc2e0 --- /dev/null +++ b/AndroidApp/ui/build/reports/screenshotTest/preview/debug/js/report.js @@ -0,0 +1,112 @@ +var tabs = new Object(); + +function initTabs() { + var container = document.getElementById('tabs'); + tabs.tabs = findTabs(container); + tabs.titles = findTitles(tabs.tabs); + tabs.headers = findHeaders(container); + tabs.select = select; + tabs.deselectAll = deselectAll; + // select tab if title param is provided in the URL + const urlParams = new URLSearchParams(window.location.search); + const titleParam = urlParams.get('title'); + if (titleParam) { + const index = tabs.titles.indexOf(titleParam); + if (index > -1) { + tabs.select(index); + return true; + } + } + // If no title or invalid title, select the first tab (default) + tabs.select(0); + return true; +} + +window.onload = initTabs; + +function switchTab() { + var id = this.id.substr(1); + for (var i = 0; i < tabs.tabs.length; i++) { + if (tabs.tabs[i].id == id) { + tabs.select(i); + break; + } + } + return false; +} + +function select(i) { + this.deselectAll(); + changeElementClass(this.tabs[i], 'tab selected'); + changeElementClass(this.headers[i], 'selected'); + while (this.headers[i].firstChild) { + this.headers[i].removeChild(this.headers[i].firstChild); + } + var h2 = document.createElement('H2'); + h2.appendChild(document.createTextNode(this.titles[i])); + this.headers[i].appendChild(h2); +} + +function deselectAll() { + for (var i = 0; i < this.tabs.length; i++) { + changeElementClass(this.tabs[i], 'tab deselected'); + changeElementClass(this.headers[i], 'deselected'); + while (this.headers[i].firstChild) { + this.headers[i].removeChild(this.headers[i].firstChild); + } + var a = document.createElement('A'); + a.setAttribute('id', 'ltab' + i); + a.setAttribute('href', '#tab' + i); + a.onclick = switchTab; + a.appendChild(document.createTextNode(this.titles[i])); + this.headers[i].appendChild(a); + } +} + +function changeElementClass(element, classValue) { + if (element.getAttribute('className')) { + /* IE */ + element.setAttribute('className', classValue) + } else { + element.setAttribute('class', classValue) + } +} + +function findTabs(container) { + return findChildElements(container, 'DIV', 'tab'); +} + +function findHeaders(container) { + var owner = findChildElements(container, 'UL', 'tabLinks'); + return findChildElements(owner[0], 'LI', null); +} + +function findTitles(tabs) { + var titles = new Array(); + for (var i = 0; i < tabs.length; i++) { + var tab = tabs[i]; + var header = findChildElements(tab, 'H2', null)[0]; + header.parentNode.removeChild(header); + if (header.innerText) { + titles.push(header.innerText) + } else { + titles.push(header.textContent) + } + } + return titles; +} + +function findChildElements(container, name, targetClass) { + var elements = new Array(); + var children = container.childNodes; + for (var i = 0; i < children.length; i++) { + var child = children.item(i); + if (child.nodeType == 1 && child.nodeName == name) { + if (targetClass && child.className.indexOf(targetClass) < 0) { + continue; + } + elements.push(child); + } + } + return elements; +} diff --git a/AndroidApp/ui/build/reports/screenshotTest/preview/debug/me.nya_n.notificationnotifier.ComponentScreenshotTest.html b/AndroidApp/ui/build/reports/screenshotTest/preview/debug/me.nya_n.notificationnotifier.ComponentScreenshotTest.html new file mode 100644 index 00000000..f02cbc13 --- /dev/null +++ b/AndroidApp/ui/build/reports/screenshotTest/preview/debug/me.nya_n.notificationnotifier.ComponentScreenshotTest.html @@ -0,0 +1,367 @@ + + + + +Test results - Class me.nya_n.notificationnotifier.ComponentScreenshotTest + + + + + +
+

Class me.nya_n.notificationnotifier.ComponentScreenshotTest

+ +
+ + + + + +
+
+ + + + + + + + +
+
+
11
+

tests

+
+
+
+
0
+

errors

+
+
+
+
0
+

failures

+
+
+
+
0
+

skipped

+
+
+
+
1.615s
+

duration

+
+
+
+
+
+
100%
+

successful

+
+
+
+
+ +
+

Tests

+
+ +

AppListComponentScreenshotTest

+ + + + + + + + + + + + + + + + +
Reference ImageActual ImageDiff Image
+Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/AppListComponentScreenshotTest_a51312a5_0.png + +Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/build/outputs/screenshotTest-results/preview/debug/rendered/me/nya_n/notificationnotifier/ComponentScreenshotTest/AppListComponentScreenshotTest_a51312a5_0.png +
+
+
+
+ +

AppOutlinedButtonComponentScreenshotTest

+ + + + + + + + + + + + + + + + +
Reference ImageActual ImageDiff Image
+Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/AppOutlinedButtonComponentScreenshotTest_0.png + +Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/build/outputs/screenshotTest-results/preview/debug/rendered/me/nya_n/notificationnotifier/ComponentScreenshotTest/AppOutlinedButtonComponentScreenshotTest_0.png +
+
+
+
+ +

AppScaffoldComponentScreenshotTest

+ + + + + + + + + + + + + + + + +
Reference ImageActual ImageDiff Image
+Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/AppScaffoldComponentScreenshotTest_0.png + +Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/build/outputs/screenshotTest-results/preview/debug/rendered/me/nya_n/notificationnotifier/ComponentScreenshotTest/AppScaffoldComponentScreenshotTest_0.png +
+
+
+
+ +

CategoryComponentScreenshotTest

+ + + + + + + + + + + + + + + + +
Reference ImageActual ImageDiff Image
+Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/CategoryComponentScreenshotTest_0.png + +Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/build/outputs/screenshotTest-results/preview/debug/rendered/me/nya_n/notificationnotifier/ComponentScreenshotTest/CategoryComponentScreenshotTest_0.png +
+
+
+
+ +

CommonDialogComponentScreenshotTest

+ + + + + + + + + + + + + + + + +
Reference ImageActual ImageDiff Image
+Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/CommonDialogComponentScreenshotTest_0.png + +Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/build/outputs/screenshotTest-results/preview/debug/rendered/me/nya_n/notificationnotifier/ComponentScreenshotTest/CommonDialogComponentScreenshotTest_0.png +
+
+
+
+ +

EmptyAppListComponentScreenshotTest

+ + + + + + + + + + + + + + + + +
Reference ImageActual ImageDiff Image
+Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/EmptyAppListComponentScreenshotTest_a51312a5_0.png + +Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/build/outputs/screenshotTest-results/preview/debug/rendered/me/nya_n/notificationnotifier/ComponentScreenshotTest/EmptyAppListComponentScreenshotTest_a51312a5_0.png +
+
+
+
+ +

EmptyViewComponentScreenshotTest

+ + + + + + + + + + + + + + + + +
Reference ImageActual ImageDiff Image
+Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/EmptyViewComponentScreenshotTest_0.png + +Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/build/outputs/screenshotTest-results/preview/debug/rendered/me/nya_n/notificationnotifier/ComponentScreenshotTest/EmptyViewComponentScreenshotTest_0.png +
+
+
+
+ +

RequireNotificationPermissionDialogComponentScreenshotTest

+ + + + + + + + + + + + + + + + +
Reference ImageActual ImageDiff Image
+Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/RequireNotificationPermissionDialogComponentScreenshotTest_0.png + +Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/build/outputs/screenshotTest-results/preview/debug/rendered/me/nya_n/notificationnotifier/ComponentScreenshotTest/RequireNotificationPermissionDialogComponentScreenshotTest_0.png +
+
+
+
+ +

RequirePackageVisibilityDialogComponentScreenshotTest

+ + + + + + + + + + + + + + + + +
Reference ImageActual ImageDiff Image
+Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/RequirePackageVisibilityDialogComponentScreenshotTest_0.png + +Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/build/outputs/screenshotTest-results/preview/debug/rendered/me/nya_n/notificationnotifier/ComponentScreenshotTest/RequirePackageVisibilityDialogComponentScreenshotTest_0.png +
+
+
+
+ +

SubContentTopBarComponentScreenshotTest

+ + + + + + + + + + + + + + + + +
Reference ImageActual ImageDiff Image
+Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/SubContentTopBarComponentScreenshotTest_0.png + +Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/build/outputs/screenshotTest-results/preview/debug/rendered/me/nya_n/notificationnotifier/ComponentScreenshotTest/SubContentTopBarComponentScreenshotTest_0.png +
+
+
+
+ +

TopBarComponentScreenshotTest

+ + + + + + + + + + + + + + + + +
Reference ImageActual ImageDiff Image
+Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/TopBarComponentScreenshotTest_0.png + +Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/build/outputs/screenshotTest-results/preview/debug/rendered/me/nya_n/notificationnotifier/ComponentScreenshotTest/TopBarComponentScreenshotTest_0.png +
+
+
+
+
+ +
+ \ No newline at end of file diff --git a/AndroidApp/ui/build/reports/screenshotTest/preview/debug/me.nya_n.notificationnotifier.ContentScreenshotTest.html b/AndroidApp/ui/build/reports/screenshotTest/preview/debug/me.nya_n.notificationnotifier.ContentScreenshotTest.html new file mode 100644 index 00000000..05e45bdb --- /dev/null +++ b/AndroidApp/ui/build/reports/screenshotTest/preview/debug/me.nya_n.notificationnotifier.ContentScreenshotTest.html @@ -0,0 +1,211 @@ + + + + +Test results - Class me.nya_n.notificationnotifier.ContentScreenshotTest + + + + + +
+

Class me.nya_n.notificationnotifier.ContentScreenshotTest

+ +
+ + + + + +
+
+ + + + + + + + +
+
+
5
+

tests

+
+
+
+
0
+

errors

+
+
+
+
0
+

failures

+
+
+
+
0
+

skipped

+
+
+
+
1.539s
+

duration

+
+
+
+
+
+
100%
+

successful

+
+
+
+
+ +
+

Tests

+
+ +

DetailContentScreenshotTest

+ + + + + + + + + + + + + + + + +
Reference ImageActual ImageDiff Image
+Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ContentScreenshotTest/DetailContentScreenshotTest_a51312a5_0.png + +Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/build/outputs/screenshotTest-results/preview/debug/rendered/me/nya_n/notificationnotifier/ContentScreenshotTest/DetailContentScreenshotTest_a51312a5_0.png +
+
+
+
+ +

MainContentScreenshotTest

+ + + + + + + + + + + + + + + + +
Reference ImageActual ImageDiff Image
+Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ContentScreenshotTest/MainContentScreenshotTest_0.png + +Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/build/outputs/screenshotTest-results/preview/debug/rendered/me/nya_n/notificationnotifier/ContentScreenshotTest/MainContentScreenshotTest_0.png +
+
+
+
+ +

SelectionContentScreenshotTest

+ + + + + + + + + + + + + + + + +
Reference ImageActual ImageDiff Image
+Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ContentScreenshotTest/SelectionContentScreenshotTest_a51312a5_0.png + +Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/build/outputs/screenshotTest-results/preview/debug/rendered/me/nya_n/notificationnotifier/ContentScreenshotTest/SelectionContentScreenshotTest_a51312a5_0.png +
+
+
+
+ +

SettingsContentScreenshotTest

+ + + + + + + + + + + + + + + + +
Reference ImageActual ImageDiff Image
+Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ContentScreenshotTest/SettingsContentScreenshotTest_a51312a5_0.png + +Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/build/outputs/screenshotTest-results/preview/debug/rendered/me/nya_n/notificationnotifier/ContentScreenshotTest/SettingsContentScreenshotTest_a51312a5_0.png +
+
+
+
+ +

TargetContentScreenshotTest

+ + + + + + + + + + + + + + + + +
Reference ImageActual ImageDiff Image
+Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ContentScreenshotTest/TargetContentScreenshotTest_a51312a5_0.png + +Error displaying image at /mnt/e/workspace/ann/AndroidApp/ui/build/outputs/screenshotTest-results/preview/debug/rendered/me/nya_n/notificationnotifier/ContentScreenshotTest/TargetContentScreenshotTest_a51312a5_0.png +
+
+
+
+
+ +
+ \ No newline at end of file diff --git a/AndroidApp/ui/build/reports/screenshotTest/preview/debug/me.nya_n.notificationnotifier.html b/AndroidApp/ui/build/reports/screenshotTest/preview/debug/me.nya_n.notificationnotifier.html new file mode 100644 index 00000000..a0610ae8 --- /dev/null +++ b/AndroidApp/ui/build/reports/screenshotTest/preview/debug/me.nya_n.notificationnotifier.html @@ -0,0 +1,115 @@ + + + + +Test results - Package me.nya_n.notificationnotifier + + + + + +
+

Package me.nya_n.notificationnotifier

+ +
+ + + + + +
+
+ + + + + + + + +
+
+
16
+

tests

+
+
+
+
0
+

errors

+
+
+
+
0
+

failures

+
+
+
+
0
+

skipped

+
+
+
+
3.154s
+

duration

+
+
+
+
+
+
100%
+

successful

+
+
+
+
+ +
+

Classes

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassTestsErrorsFailuresSkippedDurationSuccess rate
+ComponentScreenshotTest +110001.615s100%
+ContentScreenshotTest +50001.539s100%
+
+
+ +
+ \ No newline at end of file diff --git a/AndroidApp/ui/src/screenshotTest/kotlin/me/nya_n/notificationnotifier/ComponentScreenshotTest.kt b/AndroidApp/ui/src/screenshotTest/kotlin/me/nya_n/notificationnotifier/ComponentScreenshotTest.kt new file mode 100644 index 00000000..37240349 --- /dev/null +++ b/AndroidApp/ui/src/screenshotTest/kotlin/me/nya_n/notificationnotifier/ComponentScreenshotTest.kt @@ -0,0 +1,146 @@ +package me.nya_n.notificationnotifier + +import androidx.compose.material3.SnackbarHostState +import androidx.compose.runtime.Composable +import androidx.compose.runtime.remember +import androidx.compose.ui.tooling.preview.Preview +import com.android.tools.screenshot.PreviewTest +import me.nya_n.notificationnotifier.model.InstalledApp +import me.nya_n.notificationnotifier.ui.common.AppList +import me.nya_n.notificationnotifier.ui.common.AppOutlinedButton +import me.nya_n.notificationnotifier.ui.common.AppScaffold +import me.nya_n.notificationnotifier.ui.common.Category +import me.nya_n.notificationnotifier.ui.common.CommonDialog +import me.nya_n.notificationnotifier.ui.common.EmptyView +import me.nya_n.notificationnotifier.ui.common.RequireNotificationPermissionDialog +import me.nya_n.notificationnotifier.ui.common.RequirePackageVisibilityDialog +import me.nya_n.notificationnotifier.ui.common.TopBar +import me.nya_n.notificationnotifier.ui.theme.AppTheme + +class ComponentScreenshotTest { + + @PreviewTest + @Preview(backgroundColor = 0xFFC7B5A8, showBackground = true) + @Composable + fun AppListComponentScreenshotTest() { + val items = listOf( + InstalledApp("Sample App", "me.nya_n.notificationnotifier"), + InstalledApp( + "Sample App Name So Looooooooooooooooong", + "me.nya_n.notificationnotifier" + ), + ) + AppTheme { + AppList( + items = items, + onAppSelected = { } + ) + } + } + + @PreviewTest + @Preview(backgroundColor = 0xFFC7B5A8, showBackground = true) + @Composable + fun EmptyAppListComponentScreenshotTest() { + AppTheme { + AppList( + items = emptyList(), + onAppSelected = { } + ) + } + } + + @PreviewTest + @Preview + @Composable + fun AppOutlinedButtonComponentScreenshotTest() { + AppTheme { + AppOutlinedButton("text") { } + } + } + + @PreviewTest + @Preview + @Composable + fun AppScaffoldComponentScreenshotTest() { + val snackbarHostState = remember { SnackbarHostState() } + AppTheme { + AppScaffold(snackbarHostState) { } + } + } + + @PreviewTest + @Preview + @Composable + fun CategoryComponentScreenshotTest() { + AppTheme { + Category("カテゴリ") + } + } + + @PreviewTest + @Preview + @Composable + fun CommonDialogComponentScreenshotTest() { + AppTheme { + CommonDialog( + message = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", + positiveButtonText = "YES", + negativeButtonText = "NO", + onPositiveDismissRequest = { }, + onNegativeDismissRequest = { } + ) + } + } + + @PreviewTest + @Preview + @Composable + fun RequireNotificationPermissionDialogComponentScreenshotTest() { + AppTheme { + RequireNotificationPermissionDialog( + onDismissRequest = { } + ) + } + } + + @PreviewTest + @Preview + @Composable + fun RequirePackageVisibilityDialogComponentScreenshotTest() { + AppTheme { + RequirePackageVisibilityDialog( + onDismissRequest = { } + ) + } + } + + @PreviewTest + @Preview + @Composable + fun EmptyViewComponentScreenshotTest() { + AppTheme { + EmptyView(message = "empty") + } + } + + @PreviewTest + @Preview + @Composable + fun TopBarComponentScreenshotTest() { + AppTheme { + TopBar() + } + } + + @PreviewTest + @Preview + @Composable + fun SubContentTopBarComponentScreenshotTest() { + AppTheme { + TopBar( + onBack = { } + ) + } + } +} \ No newline at end of file diff --git a/AndroidApp/ui/src/screenshotTest/kotlin/me/nya_n/notificationnotifier/ContentScreenshotTest.kt b/AndroidApp/ui/src/screenshotTest/kotlin/me/nya_n/notificationnotifier/ContentScreenshotTest.kt new file mode 100644 index 00000000..0440cefa --- /dev/null +++ b/AndroidApp/ui/src/screenshotTest/kotlin/me/nya_n/notificationnotifier/ContentScreenshotTest.kt @@ -0,0 +1,114 @@ +package me.nya_n.notificationnotifier + +import androidx.compose.foundation.pager.rememberPagerState +import androidx.compose.material.icons.Icons +import androidx.compose.material.icons.automirrored.rounded.List +import androidx.compose.material.icons.outlined.NotificationsActive +import androidx.compose.material.icons.outlined.Settings +import androidx.compose.material3.SnackbarHostState +import androidx.compose.runtime.Composable +import androidx.compose.runtime.remember +import androidx.compose.ui.tooling.preview.Preview +import com.android.tools.screenshot.PreviewTest +import me.nya_n.notificationnotifier.model.InstalledApp +import me.nya_n.notificationnotifier.ui.screen.detail.DetailContent +import me.nya_n.notificationnotifier.ui.screen.main.MainContent +import me.nya_n.notificationnotifier.ui.screen.main.TabItem +import me.nya_n.notificationnotifier.ui.screen.selection.SelectionContent +import me.nya_n.notificationnotifier.ui.screen.settings.SettingsContent +import me.nya_n.notificationnotifier.ui.screen.target.TargetContent +import me.nya_n.notificationnotifier.ui.theme.AppTheme +import me.nya_n.notificationnotifier.ui.util.Sample + +class ContentScreenshotTest { + + @PreviewTest + @Preview + @Composable + fun MainContentScreenshotTest() { + val snackbarHostState = remember { SnackbarHostState() } + val tabItems = listOf( + TabItem("タブ1", Icons.Outlined.NotificationsActive), + TabItem("タブ2", Icons.AutoMirrored.Rounded.List), + TabItem("タブ3", Icons.Outlined.Settings), + ) + val pagerState = rememberPagerState(pageCount = { tabItems.size }) + AppTheme { + MainContent( + snackbarHostState = snackbarHostState, + tabItems = tabItems, + pagerState = pagerState + ) { } + } + } + + @PreviewTest + @Preview(backgroundColor = 0xFFC7B5A8, showBackground = true) + @Composable + fun TargetContentScreenshotTest() { + val items = listOf( + InstalledApp("Sample App", "me.nya_n.notificationnotifier"), + InstalledApp("Sample App", "me.nya_n.notificationnotifier"), + InstalledApp("Sample App", "me.nya_n.notificationnotifier"), + ) + AppTheme { + TargetContent( + items = items, + isLoading = false, + onAppSelected = { } + ) + } + } + + @PreviewTest + @Preview(backgroundColor = 0xFFC7B5A8, showBackground = true) + @Composable + fun DetailContentScreenshotTest() { + AppTheme { + DetailContent( + app = InstalledApp("Sample App Name", "example.sample.test"), + onDeleteApp = { }, + isIgnoreSummary = false, + onIgnoreSummaryChanged = { }, + condition = "^.*$", + onConditionChanged = { } + ) + } + } + + @PreviewTest + @Preview(backgroundColor = 0xFFC7B5A8, showBackground = true) + @Composable + fun SelectionContentScreenshotTest() { + AppTheme { + SelectionContent( + items = Sample.items, + isLoading = false, + onAppSelected = { }, + initQuery = "", + onQueryInputted = { } + ) + } + } + + @PreviewTest + @Preview(backgroundColor = 0xFFC7B5A8, showBackground = true) + @Composable + fun SettingsContentScreenshotTest() { + AppTheme { + SettingsContent( + address = "192.168.11.2:5555", + versionCode = 1, + versionName = "1.0", + onValueChange = { }, + onNotifyTest = { }, + isWifiOnlyNotificationEnabled = false, + onWifiOnlySettingChanged = { }, + onExportData = { }, + onImportData = { }, + onLicense = { }, + onAboutDeveloper = { } + ) + } + } +} \ No newline at end of file diff --git a/AndroidApp/ui/src/screenshotTest/kotlin/me/nya_n/notificationnotifier/ScreenshotTest.kt b/AndroidApp/ui/src/screenshotTest/kotlin/me/nya_n/notificationnotifier/ScreenshotTest.kt deleted file mode 100644 index e878dc25..00000000 --- a/AndroidApp/ui/src/screenshotTest/kotlin/me/nya_n/notificationnotifier/ScreenshotTest.kt +++ /dev/null @@ -1,239 +0,0 @@ -//package me.nya_n.notificationnotifier -// -//import androidx.compose.foundation.pager.rememberPagerState -//import androidx.compose.material.icons.Icons -//import androidx.compose.material.icons.automirrored.rounded.List -//import androidx.compose.material.icons.outlined.NotificationsActive -//import androidx.compose.material.icons.outlined.Settings -//import androidx.compose.material3.SnackbarHostState -//import androidx.compose.runtime.Composable -//import androidx.compose.runtime.remember -//import androidx.compose.ui.tooling.preview.Preview -//import me.nya_n.notificationnotifier.model.InstalledApp -//import me.nya_n.notificationnotifier.ui.common.AppList -//import me.nya_n.notificationnotifier.ui.common.AppOutlinedButton -//import me.nya_n.notificationnotifier.ui.common.AppScaffold -//import me.nya_n.notificationnotifier.ui.common.Category -//import me.nya_n.notificationnotifier.ui.common.CommonDialog -//import me.nya_n.notificationnotifier.ui.common.EmptyView -//import me.nya_n.notificationnotifier.ui.common.RequireNotificationPermissionDialog -//import me.nya_n.notificationnotifier.ui.common.RequirePackageVisibilityDialog -//import me.nya_n.notificationnotifier.ui.common.TopBar -//import me.nya_n.notificationnotifier.ui.screen.detail.DetailContent -//import me.nya_n.notificationnotifier.ui.screen.main.MainContent -//import me.nya_n.notificationnotifier.ui.screen.main.TabItem -//import me.nya_n.notificationnotifier.ui.screen.selection.SelectionContent -//import me.nya_n.notificationnotifier.ui.screen.settings.SettingsContent -//import me.nya_n.notificationnotifier.ui.screen.target.TargetContent -//import me.nya_n.notificationnotifier.ui.theme.AppTheme -//import me.nya_n.notificationnotifier.ui.util.Sample -// -//class ScreenshotTest { -// -// // region: 画面レベル -// -// @Preview -// @Composable -// fun MainContentScreenshotTest() { -// val snackbarHostState = remember { SnackbarHostState() } -// val tabItems = listOf( -// TabItem("タブ1", Icons.Outlined.NotificationsActive), -// TabItem("タブ2", Icons.AutoMirrored.Rounded.List), -// TabItem("タブ3", Icons.Outlined.Settings), -// ) -// val pagerState = rememberPagerState(pageCount = { tabItems.size }) -// AppTheme { -// MainContent( -// snackbarHostState = snackbarHostState, -// tabItems = tabItems, -// pagerState = pagerState -// ) { } -// } -// } -// -// -// @Preview(backgroundColor = 0xFFC7B5A8, showBackground = true) -// @Composable -// fun TargetContentScreenshotTest() { -// val items = listOf( -// InstalledApp("Sample App", "me.nya_n.notificationnotifier"), -// InstalledApp("Sample App", "me.nya_n.notificationnotifier"), -// InstalledApp("Sample App", "me.nya_n.notificationnotifier"), -// ) -// AppTheme { -// TargetContent( -// items = items, -// isLoading = false, -// onAppSelected = { } -// ) -// } -// } -// -// @Preview(backgroundColor = 0xFFC7B5A8, showBackground = true) -// @Composable -// fun DetailContentScreenshotTest() { -// val snackbarHostState = remember { SnackbarHostState() } -// AppTheme { -// DetailContent( -// snackbarHostState = snackbarHostState, -// app = InstalledApp("Sample App Name", "example.sample.test"), -// condition = "^.*$", -// onBack = { }, -// onDeleteApp = { }, -// onConditionChanged = { } -// ) -// } -// } -// -// @Preview(backgroundColor = 0xFFC7B5A8, showBackground = true) -// @Composable -// fun SelectionContentScreenshotTest() { -// AppTheme { -// SelectionContent( -// items = Sample.items, -// isLoading = false, -// onAppSelected = { }, -// initQuery = "", -// onQueryInputted = { } -// ) -// } -// } -// -// @Preview(backgroundColor = 0xFFC7B5A8, showBackground = true) -// @Composable -// fun SettingsContentScreenshotTest() { -// AppTheme { -// SettingsContent( -// address = "192.168.11.2:5555", -// versionCode = 1, -// versionName = "1.0", -// onValueChange = { }, -// onNotifyTest = { }, -// onExportData = { }, -// onImportData = { }, -// onLicense = { }, -// onAboutDeveloper = { } -// ) -// } -// } -// -// // endregion -// -// // region: コンポーネントレベル -// -// @Preview(backgroundColor = 0xFFC7B5A8, showBackground = true) -// @Composable -// fun AppListComponentScreenshotTest() { -// val items = listOf( -// InstalledApp("Sample App", "me.nya_n.notificationnotifier"), -// InstalledApp( -// "Sample App Name So Looooooooooooooooong", -// "me.nya_n.notificationnotifier" -// ), -// ) -// AppTheme { -// AppList( -// items = items, -// onAppSelected = { } -// ) -// } -// } -// -// @Preview(backgroundColor = 0xFFC7B5A8, showBackground = true) -// @Composable -// fun EmptyAppListComponentScreenshotTest() { -// AppTheme { -// AppList( -// items = emptyList(), -// onAppSelected = { } -// ) -// } -// } -// -// @Preview -// @Composable -// fun AppOutlinedButtonComponentScreenshotTest() { -// AppTheme { -// AppOutlinedButton("text") { } -// } -// } -// -// @Preview -// @Composable -// fun AppScaffoldComponentScreenshotTest() { -// val snackbarHostState = remember { SnackbarHostState() } -// AppTheme { -// AppScaffold(snackbarHostState) { } -// } -// } -// -// @Preview -// @Composable -// fun CategoryComponentScreenshotTest() { -// AppTheme { -// Category("カテゴリ") -// } -// } -// -// @Preview -// @Composable -// fun CommonDialogComponentScreenshotTest() { -// AppTheme { -// CommonDialog( -// message = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", -// positiveButtonText = "YES", -// negativeButtonText = "NO", -// onPositiveDismissRequest = { }, -// onNegativeDismissRequest = { } -// ) -// } -// } -// -// @Preview -// @Composable -// fun RequireNotificationPermissionDialogComponentScreenshotTest() { -// AppTheme { -// RequireNotificationPermissionDialog( -// onDismissRequest = { } -// ) -// } -// } -// -// @Preview -// @Composable -// fun RequirePackageVisibilityDialogComponentScreenshotTest() { -// AppTheme { -// RequirePackageVisibilityDialog( -// onDismissRequest = { } -// ) -// } -// } -// -// @Preview -// @Composable -// fun EmptyViewComponentScreenshotTest() { -// AppTheme { -// EmptyView(message = "empty") -// } -// } -// -// @Preview -// @Composable -// fun TopBarComponentScreenshotTest() { -// AppTheme { -// TopBar() -// } -// } -// -// @Preview -// @Composable -// fun SubContentTopBarComponentScreenshotTest() { -// AppTheme { -// TopBar( -// onBack = { } -// ) -// } -// } -// -// // endregion -//} \ No newline at end of file diff --git a/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/AppListComponentScreenshotTest_a51312a5_0.png b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/AppListComponentScreenshotTest_a51312a5_0.png new file mode 100644 index 00000000..77226577 Binary files /dev/null and b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/AppListComponentScreenshotTest_a51312a5_0.png differ diff --git a/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/AppOutlinedButtonComponentScreenshotTest_0.png b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/AppOutlinedButtonComponentScreenshotTest_0.png new file mode 100644 index 00000000..972c3505 Binary files /dev/null and b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/AppOutlinedButtonComponentScreenshotTest_0.png differ diff --git a/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/AppScaffoldComponentScreenshotTest_0.png b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/AppScaffoldComponentScreenshotTest_0.png new file mode 100644 index 00000000..043e4f86 Binary files /dev/null and b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/AppScaffoldComponentScreenshotTest_0.png differ diff --git a/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/CategoryComponentScreenshotTest_0.png b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/CategoryComponentScreenshotTest_0.png new file mode 100644 index 00000000..6db1e3aa Binary files /dev/null and b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/CategoryComponentScreenshotTest_0.png differ diff --git a/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/CommonDialogComponentScreenshotTest_0.png b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/CommonDialogComponentScreenshotTest_0.png new file mode 100644 index 00000000..3313f59c Binary files /dev/null and b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/CommonDialogComponentScreenshotTest_0.png differ diff --git a/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/EmptyAppListComponentScreenshotTest_a51312a5_0.png b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/EmptyAppListComponentScreenshotTest_a51312a5_0.png new file mode 100644 index 00000000..01ad6f6c Binary files /dev/null and b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/EmptyAppListComponentScreenshotTest_a51312a5_0.png differ diff --git a/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/EmptyViewComponentScreenshotTest_0.png b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/EmptyViewComponentScreenshotTest_0.png new file mode 100644 index 00000000..2827aaa7 Binary files /dev/null and b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/EmptyViewComponentScreenshotTest_0.png differ diff --git a/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/RequireNotificationPermissionDialogComponentScreenshotTest_0.png b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/RequireNotificationPermissionDialogComponentScreenshotTest_0.png new file mode 100644 index 00000000..201fd375 Binary files /dev/null and b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/RequireNotificationPermissionDialogComponentScreenshotTest_0.png differ diff --git a/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/RequirePackageVisibilityDialogComponentScreenshotTest_0.png b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/RequirePackageVisibilityDialogComponentScreenshotTest_0.png new file mode 100644 index 00000000..47710c0b Binary files /dev/null and b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/RequirePackageVisibilityDialogComponentScreenshotTest_0.png differ diff --git a/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/SubContentTopBarComponentScreenshotTest_0.png b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/SubContentTopBarComponentScreenshotTest_0.png new file mode 100644 index 00000000..2697559b Binary files /dev/null and b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/SubContentTopBarComponentScreenshotTest_0.png differ diff --git a/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/TopBarComponentScreenshotTest_0.png b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/TopBarComponentScreenshotTest_0.png new file mode 100644 index 00000000..400b22df Binary files /dev/null and b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ComponentScreenshotTest/TopBarComponentScreenshotTest_0.png differ diff --git a/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ContentScreenshotTest/DetailContentScreenshotTest_a51312a5_0.png b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ContentScreenshotTest/DetailContentScreenshotTest_a51312a5_0.png new file mode 100644 index 00000000..35ac5052 Binary files /dev/null and b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ContentScreenshotTest/DetailContentScreenshotTest_a51312a5_0.png differ diff --git a/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ContentScreenshotTest/MainContentScreenshotTest_0.png b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ContentScreenshotTest/MainContentScreenshotTest_0.png new file mode 100644 index 00000000..9a151270 Binary files /dev/null and b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ContentScreenshotTest/MainContentScreenshotTest_0.png differ diff --git a/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ContentScreenshotTest/SelectionContentScreenshotTest_a51312a5_0.png b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ContentScreenshotTest/SelectionContentScreenshotTest_a51312a5_0.png new file mode 100644 index 00000000..bf8740c8 Binary files /dev/null and b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ContentScreenshotTest/SelectionContentScreenshotTest_a51312a5_0.png differ diff --git a/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ContentScreenshotTest/SettingsContentScreenshotTest_a51312a5_0.png b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ContentScreenshotTest/SettingsContentScreenshotTest_a51312a5_0.png new file mode 100644 index 00000000..4f7f793b Binary files /dev/null and b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ContentScreenshotTest/SettingsContentScreenshotTest_a51312a5_0.png differ diff --git a/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ContentScreenshotTest/TargetContentScreenshotTest_a51312a5_0.png b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ContentScreenshotTest/TargetContentScreenshotTest_a51312a5_0.png new file mode 100644 index 00000000..9ad0d1d0 Binary files /dev/null and b/AndroidApp/ui/src/screenshotTestDebug/reference/me/nya_n/notificationnotifier/ContentScreenshotTest/TargetContentScreenshotTest_a51312a5_0.png differ