(t require.TestingT, testSet []TestFile, pctx UnixParserCtx, nodes []Node)
| 375 | } |
| 376 | |
| 377 | func testFile(t require.TestingT, testSet []TestFile, pctx UnixParserCtx, nodes []Node) bool { |
| 378 | log.Warning("Going to process one test set") |
| 379 | |
| 380 | for _, tf := range testSet { |
| 381 | // func testSubSet(testSet TestFile, pctx UnixParserCtx, nodes []Node) (bool, error) { |
| 382 | testOk, err := testSubSet(tf, pctx, nodes) |
| 383 | require.NoError(t, err, "test failed") |
| 384 | assert.True(t, testOk, "failed test: %+v", tf) |
| 385 | } |
| 386 | |
| 387 | return true |
| 388 | } |
| 389 | |
| 390 | /*THIS IS ONLY PRESENT TO BE ABLE TO GENERATE DOCUMENTATION OF EXISTING PATTERNS*/ |
| 391 | type Pair struct { |
no test coverage detected
searching dependent graphs…