Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
revert test code
  • Loading branch information
Chris Yang committed Jan 28, 2021
commit 1662be69140cfc7594bdfdfe6cc3a17e39e6c192
2 changes: 1 addition & 1 deletion packages/camera/camera/test/camera_image_stream_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ void main() {
CameraPlatform.instance = MockCameraPlatform();
});

test('startImageStream() throws $CameraException when uninitialized 1', () {
test('startImageStream() throws $CameraException when uninitialized', () {
CameraController cameraController = CameraController(
CameraDescription(
name: 'cam',
Expand Down
2 changes: 1 addition & 1 deletion packages/espresso/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo1',
title: 'Flutter Demo',
theme: ThemeData(
// This is the theme of your application.
//
Expand Down
26 changes: 12 additions & 14 deletions script/incremental_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,16 @@ if [[ "${BRANCH_NAME}" == "master" ]]; then
(cd "$REPO_DIR" && $PUB global run flutter_plugin_tools "${ACTIONS[@]}" --exclude="$ALL_EXCLUDED" ${PLUGIN_SHARDING[@]})
else
# Sets CHANGED_PACKAGES
# check_changed_packages
(cd "$REPO_DIR" && $PUB global run flutter_plugin_tools "${ACTIONS[@]}" --exclude="$ALL_EXCLUDED" ${PLUGIN_SHARDING[@]})

# if [[ "$CHANGED_PACKAGES" == "" ]]; then
# echo "No changes detected in packages."
# echo "Running for all packages"
# (cd "$REPO_DIR" && $PUB global run flutter_plugin_tools "${ACTIONS[@]}" --exclude="$ALL_EXCLUDED" ${PLUGIN_SHARDING[@]})
# else
# echo running "${ACTIONS[@]}"
# (cd "$REPO_DIR" && $PUB global run flutter_plugin_tools "${ACTIONS[@]}" --plugins="$CHANGED_PACKAGES" --exclude="$ALL_EXCLUDED" ${PLUGIN_SHARDING[@]})
# echo "Running version check for changed packages"
# # TODO(egarciad): Enable this check once in master.
# # (cd "$REPO_DIR" && $PUB global run flutter_plugin_tools version-check --base_sha="$(get_branch_base_sha)")
# fi
check_changed_packages
if [[ "$CHANGED_PACKAGES" == "" ]]; then
echo "No changes detected in packages."
echo "Running for all packages"
(cd "$REPO_DIR" && $PUB global run flutter_plugin_tools "${ACTIONS[@]}" --exclude="$ALL_EXCLUDED" ${PLUGIN_SHARDING[@]})
else
echo running "${ACTIONS[@]}"
(cd "$REPO_DIR" && $PUB global run flutter_plugin_tools "${ACTIONS[@]}" --plugins="$CHANGED_PACKAGES" --exclude="$ALL_EXCLUDED" ${PLUGIN_SHARDING[@]})
echo "Running version check for changed packages"
# TODO(egarciad): Enable this check once in master.
# (cd "$REPO_DIR" && $PUB global run flutter_plugin_tools version-check --base_sha="$(get_branch_base_sha)")
fi
fi