Skip to content

Commit ed236b7

Browse files
committed
chore: recreate project integration_test_app
1 parent 0eeaa6f commit ed236b7

File tree

367 files changed

+1115
-718
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

367 files changed

+1115
-718
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
channel: 'stable'
4949
- name: Run flutter test
5050
run: flutter test
51-
working-directory: test_shard/integration_test_app
51+
working-directory: tests/integration_test_app
5252

5353
# pub_publish_check:
5454
# name: pub publish check

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ build/
3333
# FVM Version Cache
3434
.fvm/
3535
.vscode
36-
.fvmrc
36+
.fvmrc
37+
artifacts

scripts/build-iris.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ build_android() {
2929
cp -RP "${IRIS_OUTPUT}/$ABI/libAgoraRtmWrapper.so" \
3030
"$AGORA_FLUTTER_PROJECT_PATH/android/libs/$ABI/libAgoraRtmWrapper.so"
3131

32-
cp -RP "${IRIS_OUTPUT}/$ABI/libIrisDebugger.so" "$AGORA_FLUTTER_PROJECT_PATH/test_shard/iris_tester/android/libs/$ABI/libIrisDebugger.so"
32+
cp -RP "${IRIS_OUTPUT}/$ABI/libIrisDebugger.so" "$AGORA_FLUTTER_PROJECT_PATH/tests/iris_tester/android/libs/$ABI/libIrisDebugger.so"
3333

3434
done;
3535

scripts/download_unzip_iris_cdn_artifacts.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ MY_PATH=$(dirname "$0")
1111
ARTIFACTS_PATH="${MY_PATH}/../artifacts"
1212
mkdir -p ${ARTIFACTS_PATH}
1313

14-
IRIS_TESTER_PATH=${MY_PATH}/../test_shard/iris_tester
14+
IRIS_TESTER_PATH=${MY_PATH}/../tests/iris_tester
1515

1616
DOWNLOAD_NAME=${CDN_URL##*/}
1717

scripts/ffi_gen/run_ffi_gen.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ popd
2525

2626
rm -rf ${TMP_FFI_GEN_INCLUDE_DIR_NAME}
2727

28-
bash ${PROJECT_ROOT}/test_shard/iris_tester/ffigen.sh ${IRIS_PATH}
28+
bash ${PROJECT_ROOT}/tests/iris_tester/ffigen.sh ${IRIS_PATH}

scripts/flutter-build-runner.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ flutter packages pub run build_runner build --delete-conflicting-outputs
1818

1919
popd
2020

21-
pushd ${AGORA_FLUTTER_PROJECT_PATH}/test_shard/integration_test_app
21+
pushd ${AGORA_FLUTTER_PROJECT_PATH}/tests/integration_test_app
2222

2323
rm -rf $AGORA_FLUTTER_PROJECT_PATH/example/macos/Flutter/ephemeral
2424
rm -rf $AGORA_FLUTTER_PROJECT_PATH/example/windows/Flutter/ephemeral

scripts/run_flutter_integration_test.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ PROJECT_ROOT=$(realpath ${MY_PATH}/..)
88
PLATFORM=$1 # android/ios/macos/windows/web
99

1010
if [[ ${PLATFORM} == "web" ]];then
11-
pushd ${PROJECT_ROOT}/test_shard/fake_test_app
11+
pushd ${PROJECT_ROOT}/tests/fake_test_app
1212

1313
IRIS_WEB_VERSION_PATH=${PROJECT_ROOT}/scripts/iris_web_version.js
1414
rm -rf web/iris_web_version.js
@@ -46,7 +46,7 @@ elif [[ ${PLATFORM} == "android" || ${PLATFORM} == "ios" ]];then
4646
fi
4747
fi
4848

49-
pushd ${MY_PATH}/../test_shard/integration_test_app
49+
pushd ${MY_PATH}/../tests/integration_test_app
5050

5151
flutter packages get
5252

scripts/terra/renderers/event_ids_mapping_renderer.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ const eventIdsMapping = {
6565

6666
return [
6767
{
68-
// test_shard/integration_test_app/integration_test/generated/bindings
68+
// tests/integration_test_app/integration_test/generated/bindings
6969
file_name:
70-
"test_shard/integration_test_app/integration_test/generated/bindings/event_ids_mapping_gen.dart",
70+
"tests/integration_test_app/integration_test/generated/bindings/event_ids_mapping_gen.dart",
7171
file_content: output,
7272
},
7373
];

scripts/testcase_gen/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ dart pub get
1010
popd
1111

1212
dart run ${MY_PATH}/bin/testcase_gen.dart \
13-
--gen-integration-test --output-dir=${PROJECT_ROOT}/test_shard/integration_test_app
13+
--gen-integration-test --output-dir=${PROJECT_ROOT}/tests/integration_test_app
1414

1515
dart format .

test_shard/integration_test_app/.metadata

-42
This file was deleted.

test_shard/integration_test_app/README.md

-3
This file was deleted.

test_shard/integration_test_app/android/app/src/main/kotlin/io/agora/integration_test_app/integration_test_app/MainActivity.kt

-6
This file was deleted.
Binary file not shown.
Binary file not shown.

test_shard/integration_test_app/ios/Runner/AppDelegate.swift

-13
This file was deleted.

test_shard/integration_test_app/ios/Runner/Runner-Bridging-Header.h

-1
This file was deleted.

test_shard/integration_test_app/lib/main.dart

-90
This file was deleted.

0 commit comments

Comments
 (0)