Commit 89c05871 authored by Eric Tobias's avatar Eric Tobias
Browse files

Merge branch 'dev-nico' of http://git.list.lu/nui/tulip into dev-nico

parents 9d7b0b1a a09afead
......@@ -16,7 +16,7 @@
<classpathentry exported="true" kind="lib" path="libs/tuio-1.4.jar" sourcepath="C:/Users/tobias/.m2/repository/net/sourceforge/tuio/tuio/1.4/tuio-1.4-sources.jar"/>
<classpathentry exported="true" kind="lib" path="libs/dbc.annotation.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="lib" path="C:/Users/gilmard/Documents/Arduino/Adapter/xbee-api-0.9/lib/RXTXcomm.jar"/>
<classpathentry kind="lib" path="C:/Users/gilmard/Documents/Arduino/Adapter/bluecove-2.1.1-SNAPSHOT.jar"/>
<classpathentry kind="lib" path="libs/bluecove-2.1.1-SNAPSHOT.jar"/>
<classpathentry kind="lib" path="libs/RXTXcomm.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
......@@ -17,6 +17,9 @@ fontSize = 13
colour = BLACK
centred = false
# Adapter to load
tableAdapter = tuio
# Properties for the calibration of the object manager
#The value below is best left at or above 1024
cursorIDRemappingConstant = 1024
\ No newline at end of file
......@@ -15,7 +15,6 @@ package lu.list.itis.dkd.tui;
import lu.list.itis.dkd.tui.adapter.TangibleObject;
import lu.list.itis.dkd.tui.adapter.TuiAdapter;
import lu.list.itis.dkd.tui.adapter.TuioConcreteAdapter;
import lu.list.itis.dkd.tui.logging.EventLogger;
import lu.list.itis.dkd.tui.utility.GlobalContext;
import lu.list.itis.dkd.tui.utility.IDMapper;
......@@ -28,6 +27,7 @@ import com.google.common.base.Preconditions;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.util.Collection;
import java.util.Properties;
import java.util.Vector;
......@@ -87,8 +87,9 @@ public abstract class TangibleApplication {
*
* @param newPropertiesFileURI
* The URI of the properties file to load.
* @throws Exception
*/
protected TangibleApplication(@Nullable String newPropertiesFileURI) {
protected TangibleApplication(@Nullable String newPropertiesFileURI) throws Exception {
if (newPropertiesFileURI != null && !newPropertiesFileURI.isEmpty()) {
propertiesFileURI = newPropertiesFileURI;
}
......@@ -104,14 +105,51 @@ public abstract class TangibleApplication {
interfaceManager = new TangibleInterfaceManager(this, logger, properties);
adapter = new TuioConcreteAdapter(interfaceManager);
try {
adapter = (TuiAdapter) Class.forName(properties.getProperty("tableAdapter")).getConstructor(TangibleInterfaceManager.class).newInstance(interfaceManager); //$NON-NLS-1$
} catch (InstantiationException e) {
logger.log(Level.SEVERE, "Cannot instantiate adapter.\n" //$NON-NLS-1$
+ "You try to instantiate an abstract class or an interface!"); //$NON-NLS-1$s
throw new Exception("Cannot instantiate adapter\n" //$NON-NLS-1$
+ "You try to instantiate an abstract class or an interface!", e); //$NON-NLS-1$
} catch (IllegalAccessException e) {
logger.log(Level.SEVERE, "The currently executing method does not have access to the definition of the constructor."); //$NON-NLS-1$
throw new IllegalAccessException("The currently executing method does not have access to the definition of the constructor."); //$NON-NLS-1$
} catch (IllegalArgumentException e) {
logger.log(Level.SEVERE, "A wrong argument has been passed to the adapter."); //$NON-NLS-1$
throw new Exception("A wrong argument has been passed to the adapter.\n+" //$NON-NLS-1$
+ "Required argument of type lu.list.itis.dkd.tui.TangibleInterfaceManager!", e); //$NON-NLS-1$
} catch (InvocationTargetException e) {
logger.log(Level.SEVERE, "An exception has been thrown in the constructor of the adapter"); //$NON-NLS-1$
throw new InvocationTargetException(e, "Une exception a été jeté dans le constructeur de l'adaptateur.\n+" //$NON-NLS-1$
+ "Check the constructor of " + properties.getProperty("tableAdapter")); //$NON-NLS-1$ //$NON-NLS-2$
} catch (NoSuchMethodException e) {
logger.log(Level.SEVERE, "The called method was not found"); //$NON-NLS-1$
throw new NoSuchMethodException("The called method was not found"); //$NON-NLS-1$
} catch (SecurityException e) {
logger.log(Level.SEVERE, "Security violation"); //$NON-NLS-1$
throw new Exception("Security violation", e); //$NON-NLS-1$
} catch (ClassNotFoundException e) {
logger.log(Level.SEVERE, "The class " + properties.getProperty("tableAdapter") + "was not found."); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
throw new ClassNotFoundException("The class " + properties.getProperty("tableAdapter") + "was not found.\n" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ "Check the spelling of your adapter class name in properties file."); //$NON-NLS-1$
}
GlobalContext.setGlobalContext(adapter);
IDMapper.initialise(properties);
EventLogger.getInstance().initialise(properties);
}
/**
* Method for configuring a {@link Logger} with several properties as given by the loader
* properties file.
......
......@@ -17,6 +17,8 @@ import lu.list.itis.dkd.tui.TangibleInterfaceManager;
import lu.list.itis.dkd.tui.TangibleObjectManager;
import lu.list.itis.dkd.tui.logging.EventLogger;
import lu.tudor.ssi.kiss.dbc.annotation.NonNullByDefault;
import java.util.Collection;
import javax.swing.JComponent;
......@@ -28,6 +30,7 @@ import javax.swing.JComponent;
* @since 2.0
* @version 2.0.1
*/
@NonNullByDefault
public abstract class TuiAdapter {
/**
......
......@@ -27,7 +27,6 @@ import TUIO.TuioClient;
import TUIO.TuioCursor;
import TUIO.TuioListener;
import TUIO.TuioObject;
import TUIO.TuioPoint;
import TUIO.TuioTime;
import com.google.common.base.Preconditions;
......@@ -43,7 +42,7 @@ import java.util.Vector;
* @version 2.0.1
*/
@NonNullByDefault
public class TuioConcreteAdapter extends TuiAdapter implements TuioListener {
public class TuioAdapter extends TuiAdapter implements TuioListener {
/**
* A reference to the {@link TuioClient} conveying all TUIO protocol related messages and
......@@ -62,7 +61,7 @@ public class TuioConcreteAdapter extends TuiAdapter implements TuioListener {
* @param interfaceManager
* The {@link TangibleInterfaceManager} display.
*/
public TuioConcreteAdapter(TangibleInterfaceManager interfaceManager) {
public TuioAdapter(TangibleInterfaceManager interfaceManager) {
super(interfaceManager);
}
......@@ -123,16 +122,15 @@ public class TuioConcreteAdapter extends TuiAdapter implements TuioListener {
Preconditions.checkArgument(tangibleObject != null, "The passed tangible cursor cannot be null!"); //$NON-NLS-1$
Vector<Point> tempPath = new Vector<>();
for (TuioPoint point : tangibleObject.getPath()) {
Point temp = new Point(point.getX(), point.getY(), tangibleObject.getAngle());
tempPath.addElement(temp);
}
tangibleObject.getPath().forEach(path -> tempPath.addElement(new Point(path.getX(), path.getY(), tangibleObject.getAngle())));
TangibleObject convertedTangibleObject = new TangibleObjectBuilder(tangibleObject.getSymbolID(), Type.OBJECT, tangibleObject.getPath().lastElement().getX(), tangibleObject.getPath().lastElement().getY()).withSeconds(tangibleObject.getTuioTime().getSeconds()).withMicroSeconds(tangibleObject.getTuioTime().getMicroseconds()).withxSpeed(tangibleObject.getXSpeed()).withySpeed(tangibleObject.getYSpeed()).withMotionSpeed(tangibleObject.getMotionSpeed()).withMotionAccel(tangibleObject.getMotionAccel()).withRotationSpeed(tangibleObject.getRotationSpeed()).withRotationAccel(tangibleObject.getRotationAccel()).withPath(tempPath).withState(tangibleObject.getTuioState()).build();
return convertedTangibleObject;
}
/**
* Convert a TUIO cursor into a tangibleObject
*
......@@ -145,10 +143,7 @@ public class TuioConcreteAdapter extends TuiAdapter implements TuioListener {
Preconditions.checkArgument(tangibleCursor != null, "The passed tangible cursor cannot be null!"); //$NON-NLS-1$
Vector<Point> tempPath = new Vector<>();
for (TuioPoint point : tangibleCursor.getPath()) {
Point temp = new Point(point.getX(), point.getY(), 0);
tempPath.addElement(temp);
}
tangibleCursor.getPath().forEach(path -> tempPath.addElement(new Point(path.getX(), path.getY(), 0)));
TangibleObject convertedTangibleObject = new TangibleObjectBuilder(IDMapper.remapCursorID(tangibleCursor.getCursorID()), Type.CURSOR, tangibleCursor.getPath().lastElement().getX(), tangibleCursor.getPath().lastElement().getY()).withSeconds(tangibleCursor.getTuioTime().getSeconds()).withMicroSeconds(tangibleCursor.getTuioTime().getMicroseconds()).withxSpeed(tangibleCursor.getXSpeed()).withySpeed(tangibleCursor.getYSpeed()).withMotionSpeed(tangibleCursor.getMotionSpeed()).withMotionAccel(tangibleCursor.getMotionAccel()).withPath(tempPath).withState(tangibleCursor.getTuioState()).build();
......
......@@ -13,6 +13,8 @@
*/
package lu.list.itis.dkd.tui.network.adapter;
import lu.tudor.ssi.kiss.dbc.annotation.NonNullByDefault;
import java.io.IOException;
import javax.bluetooth.DiscoveryAgent;
......@@ -29,6 +31,7 @@ import javax.microedition.io.StreamConnection;
* @since 1.0
* @version 1.0.0
*/
@NonNullByDefault
public class BluetoothClient extends ClientAdapter {
/**
......
......@@ -13,6 +13,8 @@
*/
package lu.list.itis.dkd.tui.network.adapter;
import lu.tudor.ssi.kiss.dbc.annotation.NonNullByDefault;
import java.io.IOException;
import javax.bluetooth.DiscoveryAgent;
......@@ -30,6 +32,7 @@ import javax.microedition.io.StreamConnectionNotifier;
* @since 1.0
* @version 1.0.0
*/
@NonNullByDefault
public class BluetoothServer extends ServerAdapter {
/**
......
......@@ -13,6 +13,8 @@
*/
package lu.list.itis.dkd.tui.network.adapter;
import lu.tudor.ssi.kiss.dbc.annotation.NonNullByDefault;
import gnu.io.PortInUseException;
import gnu.io.UnsupportedCommOperationException;
......@@ -27,6 +29,7 @@ import java.net.UnknownHostException;
* @since 1.0
* @version 1.0.0
*/
@NonNullByDefault
public abstract class ClientAdapter extends NetworkAdapter {
/**
......
......@@ -13,6 +13,8 @@
*/
package lu.list.itis.dkd.tui.network.adapter;
import lu.tudor.ssi.kiss.dbc.annotation.NonNullByDefault;
import java.io.InputStream;
import java.io.OutputStream;
......@@ -23,6 +25,7 @@ import java.io.OutputStream;
* @since 1.0
* @version 1.0.0
*/
@NonNullByDefault
public abstract class NetworkAdapter {
/**
......
......@@ -13,6 +13,8 @@
*/
package lu.list.itis.dkd.tui.network.adapter;
import lu.tudor.ssi.kiss.dbc.annotation.NonNullByDefault;
import java.io.IOException;
......@@ -23,6 +25,7 @@ import java.io.IOException;
* @since 1.0
* @version 1.0.0
*/
@NonNullByDefault
public abstract class ServerAdapter extends NetworkAdapter {
/**
......
......@@ -13,6 +13,8 @@
*/
package lu.list.itis.dkd.tui.network.adapter;
import lu.tudor.ssi.kiss.dbc.annotation.NonNullByDefault;
import java.io.IOException;
import java.net.Socket;
import java.net.UnknownHostException;
......@@ -24,6 +26,7 @@ import java.net.UnknownHostException;
* @since 1.0
* @version 1.0.0
*/
@NonNullByDefault
public class TcpClient extends ClientAdapter {
/**
......
......@@ -13,6 +13,8 @@
*/
package lu.list.itis.dkd.tui.network.adapter;
import lu.tudor.ssi.kiss.dbc.annotation.NonNullByDefault;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
......@@ -24,6 +26,7 @@ import java.net.Socket;
* @since 1.0
* @version 1.0.0
*/
@NonNullByDefault
public class TcpServer extends ServerAdapter {
/**
......
......@@ -14,6 +14,8 @@
package lu.list.itis.dkd.tui.network.adapter;
import lu.tudor.ssi.kiss.dbc.annotation.NonNullByDefault;
import gnu.io.CommPortIdentifier;
import gnu.io.PortInUseException;
import gnu.io.SerialPort;
......@@ -30,6 +32,7 @@ import java.util.Enumeration;
* @since 1.0
* @version 1.0.0
*/
@NonNullByDefault
public class XbeeAdapter extends ClientAdapter {
/**
* The RX/TX communication
......
......@@ -62,19 +62,11 @@ public class TangibleApplicationTest {
* Test method for
* {@link lu.list.itis.dkd.tui.TangibleApplication#TangibleApplication(java.lang.String)}.
*
* @throws SecurityException
* Thrown when a security manager is present and a discrepancy in the class loaders is
* detected or it denies access to the field.
* @throws NoSuchFieldException
* Thrown when the fields that this test wants to access do not exist.
* @throws IllegalAccessException
* Thrown when access to the field is not permitted.
* @throws IllegalArgumentException
* If the provided instance cannot give access to the field.
* @throws Exception
*/
@SuppressWarnings("javadoc")
@Test
public void testTangibleApplication() throws NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException {
public void testTangibleApplication() throws Exception {
assertThat(application, is(not(nullValue())));
Field properties = TestTangibleApplication.class.getSuperclass().getDeclaredField("properties");
......@@ -187,8 +179,9 @@ public class TangibleApplicationTest {
*
* @param newPropertiesFileURI
* The URI of the properties file to load.
* @throws Exception
*/
protected TestTangibleApplication(String newPropertiesFileURI) {
protected TestTangibleApplication(String newPropertiesFileURI) throws Exception {
super(newPropertiesFileURI);
}
}
......
......@@ -40,8 +40,8 @@ import java.util.logging.Logger;
* @version 1.0.2
*/
public class TangibleInterfaceManagerTest {
private String propertiesLocation = "test_properties.properties";
private TangibleApplication application;
private String propertiesLocation = "test_properties.properties";
private TangibleApplication application;
private TangibleInterfaceManager interfaceManager;
......@@ -175,8 +175,9 @@ public class TangibleInterfaceManagerTest {
*
* @param newPropertiesFileURI
* The URI of the properties file to load.
* @throws Exception
*/
protected TestTangibleApplication(String newPropertiesFileURI) {
protected TestTangibleApplication(String newPropertiesFileURI) throws Exception {
super(newPropertiesFileURI);
}
}
......
......@@ -71,8 +71,9 @@ public class TangibleObjectTest {
*
* @param newPropertiesFileURI
* The URI of the properties file to load.
* @throws Exception
*/
protected TestTangibleApplication(String newPropertiesFileURI) {
protected TestTangibleApplication(String newPropertiesFileURI) throws Exception {
super(newPropertiesFileURI);
}
}
......
......@@ -48,13 +48,13 @@ import java.util.Properties;
import java.util.logging.Logger;
/**
* Test case for testing the {@link TuioConcreteAdapter} class.
* Test case for testing the {@link TuioAdapter} class.
*
* @author Nicolas GILMARD [nicolas.gilmard@list.lu]
* @since [1].[0]
* @version [1].[0].[1]
*/
public class TuioConcreteAdapterTest {
public class TuioAdapterTest {
private TuiAdapter tuiAdapter;
private String propertiesLocation = "test_properties.properties"; //$NON-NLS-1$
private TangibleApplication application;
......@@ -82,12 +82,12 @@ public class TuioConcreteAdapterTest {
} catch (IOException e) {
// nothing to do
}
tuiAdapter = new TuioConcreteAdapter(new TestTangibleInterfaceManager(application, null, temp));
tuiAdapter = new TuioAdapter(new TestTangibleInterfaceManager(application, null, temp));
}
/**
* Test method for
* {@link lu.list.itis.dkd.tui.adapter.TuioConcreteAdapter#TuioConcreteAdapter(lu.list.itis.dkd.tui.TangibleInterfaceManager)}
* {@link lu.list.itis.dkd.tui.adapter.TuioAdapter#TuioConcreteAdapter(lu.list.itis.dkd.tui.TangibleInterfaceManager)}
* .
*
* @throws SecurityException
......@@ -104,9 +104,9 @@ public class TuioConcreteAdapterTest {
public void testTuioConcreteAdapter() throws NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException {
assertThat(tuiAdapter, is(notNullValue()));
Field interfaceManager = TuioConcreteAdapter.class.getSuperclass().getDeclaredField("interfaceManager"); //$NON-NLS-1$
Field client = TuioConcreteAdapter.class.getDeclaredField("client"); //$NON-NLS-1$
Field objectManager = TuioConcreteAdapter.class.getDeclaredField("objectManager"); //$NON-NLS-1$
Field interfaceManager = TuioAdapter.class.getSuperclass().getDeclaredField("interfaceManager"); //$NON-NLS-1$
Field client = TuioAdapter.class.getDeclaredField("client"); //$NON-NLS-1$
Field objectManager = TuioAdapter.class.getDeclaredField("objectManager"); //$NON-NLS-1$
interfaceManager.setAccessible(true);
assertThat(interfaceManager.get(tuiAdapter), is(not(nullValue())));
......@@ -132,8 +132,9 @@ public class TuioConcreteAdapterTest {
*
* @param newPropertiesFileURI
* The URI of the properties file to load.
* @throws Exception
*/
protected TestTangibleApplication(String newPropertiesFileURI) {
protected TestTangibleApplication(String newPropertiesFileURI) throws Exception {
super(newPropertiesFileURI);
}
}
......@@ -193,7 +194,7 @@ public class TuioConcreteAdapterTest {
/**
* Test method for {@link lu.list.itis.dkd.tui.adapter.TuioConcreteAdapter#getObjectManager()}
* Test method for {@link lu.list.itis.dkd.tui.adapter.TuioAdapter#getObjectManager()}
*/
@SuppressWarnings("resource")
@Test
......@@ -226,7 +227,7 @@ public class TuioConcreteAdapterTest {
/**
* Test method for
* {@link lu.list.itis.dkd.tui.adapter.TuioConcreteAdapter#setObjectManager(TangibleObjectManager)}
* {@link lu.list.itis.dkd.tui.adapter.TuioAdapter#setObjectManager(TangibleObjectManager)}
*/
@SuppressWarnings("resource")
@Test
......@@ -254,7 +255,7 @@ public class TuioConcreteAdapterTest {
}
/**
* Test method for {@link lu.list.itis.dkd.tui.adapter.TuioConcreteAdapter#getActiveCursors()}
* Test method for {@link lu.list.itis.dkd.tui.adapter.TuioAdapter#getActiveCursors()}
*/
@Test
public void testGetActiveCursors() {
......@@ -262,7 +263,7 @@ public class TuioConcreteAdapterTest {
}
/**
* Test method for {@link lu.list.itis.dkd.tui.adapter.TuioConcreteAdapter#getActiveObjects()}
* Test method for {@link lu.list.itis.dkd.tui.adapter.TuioAdapter#getActiveObjects()}
*/
@Test
public void testGetActiveObjects() {
......@@ -270,7 +271,7 @@ public class TuioConcreteAdapterTest {
}
/**
* Test method for {@link lu.list.itis.dkd.tui.adapter.TuioConcreteAdapter#getCursor(long)}
* Test method for {@link lu.list.itis.dkd.tui.adapter.TuioAdapter#getCursor(long)}
*/
@Test
public void testGetCursor() {
......@@ -285,7 +286,7 @@ public class TuioConcreteAdapterTest {
}
/**
* Test method for {@link lu.list.itis.dkd.tui.adapter.TuioConcreteAdapter#getObject(long)}
* Test method for {@link lu.list.itis.dkd.tui.adapter.TuioAdapter#getObject(long)}
*/
@Test
public void testGetObject() {
......@@ -308,7 +309,7 @@ public class TuioConcreteAdapterTest {
TuioCursor tuioCursor = new TuioCursor(1, 3, 10f, 11f);
Method convertTuioCursor = null;
try {
convertTuioCursor = TuioConcreteAdapter.class.getDeclaredMethod("convertTuioCursorToTangibleObject", new Class[] {TuioCursor.class}); //$NON-NLS-1$
convertTuioCursor = TuioAdapter.class.getDeclaredMethod("convertTuioCursorToTangibleObject", new Class[] {TuioCursor.class}); //$NON-NLS-1$
} catch (NoSuchMethodException e) {
// nothing to do
} catch (SecurityException e) {
......@@ -354,7 +355,7 @@ public class TuioConcreteAdapterTest {
Method convertTuioObject = null;
try {
convertTuioObject = TuioConcreteAdapter.class.getDeclaredMethod("convertTuioObjectToTangibleObject", new Class[] {TuioObject.class}); //$NON-NLS-1$
convertTuioObject = TuioAdapter.class.getDeclaredMethod("convertTuioObjectToTangibleObject", new Class[] {TuioObject.class}); //$NON-NLS-1$
} catch (NoSuchMethodException e) {
// nothing to do
} catch (SecurityException e) {
......@@ -392,7 +393,7 @@ public class TuioConcreteAdapterTest {
}
/**
* Test method for {@link lu.list.itis.dkd.tui.adapter.TuioConcreteAdapter#connect()}
* Test method for {@link lu.list.itis.dkd.tui.adapter.TuioAdapter#connect()}
*/
@SuppressWarnings("resource")
@Test
......@@ -418,24 +419,23 @@ public class TuioConcreteAdapterTest {
assertEquals(testManager, tuiAdapter.getObjectManager());
/** not connected */
assertEquals(false, ((TuioConcreteAdapter) tuiAdapter).client.isConnected());
assertEquals(false, ((TuioAdapter) tuiAdapter).client.isConnected());
/** connect the application */
tuiAdapter.connect();
assertEquals(true, ((TuioConcreteAdapter) tuiAdapter).client.isConnected());
assertEquals(true, ((TuioAdapter) tuiAdapter).client.isConnected());
}
/**
* Test method for {@link lu.list.itis.dkd.tui.adapter.TuioConcreteAdapter#disconnect()}
* Test method for {@link lu.list.itis.dkd.tui.adapter.TuioAdapter#disconnect()}
*/
@Test
public void testDisconnect() {
/** not connected */
assertEquals(false, ((TuioConcreteAdapter) tuiAdapter).client.isConnected());
assertEquals(false, ((TuioAdapter) tuiAdapter).client.isConnected());
}
/**
* Test method for
* {@link lu.list.itis.dkd.tui.adapter.TuioConcreteAdapter#addTuioCursor(TuioCursor)}
* Test method for {@link lu.list.itis.dkd.tui.adapter.TuioAdapter#addTuioCursor(TuioCursor)}
*/
@Test
public void testAddTuioCursor() {
......@@ -443,8 +443,7 @@ public class TuioConcreteAdapterTest {
}
/**
* Test method for
* {@link lu.list.itis.dkd.tui.adapter.TuioConcreteAdapter#addTuioObject(TuioObject)}
* Test method for {@link lu.list.itis.dkd.tui.adapter.TuioAdapter#addTuioObject(TuioObject)}
*/
@Test
public void testAddTuioObject() {
......@@ -452,7 +451,7 @@ public class TuioConcreteAdapterTest {
}
/**
* Test method for {@link lu.list.itis.dkd.tui.adapter.TuioConcreteAdapter#refresh(TuioTime)}
* Test method for {@link lu.list.itis.dkd.tui.adapter.TuioAdapter#refresh(TuioTime)}
*/
@Test
public void testRefresh() {
......@@ -460,8 +459,7 @@ public class TuioConcreteAdapterTest {
}
/**
* Test method for
* {@link lu.list.itis.dkd.tui.adapter.TuioConcreteAdapter#removeTuioCursor(TuioCursor)}
* Test method for {@link lu.list.itis.dkd.tui.adapter.TuioAdapter#removeTuioCursor(TuioCursor)}
*/
@Test
public void testRemoveTuioCursor() {
......@@ -469,8 +467,7 @@ public class TuioConcreteAdapterTest {
}
/**
* Test method for
* {@link lu.list.itis.dkd.tui.adapter.TuioConcreteAdapter#removeTuioObject(TuioObject)}
* Test method for {@link lu.list.itis.dkd.tui.adapter.TuioAdapter#removeTuioObject(TuioObject)}
*/
@Test
public void testRemoveTuioObject() {
......@@ -478,8 +475,7 @@ public class TuioConcreteAdapterTest {
}
/**
* Test method for
* {@link lu.list.itis.dkd.tui.adapter.TuioConcreteAdapter#updateTuioCursor(TuioCursor)}
* Test method for {@link lu.list.itis.dkd.tui.adapter.TuioAdapter#updateTuioCursor(TuioCursor)}
*/
@Test
public void testUpdateTuioCursor() {
......@@ -487,8 +483,7 @@ public class TuioConcreteAdapterTest {
}
/**
* Test method for
* {@link lu.list.itis.dkd.tui.adapter.TuioConcreteAdapter#updateTuioObject(TuioObject)}
* Test method for {@link lu.list.itis.dkd.tui.adapter.TuioAdapter#updateTuioObject(TuioObject)}
*/
@Test
public void testUpdateTuioObject() {
......