File tree 2 files changed +2
-3
lines changed
test/gov/nasa/worldwind/symbology/milstd2525
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,7 @@ public class IconRetrievalTest
24
24
// TODO: test unframed icons
25
25
26
26
// 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!" ;
29
28
30
29
//////////////////////////////////////////////////////////
31
30
// Test retrieval of a MilStd2525 icon from both a remote
@@ -35,7 +34,7 @@ public class IconRetrievalTest
35
34
@ Test
36
35
public void testServerRetrieval ()
37
36
{
38
- MilStd2525IconRetriever symGen = new MilStd2525IconRetriever (ICON_RETRIEVER_PATH );
37
+ MilStd2525IconRetriever symGen = new MilStd2525IconRetriever (MilStd2525Constants . DEFAULT_ICON_RETRIEVER_PATH );
39
38
AVListImpl params = new AVListImpl ();
40
39
BufferedImage img = symGen .createIcon ("SUAPC----------" , params );
41
40
assertNotNull (img );
You can’t perform that action at this time.
0 commit comments