Changeset 83 for trunk/src/test/java/omq
- Timestamp:
- 07/08/13 13:29:24 (11 years ago)
- Location:
- trunk/src/test/java/omq/test
- Files:
-
- 44 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/test/java/omq/test/calculator/Calculator.java
r72 r83 5 5 import omq.client.annotation.RemoteInterface; 6 6 import omq.client.annotation.SyncMethod; 7 8 /** 9 * 10 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 11 * 12 */ 7 13 8 14 @RemoteInterface -
trunk/src/test/java/omq/test/calculator/CalculatorImpl.java
r72 r83 3 3 import omq.server.RemoteObject; 4 4 5 /** 6 * 7 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 8 * 9 */ 5 10 public class CalculatorImpl extends RemoteObject implements Calculator { 6 11 private int mult = 0; -
trunk/src/test/java/omq/test/calculator/CalculatorTest.java
r77 r83 18 18 import org.junit.runners.Parameterized.Parameters; 19 19 20 /** 21 * 22 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 23 * 24 */ 20 25 @RunWith(value = Parameterized.class) 21 26 public class CalculatorTest { -
trunk/src/test/java/omq/test/calculator/Message.java
r46 r83 3 3 import java.io.Serializable; 4 4 5 /** 6 * 7 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 8 * 9 */ 5 10 public class Message implements Serializable { 6 7 8 11 9 12 /** 10 13 * … … 13 16 private int code; 14 17 private String message; 15 18 16 19 public Message() { 17 20 } -
trunk/src/test/java/omq/test/event/Message.java
r70 r83 3 3 import omq.Remote; 4 4 5 /** 6 * 7 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 8 * 9 */ 5 10 public interface Message extends Remote { 6 11 public void setMessage(String message); -
trunk/src/test/java/omq/test/event/MessageImpl.java
r70 r83 3 3 import omq.server.RemoteObject; 4 4 5 /** 6 * 7 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 8 * 9 */ 5 10 public class MessageImpl extends RemoteObject implements Message { 6 11 -
trunk/src/test/java/omq/test/event/MessageTest.java
r78 r83 18 18 import org.junit.runners.Parameterized.Parameters; 19 19 20 /** 21 * 22 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 23 * 24 */ 20 25 @RunWith(value = Parameterized.class) 21 26 public class MessageTest { -
trunk/src/test/java/omq/test/exception/ClientInterface.java
r46 r83 6 6 import omq.client.annotation.SyncMethod; 7 7 8 /** 9 * 10 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 11 * 12 */ 8 13 @RemoteInterface 9 14 public interface ClientInterface extends Remote { -
trunk/src/test/java/omq/test/exception/ExceptionTest.java
r77 r83 19 19 import org.junit.runners.Parameterized.Parameters; 20 20 21 /** 22 * 23 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 24 * 25 */ 21 26 @RunWith(value = Parameterized.class) 22 27 public class ExceptionTest { -
trunk/src/test/java/omq/test/exception/OmqServerImpl.java
r46 r83 3 3 import omq.server.RemoteObject; 4 4 5 /** 6 * 7 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 8 * 9 */ 5 10 public class OmqServerImpl extends RemoteObject implements ServerInterface { 6 11 /** -
trunk/src/test/java/omq/test/exception/ServerInterface.java
r46 r83 3 3 import omq.Remote; 4 4 5 /** 6 * 7 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 8 * 9 */ 5 10 public interface ServerInterface extends Remote { 6 11 public void addWheels(int numWheels); -
trunk/src/test/java/omq/test/exception/Trailer.java
r46 r83 3 3 import java.io.Serializable; 4 4 5 /** 6 * 7 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 8 * 9 */ 5 10 public class Trailer implements Serializable { 6 11 -
trunk/src/test/java/omq/test/faultTolerance/FaultToleranceTest.java
r77 r83 20 20 import org.junit.runners.Parameterized.Parameters; 21 21 22 /** 23 * 24 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 25 * 26 */ 22 27 @RunWith(value = Parameterized.class) 23 28 public class FaultToleranceTest { -
trunk/src/test/java/omq/test/multiProcess/MultiProcessTest.java
r77 r83 18 18 import org.junit.runners.Parameterized.Parameters; 19 19 20 /** 21 * 22 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 23 * 24 */ 20 25 @RunWith(value = Parameterized.class) 21 26 public class MultiProcessTest { -
trunk/src/test/java/omq/test/multiProcess/Number.java
r58 r83 3 3 import omq.Remote; 4 4 5 /** 6 * 7 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 8 * 9 */ 5 10 public interface Number extends Remote { 6 11 public void setNumber(int x); -
trunk/src/test/java/omq/test/multiProcess/NumberClient.java
r58 r83 7 7 import omq.client.annotation.SyncMethod; 8 8 9 /** 10 * 11 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 12 * 13 */ 9 14 @RemoteInterface 10 15 public interface NumberClient extends Remote { -
trunk/src/test/java/omq/test/multiProcess/NumberImpl.java
r58 r83 3 3 import omq.server.RemoteObject; 4 4 5 /** 6 * 7 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 8 * 9 */ 5 10 public class NumberImpl extends RemoteObject implements Number { 6 11 /** -
trunk/src/test/java/omq/test/observer/ObserverTest.java
r77 r83 18 18 import org.junit.runners.Parameterized.Parameters; 19 19 20 /** 21 * 22 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 23 * 24 */ 20 25 @RunWith(value = Parameterized.class) 21 26 public class ObserverTest { -
trunk/src/test/java/omq/test/observer/RemoteObserver.java
r71 r83 5 5 import omq.client.annotation.SyncMethod; 6 6 7 /** 8 * 9 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 10 * 11 */ 7 12 @RemoteInterface 8 13 public interface RemoteObserver extends Remote { -
trunk/src/test/java/omq/test/observer/RemoteObserverImpl.java
r71 r83 3 3 import omq.server.RemoteObject; 4 4 5 /** 6 * 7 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 8 * 9 */ 5 10 public class RemoteObserverImpl extends RemoteObject implements RemoteObserver { 6 11 -
trunk/src/test/java/omq/test/observer/RemoteSubject.java
r72 r83 6 6 import omq.exception.RemoteException; 7 7 8 /** 9 * 10 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 11 * 12 */ 8 13 @RemoteInterface 9 14 public interface RemoteSubject extends Remote { -
trunk/src/test/java/omq/test/observer/RemoteSubjectImpl.java
r72 r83 8 8 import omq.server.RemoteObject; 9 9 10 /** 11 * 12 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 13 * 14 */ 10 15 public class RemoteSubjectImpl extends RemoteObject implements RemoteSubject { 11 16 -
trunk/src/test/java/omq/test/persistence/Message.java
r78 r83 3 3 import omq.Remote; 4 4 import omq.client.annotation.AsyncMethod; 5 import omq.client.annotation.RemoteInterface; 5 6 import omq.client.annotation.SyncMethod; 6 7 8 /** 9 * 10 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 11 * 12 */ 13 14 @RemoteInterface 7 15 public interface Message extends Remote { 8 16 @AsyncMethod -
trunk/src/test/java/omq/test/persistence/MessageImpl.java
r78 r83 3 3 import omq.server.RemoteObject; 4 4 5 /** 6 * 7 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 8 * 9 */ 5 10 public class MessageImpl extends RemoteObject implements Message { 6 11 /** -
trunk/src/test/java/omq/test/persistence/PersistentTest.java
r82 r83 16 16 import org.junit.runners.Parameterized.Parameters; 17 17 18 /** 19 * 20 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 21 * 22 */ 18 23 @RunWith(value = Parameterized.class) 19 24 public class PersistentTest { -
trunk/src/test/java/omq/test/python/Address.java
r81 r83 3 3 import java.io.Serializable; 4 4 5 /** 6 * 7 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 8 * 9 */ 5 10 public class Address implements Serializable { 6 11 -
trunk/src/test/java/omq/test/python/Calculator.java
r81 r83 3 3 import omq.Remote; 4 4 5 /** 6 * 7 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 8 * 9 */ 5 10 public interface Calculator extends Remote { 6 11 public void fibonacci(int x); 7 12 8 13 public int add(int x, int y); 9 14 10 15 public double getPi(); 11 16 -
trunk/src/test/java/omq/test/python/CalculatorImpl.java
r81 r83 3 3 import omq.server.RemoteObject; 4 4 5 /** 6 * 7 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 8 * 9 */ 5 10 public class CalculatorImpl extends RemoteObject implements Calculator { 6 11 … … 34 39 return 3.1415; 35 40 } 36 37 38 41 39 42 } -
trunk/src/test/java/omq/test/python/Client.py
r81 r83 2 2 Created on 03/07/2013 3 3 4 @author: sergi4 @author: Sergi Toda <sergi.toda@estudiants.urv.cat> 5 5 ''' 6 6 import pika -
trunk/src/test/java/omq/test/python/ClientTest.py
r81 r83 2 2 Created on 04/07/2013 3 3 4 @author: sergi4 @author: Sergi Toda <sergi.toda@estudiants.urv.cat> 5 5 ''' 6 6 import unittest -
trunk/src/test/java/omq/test/python/Contact.java
r81 r83 3 3 import java.io.Serializable; 4 4 5 /** 6 * 7 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 8 * 9 */ 5 10 public class Contact implements Serializable { 6 11 -
trunk/src/test/java/omq/test/python/ContactList.java
r81 r83 5 5 import omq.Remote; 6 6 7 /** 8 * 9 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 10 * 11 */ 7 12 public interface ContactList extends Remote { 8 13 public void setContact(Contact c); -
trunk/src/test/java/omq/test/python/ContactListImpl.java
r81 r83 6 6 import omq.server.RemoteObject; 7 7 8 /** 9 * 10 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 11 * 12 */ 8 13 public class ContactListImpl extends RemoteObject implements ContactList { 9 14 /** -
trunk/src/test/java/omq/test/python/Server.java
r81 r83 8 8 import omq.common.util.ParameterQueue; 9 9 10 /** 11 * 12 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 13 * 14 */ 10 15 public class Server { 11 16 … … 35 40 36 41 broker.bind("list", new ContactListImpl()); 37 42 38 43 Thread.sleep(60 * 1000); 39 44 } -
trunk/src/test/java/omq/test/serializer/CalculatorTest.java
r77 r83 13 13 import org.junit.Test; 14 14 15 /** 16 * 17 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 18 * 19 */ 15 20 public class CalculatorTest { 16 21 -
trunk/src/test/java/omq/test/stopBroker/BrokerKiller.java
r46 r83 5 5 import omq.client.annotation.RemoteInterface; 6 6 7 /** 8 * 9 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 10 * 11 */ 7 12 @RemoteInterface 8 13 public interface BrokerKiller extends Remote { -
trunk/src/test/java/omq/test/stopBroker/BrokerKillerImpl.java
r54 r83 5 5 import omq.server.RemoteObject; 6 6 7 /** 8 * 9 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 10 * 11 */ 7 12 public class BrokerKillerImpl extends RemoteObject implements BrokerKiller { 8 13 -
trunk/src/test/java/omq/test/stopBroker/StopBrokerTest.java
r77 r83 16 16 import org.junit.runners.Parameterized.Parameters; 17 17 18 /** 19 * 20 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 21 * 22 */ 18 23 @RunWith(value = Parameterized.class) 19 24 public class StopBrokerTest { -
trunk/src/test/java/omq/test/stopBroker/UnbindTest.java
r77 r83 9 9 import org.junit.Test; 10 10 11 /** 12 * 13 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 14 * 15 */ 11 16 public class UnbindTest { 12 17 -
trunk/src/test/java/omq/test/temporal/ProvaTest.java
r77 r83 20 20 import org.junit.runners.Parameterized.Parameters; 21 21 22 /** 23 * 24 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 25 * 26 */ 22 27 @RunWith(value = Parameterized.class) 23 28 public class ProvaTest { -
trunk/src/test/java/omq/test/workspace/Info.java
r74 r83 3 3 import java.io.Serializable; 4 4 5 /** 6 * 7 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 8 * 9 */ 5 10 public class Info implements Serializable { 6 11 /** -
trunk/src/test/java/omq/test/workspace/RemoteWorkspace.java
r74 r83 6 6 import omq.client.annotation.RemoteInterface; 7 7 8 /** 9 * 10 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 11 * 12 */ 8 13 @RemoteInterface 9 14 public interface RemoteWorkspace extends Remote { -
trunk/src/test/java/omq/test/workspace/RemoteWorkspaceImpl.java
r74 r83 3 3 import omq.server.RemoteObject; 4 4 5 /** 6 * 7 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 8 * 9 */ 5 10 public class RemoteWorkspaceImpl extends RemoteObject implements RemoteWorkspace { 6 11 -
trunk/src/test/java/omq/test/workspace/WorkspaceTest.java
r77 r83 18 18 import org.junit.runners.Parameterized.Parameters; 19 19 20 /** 21 * 22 * @author Sergi Toda <sergi.toda@estudiants.urv.cat> 23 * 24 */ 20 25 @RunWith(value = Parameterized.class) 21 26 public class WorkspaceTest {
Note: See TracChangeset
for help on using the changeset viewer.