Skip to content

Commit

Permalink
chore: recreate project integration_test_app
Browse files Browse the repository at this point in the history
  • Loading branch information
peilinok committed Dec 2, 2024
1 parent 0eeaa6f commit f9315a5
Show file tree
Hide file tree
Showing 367 changed files with 1,115 additions and 721 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
channel: 'stable'
- name: Run flutter test
run: flutter test
working-directory: test_shard/integration_test_app
working-directory: tests/integration_test_app

# pub_publish_check:
# name: pub publish check
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ build/
# FVM Version Cache
.fvm/
.vscode
.fvmrc
.fvmrc
artifacts
2 changes: 1 addition & 1 deletion scripts/build-iris.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ build_android() {
cp -RP "${IRIS_OUTPUT}/$ABI/libAgoraRtmWrapper.so" \
"$AGORA_FLUTTER_PROJECT_PATH/android/libs/$ABI/libAgoraRtmWrapper.so"

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

done;

Expand Down
2 changes: 1 addition & 1 deletion scripts/download_unzip_iris_cdn_artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ MY_PATH=$(dirname "$0")
ARTIFACTS_PATH="${MY_PATH}/../artifacts"
mkdir -p ${ARTIFACTS_PATH}

IRIS_TESTER_PATH=${MY_PATH}/../test_shard/iris_tester
IRIS_TESTER_PATH=${MY_PATH}/../tests/iris_tester

DOWNLOAD_NAME=${CDN_URL##*/}

Expand Down
2 changes: 1 addition & 1 deletion scripts/ffi_gen/run_ffi_gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ popd

rm -rf ${TMP_FFI_GEN_INCLUDE_DIR_NAME}

bash ${PROJECT_ROOT}/test_shard/iris_tester/ffigen.sh ${IRIS_PATH}
bash ${PROJECT_ROOT}/tests/iris_tester/ffigen.sh ${IRIS_PATH}
2 changes: 1 addition & 1 deletion scripts/flutter-build-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ flutter packages pub run build_runner build --delete-conflicting-outputs

popd

pushd ${AGORA_FLUTTER_PROJECT_PATH}/test_shard/integration_test_app
pushd ${AGORA_FLUTTER_PROJECT_PATH}/tests/integration_test_app

rm -rf $AGORA_FLUTTER_PROJECT_PATH/example/macos/Flutter/ephemeral
rm -rf $AGORA_FLUTTER_PROJECT_PATH/example/windows/Flutter/ephemeral
Expand Down
4 changes: 2 additions & 2 deletions scripts/run_flutter_integration_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ PROJECT_ROOT=$(realpath ${MY_PATH}/..)
PLATFORM=$1 # android/ios/macos/windows/web

if [[ ${PLATFORM} == "web" ]];then
pushd ${PROJECT_ROOT}/test_shard/fake_test_app
pushd ${PROJECT_ROOT}/tests/fake_test_app

IRIS_WEB_VERSION_PATH=${PROJECT_ROOT}/scripts/iris_web_version.js
rm -rf web/iris_web_version.js
Expand Down Expand Up @@ -46,7 +46,7 @@ elif [[ ${PLATFORM} == "android" || ${PLATFORM} == "ios" ]];then
fi
fi

pushd ${MY_PATH}/../test_shard/integration_test_app
pushd ${MY_PATH}/../tests/integration_test_app

flutter packages get

Expand Down
4 changes: 2 additions & 2 deletions scripts/terra/renderers/event_ids_mapping_renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ const eventIdsMapping = {

return [
{
// test_shard/integration_test_app/integration_test/generated/bindings
// tests/integration_test_app/integration_test/generated/bindings
file_name:
"test_shard/integration_test_app/integration_test/generated/bindings/event_ids_mapping_gen.dart",
"tests/integration_test_app/integration_test/generated/bindings/event_ids_mapping_gen.dart",
file_content: output,
},
];
Expand Down
2 changes: 1 addition & 1 deletion scripts/testcase_gen/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ dart pub get
popd

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

dart format .
42 changes: 0 additions & 42 deletions test_shard/integration_test_app/.metadata

This file was deleted.

3 changes: 0 additions & 3 deletions test_shard/integration_test_app/README.md

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
13 changes: 0 additions & 13 deletions test_shard/integration_test_app/ios/Runner/AppDelegate.swift

This file was deleted.

This file was deleted.

90 changes: 0 additions & 90 deletions test_shard/integration_test_app/lib/main.dart

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit f9315a5

Please sign in to comment.