Annotations feature JUnit4.4

Hi All,

my code is
import junit.framework.TestCase;
import org.junit.AfterClass;
import org.junit.BeforeClass;
public class Test extends TestCase{
@BeforeClass
public void set() {
System.out.println("in set");
}
@AfterClass
public void af() {
System.out.println("in after");
}
@org.junit.Test
public void temp () {
System.out.println("in testtemp");
}
}

the error
"junit.framework.AssertionFailedError: No tests found in Test"

How to resolve this problem

Thanks in advance

Regards
Pavan