Skip to content

Commit 3b309e1

Browse files
committed
Reduced the duration of MIL-STD-2525 unit tests to support automation, per #38
1 parent 2cf8efd commit 3b309e1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Diff for: test/gov/nasa/worldwind/symbology/milstd2525/IconRetrievalTest.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ public class IconRetrievalTest
2424
// TODO: test unframed icons
2525

2626
// This path should correspond to the location of the appropriate symbology source icons on your system
27-
private final static String ICON_RETRIEVER_PATH = Configuration.getStringValue(
28-
AVKey.MIL_STD_2525_ICON_RETRIEVER_PATH, MilStd2525Constants.DEFAULT_ICON_RETRIEVER_PATH);
27+
private final static String ICON_RETRIEVER_PATH = "jar:file:testData/milstd2525-symbols.zip!";
2928

3029
//////////////////////////////////////////////////////////
3130
// Test retrieval of a MilStd2525 icon from both a remote
@@ -35,7 +34,7 @@ public class IconRetrievalTest
3534
@Test
3635
public void testServerRetrieval()
3736
{
38-
MilStd2525IconRetriever symGen = new MilStd2525IconRetriever(ICON_RETRIEVER_PATH);
37+
MilStd2525IconRetriever symGen = new MilStd2525IconRetriever(MilStd2525Constants.DEFAULT_ICON_RETRIEVER_PATH);
3938
AVListImpl params = new AVListImpl();
4039
BufferedImage img = symGen.createIcon("SUAPC----------", params);
4140
assertNotNull(img);

Diff for: testData/milstd2525-symbols.zip

20.7 MB
Binary file not shown.

0 commit comments

Comments
 (0)