(TestProcess p)
| 13 | |
| 14 | // jvm is loaded before the profiling session is started |
| 15 | @Test(sh = "%testbin/non_java_app 1 %s.collapsed", output = true) |
| 16 | public void jvmFirst(TestProcess p) throws Exception { |
| 17 | p.waitForExit(); |
| 18 | assert p.exitCode() == 0; |
| 19 | |
| 20 | Output out = p.readFile("%s"); |
| 21 | assert out.contains("cpuHeavyTask"); |
| 22 | } |
| 23 | |
| 24 | // jvm is loaded after the profiling session is started |
| 25 | @Test(sh = "%testbin/non_java_app 2 %s.collapsed", output = true) |
nothing calls this directly
no test coverage detected