Definition at line 17 of file FlutterShellArgsTest.java.
◆ itProcessesShellFlags()
void test.io.flutter.embedding.engine.FlutterShellArgsTest.itProcessesShellFlags |
( |
| ) |
|
|
inline |
Definition at line 19 of file FlutterShellArgsTest.java.
19 {
20
21 Intent intent = new Intent();
22 intent.putExtra("dart-flags", "--observe --no-hot --no-pub");
23 intent.putExtra("trace-skia-allowlist", "skia.a,skia.b");
24
25
26 FlutterShellArgs
args = FlutterShellArgs.fromIntent(intent);
27 HashSet<String> argValues =
new HashSet<String>(Arrays.asList(
args.toArray()));
28
29
30 assertEquals(2, argValues.size());
31 assertTrue(argValues.contains("--dart-flags=--observe --no-hot --no-pub"));
32 assertTrue(argValues.contains("--trace-skia-allowlist=skia.a,skia.b"));
33 }
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
The documentation for this class was generated from the following file: