M2 Product Support Forum Index :: FAQ :: Search Register :: Log in :: Profile  


Not able to print file name in quality notice 124

 
Post new topic   Reply to topic    M2 Product Support Forum Index // User Defined Quality Notices
View previous topic :: View next topic  
Author Message
manasa



Joined: 27 Nov 2017
Posts: 1

PostPosted: Mon Nov 27, 2017 1:18 pm    Post subject: Not able to print file name in quality notice 124 Reply with quote
Hi,

It is regarding quality notice 124.I have tried to executing this quality notice.I am not able to get the file name printed in the message output.What I observed is the notices which we are using !check flags with EOF Flag,I am not able to print the file name.But in summary section I am able to list the notice 124 with proper count.There is no problem in retrieving the file name.If I remove the silent flag in Quality Notice 123.I am able to print to file name

UDQN Begin :
UDQN Id : 123
Active : Yes
Sources : c
Context : Line
Pattern : .*Test Copyright.*
String : Test Copyright
Set Flags : 11
Clear Flags :
Check Flags :
!Check Flags :
Emit EOF Flag:
Silent Flag : Yes
Message : NA
Summary : NA
UDQN End :

#######################################################################
UDQN Begin :
UDQN Id : 124
Active : Yes
Sources : c, cpp
Context : line
Pattern : .*
String : any text
Set Flags :
Clear Flags :
Check Flags :
!Check Flags : 11
Emit EOF Flag: Yes
Silent Flag : No
Message : The test string was not found in the file\nFile: _FILE_\nLine: _LINE#_ \n
Summary : The test string was not found
UDQN End :

########################################################################

please let me know if anyone worked on this
Back to top
View user's profile Send private message Send e-mail
Post new topic   Reply to topic    M2 Product Support Forum Index // User Defined Quality Notices All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2002 phpBB Group