From 0ab945f16377a7f9d53d3c2caa331e22f521836a Mon Sep 17 00:00:00 2001 From: Eric Windmill Date: Wed, 25 Sep 2024 09:36:26 -0400 Subject: [PATCH] add license header to test and server files --- .../repositories/activity/activity_repository_local_test.dart | 4 ++++ .../activity/activity_repository_remote_test.dart | 4 ++++ .../data/repositories/auth/auth_repository_remote_test.dart | 4 ++++ .../repositories/booking/booking_repository_remote_test.dart | 4 ++++ .../continent/continent_repository_remote_test.dart | 4 ++++ .../destination/destination_repository_local_test.dart | 4 ++++ .../destination/destination_repository_remote_test.dart | 4 ++++ compass_app/app/test/data/services/api/api_client_test.dart | 4 ++++ .../app/test/data/services/api/auth_api_client_test.dart | 4 ++++ .../use_cases/booking/booking_create_use_case_test.dart | 4 ++++ .../domain/use_cases/booking/booking_share_use_case_test.dart | 4 ++++ .../app/test/ui/activities/activities_screen_test.dart | 4 ++++ compass_app/app/test/ui/auth/login_screen_test.dart | 4 ++++ compass_app/app/test/ui/auth/logout_button_test.dart | 4 ++++ compass_app/app/test/ui/booking/booking_screen_test.dart | 4 ++++ compass_app/app/test/ui/home/widgets/home_screen_test.dart | 4 ++++ compass_app/app/test/ui/results/results_screen_test.dart | 4 ++++ compass_app/app/test/ui/results/results_viewmodel_test.dart | 4 ++++ .../search_form/view_models/search_form_viewmodel_test.dart | 4 ++++ .../ui/search_form/widgets/search_form_continent_test.dart | 4 ++++ .../test/ui/search_form/widgets/search_form_date_test.dart | 4 ++++ .../test/ui/search_form/widgets/search_form_guests_test.dart | 4 ++++ .../test/ui/search_form/widgets/search_form_screen_test.dart | 4 ++++ .../test/ui/search_form/widgets/search_form_submit_test.dart | 4 ++++ compass_app/app/test/utils/command_test.dart | 4 ++++ compass_app/app/testing/app.dart | 4 ++++ .../fakes/repositories/fake_activities_repository.dart | 4 ++++ .../app/testing/fakes/repositories/fake_auth_repository.dart | 4 ++++ .../testing/fakes/repositories/fake_booking_repository.dart | 4 ++++ .../testing/fakes/repositories/fake_continent_repository.dart | 4 ++++ .../fakes/repositories/fake_destination_repository.dart | 4 ++++ .../fakes/repositories/fake_itinerary_config_repository.dart | 4 ++++ .../app/testing/fakes/repositories/fake_user_repository.dart | 4 ++++ compass_app/app/testing/fakes/services/fake_api_client.dart | 4 ++++ .../app/testing/fakes/services/fake_auth_api_client.dart | 4 ++++ .../fakes/services/fake_shared_preferences_service.dart | 4 ++++ compass_app/app/testing/mocks.dart | 4 ++++ compass_app/app/testing/models/activity.dart | 4 ++++ compass_app/app/testing/models/booking.dart | 4 ++++ compass_app/app/testing/models/destination.dart | 4 ++++ compass_app/app/testing/models/user.dart | 4 ++++ compass_app/server/bin/compass_server.dart | 4 ++++ compass_app/server/lib/config/assets.dart | 4 ++++ compass_app/server/lib/config/constants.dart | 4 ++++ compass_app/server/lib/middleware/auth.dart | 4 ++++ compass_app/server/lib/model/activity/activity.dart | 4 ++++ compass_app/server/lib/model/booking/booking.dart | 4 ++++ compass_app/server/lib/model/continent/continent.dart | 4 ++++ compass_app/server/lib/model/destination/destination.dart | 4 ++++ compass_app/server/lib/model/login_request/login_request.dart | 4 ++++ .../server/lib/model/login_response/login_response.dart | 4 ++++ compass_app/server/lib/model/user/user.dart | 4 ++++ compass_app/server/lib/routes/booking.dart | 4 ++++ compass_app/server/lib/routes/continent.dart | 4 ++++ compass_app/server/lib/routes/destination.dart | 4 ++++ compass_app/server/lib/routes/login.dart | 4 ++++ compass_app/server/lib/routes/user.dart | 4 ++++ compass_app/server/test/server_test.dart | 4 ++++ 58 files changed, 232 insertions(+) diff --git a/compass_app/app/test/data/repositories/activity/activity_repository_local_test.dart b/compass_app/app/test/data/repositories/activity/activity_repository_local_test.dart index 95758431c..739f35084 100644 --- a/compass_app/app/test/data/repositories/activity/activity_repository_local_test.dart +++ b/compass_app/app/test/data/repositories/activity/activity_repository_local_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/repositories/activity/activity_repository_local.dart'; import 'package:compass_app/data/services/local/local_data_service.dart'; import 'package:compass_app/utils/result.dart'; diff --git a/compass_app/app/test/data/repositories/activity/activity_repository_remote_test.dart b/compass_app/app/test/data/repositories/activity/activity_repository_remote_test.dart index fe03b17bb..a75734e54 100644 --- a/compass_app/app/test/data/repositories/activity/activity_repository_remote_test.dart +++ b/compass_app/app/test/data/repositories/activity/activity_repository_remote_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/repositories/activity/activity_repository.dart'; import 'package:compass_app/data/repositories/activity/activity_repository_remote.dart'; import 'package:compass_app/utils/result.dart'; diff --git a/compass_app/app/test/data/repositories/auth/auth_repository_remote_test.dart b/compass_app/app/test/data/repositories/auth/auth_repository_remote_test.dart index c0ed8e0c2..5d6934f91 100644 --- a/compass_app/app/test/data/repositories/auth/auth_repository_remote_test.dart +++ b/compass_app/app/test/data/repositories/auth/auth_repository_remote_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/repositories/auth/auth_repository_remote.dart'; import 'package:compass_app/utils/result.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/compass_app/app/test/data/repositories/booking/booking_repository_remote_test.dart b/compass_app/app/test/data/repositories/booking/booking_repository_remote_test.dart index 487f8e873..54b907c1d 100644 --- a/compass_app/app/test/data/repositories/booking/booking_repository_remote_test.dart +++ b/compass_app/app/test/data/repositories/booking/booking_repository_remote_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/repositories/booking/booking_repository.dart'; import 'package:compass_app/data/repositories/booking/booking_repository_remote.dart'; import 'package:compass_app/utils/result.dart'; diff --git a/compass_app/app/test/data/repositories/continent/continent_repository_remote_test.dart b/compass_app/app/test/data/repositories/continent/continent_repository_remote_test.dart index 0b182ef48..4a41120b7 100644 --- a/compass_app/app/test/data/repositories/continent/continent_repository_remote_test.dart +++ b/compass_app/app/test/data/repositories/continent/continent_repository_remote_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/repositories/continent/continent_repository.dart'; import 'package:compass_app/data/repositories/continent/continent_repository_remote.dart'; import 'package:compass_app/utils/result.dart'; diff --git a/compass_app/app/test/data/repositories/destination/destination_repository_local_test.dart b/compass_app/app/test/data/repositories/destination/destination_repository_local_test.dart index 5534aa608..62fa01357 100644 --- a/compass_app/app/test/data/repositories/destination/destination_repository_local_test.dart +++ b/compass_app/app/test/data/repositories/destination/destination_repository_local_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/services/local/local_data_service.dart'; import 'package:compass_app/utils/result.dart'; import 'package:compass_app/data/repositories/destination/destination_repository_local.dart'; diff --git a/compass_app/app/test/data/repositories/destination/destination_repository_remote_test.dart b/compass_app/app/test/data/repositories/destination/destination_repository_remote_test.dart index 990c5190f..2559f030e 100644 --- a/compass_app/app/test/data/repositories/destination/destination_repository_remote_test.dart +++ b/compass_app/app/test/data/repositories/destination/destination_repository_remote_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/repositories/destination/destination_repository.dart'; import 'package:compass_app/data/repositories/destination/destination_repository_remote.dart'; import 'package:compass_app/utils/result.dart'; diff --git a/compass_app/app/test/data/services/api/api_client_test.dart b/compass_app/app/test/data/services/api/api_client_test.dart index c077bed57..e3965e4e3 100644 --- a/compass_app/app/test/data/services/api/api_client_test.dart +++ b/compass_app/app/test/data/services/api/api_client_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/services/api/api_client.dart'; import 'package:compass_app/domain/models/continent/continent.dart'; import 'package:compass_app/utils/result.dart'; diff --git a/compass_app/app/test/data/services/api/auth_api_client_test.dart b/compass_app/app/test/data/services/api/auth_api_client_test.dart index 0301bb9d2..50d20e561 100644 --- a/compass_app/app/test/data/services/api/auth_api_client_test.dart +++ b/compass_app/app/test/data/services/api/auth_api_client_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/services/api/auth_api_client.dart'; import 'package:compass_app/data/services/api/model/login_request/login_request.dart'; import 'package:compass_app/data/services/api/model/login_response/login_response.dart'; diff --git a/compass_app/app/test/domain/use_cases/booking/booking_create_use_case_test.dart b/compass_app/app/test/domain/use_cases/booking/booking_create_use_case_test.dart index 94a04fd27..e148eb582 100644 --- a/compass_app/app/test/domain/use_cases/booking/booking_create_use_case_test.dart +++ b/compass_app/app/test/domain/use_cases/booking/booking_create_use_case_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/domain/use_cases/booking/booking_create_use_case.dart'; import 'package:compass_app/domain/models/itinerary_config/itinerary_config.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/compass_app/app/test/domain/use_cases/booking/booking_share_use_case_test.dart b/compass_app/app/test/domain/use_cases/booking/booking_share_use_case_test.dart index 4098a867d..4cb920e88 100644 --- a/compass_app/app/test/domain/use_cases/booking/booking_share_use_case_test.dart +++ b/compass_app/app/test/domain/use_cases/booking/booking_share_use_case_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/domain/use_cases/booking/booking_share_use_case.dart'; import 'package:compass_app/domain/models/booking/booking.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/compass_app/app/test/ui/activities/activities_screen_test.dart b/compass_app/app/test/ui/activities/activities_screen_test.dart index d40f1504d..97ac3366c 100644 --- a/compass_app/app/test/ui/activities/activities_screen_test.dart +++ b/compass_app/app/test/ui/activities/activities_screen_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/domain/models/itinerary_config/itinerary_config.dart'; import 'package:compass_app/ui/activities/view_models/activities_viewmodel.dart'; import 'package:compass_app/ui/activities/widgets/activities_screen.dart'; diff --git a/compass_app/app/test/ui/auth/login_screen_test.dart b/compass_app/app/test/ui/auth/login_screen_test.dart index c387997dd..f454ea625 100644 --- a/compass_app/app/test/ui/auth/login_screen_test.dart +++ b/compass_app/app/test/ui/auth/login_screen_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/ui/auth/login/view_models/login_viewmodel.dart'; import 'package:compass_app/ui/auth/login/widgets/login_screen.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/compass_app/app/test/ui/auth/logout_button_test.dart b/compass_app/app/test/ui/auth/logout_button_test.dart index ec846dcb7..383ceadb7 100644 --- a/compass_app/app/test/ui/auth/logout_button_test.dart +++ b/compass_app/app/test/ui/auth/logout_button_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/domain/models/itinerary_config/itinerary_config.dart'; import 'package:compass_app/ui/auth/logout/view_models/logout_viewmodel.dart'; import 'package:compass_app/ui/auth/logout/widgets/logout_button.dart'; diff --git a/compass_app/app/test/ui/booking/booking_screen_test.dart b/compass_app/app/test/ui/booking/booking_screen_test.dart index 6845779d4..6ae3100de 100644 --- a/compass_app/app/test/ui/booking/booking_screen_test.dart +++ b/compass_app/app/test/ui/booking/booking_screen_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/domain/use_cases/booking/booking_create_use_case.dart'; import 'package:compass_app/domain/use_cases/booking/booking_share_use_case.dart'; import 'package:compass_app/domain/models/itinerary_config/itinerary_config.dart'; diff --git a/compass_app/app/test/ui/home/widgets/home_screen_test.dart b/compass_app/app/test/ui/home/widgets/home_screen_test.dart index 27251af2d..dec9ab37b 100644 --- a/compass_app/app/test/ui/home/widgets/home_screen_test.dart +++ b/compass_app/app/test/ui/home/widgets/home_screen_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/repositories/auth/auth_repository.dart'; import 'package:compass_app/data/repositories/itinerary_config/itinerary_config_repository.dart'; import 'package:compass_app/routing/routes.dart'; diff --git a/compass_app/app/test/ui/results/results_screen_test.dart b/compass_app/app/test/ui/results/results_screen_test.dart index 66a4df780..f27383742 100644 --- a/compass_app/app/test/ui/results/results_screen_test.dart +++ b/compass_app/app/test/ui/results/results_screen_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/domain/models/itinerary_config/itinerary_config.dart'; import 'package:compass_app/ui/results/view_models/results_viewmodel.dart'; import 'package:compass_app/ui/results/widgets/results_screen.dart'; diff --git a/compass_app/app/test/ui/results/results_viewmodel_test.dart b/compass_app/app/test/ui/results/results_viewmodel_test.dart index 771979e57..4031cc7b2 100644 --- a/compass_app/app/test/ui/results/results_viewmodel_test.dart +++ b/compass_app/app/test/ui/results/results_viewmodel_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/domain/models/itinerary_config/itinerary_config.dart'; import 'package:compass_app/ui/results/view_models/results_viewmodel.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/compass_app/app/test/ui/search_form/view_models/search_form_viewmodel_test.dart b/compass_app/app/test/ui/search_form/view_models/search_form_viewmodel_test.dart index e88865be3..f9e57b708 100644 --- a/compass_app/app/test/ui/search_form/view_models/search_form_viewmodel_test.dart +++ b/compass_app/app/test/ui/search_form/view_models/search_form_viewmodel_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:compass_app/ui/search_form/view_models/search_form_viewmodel.dart'; diff --git a/compass_app/app/test/ui/search_form/widgets/search_form_continent_test.dart b/compass_app/app/test/ui/search_form/widgets/search_form_continent_test.dart index 5b03b6947..5b868b6ee 100644 --- a/compass_app/app/test/ui/search_form/widgets/search_form_continent_test.dart +++ b/compass_app/app/test/ui/search_form/widgets/search_form_continent_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/ui/search_form/view_models/search_form_viewmodel.dart'; import 'package:compass_app/ui/search_form/widgets/search_form_continent.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/compass_app/app/test/ui/search_form/widgets/search_form_date_test.dart b/compass_app/app/test/ui/search_form/widgets/search_form_date_test.dart index 3a479d8d3..d89a3fd96 100644 --- a/compass_app/app/test/ui/search_form/widgets/search_form_date_test.dart +++ b/compass_app/app/test/ui/search_form/widgets/search_form_date_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/ui/search_form/view_models/search_form_viewmodel.dart'; import 'package:compass_app/ui/search_form/widgets/search_form_date.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/compass_app/app/test/ui/search_form/widgets/search_form_guests_test.dart b/compass_app/app/test/ui/search_form/widgets/search_form_guests_test.dart index 9fea4687f..5901f16e5 100644 --- a/compass_app/app/test/ui/search_form/widgets/search_form_guests_test.dart +++ b/compass_app/app/test/ui/search_form/widgets/search_form_guests_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/ui/search_form/view_models/search_form_viewmodel.dart'; import 'package:compass_app/ui/search_form/widgets/search_form_guests.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/compass_app/app/test/ui/search_form/widgets/search_form_screen_test.dart b/compass_app/app/test/ui/search_form/widgets/search_form_screen_test.dart index 92dd9adae..2d2cec097 100644 --- a/compass_app/app/test/ui/search_form/widgets/search_form_screen_test.dart +++ b/compass_app/app/test/ui/search_form/widgets/search_form_screen_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/repositories/auth/auth_repository.dart'; import 'package:compass_app/data/repositories/itinerary_config/itinerary_config_repository.dart'; import 'package:compass_app/ui/search_form/view_models/search_form_viewmodel.dart'; diff --git a/compass_app/app/test/ui/search_form/widgets/search_form_submit_test.dart b/compass_app/app/test/ui/search_form/widgets/search_form_submit_test.dart index 13b853bbf..784f14d11 100644 --- a/compass_app/app/test/ui/search_form/widgets/search_form_submit_test.dart +++ b/compass_app/app/test/ui/search_form/widgets/search_form_submit_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/ui/search_form/view_models/search_form_viewmodel.dart'; import 'package:compass_app/ui/search_form/widgets/search_form_submit.dart'; import 'package:flutter/material.dart'; diff --git a/compass_app/app/test/utils/command_test.dart b/compass_app/app/test/utils/command_test.dart index 2d0c712e5..a2b1c8870 100644 --- a/compass_app/app/test/utils/command_test.dart +++ b/compass_app/app/test/utils/command_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/utils/command.dart'; import 'package:compass_app/utils/result.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/compass_app/app/testing/app.dart b/compass_app/app/testing/app.dart index 9ec6b262c..2650a757d 100644 --- a/compass_app/app/testing/app.dart +++ b/compass_app/app/testing/app.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/ui/core/localization/applocalization.dart'; import 'package:compass_app/ui/core/themes/theme.dart'; import 'package:flutter/material.dart'; diff --git a/compass_app/app/testing/fakes/repositories/fake_activities_repository.dart b/compass_app/app/testing/fakes/repositories/fake_activities_repository.dart index 1f44a6c66..84c8173d1 100644 --- a/compass_app/app/testing/fakes/repositories/fake_activities_repository.dart +++ b/compass_app/app/testing/fakes/repositories/fake_activities_repository.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/repositories/activity/activity_repository.dart'; import 'package:compass_app/domain/models/activity/activity.dart'; import 'package:compass_app/utils/result.dart'; diff --git a/compass_app/app/testing/fakes/repositories/fake_auth_repository.dart b/compass_app/app/testing/fakes/repositories/fake_auth_repository.dart index ce1240964..55b8d1afe 100644 --- a/compass_app/app/testing/fakes/repositories/fake_auth_repository.dart +++ b/compass_app/app/testing/fakes/repositories/fake_auth_repository.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/repositories/auth/auth_repository.dart'; import 'package:compass_app/utils/result.dart'; diff --git a/compass_app/app/testing/fakes/repositories/fake_booking_repository.dart b/compass_app/app/testing/fakes/repositories/fake_booking_repository.dart index 82000f008..d6c3302de 100644 --- a/compass_app/app/testing/fakes/repositories/fake_booking_repository.dart +++ b/compass_app/app/testing/fakes/repositories/fake_booking_repository.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/repositories/booking/booking_repository.dart'; import 'package:compass_app/domain/models/booking/booking.dart'; import 'package:compass_app/domain/models/booking/booking_summary.dart'; diff --git a/compass_app/app/testing/fakes/repositories/fake_continent_repository.dart b/compass_app/app/testing/fakes/repositories/fake_continent_repository.dart index 5c265aedd..1021cc023 100644 --- a/compass_app/app/testing/fakes/repositories/fake_continent_repository.dart +++ b/compass_app/app/testing/fakes/repositories/fake_continent_repository.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/repositories/continent/continent_repository.dart'; import 'package:compass_app/domain/models/continent/continent.dart'; import 'package:compass_app/utils/result.dart'; diff --git a/compass_app/app/testing/fakes/repositories/fake_destination_repository.dart b/compass_app/app/testing/fakes/repositories/fake_destination_repository.dart index fa247a47a..65ec4d545 100644 --- a/compass_app/app/testing/fakes/repositories/fake_destination_repository.dart +++ b/compass_app/app/testing/fakes/repositories/fake_destination_repository.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/repositories/destination/destination_repository.dart'; import 'package:compass_app/domain/models/destination/destination.dart'; import 'package:compass_app/utils/result.dart'; diff --git a/compass_app/app/testing/fakes/repositories/fake_itinerary_config_repository.dart b/compass_app/app/testing/fakes/repositories/fake_itinerary_config_repository.dart index 116efe2d8..d59d1318e 100644 --- a/compass_app/app/testing/fakes/repositories/fake_itinerary_config_repository.dart +++ b/compass_app/app/testing/fakes/repositories/fake_itinerary_config_repository.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/repositories/itinerary_config/itinerary_config_repository.dart'; import 'package:compass_app/domain/models/itinerary_config/itinerary_config.dart'; import 'package:compass_app/utils/result.dart'; diff --git a/compass_app/app/testing/fakes/repositories/fake_user_repository.dart b/compass_app/app/testing/fakes/repositories/fake_user_repository.dart index b9d2de915..ef354d01c 100644 --- a/compass_app/app/testing/fakes/repositories/fake_user_repository.dart +++ b/compass_app/app/testing/fakes/repositories/fake_user_repository.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/repositories/user/user_repository.dart'; import 'package:compass_app/domain/models/user/user.dart'; import 'package:compass_app/utils/result.dart'; diff --git a/compass_app/app/testing/fakes/services/fake_api_client.dart b/compass_app/app/testing/fakes/services/fake_api_client.dart index 3b48d80b4..9f053e57e 100644 --- a/compass_app/app/testing/fakes/services/fake_api_client.dart +++ b/compass_app/app/testing/fakes/services/fake_api_client.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/services/api/api_client.dart'; import 'package:compass_app/data/services/api/model/booking/booking_api_model.dart'; import 'package:compass_app/data/services/api/model/user/user_api_model.dart'; diff --git a/compass_app/app/testing/fakes/services/fake_auth_api_client.dart b/compass_app/app/testing/fakes/services/fake_auth_api_client.dart index 2ba8e3226..714e2e7c3 100644 --- a/compass_app/app/testing/fakes/services/fake_auth_api_client.dart +++ b/compass_app/app/testing/fakes/services/fake_auth_api_client.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/services/api/auth_api_client.dart'; import 'package:compass_app/data/services/api/model/login_request/login_request.dart'; import 'package:compass_app/data/services/api/model/login_response/login_response.dart'; diff --git a/compass_app/app/testing/fakes/services/fake_shared_preferences_service.dart b/compass_app/app/testing/fakes/services/fake_shared_preferences_service.dart index 99bc60109..277869204 100644 --- a/compass_app/app/testing/fakes/services/fake_shared_preferences_service.dart +++ b/compass_app/app/testing/fakes/services/fake_shared_preferences_service.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/services/shared_preferences_service.dart'; import 'package:compass_app/utils/result.dart'; diff --git a/compass_app/app/testing/mocks.dart b/compass_app/app/testing/mocks.dart index f51c10597..429ed99d9 100644 --- a/compass_app/app/testing/mocks.dart +++ b/compass_app/app/testing/mocks.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'dart:convert'; import 'dart:io'; diff --git a/compass_app/app/testing/models/activity.dart b/compass_app/app/testing/models/activity.dart index 62cf1f918..a8e482a88 100644 --- a/compass_app/app/testing/models/activity.dart +++ b/compass_app/app/testing/models/activity.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/domain/models/activity/activity.dart'; const kActivity = Activity( diff --git a/compass_app/app/testing/models/booking.dart b/compass_app/app/testing/models/booking.dart index 9f72293b1..9e3a34bfe 100644 --- a/compass_app/app/testing/models/booking.dart +++ b/compass_app/app/testing/models/booking.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/services/api/model/booking/booking_api_model.dart'; import 'package:compass_app/domain/models/booking/booking.dart'; import 'package:compass_app/domain/models/booking/booking_summary.dart'; diff --git a/compass_app/app/testing/models/destination.dart b/compass_app/app/testing/models/destination.dart index 9945441f4..9844cb07d 100644 --- a/compass_app/app/testing/models/destination.dart +++ b/compass_app/app/testing/models/destination.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/domain/models/destination/destination.dart'; const kDestination1 = Destination( diff --git a/compass_app/app/testing/models/user.dart b/compass_app/app/testing/models/user.dart index 7be6d4595..a49b3413e 100644 --- a/compass_app/app/testing/models/user.dart +++ b/compass_app/app/testing/models/user.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:compass_app/data/services/api/model/user/user_api_model.dart'; import 'package:compass_app/domain/models/user/user.dart'; diff --git a/compass_app/server/bin/compass_server.dart b/compass_app/server/bin/compass_server.dart index 73dad0d74..7f2011552 100644 --- a/compass_app/server/bin/compass_server.dart +++ b/compass_app/server/bin/compass_server.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'dart:io'; import 'package:compass_server/middleware/auth.dart'; diff --git a/compass_app/server/lib/config/assets.dart b/compass_app/server/lib/config/assets.dart index e0706b5ef..6ee55cf86 100644 --- a/compass_app/server/lib/config/assets.dart +++ b/compass_app/server/lib/config/assets.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'dart:convert'; import 'dart:io'; diff --git a/compass_app/server/lib/config/constants.dart b/compass_app/server/lib/config/constants.dart index 9ad1a2369..60f35b40d 100644 --- a/compass_app/server/lib/config/constants.dart +++ b/compass_app/server/lib/config/constants.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import '../model/user/user.dart'; class Constants { diff --git a/compass_app/server/lib/middleware/auth.dart b/compass_app/server/lib/middleware/auth.dart index c238d75d5..4ee13c6ff 100644 --- a/compass_app/server/lib/middleware/auth.dart +++ b/compass_app/server/lib/middleware/auth.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:shelf/shelf.dart'; import '../config/constants.dart'; diff --git a/compass_app/server/lib/model/activity/activity.dart b/compass_app/server/lib/model/activity/activity.dart index f5d650564..eef66e8dc 100644 --- a/compass_app/server/lib/model/activity/activity.dart +++ b/compass_app/server/lib/model/activity/activity.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:freezed_annotation/freezed_annotation.dart'; part 'activity.freezed.dart'; diff --git a/compass_app/server/lib/model/booking/booking.dart b/compass_app/server/lib/model/booking/booking.dart index a661421e2..faf6b023d 100644 --- a/compass_app/server/lib/model/booking/booking.dart +++ b/compass_app/server/lib/model/booking/booking.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:freezed_annotation/freezed_annotation.dart'; part 'booking.freezed.dart'; diff --git a/compass_app/server/lib/model/continent/continent.dart b/compass_app/server/lib/model/continent/continent.dart index a07a2d4d9..e0a309d59 100644 --- a/compass_app/server/lib/model/continent/continent.dart +++ b/compass_app/server/lib/model/continent/continent.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:freezed_annotation/freezed_annotation.dart'; part 'continent.freezed.dart'; diff --git a/compass_app/server/lib/model/destination/destination.dart b/compass_app/server/lib/model/destination/destination.dart index 62bfcd0ee..457a12533 100644 --- a/compass_app/server/lib/model/destination/destination.dart +++ b/compass_app/server/lib/model/destination/destination.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:freezed_annotation/freezed_annotation.dart'; part 'destination.freezed.dart'; diff --git a/compass_app/server/lib/model/login_request/login_request.dart b/compass_app/server/lib/model/login_request/login_request.dart index b154a0c75..e30ec7cf6 100644 --- a/compass_app/server/lib/model/login_request/login_request.dart +++ b/compass_app/server/lib/model/login_request/login_request.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:freezed_annotation/freezed_annotation.dart'; part 'login_request.freezed.dart'; diff --git a/compass_app/server/lib/model/login_response/login_response.dart b/compass_app/server/lib/model/login_response/login_response.dart index d7388a894..bc17d6a9f 100644 --- a/compass_app/server/lib/model/login_response/login_response.dart +++ b/compass_app/server/lib/model/login_response/login_response.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:freezed_annotation/freezed_annotation.dart'; part 'login_response.freezed.dart'; diff --git a/compass_app/server/lib/model/user/user.dart b/compass_app/server/lib/model/user/user.dart index b11d25a87..26ad338b3 100644 --- a/compass_app/server/lib/model/user/user.dart +++ b/compass_app/server/lib/model/user/user.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:freezed_annotation/freezed_annotation.dart'; part 'user.freezed.dart'; diff --git a/compass_app/server/lib/routes/booking.dart b/compass_app/server/lib/routes/booking.dart index a44dafe36..90519c41d 100644 --- a/compass_app/server/lib/routes/booking.dart +++ b/compass_app/server/lib/routes/booking.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'dart:convert'; import 'package:collection/collection.dart'; diff --git a/compass_app/server/lib/routes/continent.dart b/compass_app/server/lib/routes/continent.dart index dde3ae1b6..2a5ebd7c2 100644 --- a/compass_app/server/lib/routes/continent.dart +++ b/compass_app/server/lib/routes/continent.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'dart:convert'; import 'package:shelf/shelf.dart'; diff --git a/compass_app/server/lib/routes/destination.dart b/compass_app/server/lib/routes/destination.dart index 239b17b80..7d63ca577 100644 --- a/compass_app/server/lib/routes/destination.dart +++ b/compass_app/server/lib/routes/destination.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'dart:convert'; import 'package:shelf/shelf.dart'; diff --git a/compass_app/server/lib/routes/login.dart b/compass_app/server/lib/routes/login.dart index 87472f8ed..f5939fe77 100644 --- a/compass_app/server/lib/routes/login.dart +++ b/compass_app/server/lib/routes/login.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'dart:convert'; import 'package:compass_server/config/constants.dart'; diff --git a/compass_app/server/lib/routes/user.dart b/compass_app/server/lib/routes/user.dart index 594136294..534d8f8ff 100644 --- a/compass_app/server/lib/routes/user.dart +++ b/compass_app/server/lib/routes/user.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'dart:convert'; import 'package:compass_server/config/constants.dart'; diff --git a/compass_app/server/test/server_test.dart b/compass_app/server/test/server_test.dart index 946e76b79..f30e2765e 100644 --- a/compass_app/server/test/server_test.dart +++ b/compass_app/server/test/server_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'dart:convert'; import 'dart:io';