List of usage examples for java.awt Color getClass
@HotSpotIntrinsicCandidate public final native Class<?> getClass();
From source file:br.gov.frameworkdemoiselle.internal.configuration.ConfigurationLoaderWithArrayTest.java
@Test public void testConfigurationPropertiesWithColorArray() { ConfigurationPropertiesWithArray config = prepareConfigurationPropertiesWithArray(); Color colorValue = config.colorArray[0]; assertEquals(Color.class, colorValue.getClass()); assertEquals(Color.gray, colorValue); assertEquals(3, config.colorArray.length); }
From source file:br.gov.frameworkdemoiselle.internal.configuration.ConfigurationLoaderWithArrayTest.java
@Test public void testConfigurationXMLWithColorArray() { ConfigurationXMLWithArray config = prepareConfigurationXMLWithArray(); Color colorValue = config.colorArray[0]; assertEquals(Color.class, colorValue.getClass()); assertEquals(Color.gray, colorValue); assertEquals(3, config.colorArray.length); }
From source file:br.gov.frameworkdemoiselle.internal.configuration.ConfigurationLoaderWithListTest.java
@Test public void testConfigurationPropertiesWithColorList() { ConfigurationPropertiesWithList config = prepareConfigurationPropertiesWithList(); Color colorValue = config.colorList.get(0); assertEquals(Color.class, colorValue.getClass()); assertEquals(Color.gray, colorValue); assertEquals(3, config.colorList.size()); }
From source file:br.gov.frameworkdemoiselle.internal.configuration.ConfigurationLoaderWithListTest.java
@Test public void testConfigurationXMLWithColorList() { ConfigurationXMLWithList config = prepareConfigurationXMLWithList(); Color colorValue = config.colorList.get(0); assertEquals(Color.class, colorValue.getClass()); assertEquals(Color.gray, colorValue); assertEquals(3, config.colorList.size()); }