(profile)
| 45 | } |
| 46 | |
| 47 | function checkInnerProfile(profile) |
| 48 | { |
| 49 | InspectorTest.log("SUCCESS: retrieved '42' profile"); |
| 50 | if (!findFunctionInProfile(profile.nodes, "collectProfiles")) |
| 51 | return InspectorTest.fail("collectProfiles function not found in the profile: " + JSON.stringify(profile, null, 4)); |
| 52 | InspectorTest.log("SUCCESS: found 'collectProfiles' function in the profile"); |
| 53 | InspectorTest.completeTest(); |
| 54 | } |
| 55 | |
| 56 | function findFunctionInProfile(nodes, functionName) |
| 57 | { |
no test coverage detected