Home | History | Annotate | Download | only in testing
      1 package org.robolectric.testing;
      2 
      3 public class AClassToForget {
      4   public String memorableMethod() {
      5     return "get this!";
      6   }
      7 
      8   public String forgettableMethod() {
      9     return "shouldn't get this!";
     10   }
     11 
     12   public static String memorableStaticMethod() {
     13     return "yess?";
     14   }
     15 
     16   public static String forgettableStaticMethod() {
     17     return "noooo!";
     18   }
     19 
     20   public static int intReturningMethod() {
     21     return 1;
     22   }
     23 
     24   public static int[] intArrayReturningMethod() {
     25     return new int[0];
     26   }
     27 
     28   public static long longReturningMethod(String str, int i, long l) {
     29     return 1;
     30   }
     31 
     32   public static long[] longArrayReturningMethod() {
     33     return new long[0];
     34   }
     35 
     36   public static byte byteReturningMethod() {
     37     return 0;
     38   }
     39 
     40   public static byte[] byteArrayReturningMethod() {
     41     return new byte[0];
     42   }
     43 
     44   public static float floatReturningMethod() {
     45     return 0f;
     46   }
     47 
     48   public static float[] floatArrayReturningMethod() {
     49     return new float[0];
     50   }
     51 
     52   public static double doubleReturningMethod() {
     53     return 0;
     54   }
     55 
     56   public static double[] doubleArrayReturningMethod() {
     57     return new double[0];
     58   }
     59 
     60   public static short shortReturningMethod() {
     61     return 0;
     62   }
     63 
     64   public static short[] shortArrayReturningMethod() {
     65     return new short[0];
     66   }
     67 
     68   public static void voidReturningMethod() {
     69   }
     70 }
     71