Skip to content

Commit eef6959

Browse files
committed
Update samples
1 parent 8c33bfc commit eef6959

File tree

11 files changed

+25
-8
lines changed

11 files changed

+25
-8
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## Unreleased
2+
3+
- https://github.com/ndtp/android-testify/pull/269
4+
- `dev.testify.internal.extensions.cyan` moved to `dev.testify.extensions.cyan`
5+
- Java interop for `findAnnotation` method is now available from `AnnotationExtensionsKtx`
6+
- Java interop for `instrumentationPrintln` method is now available from `InstrumentationRegistryExtensionsKt`
7+
- Java interop for `getModuleName` method is now available from `InstrumentationRegistryExtensionsKt`
8+
- `fun Context.updateLocale(locale: Locale?): Context` is now public
9+
- `fun getMetaDataBundle(context: Context): Bundle?` is now public
10+
111
## 5.0.1
212

313
* Fix Testify plugin crash on Android Gradle Plugin 9+

Ext/Accessibility/src/main/java/dev/testify/accessibility/internal/AccessibilityScreenshotLifecycleObserver.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ import com.google.android.apps.common.testing.accessibility.framework.Accessibil
3535
import com.google.android.apps.common.testing.accessibility.framework.uielement.AccessibilityHierarchyAndroid
3636
import dev.testify.ScreenshotLifecycle
3737
import dev.testify.accessibility.exception.AccessibilityErrorsException
38+
import dev.testify.extensions.cyan
3839
import dev.testify.internal.extensions.TestInstrumentationRegistry
3940
import dev.testify.internal.extensions.TestInstrumentationRegistry.instrumentationPrintln
4041
import dev.testify.internal.extensions.TestInstrumentationRegistry.isRecordMode
41-
import dev.testify.internal.extensions.cyan
4242
import dev.testify.testDescription
4343
import java.util.Locale
4444

Samples/Flix/FlixLibrary/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ dependencies {
8181
def composeBom = platform('androidx.compose:compose-bom:2025.08.01')
8282
implementation composeBom
8383
//noinspection UseTomlInstead
84+
implementation "androidx.appcompat:appcompat:1.7.1"
8485
implementation "androidx.hilt:hilt-navigation-compose:1.2.0"
8586
implementation "androidx.lifecycle:lifecycle-runtime-compose:2.9.3"
8687
implementation "androidx.test.espresso.idling:idling-concurrent:3.7.0"
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest />
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
3+
<application android:largeHeap="true" />
4+
</manifest>

Samples/Flix/FlixLibrary/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
33

4-
<application>
4+
<application android:largeHeap="true">
55
<!--suppress AndroidDomInspection -->
66
<activity
77
android:name="dev.testify.ComposableTestActivity"

Samples/Flix/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ dependencies {
9292
implementation 'androidx.core:core-ktx:1.17.0'
9393
implementation "androidx.lifecycle:lifecycle-runtime-compose:2.9.3"
9494
implementation "androidx.appcompat:appcompat:1.7.1"
95+
implementation "androidx.drawerlayout:drawerlayout:1.2.0"
9596

9697
// UI Layer
9798
def composeBom = platform('androidx.compose:compose-bom:2025.08.01')
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest />
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
3+
<application android:largeHeap="true" />
4+
</manifest>

Samples/Flix/src/debug/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
33

4-
<application>
4+
<application android:largeHeap="true">
55
<!--suppress AndroidDomInspection -->
66
<activity
77
android:name="dev.testify.ComposableTestActivity"

Samples/Legacy/src/androidTest/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
33

4-
<application>
4+
<application android:largeHeap="true">
55
<meta-data
66
android:name="testify-reporter"
77
android:value="true" />

Samples/Legacy/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
android:roundIcon="@mipmap/ic_launcher_round"
1111
android:supportsRtl="true"
1212
android:theme="@style/AppTheme"
13-
tools:ignore="GoogleAppIndexingWarning">
13+
tools:ignore="GoogleAppIndexingWarning"
14+
android:largeHeap="true">
1415
<activity
1516
android:name=".a11y.CounterActivity"
1617
android:exported="false" />

0 commit comments

Comments
 (0)