Skip to content

Commit 896c819

Browse files
committed
[testapp] Rename test app
Because it looks better and is more readable.
1 parent 4c8cb7d commit 896c819

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
make docker/run/make/with-artifact/testapps/python3/${{ matrix.build-arch }}
6161
- uses: actions/upload-artifact@v1
6262
with:
63-
name: test_app_unittests__python3-${{ matrix.build-arch }}-debug-1.1.apk
63+
name: unit_tests_app__python3-${{ matrix.build-arch }}-debug-1.1.apk
6464
path: apks
6565

6666
rebuild_updated_recipes:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ docker/run/make/%: docker/build
7676
docker/run/make/with-artifact/%: docker/build
7777
$(eval $@_APP_ARCH := $(shell basename $*))
7878
docker run --name p4a-latest --env-file=.env $(DOCKER_IMAGE) make $*
79-
docker cp p4a-latest:/home/user/app/testapps/on_device_unit_tests/bdist_test_app_unittests__$($@_APP_ARCH)-debug-1.1-.apk ./apks
79+
docker cp p4a-latest:/home/user/app/testapps/on_device_unit_tests/bdist_unit_tests_app__$($@_APP_ARCH)-debug-1.1-.apk ./apks
8080
docker rm -fv p4a-latest
8181

8282
docker/run/shell: docker/build

doc/source/testing_pull_requests.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ Using python-for-android commands directly from the pull request files
111111
cd p4a-feature-fix-numpy
112112
PYTHONPATH=. python3 -m pythonforandroid.toolchain apk \
113113
--private=testapps/on_device_unit_tests/test_app \
114-
--dist-name=dist_test_app_unittests_pycryptodome \
114+
--dist-name=dist_unit_tests_app_pycryptodome \
115115
--package=org.kivy \
116-
--name=test_app_unittests_pycryptodome \
116+
--name=unit_tests_app_pycryptodome \
117117
--version=0.1 \
118118
--requirements=sdl2,pyjnius,kivy,python3,pycryptodome \
119119
--ndk-dir=/media/DEVEL/Android/android-ndk-r20 \

testapps/on_device_unit_tests/setup_test_app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
'sqlite3,libffi,openssl,pyjnius,kivy,python3,requests',
4343
'android-api': 27,
4444
'ndk-api': 21,
45-
'dist-name': 'bdist_test_app_unittests',
45+
'dist-name': 'bdist_unit_tests_app',
4646
'arch': 'armeabi-v7a',
4747
'permissions': ['INTERNET', 'VIBRATE'],
4848
'orientation': 'sensor',
@@ -76,7 +76,7 @@
7676

7777
# run the install
7878
setup(
79-
name='test_app_unittests',
79+
name='unit_tests_app',
8080
version='1.1',
8181
description='p4a on device unit test app',
8282
author='Alexander Taylor, Pol Canelles',

testapps/on_device_unit_tests/test_app/app_kivy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def test_vibration_with_pyjnius(self, *args):
136136
def service_time(self):
137137
from jnius import autoclass
138138

139-
return autoclass('org.test.test_app_unittests.ServiceP4a_test_service')
139+
return autoclass('org.test.unit_tests_app.ServiceP4a_test_service')
140140

141141
def on_service_running(self, *args):
142142
if RUNNING_ON_ANDROID:

0 commit comments

Comments
 (0)