Skip to content

Commit c05f8a1

Browse files
authored
[infra] Rename test_helpers to native_test_helpers (#2387)
1 parent 3ab1e77 commit c05f8a1

File tree

31 files changed

+41
-41
lines changed

31 files changed

+41
-41
lines changed

.github/workflows/native.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ on:
1515
- "pkgs/hooks_runner/**"
1616
- "pkgs/hooks/**"
1717
- "pkgs/json_syntax_generator/**"
18+
- "pkgs/native_test_helpers/**"
1819
- "pkgs/native_toolchain_c/**"
1920
- "pkgs/repo_lint_rules/**"
20-
- "pkgs/test_helpers/**"
2121
- "tool/**"
2222
push:
2323
branches: [main]
@@ -28,9 +28,9 @@ on:
2828
- "pkgs/hooks_runner/**"
2929
- "pkgs/hooks/**"
3030
- "pkgs/json_syntax_generator/**"
31+
- "pkgs/native_test_helpers/**"
3132
- "pkgs/native_toolchain_c/**"
3233
- "pkgs/repo_lint_rules/**"
33-
- "pkgs/test_helpers/**"
3434
- "tool/**"
3535
schedule:
3636
- cron: "0 0 * * 0" # weekly

.github/workflows/objective_c.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ on:
77
paths:
88
- '.github/workflows/objective_c.yaml'
99
- 'pkgs/ffigen/**'
10+
- 'pkgs/native_test_helpers/**'
1011
- 'pkgs/objective_c/**'
11-
- 'pkgs/test_helpers/**'
1212
pull_request:
1313
branches: [main, stable]
1414
paths:
1515
- '.github/workflows/objective_c.yaml'
1616
- 'pkgs/ffigen/**'
17+
- 'pkgs/native_test_helpers/**'
1718
- 'pkgs/objective_c/**'
18-
- 'pkgs/test_helpers/**'
1919
schedule:
2020
- cron: "0 0 * * 0"
2121

.github/workflows/swift2objc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ on:
66
branches: [main, stable]
77
paths:
88
- '.github/workflows/swift2objc.yaml'
9+
- 'pkgs/native_test_helpers/**'
910
- 'pkgs/swift2objc/**'
10-
- 'pkgs/test_helpers/**'
1111
pull_request:
1212
branches: [main, stable]
1313
paths:
1414
- '.github/workflows/swift2objc.yaml'
15+
- 'pkgs/native_test_helpers/**'
1516
- 'pkgs/swift2objc/**'
16-
- 'pkgs/test_helpers/**'
1717
schedule:
1818
- cron: "0 0 * * 0"
1919

.github/workflows/swiftgen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ on:
77
paths:
88
- '.github/workflows/swiftgen.yaml'
99
- 'pkgs/ffigen/**'
10+
- 'pkgs/native_test_helpers/**'
1011
- 'pkgs/objective_c/**'
1112
- 'pkgs/swift2objc/**'
1213
- 'pkgs/swiftgen/**'
13-
- 'pkgs/test_helpers/**'
1414
pull_request:
1515
branches: [main, stable]
1616
paths:
1717
- '.github/workflows/swiftgen.yaml'
1818
- 'pkgs/ffigen/**'
19+
- 'pkgs/native_test_helpers/**'
1920
- 'pkgs/objective_c/**'
2021
- 'pkgs/swift2objc/**'
2122
- 'pkgs/swiftgen/**'
22-
- 'pkgs/test_helpers/**'
2323
schedule:
2424
- cron: "0 0 * * 0"
2525

pkgs/code_assets/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ dev_dependencies:
2727
custom_lint: ^0.7.5
2828
dart_flutter_team_lints: ^3.5.1
2929
json_schema: ^5.2.0 # May only be used in tool/ and test/json_schema/.
30+
native_test_helpers:
31+
path: ../native_test_helpers/
3032
repo_lint_rules:
3133
path: ../repo_lint_rules/
3234
test: ^1.25.15
33-
test_helpers:
34-
path: ../test_helpers/

pkgs/code_assets/test/json_schema/schema_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import 'dart:convert';
88

99
import 'package:json_schema/json_schema.dart';
10-
import 'package:test_helpers/test_helpers.dart';
10+
import 'package:native_test_helpers/native_test_helpers.dart';
1111

1212
import 'helpers.dart';
1313

pkgs/data_assets/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ dev_dependencies:
2323
custom_lint: ^0.7.5
2424
dart_flutter_team_lints: ^3.5.1
2525
json_schema: ^5.2.0 # May only be used in tool/ and test/json_schema/.
26+
native_test_helpers:
27+
path: ../native_test_helpers
2628
repo_lint_rules:
2729
path: ../repo_lint_rules/
2830
test: ^1.25.15
29-
test_helpers:
30-
path: ../test_helpers

pkgs/data_assets/test/json_schema/schema_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
import 'package:json_schema/json_schema.dart';
6-
import 'package:test_helpers/test_helpers.dart';
6+
import 'package:native_test_helpers/native_test_helpers.dart';
77

88
import 'helpers.dart';
99

pkgs/hooks/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ dev_dependencies:
3838
json_schema: ^5.2.0 # May only be used in tool/ and test/json_schema/.
3939
json_syntax_generator:
4040
path: ../json_syntax_generator/
41+
native_test_helpers:
42+
path: ../native_test_helpers/
4143
path: ^1.9.1
4244
repo_lint_rules:
4345
path: ../repo_lint_rules/
4446
test: ^1.25.15
45-
test_helpers:
46-
path: ../test_helpers/

pkgs/hooks/test/helpers.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import 'package:code_assets/code_assets.dart';
88
import 'package:data_assets/data_assets.dart';
99
import 'package:hooks/hooks.dart';
1010
import 'package:logging/logging.dart';
11+
import 'package:native_test_helpers/native_test_helpers.dart';
1112
import 'package:test/test.dart';
12-
import 'package:test_helpers/test_helpers.dart';
1313

1414
const keepTempKey = 'KEEP_TEMPORARY_DIRECTORIES';
1515

0 commit comments

Comments
 (0)