1 7 package com.inversoft.beans.test; 8 9 10 import junit.framework.TestCase; 11 12 import com.inversoft.beans.ConversionEvent; 13 import com.inversoft.beans.ConversionListener; 14 import com.inversoft.beans.PropertyEvent; 15 import com.inversoft.beans.PropertyListener; 16 17 18 25 public class ListenerHelper extends TestCase 26 implements PropertyListener, ConversionListener { 27 28 public ListenerHelper() { 29 super("com.inversoft.beans.test.ListenerHelper"); 30 } 31 32 public ListenerHelper(String name) { 33 super(name); 34 } 35 36 40 public void handleGet(PropertyEvent event) { 41 fail("Should not have called the handleGet method"); 42 } 43 44 48 public void handleSet(PropertyEvent event) { 49 fail("Should not have called the handleSet method"); 50 } 51 52 56 public void handlePreConversion(ConversionEvent event) { 57 fail("Should not have called the handlePreConversion method"); 58 } 59 60 64 public void handlePostConversion(ConversionEvent event) { 65 fail("Should not have called the handlePostConversion method"); 66 } 67 68 72 public void handleFailedConversion(ConversionEvent event) { 73 fail("Should not have called the handleFailedConversion method"); 74 } 75 } 76 | Popular Tags |