cdmlibrary/.settings/org.eclipse.jdt.core.prefs -text
cdmlibrary/.settings/org.eclipse.jdt.ui.prefs -text
cdmlibrary/build.xml -text
-cdmlibrary/dist/jar/cdmLibrary.jar -text
-cdmlibrary/dist/jar/cdmLibraryFat.jar -text
-cdmlibrary/dist/zip/cdmLibrary.zip -text
cdmlibrary/pom.xml -text
cdmlibrary/src/main/java/eu/etaxonomy/cdm/api/application/CdmApplicationController.java -text
cdmlibrary/src/main/java/eu/etaxonomy/cdm/api/service/AgentServiceImpl.java -text
<source>1.5</source>
<target>1.5</target>
<includes>
+ <include>**/TaxonName.java</include>
<include>**/PropertyChangeAspect.aj</include>
- </includes>
+ <include>**/PropertyChangeTest.java</include>
+<!-- <include>**/**.aj</include>
+--> </includes>
</configuration>
<executions>
<execution>
private Object lastPropValue;
public void propertyChange(PropertyChangeEvent e){
- logger.info("Property [" + (String)e.getPropertyName()
+ logger.debug("Property [" + (String)e.getPropertyName()
+ "] changed from " + e.getOldValue()
+ " to " + e.getNewValue());
lastPropValue = e.getNewValue() == null ? null : e.getNewValue();
TaxonName b = new TaxonName();
b.addPropertyChangeListener(this);
b.setGenus("Abies");
- if (lastPropValue != null){
assertEquals(b.getGenus(), lastPropValue);
- }
b.setGenus("Picea");
- if (lastPropValue != null){
assertEquals(b.getGenus(), lastPropValue);
- }
b.setUninomial("Unipicea");
- if (lastPropValue != null){
assertEquals(b.getUninomial(), lastPropValue);
- }
b.setSpecificEpithet("vulgaris");
- if (lastPropValue != null){
assertEquals(b.getSpecificEpithet(), lastPropValue);
- }
}
@Before
public void updateDebugLevel(){
- Logger.getRootLogger().setLevel(Level.DEBUG);
+ logger.setLevel(Level.DEBUG);
}
}