◆ testCreate
Definition at line 14 of file FlutterTextureRegistryRelayTest.mm.
21 {
22 id textureRegistry = OCMProtocolMock(@protocol(FlutterTextureRegistry));
25 XCTAssertNotNil(relay);
26 XCTAssertEqual(textureRegistry, relay.
parent);
27}
NSObject< FlutterTextureRegistry > * parent
◆ testRegisterTexture
- (void) testRegisterTexture |
|
|
|
|
implementation |
Definition at line 14 of file FlutterTextureRegistryRelayTest.mm.
29 {
30 id textureRegistry = OCMProtocolMock(@protocol(FlutterTextureRegistry));
35 OCMVerify([textureRegistry registerTexture:
texture]);
36}
int64_t registerTexture:(NSObject< FlutterTexture > *texture)
◆ testRetainCycle
Definition at line 14 of file FlutterTextureRegistryRelayTest.mm.
54 {
56 NSObject<FlutterTextureRegistry>* strongRelay;
57 @autoreleasepool {
62 }
63 XCTAssertNil(weakEngine);
64 XCTAssertNotNil(strongRelay);
65}
NSObject< FlutterTextureRegistry > * textureRegistry
◆ testTextureFrameAvailable
- (void) testTextureFrameAvailable |
|
|
|
|
implementation |
Definition at line 14 of file FlutterTextureRegistryRelayTest.mm.
38 {
39 id textureRegistry = OCMProtocolMock(@protocol(FlutterTextureRegistry));
43 OCMVerify([textureRegistry textureFrameAvailable:0]);
44}
void textureFrameAvailable:(int64_t textureId)
◆ testUnregisterTexture
- (void) testUnregisterTexture |
|
|
|
|
implementation |
Definition at line 14 of file FlutterTextureRegistryRelayTest.mm.
46 {
47 id textureRegistry = OCMProtocolMock(@protocol(FlutterTextureRegistry));
51 OCMVerify([textureRegistry unregisterTexture:0]);
52}
void unregisterTexture:(int64_t textureId)
The documentation for this class was generated from the following file: