|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.hd.d.pg2k.test.dev.ConfigFilesTest
public final class ConfigFilesTest
Simple tests of access/handling of local and other configuration data.
| Field Summary | |
|---|---|
private static java.util.Random |
rnd
OK pseudo-random source. |
| Constructor Summary | |
|---|---|
ConfigFilesTest(java.lang.String name)
|
|
| Method Summary | |
|---|---|
private static TrailData |
_parseTrailTestAsString(java.lang.String trailText)
Parse trail text supplied as (7-bit ASCII) String; never null. |
void |
testAuthDB()
Test access to author database in GenProps. |
static void |
testClassifiedAdFiltering()
Test classified ad filtering. |
void |
testConfigFileAccess()
Test that we can find some of the principal files. |
void |
testGen()
Test access to generic key/value pairs in GenProps. |
void |
testGPHostMatching()
Test access to hostname matching in GenProps. |
void |
testLoadOfExhibitData()
Ensure that we can load the exhibits and meta data from the filesystem. |
static void |
testPowerStateChecking()
Test checking of power-state. |
static void |
testTrailDataParsing()
Test trail data parsing. |
static void |
testZIPHandling()
Test handling of ZIP-file data in/for exhibits. |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final java.util.Random rnd
| Constructor Detail |
|---|
public ConfigFilesTest(java.lang.String name)
| Method Detail |
|---|
public void testConfigFileAccess()
We skip these tests if we do not have full/normal access to the filesystem.
public void testGPHostMatching()
throws java.lang.Exception
java.lang.Exception
public void testAuthDB()
throws java.lang.Exception
java.lang.Exception
public void testGen()
throws java.lang.Exception
java.lang.Exception
public void testLoadOfExhibitData()
throws java.lang.Exception
We skip these tests if we do not have full/normal access to the filesystem.
java.lang.Exceptionpublic static void testClassifiedAdFiltering()
public static void testTrailDataParsing()
throws java.lang.Exception
java.lang.Exception
private static TrailData _parseTrailTestAsString(java.lang.String trailText)
throws java.io.IOException
trailText - 7-bit-ASCII trail text; never null
java.io.IOException
public static void testZIPHandling()
throws java.lang.Exception
java.lang.Exceptionpublic static void testPowerStateChecking()
|
DHD Multimedia Gallery V1.53.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||