()
| 37 | public class TestCMD { |
| 38 | |
| 39 | @Test |
| 40 | public void testSampleCommand() { |
| 41 | List<String> result = new ArrayList<>(); |
| 42 | Cmd.AddCommand("test", (List<String> args) -> { |
| 43 | result.add("success"); |
| 44 | }); |
| 45 | Cmd.ExecuteString("test"); |
| 46 | Assert.assertEquals("success", result.get(0)); |
| 47 | } |
| 48 | |
| 49 | @Test |
| 50 | public void testTokenizeString() { |
nothing calls this directly
no test coverage detected