summaryrefslogtreecommitdiff
path: root/ACE/bin/PythonACE/fuzz/refcountservantbase.py
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/bin/PythonACE/fuzz/refcountservantbase.py')
-rw-r--r--ACE/bin/PythonACE/fuzz/refcountservantbase.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/ACE/bin/PythonACE/fuzz/refcountservantbase.py b/ACE/bin/PythonACE/fuzz/refcountservantbase.py
new file mode 100644
index 00000000000..31d8d5bb3a9
--- /dev/null
+++ b/ACE/bin/PythonACE/fuzz/refcountservantbase.py
@@ -0,0 +1,17 @@
+""" Checks that an obsolete PortableServer::RefCountServantBase is not used """
+
+from _types import header_files
+type_list = header_files
+
+from sys import stderr
+import re
+
+regex = re.compile ("RefCountServantBase")
+
+error_message = ": error: reference to deprecated PortableServer::RefCountServantBase\n"
+
+from _generic_handler import generic_handler_no_exceptions
+
+def handler (file_name, file_content):
+ return generic_handler_no_exceptions (regex, error_message, file_name, file_content)
+