| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2008 Google Inc. | 2 * Copyright 2008 Google Inc. |
| 3 * | 3 * |
| 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not | 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 5 * use this file except in compliance with the License. You may obtain a copy of | 5 * use this file except in compliance with the License. You may obtain a copy of |
| 6 * the License at | 6 * the License at |
| 7 * | 7 * |
| 8 * http://www.apache.org/licenses/LICENSE-2.0 | 8 * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 * | 9 * |
| 10 * Unless required by applicable law or agreed to in writing, software | 10 * Unless required by applicable law or agreed to in writing, software |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 public void testShort() { | 60 public void testShort() { |
| 61 assertEquals(FruitGinModule.LEAVES, injector.getLeaves()); | 61 assertEquals(FruitGinModule.LEAVES, injector.getLeaves()); |
| 62 } | 62 } |
| 63 | 63 |
| 64 public void testString() { | 64 public void testString() { |
| 65 assertEquals(FruitGinModule.NAME, injector.getName()); | 65 assertEquals(FruitGinModule.NAME, injector.getName()); |
| 66 } | 66 } |
| 67 | 67 |
| 68 public void testEnum() { | 68 public void testEnum() { |
| 69 assertEquals(FruitGinModule.COLOR, injector.getColor()); | 69 assertEquals(FruitGinModule.COLOR, injector.getColor()); |
| 70 } |
| 71 |
| 72 public void testInnerEnum() { |
| 73 assertEquals(FruitGinModule.FAMILY, injector.getFamily()); |
| 70 } | 74 } |
| 71 | 75 |
| 72 public String getModuleName() { | 76 public String getModuleName() { |
| 73 return "com.google.gwt.inject.InjectTest"; | 77 return "com.google.gwt.inject.InjectTest"; |
| 74 } | 78 } |
| 75 } | 79 } |
| OLD | NEW |