mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix typo "SetTestFluttterStub", "FluttterActivity" and "implementantions" (flutter/engine#33551)
As recommended in https://github.com/flutter/engine/pull/33547#issuecomment-1134077565, I fixed all typos in one PR. Fixes https://github.com/flutter/flutter/issues/104366 Fixes https://github.com/flutter/flutter/issues/104367 Fixes https://github.com/flutter/flutter/issues/104368 Fixes https://github.com/flutter/flutter/issues/104369 Fixes https://github.com/flutter/flutter/issues/104370
This commit is contained in:
parent
222b241e26
commit
3600d3c97e
@ -1133,7 +1133,7 @@ public class FlutterActivity extends Activity
|
||||
* {@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.
|
||||
*/
|
||||
|
||||
@ -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:
|
||||
@ -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() {}
|
||||
|
||||
@ -16,7 +16,7 @@ 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:
|
||||
@ -24,7 +24,7 @@ class StubFlutterGlfwApi {
|
||||
// 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() {}
|
||||
|
||||
@ -16,7 +16,7 @@ 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:
|
||||
@ -24,7 +24,7 @@ class StubFlutterWindowsApi {
|
||||
// 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() {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user