Commit fb0ac1f1 authored by Guillaume Surrel's avatar Guillaume Surrel

Move test framework.

parent f70c3794
......@@ -24,8 +24,8 @@
package a3.base;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class httpclient {
static short ServerReceiver1 = 1;
......
......@@ -23,8 +23,8 @@
package a3.base;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class httpserver {
static short ServerReceiver1 = 1;
......
......@@ -23,8 +23,8 @@
package a3.base;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class test1 extends TestCase {
public test1() {
......
......@@ -24,8 +24,8 @@
package a3.base;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class test11 extends TestCase {
short ServerSender;
......
......@@ -23,8 +23,8 @@
package a3.base;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class test12 extends TestCase {
static short s0 = (short) 0;
......
......@@ -23,8 +23,8 @@
package a3.base;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class test14 extends TestCase {
public test14() {
......
......@@ -24,11 +24,11 @@
package a3.base;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.Agent;
import fr.dyade.aaa.agent.AgentId;
import fr.dyade.aaa.agent.Channel;
import fr.dyade.aaa.agent.Notification;
import framework.TestCase;
public class test15 extends TestCase {
public test15() {
......
......@@ -22,8 +22,8 @@
*/
package a3.base;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class test16 extends TestCase {
short ServerReceiver1 = 1;
......
......@@ -23,8 +23,8 @@
package a3.base;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class test17 extends TestCase {
short ServerSender1 = 1;
......
......@@ -23,13 +23,13 @@
package a3.base;
import joram.framework.BaseTestCase;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.Agent;
import fr.dyade.aaa.agent.AgentId;
import fr.dyade.aaa.agent.Channel;
import fr.dyade.aaa.agent.Notification;
import fr.dyade.aaa.agent.ExpiredNot;
import framework.BaseTestCase;
import framework.TestCase;
public class test18 extends TestCase {
......
......@@ -22,13 +22,13 @@
*/
package a3.base;
import joram.framework.BaseTestCase;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.Agent;
import fr.dyade.aaa.agent.AgentId;
import fr.dyade.aaa.agent.Channel;
import fr.dyade.aaa.agent.Notification;
import fr.dyade.aaa.agent.ExpiredNot;
import framework.BaseTestCase;
import framework.TestCase;
public class test19 extends TestCase {
......
......@@ -24,8 +24,8 @@
package a3.base;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class test2 extends TestCase {
public test2() {
......
......@@ -22,14 +22,14 @@
*/
package a3.base;
import joram.framework.BaseTestCase;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.Agent;
import fr.dyade.aaa.agent.AgentServer;
import fr.dyade.aaa.agent.AgentId;
import fr.dyade.aaa.agent.Channel;
import fr.dyade.aaa.agent.Notification;
import fr.dyade.aaa.agent.DeleteNot;
import framework.BaseTestCase;
import framework.TestCase;
/**
* This test verify the sending of notifications during agentInitialize and
......
......@@ -22,8 +22,8 @@
*/
package a3.base;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
/**
* This test verify the sending the network behavior with a great number of
......
......@@ -22,8 +22,8 @@
*/
package a3.base;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
/**
* This test verify the sending the network behavior with a great number of
......
......@@ -23,8 +23,8 @@
package a3.base;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class test3 extends TestCase {
public test3() {
......
......@@ -23,8 +23,8 @@
package a3.base;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class test3x extends TestCase {
public test3x() {
......
......@@ -24,8 +24,8 @@
package a3.base;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class test4 extends TestCase {
public test4() {
......
......@@ -23,8 +23,8 @@
package a3.base;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class test5 extends TestCase {
public test5() {
......
......@@ -24,8 +24,8 @@
package a3.base;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class test6 extends TestCase {
public test6() {
......
......@@ -23,8 +23,8 @@
package a3.base;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class test8 extends TestCase {
public test8() {
......
......@@ -23,8 +23,8 @@
package a3.base;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class test9 extends TestCase {
public test9() {
......
......@@ -23,8 +23,8 @@
package a3.base;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class testSSL1 extends TestCase {
public testSSL1() {
......
......@@ -26,12 +26,12 @@ package a3.conf;
import java.io.*;
import java.util.*;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import fr.dyade.aaa.agent.conf.*;
import fr.dyade.aaa.admin.script.*;
import fr.dyade.aaa.admin.cmd.*;
import framework.TestCase;
public class Script1 extends TestScript {
......
......@@ -27,12 +27,12 @@ package a3.conf;
import java.io.*;
import java.util.*;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import fr.dyade.aaa.agent.conf.*;
import fr.dyade.aaa.admin.script.*;
import fr.dyade.aaa.admin.cmd.*;
import framework.TestCase;
public class Script2 extends TestScript {
......
......@@ -26,12 +26,12 @@ package a3.conf;
import java.io.*;
import java.util.*;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import fr.dyade.aaa.agent.conf.*;
import fr.dyade.aaa.admin.script.*;
import fr.dyade.aaa.admin.cmd.*;
import framework.TestCase;
public class Script3 extends TestScript {
......
......@@ -23,12 +23,12 @@
package a3.conf;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import fr.dyade.aaa.agent.conf.*;
import fr.dyade.aaa.admin.script.*;
import fr.dyade.aaa.admin.cmd.*;
import framework.TestCase;
public class test1 extends TestCase {
public test1() {
......
......@@ -24,8 +24,8 @@
package a3.perf;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class test1 extends TestCase {
short ServerPing;
......
......@@ -24,8 +24,8 @@
package a3.perf;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class test2 extends TestCase {
short ServerSender;
......
......@@ -24,8 +24,8 @@
package a3.perf;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class test3 extends TestCase {
short ServerPing;
......
......@@ -23,8 +23,8 @@
package a3.perf;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class test5 extends TestCase {
public test5() {
......
......@@ -25,10 +25,10 @@ package a3.recovery;
import java.util.*;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class test1 extends TestCase {
public test1() {
......
......@@ -26,9 +26,9 @@ package a3.recovery;
import java.util.*;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
import a3.base.Echo;
......
......@@ -27,11 +27,11 @@ import java.util.Random;
import java.util.Timer;
import java.util.TimerTask;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.Agent;
import fr.dyade.aaa.agent.AgentId;
import fr.dyade.aaa.agent.Channel;
import fr.dyade.aaa.agent.Notification;
import framework.TestCase;
public class test2 extends TestCase {
public test2() {
......
......@@ -3,8 +3,8 @@
*/
package a3.recovery;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class test3 extends TestCase {
public test3() {
......
......@@ -23,8 +23,8 @@
package a3.recovery;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
import a3.base.Echo;
public class test4 extends TestCase {
......
......@@ -23,8 +23,8 @@
package a3.recovery;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
import a3.base.Echo;
public class test5 extends TestCase {
......
......@@ -27,10 +27,10 @@ package a3.recovery;
import java.util.*;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class test6 extends TestCase {
public test6() {
......
......@@ -23,8 +23,8 @@
package a3.recovery;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
import a3.base.Echo;
public class test7 extends TestCase {
......
......@@ -24,10 +24,10 @@ package a3.recovery;
import java.util.*;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.*;
import framework.TestCase;
public class test8 extends TestCase {
public test8() {
......
......@@ -29,12 +29,12 @@ import java.util.Timer;
import java.util.TimerTask;
import java.util.Vector;
import joram.framework.TestCase;
import fr.dyade.aaa.agent.Agent;
import fr.dyade.aaa.agent.AgentId;
import fr.dyade.aaa.agent.AgentServer;
import fr.dyade.aaa.agent.Channel;
import fr.dyade.aaa.agent.Notification;
import framework.TestCase;
public class test9 extends TestCase {
public test9() {
......
......@@ -20,7 +20,7 @@
* Initial developer(s): (ScalAgent D.T.)
* Contributor(s):
*/
package joram.framework;
package framework;
/**
* Thrown when an assertion failed.
......
......@@ -21,7 +21,7 @@
* Contributor(s): Badolle Fabien (ScalAgent D.T.)
*/
package joram.framework;
package framework;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
......
......@@ -21,7 +21,7 @@
* Contributor(s): Badolle Fabien (ScalAgent D.T.)
*/
package joram.framework;
package framework;
import java.io.File;
......
......@@ -29,7 +29,8 @@ import java.lang.reflect.Method;
import javax.jms.JMSException;
import joram.framework.TestCase;
import framework.TestCase;
/**
* Class extending <code>framework.TestCase</code> to provide a new
......
......@@ -34,7 +34,8 @@ import javax.naming.NamingEnumeration;
import javax.naming.NamingException;
import javax.naming.NotContextException;
import joram.framework.TestCase;
import framework.TestCase;
/**
*
......
......@@ -28,7 +28,8 @@ import java.util.Hashtable;
import javax.naming.Context;
import javax.naming.InitialContext;
import joram.framework.TestCase;
import framework.TestCase;
/**
* Exception when bind an element (/A/elt) without create subcontext (/A)
......
......@@ -28,7 +28,8 @@ import java.util.Hashtable;
import javax.naming.InitialContext;
import joram.framework.TestCase;
import framework.TestCase;
......
......@@ -28,7 +28,8 @@ import java.io.*;
import java.util.*;
import javax.naming.*;
import joram.framework.TestCase;
import framework.TestCase;
/**
......
......@@ -28,7 +28,8 @@ import java.io.*;
import java.util.*;
import javax.naming.*;
import joram.framework.TestCase;
import framework.TestCase;
/**
* Tests:
......
......@@ -28,7 +28,8 @@ import java.io.*;
import java.util.*;
import javax.naming.*;
import joram.framework.TestCase;
import framework.TestCase;
/**
* Tests:
......
......@@ -29,7 +29,8 @@ import java.io.*;
import java.util.*;
import javax.naming.*;
import joram.framework.TestCase;
import framework.TestCase;
/**
*
......
......@@ -28,7 +28,8 @@ import java.io.*;
import java.util.*;
import javax.naming.*;
import joram.framework.TestCase;
import framework.TestCase;
/**
* Test suggested by Nigel Rantor:
......
......@@ -27,7 +27,8 @@ import java.util.Hashtable;
import javax.naming.InitialContext;
import joram.framework.TestCase;
import framework.TestCase;
......
......@@ -30,7 +30,8 @@ import java.util.Hashtable;
import javax.naming.InitialContext;
import javax.naming.NameNotFoundException;
import joram.framework.TestCase;
import framework.TestCase;
/**
* Tests: Simple test with 2 servers
......
......@@ -29,7 +29,8 @@ import java.util.Hashtable;
import javax.naming.InitialContext;
import joram.framework.TestCase;
import framework.TestCase;
/**