LernaeanHydra / pyactivemq

Automatically exported from code.google.com/p/pyactivemq
Apache License 2.0
1 stars 0 forks source link

More tests #16

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Various tests can still be added:

1. Test all the MessageProducer#send methods.

2. Test that starting and stopping a Connection has the desired effect.

3. Check that operations on closed Connections/Sessions/Producers/Consumers
works (i.e. doesn't do anything and doesn't crash).

4. Test various other consumer options from here:

http://activemq.apache.org/cms/configuring.html

like Retroactive Consumer and Exclusive Consumer.

Original issue reported on code.google.com by fullung@gmail.com on 10 Jun 2007 at 8:04

GoogleCodeExporter commented 8 years ago
Test the following pattern:

MessageProducer producer = session.createProducer(null);
...
producer.send(destination, message)

Original comment by fullung@gmail.com on 14 Jun 2007 at 1:20

GoogleCodeExporter commented 8 years ago
Implement the examples from here:

http://java.sun.com/javaee/5/docs/tutorial/doc/JMS5.html#wp79822
http://java.sun.com/javaee/5/docs/tutorial/doc/JMS6.html#wp81710

Original comment by fullung@gmail.com on 14 Jun 2007 at 11:09

GoogleCodeExporter commented 8 years ago
Various bits of tests.

Original comment by fullung@gmail.com on 14 Jun 2007 at 11:18

Attachments:

GoogleCodeExporter commented 8 years ago
Implemented the Java EE 5 durable consumer example. Needs a fix for AMQCPP-132 
to
work properly.

Original comment by fullung@gmail.com on 16 Jun 2007 at 12:24

GoogleCodeExporter commented 8 years ago
Test that we properly count all necessary references.

E.g., do sys.getrefcount(None) while running the test suite in a loop.

Original comment by fullung@gmail.com on 16 Jun 2007 at 12:05