(t *testing.T, content string, functions []phpFunction)
| 336 | } |
| 337 | |
| 338 | func testCFileFunctions(t *testing.T, content string, functions []phpFunction) { |
| 339 | for _, fn := range functions { |
| 340 | phpFunc := "PHP_FUNCTION(" + fn.Name + ")" |
| 341 | assert.Contains(t, content, phpFunc, "C file should contain function declaration: %s", phpFunc) |
| 342 | } |
| 343 | } |
| 344 | |
| 345 | func testCFileClasses(t *testing.T, content string, classes []phpClass) { |
| 346 | if len(classes) == 0 { |
no outgoing calls
no test coverage detected