updated .cirrus.yml and .travis.yml
This commit is contained in:
parent
16f81326e3
commit
53653a1733
101
.cirrus.yml
101
.cirrus.yml
|
@ -1,64 +1,37 @@
|
||||||
#task:
|
task:
|
||||||
# env:
|
# Xcode 12 task
|
||||||
# EMULATOR_API_LEVEL: 30
|
osx_instance:
|
||||||
# ABI: "google_apis;x86"
|
image: big-sur-xcode-12.4
|
||||||
# # Xcode 12 task
|
install_node_script:
|
||||||
# osx_instance:
|
- brew install node
|
||||||
# image: big-sur-xcode-12.4
|
- cd ./nodejs_server_test_auth_basic_and_ssl
|
||||||
# install_node_script:
|
- npm install
|
||||||
# - brew install node
|
upgrade_script:
|
||||||
# - cd ./nodejs_server_test_auth_basic_and_ssl
|
- sudo gem install cocoapods
|
||||||
# - npm install
|
#- flutter channel stable
|
||||||
# upgrade_script:
|
#- flutter upgrade
|
||||||
# - sudo gem install cocoapods
|
#- flutter channel beta
|
||||||
# #- flutter channel stable
|
#- flutter upgrade
|
||||||
# #- flutter upgrade
|
#- flutter channel dev
|
||||||
# #- flutter channel beta
|
#- flutter upgrade
|
||||||
# #- flutter upgrade
|
- flutter channel master
|
||||||
# #- flutter channel dev
|
- flutter upgrade
|
||||||
# #- flutter upgrade
|
- git fetch origin master
|
||||||
## - flutter channel master
|
matrix:
|
||||||
## - flutter upgrade
|
- name: test_plugin_ios
|
||||||
## - git fetch origin master
|
env:
|
||||||
# matrix:
|
matrix:
|
||||||
## - name: test_plugin_ios
|
CHANNEL: "master"
|
||||||
## env:
|
#CHANNEL: "dev"
|
||||||
## matrix:
|
#CHANNEL: "beta"
|
||||||
## CHANNEL: "master"
|
#CHANNEL: "stable"
|
||||||
## #CHANNEL: "dev"
|
test_script:
|
||||||
## #CHANNEL: "beta"
|
- xcrun simctl list
|
||||||
## #CHANNEL: "stable"
|
- xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-12 com.apple.CoreSimulator.SimRuntime.iOS-14-4 | xargs xcrun simctl boot
|
||||||
## script:
|
- flutter channel $CHANNEL
|
||||||
## - xcrun simctl list
|
- ./scripts/test.sh $(ipconfig getifaddr en0)
|
||||||
## - xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-12 com.apple.CoreSimulator.SimRuntime.iOS-14-4 | xargs xcrun simctl boot
|
pub_cache:
|
||||||
## - flutter channel $CHANNEL
|
folder: ~/.pub-cache
|
||||||
## - ./scripts/test.sh $(ipconfig getifaddr en0)
|
|
||||||
# - name: test_plugin_android
|
|
||||||
# env:
|
|
||||||
# matrix:
|
|
||||||
# CHANNEL: "master"
|
|
||||||
# #CHANNEL: "dev"
|
|
||||||
# #CHANNEL: "beta"
|
|
||||||
# #CHANNEL: "stable"
|
|
||||||
# install_images_script:
|
|
||||||
# - mkdir -p .android && touch ~/.android/repositories.cfg
|
|
||||||
# #- sdkmanager --list
|
|
||||||
# - sdkmanager "system-images;android-$EMULATOR_API_LEVEL;$ABI"
|
|
||||||
# - (yes || true) | sdkmanager --licenses
|
|
||||||
# create_device_script:
|
|
||||||
# echo no | avdmanager create avd --force -n test -k "system-images;android-$EMULATOR_API_LEVEL;$ABI"
|
|
||||||
# start_emulator_background_script:
|
|
||||||
# $ANDROID_SDK_ROOT/emulator/emulator -verbose -avd test -no-audio -no-window
|
|
||||||
# pub_cache:
|
|
||||||
# folder: ~/.pub-cache
|
|
||||||
# wait_for_emulator_script:
|
|
||||||
# #- adb wait-for-device
|
|
||||||
# - ./scripts/android-wait-for-emulator.sh
|
|
||||||
# #- adb shell input keyevent 82
|
|
||||||
# flutter_change_channel_script: flutter channel $CHANNEL
|
|
||||||
# doctor_script: flutter doctor -v
|
|
||||||
# devices_script: flutter devices
|
|
||||||
# script: ./scripts/test.sh $(ipconfig getifaddr en0)
|
|
||||||
|
|
||||||
task:
|
task:
|
||||||
env:
|
env:
|
||||||
|
@ -67,8 +40,8 @@ task:
|
||||||
ABI: "x86"
|
ABI: "x86"
|
||||||
container:
|
container:
|
||||||
image: cirrusci/flutter:latest
|
image: cirrusci/flutter:latest
|
||||||
cpu: 4
|
cpu: 6
|
||||||
memory: 10G
|
memory: 12G
|
||||||
kvm: true
|
kvm: true
|
||||||
install_node_script:
|
install_node_script:
|
||||||
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
|
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
|
||||||
|
@ -122,6 +95,6 @@ task:
|
||||||
- export NVM_DIR="$HOME/.nvm"
|
- export NVM_DIR="$HOME/.nvm"
|
||||||
- source "$NVM_DIR/nvm.sh" # This loads nvm
|
- source "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
- nvm use node
|
- nvm use node
|
||||||
- ./scripts/test.sh $(ipconfig getifaddr en0)
|
- ./scripts/test.sh $(ifconfig en0 | grep "inet " | grep -Fv 127.0.0.1 | awk '{print $2}')
|
||||||
pub_cache:
|
pub_cache:
|
||||||
folder: ~/.pub-cache
|
folder: ~/.pub-cache
|
||||||
|
|
91
.travis.yml
91
.travis.yml
|
@ -1,33 +1,84 @@
|
||||||
language: dart
|
language: dart
|
||||||
|
|
||||||
install:
|
|
||||||
- export HOMEBREW_NO_AUTO_UPDATE=1
|
|
||||||
- brew install node
|
|
||||||
- brew install libimobiledevice ideviceinstaller ios-deploy
|
|
||||||
- brew install cocoapods || echo 'ignore exit(1)'
|
|
||||||
- brew link --overwrite cocoapods
|
|
||||||
- export FLUTTER_HOME=$HOME/flutter
|
|
||||||
- export PATH=$HOME/flutter:$HOME/flutter/bin/:$HOME/flutter/bin/cache/dart-sdk/bin:$PATH
|
|
||||||
- git clone https://github.com/flutter/flutter.git $FLUTTER_HOME
|
|
||||||
- cd $FLUTTER_HOME
|
|
||||||
- git checkout beta
|
|
||||||
- git checkout stable
|
|
||||||
- flutter doctor
|
|
||||||
- flutter channel master
|
|
||||||
- flutter upgrade
|
|
||||||
- flutter doctor
|
|
||||||
- cd $TRAVIS_BUILD_DIR
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- stage: iOS Integration Tests
|
- stage: iOS Integration Tests
|
||||||
os: osx
|
os: osx
|
||||||
osx_image: xcode12.3
|
osx_image: xcode12.3
|
||||||
before_script:
|
install:
|
||||||
|
- export HOMEBREW_NO_AUTO_UPDATE=1
|
||||||
|
- brew install node
|
||||||
|
- brew install libimobiledevice ideviceinstaller ios-deploy
|
||||||
|
- brew install cocoapods || echo 'ignore exit(1)'
|
||||||
|
- brew link --overwrite cocoapods
|
||||||
|
- export FLUTTER_HOME=$HOME/flutter
|
||||||
|
- export PATH=$HOME/flutter:$HOME/flutter/bin/:$HOME/flutter/bin/cache/dart-sdk/bin:$PATH
|
||||||
|
- git clone https://github.com/flutter/flutter.git $FLUTTER_HOME
|
||||||
|
- cd $FLUTTER_HOME
|
||||||
|
- git checkout beta
|
||||||
|
- git checkout stable
|
||||||
|
- flutter doctor
|
||||||
|
- flutter channel master
|
||||||
|
- flutter upgrade
|
||||||
|
- flutter doctor
|
||||||
- cd $TRAVIS_BUILD_DIR/nodejs_server_test_auth_basic_and_ssl
|
- cd $TRAVIS_BUILD_DIR/nodejs_server_test_auth_basic_and_ssl
|
||||||
- npm install
|
- npm install
|
||||||
- cd $TRAVIS_BUILD_DIR
|
- cd $TRAVIS_BUILD_DIR
|
||||||
|
before_script:
|
||||||
- xcrun simctl list
|
- xcrun simctl list
|
||||||
- xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-12 com.apple.CoreSimulator.SimRuntime.iOS-14-3 | xargs xcrun simctl boot
|
- xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-12 com.apple.CoreSimulator.SimRuntime.iOS-14-3 | xargs xcrun simctl boot
|
||||||
script:
|
script:
|
||||||
- ./scripts/test.sh $(ipconfig getifaddr en0)
|
- ./scripts/test.sh $(ipconfig getifaddr en0)
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.pub-cache
|
||||||
|
|
||||||
|
include:
|
||||||
|
- stage: Android Integration Tests
|
||||||
|
language: android
|
||||||
|
dist: trusty
|
||||||
|
android:
|
||||||
|
components:
|
||||||
|
- tools
|
||||||
|
- platform-tools
|
||||||
|
- build-tools-30.0.0
|
||||||
|
- android-30
|
||||||
|
- sys-img-x86-android-30
|
||||||
|
licenses:
|
||||||
|
- 'android-sdk-preview-license-52d11cd2'
|
||||||
|
- 'android-sdk-license-.+'
|
||||||
|
- 'google-gdk-license-.+'
|
||||||
|
before_install:
|
||||||
|
- yes | sdkmanager "platforms;android-30"
|
||||||
|
- echo no | avdmanager --verbose create avd --force -n test -k "system-images;android-30;google_apis;x86"
|
||||||
|
- emulator -avd test -verbose -no-window -no-audio &
|
||||||
|
- ./scripts/android-wait-for-emulator.sh
|
||||||
|
install:
|
||||||
|
- export FLUTTER_HOME=$HOME/flutter
|
||||||
|
- export PATH=$HOME/flutter:$HOME/flutter/bin/:$HOME/flutter/bin/cache/dart-sdk/bin:$PATH
|
||||||
|
- git clone https://github.com/flutter/flutter.git $FLUTTER_HOME
|
||||||
|
- cd $FLUTTER_HOME
|
||||||
|
- git checkout beta
|
||||||
|
- git checkout stable
|
||||||
|
- flutter doctor
|
||||||
|
- flutter channel master
|
||||||
|
- flutter upgrade
|
||||||
|
- flutter doctor
|
||||||
|
- cd $TRAVIS_BUILD_DIR
|
||||||
|
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
|
||||||
|
- export NVM_DIR="$HOME/.nvm"
|
||||||
|
- source "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
- nvm install node
|
||||||
|
- nvm use node
|
||||||
|
- cd $TRAVIS_BUILD_DIR/nodejs_server_test_auth_basic_and_ssl
|
||||||
|
- npm install
|
||||||
|
- cd $TRAVIS_BUILD_DIR
|
||||||
|
script:
|
||||||
|
- export PATH="$PATH":"$HOME/.pub-cache/bin"
|
||||||
|
- export NVM_DIR="$HOME/.nvm"
|
||||||
|
- source "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
- nvm use node
|
||||||
|
- ./scripts/test.sh $(ifconfig en0 | grep "inet " | grep -Fv 127.0.0.1 | awk '{print $2}')
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.pub-cache
|
|
@ -1 +1 @@
|
||||||
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"device_info","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/device_info-2.0.0-nullsafety.2/","dependencies":[]},{"name":"flutter_downloader","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_downloader-1.5.2/","dependencies":[]},{"name":"flutter_inappwebview","path":"/Users/lorenzopichilli/Desktop/flutter_inappwebview/","dependencies":["device_info"]},{"name":"integration_test","path":"/Users/lorenzopichilli/flutter/.pub-cache/git/plugins-16f3281b04b0db12e609352b1c9544901392e428/packages/integration_test/","dependencies":[]},{"name":"path_provider","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.27/","dependencies":[]},{"name":"permission_handler","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/","dependencies":[]},{"name":"url_launcher","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.0-nullsafety.4/","dependencies":[]}],"android":[{"name":"device_info","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/device_info-2.0.0-nullsafety.2/","dependencies":[]},{"name":"flutter_downloader","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_downloader-1.5.2/","dependencies":[]},{"name":"flutter_inappwebview","path":"/Users/lorenzopichilli/Desktop/flutter_inappwebview/","dependencies":["device_info"]},{"name":"integration_test","path":"/Users/lorenzopichilli/flutter/.pub-cache/git/plugins-16f3281b04b0db12e609352b1c9544901392e428/packages/integration_test/","dependencies":[]},{"name":"path_provider","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.27/","dependencies":[]},{"name":"permission_handler","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/","dependencies":[]},{"name":"url_launcher","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.0-nullsafety.4/","dependencies":[]}],"macos":[{"name":"path_provider_macos","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+8/","dependencies":[]},{"name":"url_launcher_macos","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.1.0-nullsafety.2/","dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+2/","dependencies":[]},{"name":"url_launcher_linux","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-0.1.0-nullsafety.3/","dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.4+3/","dependencies":[]},{"name":"url_launcher_windows","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-0.1.0-nullsafety.2/","dependencies":[]}],"web":[]},"dependencyGraph":[{"name":"device_info","dependencies":[]},{"name":"flutter_downloader","dependencies":[]},{"name":"flutter_inappwebview","dependencies":["device_info"]},{"name":"integration_test","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_macos","path_provider_linux","path_provider_windows"]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_macos","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"permission_handler","dependencies":[]},{"name":"url_launcher","dependencies":["url_launcher_linux","url_launcher_macos","url_launcher_windows"]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]}],"date_created":"2021-02-10 15:00:44.003747","version":"1.26.0-18.0.pre.257"}
|
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"device_info","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/device_info-2.0.0-nullsafety.2/","dependencies":[]},{"name":"flutter_downloader","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_downloader-1.5.2/","dependencies":[]},{"name":"flutter_inappwebview","path":"/Users/lorenzopichilli/Desktop/flutter_inappwebview/","dependencies":["device_info"]},{"name":"integration_test","path":"/Users/lorenzopichilli/flutter/.pub-cache/git/plugins-16f3281b04b0db12e609352b1c9544901392e428/packages/integration_test/","dependencies":[]},{"name":"path_provider","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.27/","dependencies":[]},{"name":"permission_handler","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/","dependencies":[]},{"name":"url_launcher","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.0-nullsafety.4/","dependencies":[]}],"android":[{"name":"device_info","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/device_info-2.0.0-nullsafety.2/","dependencies":[]},{"name":"flutter_downloader","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_downloader-1.5.2/","dependencies":[]},{"name":"flutter_inappwebview","path":"/Users/lorenzopichilli/Desktop/flutter_inappwebview/","dependencies":["device_info"]},{"name":"integration_test","path":"/Users/lorenzopichilli/flutter/.pub-cache/git/plugins-16f3281b04b0db12e609352b1c9544901392e428/packages/integration_test/","dependencies":[]},{"name":"path_provider","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.27/","dependencies":[]},{"name":"permission_handler","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/","dependencies":[]},{"name":"url_launcher","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.0-nullsafety.4/","dependencies":[]}],"macos":[{"name":"path_provider_macos","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+8/","dependencies":[]},{"name":"url_launcher_macos","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.1.0-nullsafety.2/","dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+2/","dependencies":[]},{"name":"url_launcher_linux","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-0.1.0-nullsafety.3/","dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.4+3/","dependencies":[]},{"name":"url_launcher_windows","path":"/Users/lorenzopichilli/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-0.1.0-nullsafety.2/","dependencies":[]}],"web":[]},"dependencyGraph":[{"name":"device_info","dependencies":[]},{"name":"flutter_downloader","dependencies":[]},{"name":"flutter_inappwebview","dependencies":["device_info"]},{"name":"integration_test","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_macos","path_provider_linux","path_provider_windows"]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_macos","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"permission_handler","dependencies":[]},{"name":"url_launcher","dependencies":["url_launcher_linux","url_launcher_macos","url_launcher_windows"]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]}],"date_created":"2021-02-10 15:36:56.627116","version":"1.26.0-18.0.pre.257"}
|
|
@ -684,7 +684,7 @@ void main() {
|
||||||
const int Y_SCROLL = 321;
|
const int Y_SCROLL = 321;
|
||||||
|
|
||||||
await controller.scrollTo(x: X_SCROLL, y: Y_SCROLL);
|
await controller.scrollTo(x: X_SCROLL, y: Y_SCROLL);
|
||||||
await tester.pumpAndSettle(Duration(seconds: 1));
|
await tester.pumpAndSettle(Duration(seconds: 2));
|
||||||
int scrollPosX = await controller.getScrollX();
|
int scrollPosX = await controller.getScrollX();
|
||||||
int scrollPosY = await controller.getScrollY();
|
int scrollPosY = await controller.getScrollY();
|
||||||
expect(scrollPosX, X_SCROLL);
|
expect(scrollPosX, X_SCROLL);
|
||||||
|
@ -692,7 +692,7 @@ void main() {
|
||||||
|
|
||||||
// Check scrollBy() (on top of scrollTo())
|
// Check scrollBy() (on top of scrollTo())
|
||||||
await controller.scrollBy(x: X_SCROLL, y: Y_SCROLL);
|
await controller.scrollBy(x: X_SCROLL, y: Y_SCROLL);
|
||||||
await tester.pumpAndSettle(Duration(seconds: 1));
|
await tester.pumpAndSettle(Duration(seconds: 2));
|
||||||
scrollPosX = await controller.getScrollX();
|
scrollPosX = await controller.getScrollX();
|
||||||
scrollPosY = await controller.getScrollY();
|
scrollPosY = await controller.getScrollY();
|
||||||
expect(scrollPosX, X_SCROLL * 2);
|
expect(scrollPosX, X_SCROLL * 2);
|
||||||
|
@ -761,7 +761,7 @@ void main() {
|
||||||
const int Y_SCROLL = 321;
|
const int Y_SCROLL = 321;
|
||||||
|
|
||||||
await controller.scrollTo(x: X_SCROLL, y: Y_SCROLL);
|
await controller.scrollTo(x: X_SCROLL, y: Y_SCROLL);
|
||||||
await tester.pumpAndSettle(Duration(seconds: 1));
|
await tester.pumpAndSettle(Duration(seconds: 2));
|
||||||
int scrollPosX = await controller.getScrollX();
|
int scrollPosX = await controller.getScrollX();
|
||||||
int scrollPosY = await controller.getScrollY();
|
int scrollPosY = await controller.getScrollY();
|
||||||
expect(scrollPosX, X_SCROLL);
|
expect(scrollPosX, X_SCROLL);
|
||||||
|
@ -769,7 +769,7 @@ void main() {
|
||||||
|
|
||||||
// Check scrollBy() (on top of scrollTo())
|
// Check scrollBy() (on top of scrollTo())
|
||||||
await controller.scrollBy(x: X_SCROLL, y: Y_SCROLL);
|
await controller.scrollBy(x: X_SCROLL, y: Y_SCROLL);
|
||||||
await tester.pumpAndSettle(Duration(seconds: 1));
|
await tester.pumpAndSettle(Duration(seconds: 2));
|
||||||
scrollPosX = await controller.getScrollX();
|
scrollPosX = await controller.getScrollX();
|
||||||
scrollPosY = await controller.getScrollY();
|
scrollPosY = await controller.getScrollY();
|
||||||
expect(scrollPosX, X_SCROLL * 2);
|
expect(scrollPosX, X_SCROLL * 2);
|
||||||
|
|
|
@ -7,7 +7,8 @@ function error() {
|
||||||
echo "$@" 1>&2
|
echo "$@" 1>&2
|
||||||
}
|
}
|
||||||
|
|
||||||
# on linux/macOS local IP can be found using $(ipconfig getifaddr en0)
|
# on macOS local IP can be found using $(ipconfig getifaddr en0)
|
||||||
|
# on linux local IP can be found using $(ifconfig en0 | grep "inet " | grep -Fv 127.0.0.1 | awk '{print $2}')
|
||||||
export NODE_SERVER_IP=$1
|
export NODE_SERVER_IP=$1
|
||||||
FAILED=0
|
FAILED=0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue