[ini4j]

org.ini4j.test
Class Helper

Object
  extended by Helper

public class Helper
extends Object


Field Summary
static float DELTA
           
static String DWARFS_INI
           
static String DWARFS_OPT
           
static String DWARFS_REG
           
static String DWARFS_REG_PATH
           
static String HEADER_COMMENT
           
static String TALE_INI
           
static String TEST_REG
           
 
Method Summary
static Profile.Section addDwarf(Ini ini, DwarfsData.DwarfData dwarf)
           
static void addDwarf(OptionMap opts, DwarfsData.DwarfData dwarf)
           
static void addDwarf(OptionMap opts, DwarfsData.DwarfData dwarf, boolean addNamePrefix)
           
static Profile.Section addDwarf(Profile prof, DwarfsData.DwarfData dwarf)
           
static void addDwarfs(Profile prof)
           
static void assertEquals(Dwarf expected, Dwarf actual)
           
static void assertEquals(Dwarfs expected, Dwarfs actual)
           
static void assertEquals(Registry.Key exp, Registry.Key act)
           
static File getBuildDirectory()
           
static Reader getResourceReader(String path)
           
static InputStream getResourceStream(String path)
           
static URL getResourceURL(String path)
           
static File getSourceFile(String path)
           
static Ini loadDwarfsIni()
           
static Ini loadDwarfsIni(Config config)
           
static Options loadDwarfsOpt()
           
static Options loadDwarfsOpt(Config config)
           
static Reg loadDwarfsReg()
           
static Ini loadTaleIni()
           
static Ini loadTaleIni(Config config)
           
static Ini newDwarfsIni()
           
static Options newDwarfsOpt()
           
static Ini newTaleIni()
           
static void resetConfig()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DWARFS_INI

public static final String DWARFS_INI
See Also:
Constant Field Values

TALE_INI

public static final String TALE_INI
See Also:
Constant Field Values

DWARFS_OPT

public static final String DWARFS_OPT
See Also:
Constant Field Values

DWARFS_REG

public static final String DWARFS_REG
See Also:
Constant Field Values

TEST_REG

public static final String TEST_REG
See Also:
Constant Field Values

DWARFS_REG_PATH

public static final String DWARFS_REG_PATH

DELTA

public static final float DELTA
See Also:
Constant Field Values

HEADER_COMMENT

public static final String HEADER_COMMENT
See Also:
Constant Field Values
Method Detail

getBuildDirectory

public static File getBuildDirectory()

getResourceReader

public static Reader getResourceReader(String path)
                                throws Exception
Throws:
Exception

getResourceStream

public static InputStream getResourceStream(String path)
                                     throws Exception
Throws:
Exception

getResourceURL

public static URL getResourceURL(String path)
                          throws Exception
Throws:
Exception

getSourceFile

public static File getSourceFile(String path)
                          throws Exception
Throws:
Exception

addDwarf

public static void addDwarf(OptionMap opts,
                            DwarfsData.DwarfData dwarf)

addDwarf

public static Profile.Section addDwarf(Profile prof,
                                       DwarfsData.DwarfData dwarf)

addDwarf

public static Profile.Section addDwarf(Ini ini,
                                       DwarfsData.DwarfData dwarf)

addDwarf

public static void addDwarf(OptionMap opts,
                            DwarfsData.DwarfData dwarf,
                            boolean addNamePrefix)

addDwarfs

public static void addDwarfs(Profile prof)

assertEquals

public static void assertEquals(Registry.Key exp,
                                Registry.Key act)

assertEquals

public static void assertEquals(Dwarfs expected,
                                Dwarfs actual)

assertEquals

public static void assertEquals(Dwarf expected,
                                Dwarf actual)

loadDwarfsIni

public static Ini loadDwarfsIni()
                         throws Exception
Throws:
Exception

loadDwarfsIni

public static Ini loadDwarfsIni(Config config)
                         throws Exception
Throws:
Exception

loadDwarfsOpt

public static Options loadDwarfsOpt()
                             throws Exception
Throws:
Exception

loadDwarfsOpt

public static Options loadDwarfsOpt(Config config)
                             throws Exception
Throws:
Exception

loadDwarfsReg

public static Reg loadDwarfsReg()
                         throws Exception
Throws:
Exception

loadTaleIni

public static Ini loadTaleIni()
                       throws Exception
Throws:
Exception

loadTaleIni

public static Ini loadTaleIni(Config config)
                       throws Exception
Throws:
Exception

newDwarfsIni

public static Ini newDwarfsIni()

newDwarfsOpt

public static Options newDwarfsOpt()

newTaleIni

public static Ini newTaleIni()

resetConfig

public static void resetConfig()
                        throws Exception
Throws:
Exception

[ini4j]