Package net.sf.gluebooster.java.booster.essentials.logging

Examples of net.sf.gluebooster.java.booster.essentials.logging.LogBoosterConfiguration


public class ReflectionBoostUtilsTest extends TestRoot {

  @Test
  public void testCopyProperties() throws Exception {

    LogBoosterConfiguration source = new LogBoosterConfiguration();
    boolean notDefaultActivateLines = !source.isActivateLines();
    source.setActivateLines(notDefaultActivateLines);

    LogBoosterConfiguration target = new LogBoosterConfiguration();
    Assert.assertFalse(source.isActivateLines() == target.isActivateLines());

    ReflectionBoostUtils.copyProperties(source, target);
    Assert.assertTrue(source.isActivateLines() == target.isActivateLines());

  }
View Full Code Here

TOP

Related Classes of net.sf.gluebooster.java.booster.essentials.logging.LogBoosterConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.