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