Java 类org.jfree.chart.renderer.junit.RendererChangeDetector 实例源码

项目:parabuild-ci    文件:BarRendererTests.java   
/**
 * Tests each setter method to ensure that it sends an event notification.
 */
public void testEventNotification() {

    RendererChangeDetector detector = new RendererChangeDetector();
    BarRenderer r1 = new BarRenderer();
    r1.addChangeListener(detector);

    detector.setNotified(false);
    r1.setPaint(Color.red);
    assertTrue(detector.getNotified());

}
项目:parabuild-ci    文件:BarRendererTests.java   
/**
 * Tests each setter method to ensure that it sends an event notification.
 */
public void testEventNotification() {

    RendererChangeDetector detector = new RendererChangeDetector();
    BarRenderer r1 = new BarRenderer();
    r1.addChangeListener(detector);

    detector.setNotified(false);
    r1.setPaint(Color.red);
    assertTrue(detector.getNotified());

}
项目:nabs    文件:BarRendererTests.java   
/**
 * Tests each setter method to ensure that it sends an event notification.
 */
public void testEventNotification() {

    RendererChangeDetector detector = new RendererChangeDetector();
    BarRenderer r1 = new BarRenderer();
    r1.addChangeListener(detector);

    detector.setNotified(false);
    r1.setPaint(Color.red);
    assertTrue(detector.getNotified());

}
项目:astor    文件:BarRendererTests.java   
/**
 * Tests each setter method to ensure that it sends an event notification.
 */
public void testEventNotification() {

    RendererChangeDetector detector = new RendererChangeDetector();
    BarRenderer r1 = new BarRenderer();
    r1.addChangeListener(detector);

    detector.setNotified(false);
    r1.setBasePaint(Color.red);
    assertTrue(detector.getNotified());

}