|
19 | 19 | False, |
20 | 20 | ), |
21 | 21 | ), |
| 22 | + ( |
| 23 | + "\x1b[32mD/libEGL : loaded /vendor/lib64/egl/libEGL_emulation.so\x1b[0m", |
| 24 | + ( |
| 25 | + "loaded /vendor/lib64/egl/libEGL_emulation.so", |
| 26 | + False, |
| 27 | + ), |
| 28 | + ), |
22 | 29 | ( |
23 | 30 | "D/stdio : Could not find platform independent libraries <prefix>", |
24 | 31 | ("Could not find platform independent libraries <prefix>", False), |
|
27 | 34 | "D/MainActivity: onStart() start", |
28 | 35 | ("onStart() start", False), |
29 | 36 | ), |
| 37 | + ( |
| 38 | + "\x1b[32mD/MainActivity: onStart() start\x1b[0m", |
| 39 | + ("onStart() start", False), |
| 40 | + ), |
30 | 41 | # Python App messages |
31 | 42 | ( |
32 | 43 | "I/python.stdout: Python app launched & stored in Android Activity class", |
33 | 44 | ("Python app launched & stored in Android Activity class", True), |
34 | 45 | ), |
| 46 | + ( |
| 47 | + "\x1b[32mI/python.stdout: Python app launched & stored in Android Activity class\x1b[0m", |
| 48 | + ("Python app launched & stored in Android Activity class", True), |
| 49 | + ), |
35 | 50 | ( |
36 | 51 | "I/python.stdout: ", |
37 | 52 | ("", True), |
38 | 53 | ), |
| 54 | + ( |
| 55 | + "\x1b[32mI/python.stdout: \x1b[0m", |
| 56 | + ("", True), |
| 57 | + ), |
| 58 | + ( |
| 59 | + "\x1b[32m\x1b[98mI/python.stdout: \x1b[32m\x1b[0m", |
| 60 | + ("", True), |
| 61 | + ), |
| 62 | + ( |
| 63 | + "\x1b[32m\x1b[98mI/python.stdout: this is colored output\x1b[32m\x1b[0m", |
| 64 | + ("this is colored output", True), |
| 65 | + ), |
39 | 66 | ( |
40 | 67 | "I/python.stderr: test_case (tests.foobar.test_other.TestOtherMethods)", |
41 | 68 | ("test_case (tests.foobar.test_other.TestOtherMethods)", True), |
42 | 69 | ), |
| 70 | + ( |
| 71 | + "\x1b[32mI/python.stderr: test_case (tests.foobar.test_other.TestOtherMethods)\x1b[0m", |
| 72 | + ("test_case (tests.foobar.test_other.TestOtherMethods)", True), |
| 73 | + ), |
43 | 74 | ( |
44 | 75 | "I/python.stderr: ", |
45 | 76 | ("", True), |
46 | 77 | ), |
| 78 | + ( |
| 79 | + "\x1b[32mI/python.stderr: \x1b[0m", |
| 80 | + ("", True), |
| 81 | + ), |
47 | 82 | # Unknown content |
48 | 83 | ( |
49 | 84 | "This doesn't match the regex", |
50 | 85 | ("This doesn't match the regex", False), |
51 | 86 | ), |
| 87 | + ( |
| 88 | + "\x1b[33mThis doesn't match the regex\x1b[33m", |
| 89 | + ("\x1b[33mThis doesn't match the regex\x1b[33m", False), |
| 90 | + ), |
52 | 91 | ], |
53 | 92 | ) |
54 | 93 | def test_filter(original, filtered): |
|
0 commit comments