From b1523a416b98808407a8dc8f063d072fdb67e2fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?=
Date: Fri, 22 May 2015 14:20:31 +0200
Subject: asn1 doc: Alert users of limitations in test and value functions
Add a note about the limitations of the asn1ct:test/1,2,3 and
asn1ct:value/2 functions.
---
lib/asn1/doc/src/asn1ct.xml | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
(limited to 'lib/asn1')
diff --git a/lib/asn1/doc/src/asn1ct.xml b/lib/asn1/doc/src/asn1ct.xml
index 4e0bf055fc..30808a5ead 100644
--- a/lib/asn1/doc/src/asn1ct.xml
+++ b/lib/asn1/doc/src/asn1ct.xml
@@ -371,6 +371,15 @@ File3.asn
representation of a value of the ASN.1 type Type. The value
is a random value and subsequent calls to this function will for most
types return different values.
+
+ Currently, the value function has many limitations.
+ Essentially, it will mostly work for old specifications based
+ on the 1997 standard for ASN.1, but not for most modern-style
+ applications. Another limitation is that the value function
+ may not work if options that change code generations strategies
+ such as the options macro_name_prefix and
+ record_name_prefix have been used.
+
@@ -391,6 +400,15 @@ File3.asn
This function is useful during test to secure that the generated
encode and decode functions as well as the general runtime support
work as expected.
+
+ Currently, the test functions have many limitations.
+ Essentially, they will mostly work for old specifications based
+ on the 1997 standard for ASN.1, but not for most modern-style
+ applications. Another limitation is that the test functions
+ may not work if options that change code generations strategies
+ such as the options macro_name_prefix and
+ record_name_prefix have been used.
+
-
test/1 iterates over all types in Module.
--
cgit v1.2.3