()
| 70 | } |
| 71 | |
| 72 | @Test |
| 73 | void testAnalyses() { |
| 74 | Options options = Options.parse( |
| 75 | "-a", "cfg=exception:true;scope:inter", |
| 76 | "-a", "pta=timeout:1800;merge-string-objects:false;cs:2-obj", |
| 77 | "-a", "throw"); |
| 78 | List<PlanConfig> configs = PlanConfig.readConfigs(options); |
| 79 | PlanConfig cfg = configs.get(0); |
| 80 | assertTrue((Boolean) cfg.getOptions().get("exception")); |
| 81 | assertEquals("inter", cfg.getOptions().get("scope")); |
| 82 | PlanConfig pta = configs.get(1); |
| 83 | assertEquals(1800, pta.getOptions().get("timeout")); |
| 84 | assertFalse((Boolean) pta.getOptions().get("merge-string-objects")); |
| 85 | } |
| 86 | |
| 87 | @Test |
| 88 | void testKeepResult() { |
nothing calls this directly
no test coverage detected