You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Martin Ritchie <ri...@apache.org> on 2009/05/17 15:29:44 UTC
verify .in files
Hi,
Our code base has a large number of .in that are used for verifying
the output of a test. However, out of the list of files I have updated
only the python/example files seem to be used.
What uses the cpp, dotnet and java outputs?
It would be good to have instructions on how to use these files:
M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/verify.in
M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/verify_java_python.in
M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/verify_python_java.in
M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/verify_cpp_java.in
M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/verify_java_cpp.in
M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/requestResponse/verify.in
M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/requestResponse/verify_java_python.in
M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/requestResponse/verify_python_java.in
M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/requestResponse/verify_cpp_java.in
M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/requestResponse/verify_java_cpp.in
M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/direct/verify.in
M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/direct/verify_java_python.in
M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/direct/verify_python_java.in
M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/direct/verify_cpp_java.in
M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/direct/verify_java_cpp.in
M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/fanout/verify.in
M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/fanout/verify_java_python.in
M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/fanout/verify_python_java.in
M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/fanout/verify_cpp_java.in
M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/fanout/verify_java_cpp.in
M python/examples/pubsub/verify.in
M python/examples/xml-exchange/verify.in
M python/examples/request-response/verify.in
M python/examples/direct/verify.in
M python/examples/fanout/verify.in
M cpp/examples/request-response/verify.in
M cpp/examples/request-response/verify_cpp_python.in
M cpp/examples/request-response/verify_python_cpp.in
M cpp/examples/fanout/verify.in
M cpp/examples/fanout/verify_cpp_python.in
M cpp/examples/fanout/verify_python_cpp.in
M cpp/examples/direct/verify.in
M cpp/examples/direct/verify_cpp_python.in
M cpp/examples/direct/verify_python_cpp.in
M cpp/examples/pub-sub/verify.in
M cpp/examples/pub-sub/verify_cpp_python.in
M cpp/examples/pub-sub/verify_python_cpp.in
M dotnet/client-010/examples/request-response/verify_python_dotnet.in
M dotnet/client-010/examples/request-response/verify_java_dotnet.in
M dotnet/client-010/examples/request-response/verify_dotnet_python.in
M dotnet/client-010/examples/request-response/verify_dotnet_java.in
M dotnet/client-010/examples/request-response/verify_dotnet_cpp.in
M dotnet/client-010/examples/request-response/verify_cpp_dotnet.in
M dotnet/client-010/examples/request-response/verify.in
M dotnet/client-010/examples/direct/verify_python_dotnet.in
M dotnet/client-010/examples/direct/verify_java_dotnet.in
M dotnet/client-010/examples/direct/verify_dotnet_python.in
M dotnet/client-010/examples/direct/verify_dotnet_java.in
M dotnet/client-010/examples/direct/verify_dotnet_cpp.in
M dotnet/client-010/examples/direct/verify_cpp_dotnet.in
M dotnet/client-010/examples/direct/verify.in
M dotnet/client-010/examples/fanout/verify_python_dotnet.in
M dotnet/client-010/examples/fanout/verify_java_dotnet.in
M dotnet/client-010/examples/fanout/verify_dotnet_python.in
M dotnet/client-010/examples/fanout/verify_dotnet_java.in
M dotnet/client-010/examples/fanout/verify_dotnet_cpp.in
M dotnet/client-010/examples/fanout/verify_cpp_dotnet.in
M dotnet/client-010/examples/fanout/verify.in
M dotnet/client-010/examples/pub-sub/verify_python_dotnet.in
M dotnet/client-010/examples/pub-sub/verify_java_dotnet.in
M dotnet/client-010/examples/pub-sub/verify_dotnet_python.in
M dotnet/client-010/examples/pub-sub/verify_dotnet_java.in
M dotnet/client-010/examples/pub-sub/verify_dotnet_cpp.in
M dotnet/client-010/examples/pub-sub/verify_cpp_dotnet.in
M dotnet/client-010/examples/pub-sub/verify.in
--
Martin Ritchie
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
Re: verify .in files
Posted by Gordon Sim <gs...@redhat.com>.
Martin Ritchie wrote:
> Hi,
> Our code base has a large number of .in that are used for verifying
> the output of a test. However, out of the list of files I have updated
> only the python/example files seem to be used.
>
> What uses the cpp, dotnet and java outputs?
The cpp 'make check' should run all the cpp and python examples.
There is another script to verify the java, cpp and python examples
against each other in java/client/example/bin/verify_all. I'm not sure
how the dotnet examples are currently verified.
> It would be good to have instructions on how to use these files:
They record the expected output from a run of one of the example
executables. The script in cpp/examples/verify then uses this to check
the actual output against the expected output.
>
> M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/verify.in
> M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/verify_java_python.in
> M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/verify_python_java.in
> M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/verify_cpp_java.in
> M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/verify_java_cpp.in
> M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/requestResponse/verify.in
> M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/requestResponse/verify_java_python.in
> M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/requestResponse/verify_python_java.in
> M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/requestResponse/verify_cpp_java.in
> M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/requestResponse/verify_java_cpp.in
> M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/direct/verify.in
> M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/direct/verify_java_python.in
> M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/direct/verify_python_java.in
> M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/direct/verify_cpp_java.in
> M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/direct/verify_java_cpp.in
> M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/fanout/verify.in
> M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/fanout/verify_java_python.in
> M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/fanout/verify_python_java.in
> M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/fanout/verify_cpp_java.in
> M java/client/example/src/main/java/org/apache/qpid/example/jmsexample/fanout/verify_java_cpp.in
> M python/examples/pubsub/verify.in
> M python/examples/xml-exchange/verify.in
> M python/examples/request-response/verify.in
> M python/examples/direct/verify.in
> M python/examples/fanout/verify.in
> M cpp/examples/request-response/verify.in
> M cpp/examples/request-response/verify_cpp_python.in
> M cpp/examples/request-response/verify_python_cpp.in
> M cpp/examples/fanout/verify.in
> M cpp/examples/fanout/verify_cpp_python.in
> M cpp/examples/fanout/verify_python_cpp.in
> M cpp/examples/direct/verify.in
> M cpp/examples/direct/verify_cpp_python.in
> M cpp/examples/direct/verify_python_cpp.in
> M cpp/examples/pub-sub/verify.in
> M cpp/examples/pub-sub/verify_cpp_python.in
> M cpp/examples/pub-sub/verify_python_cpp.in
> M dotnet/client-010/examples/request-response/verify_python_dotnet.in
> M dotnet/client-010/examples/request-response/verify_java_dotnet.in
> M dotnet/client-010/examples/request-response/verify_dotnet_python.in
> M dotnet/client-010/examples/request-response/verify_dotnet_java.in
> M dotnet/client-010/examples/request-response/verify_dotnet_cpp.in
> M dotnet/client-010/examples/request-response/verify_cpp_dotnet.in
> M dotnet/client-010/examples/request-response/verify.in
> M dotnet/client-010/examples/direct/verify_python_dotnet.in
> M dotnet/client-010/examples/direct/verify_java_dotnet.in
> M dotnet/client-010/examples/direct/verify_dotnet_python.in
> M dotnet/client-010/examples/direct/verify_dotnet_java.in
> M dotnet/client-010/examples/direct/verify_dotnet_cpp.in
> M dotnet/client-010/examples/direct/verify_cpp_dotnet.in
> M dotnet/client-010/examples/direct/verify.in
> M dotnet/client-010/examples/fanout/verify_python_dotnet.in
> M dotnet/client-010/examples/fanout/verify_java_dotnet.in
> M dotnet/client-010/examples/fanout/verify_dotnet_python.in
> M dotnet/client-010/examples/fanout/verify_dotnet_java.in
> M dotnet/client-010/examples/fanout/verify_dotnet_cpp.in
> M dotnet/client-010/examples/fanout/verify_cpp_dotnet.in
> M dotnet/client-010/examples/fanout/verify.in
> M dotnet/client-010/examples/pub-sub/verify_python_dotnet.in
> M dotnet/client-010/examples/pub-sub/verify_java_dotnet.in
> M dotnet/client-010/examples/pub-sub/verify_dotnet_python.in
> M dotnet/client-010/examples/pub-sub/verify_dotnet_java.in
> M dotnet/client-010/examples/pub-sub/verify_dotnet_cpp.in
> M dotnet/client-010/examples/pub-sub/verify_cpp_dotnet.in
> M dotnet/client-010/examples/pub-sub/verify.in
>
>
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
RE: verify .in files
Posted by Robbie Gemmell <ro...@gmail.com>.
I think there is a examples project in the CruiseControl config in qpid/cc that uses them...but I haven’t used it so don’t quote me :)
Robbie
> -----Original Message-----
> From: martin.a.ritchie@googlemail.com
> [mailto:martin.a.ritchie@googlemail.com] On Behalf Of Martin Ritchie
> Sent: 17 May 2009 14:30
> To: Qpid Dev
> Subject: verify .in files
>
> Hi,
> Our code base has a large number of .in that are used for verifying
> the output of a test. However, out of the list of files I have updated
> only the python/example files seem to be used.
>
> What uses the cpp, dotnet and java outputs?
>
> It would be good to have instructions on how to use these files:
>
> M
> java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pu
> bsub/verify.in
> M
> java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pu
> bsub/verify_java_python.in
> M
> java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pu
> bsub/verify_python_java.in
> M
> java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pu
> bsub/verify_cpp_java.in
> M
> java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pu
> bsub/verify_java_cpp.in
> M
> java/client/example/src/main/java/org/apache/qpid/example/jmsexample/re
> questResponse/verify.in
> M
> java/client/example/src/main/java/org/apache/qpid/example/jmsexample/re
> questResponse/verify_java_python.in
> M
> java/client/example/src/main/java/org/apache/qpid/example/jmsexample/re
> questResponse/verify_python_java.in
> M
> java/client/example/src/main/java/org/apache/qpid/example/jmsexample/re
> questResponse/verify_cpp_java.in
> M
> java/client/example/src/main/java/org/apache/qpid/example/jmsexample/re
> questResponse/verify_java_cpp.in
> M
> java/client/example/src/main/java/org/apache/qpid/example/jmsexample/di
> rect/verify.in
> M
> java/client/example/src/main/java/org/apache/qpid/example/jmsexample/di
> rect/verify_java_python.in
> M
> java/client/example/src/main/java/org/apache/qpid/example/jmsexample/di
> rect/verify_python_java.in
> M
> java/client/example/src/main/java/org/apache/qpid/example/jmsexample/di
> rect/verify_cpp_java.in
> M
> java/client/example/src/main/java/org/apache/qpid/example/jmsexample/di
> rect/verify_java_cpp.in
> M
> java/client/example/src/main/java/org/apache/qpid/example/jmsexample/fa
> nout/verify.in
> M
> java/client/example/src/main/java/org/apache/qpid/example/jmsexample/fa
> nout/verify_java_python.in
> M
> java/client/example/src/main/java/org/apache/qpid/example/jmsexample/fa
> nout/verify_python_java.in
> M
> java/client/example/src/main/java/org/apache/qpid/example/jmsexample/fa
> nout/verify_cpp_java.in
> M
> java/client/example/src/main/java/org/apache/qpid/example/jmsexample/fa
> nout/verify_java_cpp.in
> M python/examples/pubsub/verify.in
> M python/examples/xml-exchange/verify.in
> M python/examples/request-response/verify.in
> M python/examples/direct/verify.in
> M python/examples/fanout/verify.in
> M cpp/examples/request-response/verify.in
> M cpp/examples/request-response/verify_cpp_python.in
> M cpp/examples/request-response/verify_python_cpp.in
> M cpp/examples/fanout/verify.in
> M cpp/examples/fanout/verify_cpp_python.in
> M cpp/examples/fanout/verify_python_cpp.in
> M cpp/examples/direct/verify.in
> M cpp/examples/direct/verify_cpp_python.in
> M cpp/examples/direct/verify_python_cpp.in
> M cpp/examples/pub-sub/verify.in
> M cpp/examples/pub-sub/verify_cpp_python.in
> M cpp/examples/pub-sub/verify_python_cpp.in
> M dotnet/client-010/examples/request-
> response/verify_python_dotnet.in
> M dotnet/client-010/examples/request-
> response/verify_java_dotnet.in
> M dotnet/client-010/examples/request-
> response/verify_dotnet_python.in
> M dotnet/client-010/examples/request-
> response/verify_dotnet_java.in
> M dotnet/client-010/examples/request-response/verify_dotnet_cpp.in
> M dotnet/client-010/examples/request-response/verify_cpp_dotnet.in
> M dotnet/client-010/examples/request-response/verify.in
> M dotnet/client-010/examples/direct/verify_python_dotnet.in
> M dotnet/client-010/examples/direct/verify_java_dotnet.in
> M dotnet/client-010/examples/direct/verify_dotnet_python.in
> M dotnet/client-010/examples/direct/verify_dotnet_java.in
> M dotnet/client-010/examples/direct/verify_dotnet_cpp.in
> M dotnet/client-010/examples/direct/verify_cpp_dotnet.in
> M dotnet/client-010/examples/direct/verify.in
> M dotnet/client-010/examples/fanout/verify_python_dotnet.in
> M dotnet/client-010/examples/fanout/verify_java_dotnet.in
> M dotnet/client-010/examples/fanout/verify_dotnet_python.in
> M dotnet/client-010/examples/fanout/verify_dotnet_java.in
> M dotnet/client-010/examples/fanout/verify_dotnet_cpp.in
> M dotnet/client-010/examples/fanout/verify_cpp_dotnet.in
> M dotnet/client-010/examples/fanout/verify.in
> M dotnet/client-010/examples/pub-sub/verify_python_dotnet.in
> M dotnet/client-010/examples/pub-sub/verify_java_dotnet.in
> M dotnet/client-010/examples/pub-sub/verify_dotnet_python.in
> M dotnet/client-010/examples/pub-sub/verify_dotnet_java.in
> M dotnet/client-010/examples/pub-sub/verify_dotnet_cpp.in
> M dotnet/client-010/examples/pub-sub/verify_cpp_dotnet.in
> M dotnet/client-010/examples/pub-sub/verify.in
>
>
> --
> Martin Ritchie
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project: http://qpid.apache.org
> Use/Interact: mailto:dev-subscribe@qpid.apache.org
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org