Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Fix typo "SetTestFluttterStub", "FluttterActivity" and "implementantions" #33551

Merged
merged 7 commits into from
May 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ public void cleanUpFlutterEngine(@NonNull FlutterEngine flutterEngine) {
* {@link io.flutter.embedding.engine.FlutterEngine} to outlive this {@code FlutterActivity} so
* that it can be used later in a different {@code Activity}. To accomplish this, the {@link
* io.flutter.embedding.engine.FlutterEngine} may need to be disconnected from this {@code
* FluttterActivity} at an unusual time, preventing this {@code FlutterActivity} from correctly
* FlutterActivity} at an unusual time, preventing this {@code FlutterActivity} from correctly
* managing the relationship between the {@link io.flutter.embedding.engine.FlutterEngine} and
* itself.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace testing {
// the headers in platform/common/public/.

// Linking this class into a test binary will provide dummy forwarding
// implementantions of that C API, so that the wrapper can be tested separately
// implementations of that C API, so that the wrapper can be tested separately
// from the actual library.
class StubFlutterApi {
public:
Expand All @@ -29,7 +29,7 @@ class StubFlutterApi {
// will be forwarded.
static void SetTestStub(StubFlutterApi* stub);

// Returns the current stub, as last set by SetTestFluttterStub.
// Returns the current stub, as last set by SetTestFlutterStub.
static StubFlutterApi* GetTestStub();

virtual ~StubFlutterApi() {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ namespace testing {
// the headers in platform/glfw/public/.

// Linking this class into a test binary will provide dummy forwarding
// implementantions of that C API, so that the wrapper can be tested separately
// implementations of that C API, so that the wrapper can be tested separately
// from the actual library.
class StubFlutterGlfwApi {
public:
// Sets |stub| as the instance to which calls to the Flutter library C APIs
// will be forwarded.
static void SetTestStub(StubFlutterGlfwApi* stub);

// Returns the current stub, as last set by SetTestFluttterStub.
// Returns the current stub, as last set by SetTestFlutterStub.
static StubFlutterGlfwApi* GetTestStub();

virtual ~StubFlutterGlfwApi() {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ namespace testing {
// the headers in platform/windows/public/.

// Linking this class into a test binary will provide dummy forwarding
// implementantions of that C API, so that the wrapper can be tested separately
// implementations of that C API, so that the wrapper can be tested separately
// from the actual library.
class StubFlutterWindowsApi {
public:
// Sets |stub| as the instance to which calls to the Flutter library C APIs
// will be forwarded.
static void SetTestStub(StubFlutterWindowsApi* stub);

// Returns the current stub, as last set by SetTestFluttterStub.
// Returns the current stub, as last set by SetTestFlutterStub.
static StubFlutterWindowsApi* GetTestStub();

virtual ~StubFlutterWindowsApi() {}
Expand Down