Searched refs:getSingleton (Results 1 – 11 of 11) sorted by relevance
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | MimeTypeMapTest.java | 22 assertFalse(MimeTypeMap.getSingleton().hasExtension(VIDEO_EXTENSION)); in shouldResetStaticStateBetweenTests() 23 … shadowOf(MimeTypeMap.getSingleton()).addExtensionMimeTypMapping(VIDEO_EXTENSION, VIDEO_MIMETYPE); in shouldResetStaticStateBetweenTests() 28 assertFalse(MimeTypeMap.getSingleton().hasExtension(VIDEO_EXTENSION)); in shouldResetStaticStateBetweenTests_anotherTime() 29 … shadowOf(MimeTypeMap.getSingleton()).addExtensionMimeTypMapping(VIDEO_EXTENSION, VIDEO_MIMETYPE); in shouldResetStaticStateBetweenTests_anotherTime() 34 MimeTypeMap firstInstance = MimeTypeMap.getSingleton(); in getSingletonShouldAlwaysReturnSameInstance() 35 MimeTypeMap secondInstance = MimeTypeMap.getSingleton(); in getSingletonShouldAlwaysReturnSameInstance() 42 assertFalse(MimeTypeMap.getSingleton().hasExtension(VIDEO_EXTENSION)); in byDefaultThereShouldBeNoMapping() 43 assertFalse(MimeTypeMap.getSingleton().hasExtension(IMAGE_EXTENSION)); in byDefaultThereShouldBeNoMapping() 48 ShadowMimeTypeMap shadowMimeTypeMap = Robolectric.shadowOf(MimeTypeMap.getSingleton()); in addingMappingShouldWorkCorrectly() 52 assertTrue(MimeTypeMap.getSingleton().hasExtension(VIDEO_EXTENSION)); in addingMappingShouldWorkCorrectly() [all …]
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/ |
D | RunnerController.java | 211 label.setIcon(ImageFactory.getSingleton().TESTSUITE); in getTreeCellRendererComponent() 218 ImageFactory.getSingleton().TESTGROUPX : in getTreeCellRendererComponent() 219 ImageFactory.getSingleton().TESTGROUP); in getTreeCellRendererComponent() 225 ImageFactory.getSingleton().RUN_PASS : in getTreeCellRendererComponent() 226 ImageFactory.getSingleton().RUN_FAIL); in getTreeCellRendererComponent()
|
D | WorkSpaceController.java | 192 … view.tabEditors.addTab("Test Result", ImageFactory.getSingleton().FILE16, runner.getView()); in OnRunTest() 242 super("Create", ImageFactory.getSingleton().ADDFILE); in CreateAction() 254 super("Save", ImageFactory.getSingleton().SAVE); in SaveAction() 266 super("Open", ImageFactory.getSingleton().OPEN); in OpenAction() 279 super("Run", ImageFactory.getSingleton().NEXT); in RunAction()
|
D | WorkSpaceView.java | 82 …this.tabEditors.addTab("Case Editor", ImageFactory.getSingleton().TEXTFILE16, this.paneEditor.getV… in initComponents() 83 … this.tabEditors.addTab("Script Source", ImageFactory.getSingleton().WINDOW16, this.scrollCode); in initComponents()
|
D | TestCaseEditController.java | 556 super("Add", ImageFactory.getSingleton().ADD); in AddTestCaseAction() 566 super("Remove", ImageFactory.getSingleton().DELETE); in RemoveTestCaseAction() 619 ImageFactory.getSingleton().FILE16 : in getListCellRendererComponent() 620 ImageFactory.getSingleton().EDIT16); in getListCellRendererComponent()
|
D | ImageFactory.java | 14 public static ImageFactory getSingleton() { in getSingleton() method in ImageFactory
|
D | RuleListController.java | 126 setIcon(item.getNotEmpty() ? ImageFactory.getSingleton().FAV16 : null); in getListCellRendererComponent()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowMimeTypeMap.java | 26 public static MimeTypeMap getSingleton() { in getSingleton() method in ShadowMimeTypeMap 39 shadowOf(getSingleton()).clearMappings(); in reset()
|
/external/emma/core/java13/com/vladium/util/exit/ |
D | ExitHookManager.java | 32 public static synchronized ExitHookManager getSingleton () in getSingleton() method in ExitHookManager
|
/external/emma/core/java12/com/vladium/emma/rt/ |
D | RT.java | 223 temp = ExitHookManager.getSingleton ();
|
D | AppRunner.java | 344 runnerExitHookManager = ExitHookManager.getSingleton (); // can throw in _run()
|