org.rlcommunity.rlglue.codec.tests
Class TestUtility

java.lang.Object
  extended by org.rlcommunity.rlglue.codec.tests.TestUtility

public class TestUtility
extends java.lang.Object

Ported from the RL-Glue C tests. So much nicer in Java.

Author:
Brian Tanner

Constructor Summary
TestUtility()
           
 
Method Summary
static void clean_abstract_type(RL_abstract_type the_struct)
           
static void set_k_chars_in_abstract_type(RL_abstract_type the_struct, int num_chars)
           
static void set_k_doubles_in_abstract_type(RL_abstract_type the_struct, int num_doubles)
           
static void set_k_ints_in_abstract_type(RL_abstract_type the_struct, int num_ints)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestUtility

public TestUtility()
Method Detail

set_k_ints_in_abstract_type

public static void set_k_ints_in_abstract_type(RL_abstract_type the_struct,
                                               int num_ints)
Parameters:
the_struct -
num_ints -

set_k_doubles_in_abstract_type

public static void set_k_doubles_in_abstract_type(RL_abstract_type the_struct,
                                                  int num_doubles)

set_k_chars_in_abstract_type

public static void set_k_chars_in_abstract_type(RL_abstract_type the_struct,
                                                int num_chars)

clean_abstract_type

public static void clean_abstract_type(RL_abstract_type the_struct)