File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
itext/itext.pdftest/itext/test Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,12 @@ private static WrappedSamplesRunner.RunnerParams CheckIfTestAndCreateParams(Type
207
207
208
208
private static bool IsIgnoredClassOrPackage ( String fullName , RunnerSearchConfig searchConfig ) {
209
209
foreach ( String ignoredPath in searchConfig . GetIgnoredPaths ( ) ) {
210
- if ( fullName . Contains ( ignoredPath ) ) {
210
+ String filePath = Path . Combine ( TestUtil . GetParentProjectDirectory ( TestContext
211
+ . CurrentContext . TestDirectory ) ,
212
+ ignoredPath . Replace ( "." , "\\ " ) ) ;
213
+
214
+ if ( ( Directory . Exists ( filePath ) && fullName . Contains ( ignoredPath ) )
215
+ || ( File . Exists ( filePath + ".cs" ) && fullName . Equals ( ignoredPath ) ) ) {
211
216
return true ;
212
217
}
213
218
}
Original file line number Diff line number Diff line change 1
- d5a591352c1e35e6224a8f1460bd6cd17ee11d80
1
+ 7823befa1b99f1c8f2981aea0d336b3ad639235a
You can’t perform that action at this time.
0 commit comments