@Deprecated
    public void addLibrary(String className, int port) {
    """
	This has been deprecated. Please use {@link #putLibrary} and
	{@link #setPort} instead.
	
	Map the given test library to / and sets the port for the server. The
	server must be stopped when calling this.
	
	@param className
	class name of the test library
	@param port
	port for the server to listen on
    """
        Class<?> clazz;
        try {
            clazz = Class.forName(className);
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
        addLibrary(clazz, port);
    }
@Deprecated
    public void addLibrary(String className, int port) {
        Class<?> clazz;
        try {
            clazz = Class.forName(className);
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
        addLibrary(clazz, port);
    }
@ Deprecated public void addLibrary ( String className , int port ) { Class < ? > clazz ; try { clazz = Class . forName ( className ) ; } catch ( Exception e ) { throw new RuntimeException ( e ) ; } addLibrary ( clazz , port ) ; }
This has been deprecated. Please use {@link #putLibrary} and
{@link #setPort} instead.

Map the given test library to / and sets the port for the server. The
server must be stopped when calling this.

@param className
class name of the test library
@param port
port for the server to listen on
This has been deprecated . Please use { @link #putLibrary } and { @link #setPort } instead .