Ejemplo n.º 1
0
  @Test
  public void testAdjustLegacySecureChannels() throws Exception {
    String legacyChannels =
        "smain,sdisplay,sinputs,scursor,splayback,srecord,ssmartcard,susbredir"; //$NON-NLS-1$
    String correctChannels =
        "main,display,inputs,cursor,playback,record,smartcard,usbredir"; //$NON-NLS-1$

    assertEquals(correctChannels, ConsoleOptions.adjustLegacySecureChannels(legacyChannels));
  }
Ejemplo n.º 2
0
 @Test
 public void testAdjustLegacySecureChannelsWithNullChannels() throws Exception {
   String legacyChannels = null;
   String correctChannels = null;
   assertEquals(correctChannels, ConsoleOptions.adjustLegacySecureChannels(legacyChannels));
 }
Ejemplo n.º 3
0
 @Test
 public void testAdjustLegacySecureChannelsWithEmptyChannels() throws Exception {
   String legacyChannels = ""; // $NON-NLS-1$
   String correctChannels = ""; // $NON-NLS-1$
   assertEquals(correctChannels, ConsoleOptions.adjustLegacySecureChannels(legacyChannels));
 }