MCPcopy Index your code
hub / github.com/HumbleUI/Skija / getSurfaceNull

Method getSurfaceNull

tests/java/BitmapTest.java:70–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68 }
69
70 public void getSurfaceNull() throws Exception {
71 try (Bitmap a = new Bitmap()) {
72 a.allocN32Pixels(10, 20);
73 Canvas canvas = new Canvas(a);
74 assertNull(canvas.getSurface());
75 canvas.close();
76 }
77 }
78}

Callers

nothing calls this directly

Calls 4

getSurfaceMethod · 0.95
allocN32PixelsMethod · 0.80
assertNullMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected