|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTestCase
org.eclipse.ohf.stem.internal.data.utility.NeighborUtilityTest
public class NeighborUtilityTest
This class is a utility that uses JUnit test to provide the execution environment. This is easier then writing a view that that the user has to open. It will access the specified geography files and calculat Neighbors either within a country or between countries. See NeighborUtility for instructions of how to run this utility as a JUnit plugin.
NeighborUtility
,
PlatformLatLongDataProvider
Constructor Summary | |
---|---|
NeighborUtilityTest()
|
Method Summary | |
---|---|
void |
testRun()
Run whatever tests are not commented out |
void |
tstDoAllBorders()
Run a test of the neightborCheck method using the ZZZ0_ZZZ0 map to select all the worlds neighbors (or some subset) From ZZZ AFG CHN (Afganistan and China) create AFG2_CHN2 |
void |
tstDoAllInternal()
Run a test of the neightborCheck method using the ZZZ0_ZZZ0 map to select all the worlds neighbors (or some subset) From ZZZ AFG CHN (Afganistan and China) create AFG2_AFG2 create CHN2_CHN2 |
void |
tstDoWorld(boolean doAll)
Run a test of building the ZZZ0_ZZZ0 map to select all the worlds neighbors (or some subset) From ZZZ AFG CHN (Afganistan and China) create AFG2_CHN2 |
void |
tstInternalNeighbors(java.lang.String admin0)
Run a test of the neightborCheck method with a single Map so that it generates a properties file for the internal neighbors. |
void |
tstNeighbors2(java.lang.String admin0A,
java.lang.String admin0B)
Run a test of the neightborCheck method with maps of 2 bordering countires so that it generates a properties file for the bordering neighbors. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NeighborUtilityTest()
Method Detail |
---|
public void testRun()
public void tstInternalNeighbors(java.lang.String admin0)
admin0
- 3 char country to be processedpublic void tstNeighbors2(java.lang.String admin0A, java.lang.String admin0B)
admin0A
- 3 char country to be processedadmin0B
- 3 char country to be processedpublic void tstDoWorld(boolean doAll)
doAll
- if true then also generate border
property files for everyone and her neighborpublic void tstDoAllInternal()
public void tstDoAllBorders()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |