|
|
|
@ -3,6 +3,7 @@ package com.fr.design;
|
|
|
|
|
import junit.framework.TestCase; |
|
|
|
|
|
|
|
|
|
import java.util.Locale; |
|
|
|
|
import org.junit.Assert; |
|
|
|
|
|
|
|
|
|
public class DesignerEnvManagerTest extends TestCase{ |
|
|
|
|
|
|
|
|
@ -17,4 +18,11 @@ public class DesignerEnvManagerTest extends TestCase{
|
|
|
|
|
assertEquals("下边界", envManager.getLanguage(), Locale.SIMPLIFIED_CHINESE); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void testGetUUID() { |
|
|
|
|
DesignerEnvManager envManager = new DesignerEnvManager(); |
|
|
|
|
String uuid0 = envManager.getUUID(); |
|
|
|
|
String uuid1 = envManager.getUUID(); |
|
|
|
|
Assert.assertEquals(uuid0, uuid1); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|