lttng: Fix Javadoc and formatting in lttng2.ui
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui.tests / src / org / eclipse / linuxtools / lttng2 / ui / tests / control / model / component / TraceControlKernelSessionTests.java
index b5364fbbe7176c84a21fcdad6b9f34ed76f9c981..6000c30fa4c30a6890de0ea1f72810e580d99727 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
  * Copyright (c) 2012 Ericsson
- * 
+ *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
  * accompanies this distribution, and is available at
  * http://www.eclipse.org/legal/epl-v10.html
- * 
- * Contributors: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.lttng2.ui.tests.control.model.component;
@@ -55,9 +55,9 @@ import org.osgi.framework.FrameworkUtil;
  * handling test cases.
  */
 
-@SuppressWarnings("nls")
+@SuppressWarnings({"nls", "javadoc"})
 public class TraceControlKernelSessionTests extends TestCase {
-    
+
     // ------------------------------------------------------------------------
     // Constants
     // ------------------------------------------------------------------------
@@ -69,15 +69,15 @@ public class TraceControlKernelSessionTests extends TestCase {
     // ------------------------------------------------------------------------
     private TraceControlTestFacility fFacility;
     private TestRemoteSystemProxy fProxy;
-    private String fTestFile; 
-    
+    private String fTestFile;
+
     // ------------------------------------------------------------------------
     // Static methods
     // ------------------------------------------------------------------------
 
     /**
      * Returns test setup used when executing test case stand-alone.
-     * @return Test setup class 
+     * @return Test setup class
      */
     public static Test suite() {
         return new ModelImplTestSetup(new TestSuite(TraceControlKernelSessionTests.class));
@@ -116,15 +116,15 @@ public class TraceControlKernelSessionTests extends TestCase {
     public void tearDown()  throws Exception {
         fFacility.waitForJobs();
     }
-    
+
     /**
      * Run the TraceControlComponent.
      */
     public void testTraceSessionTree() throws Exception {
-        
+
         fProxy.setTestFile(fTestFile);
         fProxy.setScenario(TraceControlTestFacility.SCEN_INIT_TEST);
-        
+
         ITraceControlComponent root = TraceControlTestFacility.getInstance().getControlView().getTraceControlRoot();
 
         ISystemRegistry registry = RSECorePlugin.getTheSystemRegistry();
@@ -155,15 +155,15 @@ public class TraceControlKernelSessionTests extends TestCase {
         TraceControlDialogFactory.getInstance().setCreateSessionDialog(new CreateSessionDialogStub());
         TraceControlDialogFactory.getInstance().setGetEventInfoDialog(new GetEventInfoDialogStub());
         TraceControlDialogFactory.getInstance().setConfirmDialog(new DestroyConfirmDialogStub());
-        
+
         // Initialize session handling scenario
         fProxy.setScenario(TraceControlTestFacility.SCEN_SCENARIO_SESSION_HANDLING);
+
         // ------------------------------------------------------------------------
         // Create session
         // ------------------------------------------------------------------------
         TraceSessionComponent session = fFacility.createSession(groups[1]);
-        
+
         // Verify that session was created
         assertNotNull(session);
         assertEquals("mysession", session.getName());
@@ -172,7 +172,7 @@ public class TraceControlKernelSessionTests extends TestCase {
 
         // Initialize scenario
         fProxy.setScenario(SCEN_SCENARIO3_TEST);
-        
+
         // ------------------------------------------------------------------------
         // Enable channel on session
         // ------------------------------------------------------------------------
@@ -181,21 +181,21 @@ public class TraceControlKernelSessionTests extends TestCase {
         TraceControlDialogFactory.getInstance().setEnableChannelDialog(channelStub);
 
         fFacility.executeCommand(session, "enableChannelOnSession");
-        
+
         // Verify that Kernel domain was created
         ITraceControlComponent[] domains = session.getChildren();
         assertNotNull(domains);
         assertEquals(1, domains.length);
 
         assertEquals("Kernel", domains[0].getName());
-        
+
         // Verify that channel was created with correct data
         ITraceControlComponent[] channels =  domains[0].getChildren();
         assertNotNull(channels);
         assertEquals(1, channels.length);
 
         assertTrue(channels[0] instanceof TraceChannelComponent);
-        TraceChannelComponent channel = (TraceChannelComponent) channels[0]; 
+        TraceChannelComponent channel = (TraceChannelComponent) channels[0];
         assertEquals("mychannel", channel.getName());
         assertEquals(4, channel.getNumberOfSubBuffers());
         assertEquals("splice()", channel.getOutputType());
@@ -216,9 +216,9 @@ public class TraceControlKernelSessionTests extends TestCase {
         info.setSwitchTimer(100);
         info.setReadTimer(200);
         channelStub.setChannelInfo(info);
-        
+
         fFacility.executeCommand(domains[0], "enableChannelOnDomain");
-        
+
         // Get Kernel domain component instance
         domains = session.getChildren();
         assertNotNull(domains);
@@ -230,7 +230,7 @@ public class TraceControlKernelSessionTests extends TestCase {
         assertEquals(2, channels.length);
 
         assertTrue(channels[1] instanceof TraceChannelComponent);
-        channel = (TraceChannelComponent) channels[1]; 
+        channel = (TraceChannelComponent) channels[1];
         assertEquals("mychannel2", channel.getName());
         assertEquals(2, channel.getNumberOfSubBuffers());
         assertEquals("splice()", channel.getOutputType());
@@ -248,9 +248,9 @@ public class TraceControlKernelSessionTests extends TestCase {
         eventsDialogStub.setNames(events);
         eventsDialogStub.setIsKernel(true);
         TraceControlDialogFactory.getInstance().setEnableEventsDialog(eventsDialogStub);
-        
+
         // ------------------------------------------------------------------------
-        // disable channels 
+        // disable channels
         // ------------------------------------------------------------------------
         // Get Kernel domain component instance
         domains = session.getChildren();
@@ -263,12 +263,12 @@ public class TraceControlKernelSessionTests extends TestCase {
         assertEquals(2, channels.length);
 
         fFacility.executeCommand(channels, "disableChannel");
-        
+
         assertEquals(TraceEnablement.DISABLED, ((TraceChannelComponent)channels[0]).getState());
         assertEquals(TraceEnablement.DISABLED, ((TraceChannelComponent)channels[1]).getState());
 
         // ------------------------------------------------------------------------
-        // enable channels 
+        // enable channels
         // ------------------------------------------------------------------------
         // Get Kernel domain component instance
         domains = session.getChildren();
@@ -279,14 +279,14 @@ public class TraceControlKernelSessionTests extends TestCase {
         channels =  domains[0].getChildren();
         assertNotNull(channels);
         assertEquals(2, channels.length);
-        
+
         fFacility.executeCommand(channels, "enableChannel");
-        
+
         assertEquals(TraceEnablement.ENABLED, ((TraceChannelComponent)channels[0]).getState());
         assertEquals(TraceEnablement.ENABLED, ((TraceChannelComponent)channels[1]).getState());
 
         // ------------------------------------------------------------------------
-        // enable event (tracepoints) on session 
+        // enable event (tracepoints) on session
         // ------------------------------------------------------------------------
         fFacility.executeCommand(session, "enableEventOnSession");
 
@@ -301,13 +301,13 @@ public class TraceControlKernelSessionTests extends TestCase {
         assertEquals(3, channels.length);
 
         assertTrue(channels[2] instanceof TraceChannelComponent);
-        channel = (TraceChannelComponent) channels[2]; 
+        channel = (TraceChannelComponent) channels[2];
         assertEquals("channel0", channel.getName());
         // No need to check parameters of default channel because that has been done in other tests
 
         ITraceControlComponent[] channel0Events = channel.getChildren();
         assertEquals(2, channel0Events.length);
-        
+
         assertTrue(channel0Events[0] instanceof TraceEventComponent);
         assertTrue(channel0Events[1] instanceof TraceEventComponent);
 
@@ -324,7 +324,7 @@ public class TraceControlKernelSessionTests extends TestCase {
         assertEquals(TraceEnablement.ENABLED, event.getState());
 
         // ------------------------------------------------------------------------
-        // enable event (tracepoints) on domain 
+        // enable event (tracepoints) on domain
         // ------------------------------------------------------------------------
         events.clear();
         events.add("sched_wakeup_new");
@@ -339,14 +339,14 @@ public class TraceControlKernelSessionTests extends TestCase {
 
         // Verify that channel was created with correct data
         channels =  domains[0].getChildren();
-        channel = (TraceChannelComponent) channels[2]; 
+        channel = (TraceChannelComponent) channels[2];
         // No need to check parameters of default channel because that has been done in other tests
 
         channel = (TraceChannelComponent) channels[2];
-        
+
         channel0Events = channel.getChildren();
         assertEquals(3, channel0Events.length);
-        
+
         assertTrue(channel0Events[2] instanceof TraceEventComponent);
 
         event = (TraceEventComponent) channel0Events[2];
@@ -356,14 +356,14 @@ public class TraceControlKernelSessionTests extends TestCase {
         assertEquals(TraceEnablement.ENABLED, event.getState());
 
         // ------------------------------------------------------------------------
-        // enable event (tracepoints) on channel 
+        // enable event (tracepoints) on channel
         // ------------------------------------------------------------------------
         events.clear();
         eventsDialogStub.setNames(events);
         eventsDialogStub.setIsAllTracePoints(true);
 
         fFacility.executeCommand(channels[1], "enableEventOnChannel");
-        
+
         // Get Kernel domain component instance
         domains = session.getChildren();
         assertNotNull(domains);
@@ -373,10 +373,10 @@ public class TraceControlKernelSessionTests extends TestCase {
         channels =  domains[0].getChildren();
         // No need to check parameters of default channel because that has been done in other tests
         channel = (TraceChannelComponent) channels[1];
-        
+
         channel0Events = channel.getChildren();
         assertEquals(3, channel0Events.length);
-        
+
         assertTrue(channel0Events[0] instanceof TraceEventComponent);
         assertTrue(channel0Events[1] instanceof TraceEventComponent);
         assertTrue(channel0Events[2] instanceof TraceEventComponent);
@@ -392,7 +392,7 @@ public class TraceControlKernelSessionTests extends TestCase {
         assertEquals(TraceLogLevel.TRACE_EMERG, event.getLogLevel());
         assertEquals(TraceEventType.TRACEPOINT, event.getEventType());
         assertEquals(TraceEnablement.ENABLED, event.getState());
-        
+
         event = (TraceEventComponent) channel0Events[2];
         assertEquals("sched_wakeup_new", event.getName());
         assertEquals(TraceLogLevel.TRACE_EMERG, event.getLogLevel());
@@ -400,15 +400,15 @@ public class TraceControlKernelSessionTests extends TestCase {
         assertEquals(TraceEnablement.ENABLED, event.getState());
 
         // ------------------------------------------------------------------------
-        // enable event (syscall) on channel 
+        // enable event (syscall) on channel
         // ------------------------------------------------------------------------
         events.clear();
-        eventsDialogStub.setIsTracePoints(false);        
+        eventsDialogStub.setIsTracePoints(false);
         eventsDialogStub.setIsAllTracePoints(false);
         eventsDialogStub.setIsSysCalls(true);
 
         fFacility.executeCommand(channels[0], "enableEventOnChannel");
-        
+
         // Get Kernel domain component instance
         domains = session.getChildren();
         assertNotNull(domains);
@@ -416,16 +416,16 @@ public class TraceControlKernelSessionTests extends TestCase {
 
         // Verify that channel was created with correct data
         channels =  domains[0].getChildren();
-        channel = (TraceChannelComponent) channels[0]; 
+        channel = (TraceChannelComponent) channels[0];
         // No need to check parameters of default channel because that has been done in other tests
 
         channel = (TraceChannelComponent) channels[0];
-        
+
         channel0Events = channel.getChildren();
         assertEquals(1, channel0Events.length);
-        
+
         assertTrue(channel0Events[0] instanceof TraceEventComponent);
-        
+
         event = (TraceEventComponent) channel0Events[0];
         assertEquals("syscalls", event.getName());
         assertEquals(TraceLogLevel.LEVEL_UNKNOWN, event.getLogLevel());
@@ -433,7 +433,7 @@ public class TraceControlKernelSessionTests extends TestCase {
         assertEquals(TraceEnablement.ENABLED, event.getState());
 
         // ------------------------------------------------------------------------
-        // enable event (syscall) on domain 
+        // enable event (syscall) on domain
         // ------------------------------------------------------------------------
         fFacility.executeCommand(domains[0], "enableEventOnDomain");
 
@@ -444,16 +444,16 @@ public class TraceControlKernelSessionTests extends TestCase {
 
         // Verify that channel was created with correct data
         channels =  domains[0].getChildren();
-        channel = (TraceChannelComponent) channels[0]; 
+        channel = (TraceChannelComponent) channels[0];
         // No need to check parameters of default channel because that has been done in other tests
 
         channel = (TraceChannelComponent) channels[2];
-        
+
         channel0Events = channel.getChildren();
         assertEquals(4, channel0Events.length);
-        
+
         assertTrue(channel0Events[0] instanceof TraceEventComponent);
-        
+
         event = (TraceEventComponent) channel0Events[0];
         assertEquals("syscalls", event.getName());
         assertEquals(TraceLogLevel.LEVEL_UNKNOWN, event.getLogLevel());
@@ -461,7 +461,7 @@ public class TraceControlKernelSessionTests extends TestCase {
         assertEquals(TraceEnablement.ENABLED, event.getState());
 
         // ------------------------------------------------------------------------
-        // enable event (syscall) on session 
+        // enable event (syscall) on session
         // ------------------------------------------------------------------------
         fFacility.executeCommand(session, "enableEventOnSession");
 
@@ -472,34 +472,34 @@ public class TraceControlKernelSessionTests extends TestCase {
 
         // Verify that channel was created with correct data
         channels =  domains[0].getChildren();
-        channel = (TraceChannelComponent) channels[0]; 
+        channel = (TraceChannelComponent) channels[0];
         // No need to check parameters of default channel because that has been done in other tests
 
         channel = (TraceChannelComponent) channels[2];
-        
+
         channel0Events = channel.getChildren();
         assertEquals(4, channel0Events.length);
-        
+
         assertTrue(channel0Events[0] instanceof TraceEventComponent);
-        
+
         event = (TraceEventComponent) channel0Events[0];
         assertEquals("syscalls", event.getName());
         assertEquals(TraceLogLevel.LEVEL_UNKNOWN, event.getLogLevel());
         assertEquals(TraceEventType.SYSCALL, event.getEventType());
         assertEquals(TraceEnablement.ENABLED, event.getState());
 
-        
+
         // ------------------------------------------------------------------------
-        // enable event (dynamic probe) on domain 
+        // enable event (dynamic probe) on domain
         // ------------------------------------------------------------------------
         events.clear();
         eventsDialogStub.setIsSysCalls(false);
         eventsDialogStub.setIsDynamicProbe(true);
         eventsDialogStub.setDynamicProbe("0xc0101280");
         eventsDialogStub.setProbeEventName("myevent1");
-        
+
         fFacility.executeCommand(domains[0], "enableEventOnDomain");
-        
+
         // Get Kernel domain component instance
         domains = session.getChildren();
         assertNotNull(domains);
@@ -507,14 +507,14 @@ public class TraceControlKernelSessionTests extends TestCase {
 
         // Verify that channel was created with correct data
         channels =  domains[0].getChildren();
-        channel = (TraceChannelComponent) channels[2]; 
+        channel = (TraceChannelComponent) channels[2];
         // No need to check parameters of default channel because that has been done in other tests
 
         channel0Events = channel.getChildren();
         assertEquals(5, channel0Events.length);
-        
+
         assertTrue(channel0Events[0] instanceof TraceProbeEventComponent);
-        
+
         TraceProbeEventComponent probeEvent = (TraceProbeEventComponent) channel0Events[0];
         assertEquals("myevent1", probeEvent.getName());
         assertEquals(TraceLogLevel.LEVEL_UNKNOWN, probeEvent.getLogLevel());
@@ -525,14 +525,14 @@ public class TraceControlKernelSessionTests extends TestCase {
         assertNull(probeEvent.getSymbol());
 
         // ------------------------------------------------------------------------
-        // enable event (dynamic probe) on channel 
+        // enable event (dynamic probe) on channel
         // ------------------------------------------------------------------------
         eventsDialogStub.setIsDynamicProbe(true);
         eventsDialogStub.setDynamicProbe("init_post");
         eventsDialogStub.setProbeEventName("myevent2");
 
         fFacility.executeCommand(channels[2], "enableEventOnChannel");
-        
+
         // Get Kernel domain component instance
         domains = session.getChildren();
         assertNotNull(domains);
@@ -540,14 +540,14 @@ public class TraceControlKernelSessionTests extends TestCase {
 
         // Verify that channel was created with correct data
         channels =  domains[0].getChildren();
-        channel = (TraceChannelComponent) channels[2]; 
+        channel = (TraceChannelComponent) channels[2];
         // No need to check parameters of default channel because that has been done in other tests
 
         channel0Events = channel.getChildren();
         assertEquals(6, channel0Events.length);
-        
+
         assertTrue(channel0Events[0] instanceof TraceProbeEventComponent);
-        
+
         probeEvent = (TraceProbeEventComponent) channel0Events[0];
         assertEquals("myevent2", probeEvent.getName());
         assertEquals(TraceLogLevel.LEVEL_UNKNOWN, probeEvent.getLogLevel());
@@ -558,14 +558,14 @@ public class TraceControlKernelSessionTests extends TestCase {
         assertEquals("init_post", probeEvent.getSymbol());
 
         // ------------------------------------------------------------------------
-        // enable event (dynamic probe) on session 
+        // enable event (dynamic probe) on session
         // ------------------------------------------------------------------------
         eventsDialogStub.setIsDynamicProbe(true);
         eventsDialogStub.setDynamicProbe("init_post:0x1000");
         eventsDialogStub.setProbeEventName("myevent3");
 
         fFacility.executeCommand(session, "enableEventOnSession");
-        
+
         // Get Kernel domain component instance
         domains = session.getChildren();
         assertNotNull(domains);
@@ -573,7 +573,7 @@ public class TraceControlKernelSessionTests extends TestCase {
 
         // Verify that channel was created with correct data
         channels =  domains[0].getChildren();
-        channel = (TraceChannelComponent) channels[2]; 
+        channel = (TraceChannelComponent) channels[2];
         // No need to check parameters of default channel because that has been done in other tests
 
         channel0Events = channel.getChildren();
@@ -589,7 +589,7 @@ public class TraceControlKernelSessionTests extends TestCase {
         assertEquals("0x1000", probeEvent.getOffset());
         assertNull(null, probeEvent.getAddress());
         assertEquals("init_post", probeEvent.getSymbol());
-        
+
         // ------------------------------------------------------------------------
         // enable event (dynamic function probe) on session
         // ------------------------------------------------------------------------
@@ -601,7 +601,7 @@ public class TraceControlKernelSessionTests extends TestCase {
         eventsDialogStub.setFunctionProbe("create_dev");
 
         fFacility.executeCommand(session, "enableEventOnSession");
-        
+
         // Get Kernel domain component instance
         domains = session.getChildren();
         assertNotNull(domains);
@@ -609,7 +609,7 @@ public class TraceControlKernelSessionTests extends TestCase {
 
         // Verify that channel was created with correct data
         channels =  domains[0].getChildren();
-        channel = (TraceChannelComponent) channels[2]; 
+        channel = (TraceChannelComponent) channels[2];
         // No need to check parameters of default channel because that has been done in other tests
 
         channel0Events = channel.getChildren();
@@ -625,7 +625,7 @@ public class TraceControlKernelSessionTests extends TestCase {
         assertEquals("0x0", probeEvent.getOffset());
         assertNull(null, probeEvent.getAddress());
         assertEquals("create_dev", probeEvent.getSymbol());
-  
+
         // ------------------------------------------------------------------------
         // enable event (dynamic function probe) on domain
         // ------------------------------------------------------------------------
@@ -634,7 +634,7 @@ public class TraceControlKernelSessionTests extends TestCase {
         eventsDialogStub.setFunctionProbe("create_dev:0x2000");
 
         fFacility.executeCommand(domains[0], "enableEventOnDomain");
-        
+
         // Get Kernel domain component instance
         domains = session.getChildren();
         assertNotNull(domains);
@@ -642,7 +642,7 @@ public class TraceControlKernelSessionTests extends TestCase {
 
         // Verify that channel was created with correct data
         channels =  domains[0].getChildren();
-        channel = (TraceChannelComponent) channels[2]; 
+        channel = (TraceChannelComponent) channels[2];
         // No need to check parameters of default channel because that has been done in other tests
 
         channel0Events = channel.getChildren();
@@ -667,7 +667,7 @@ public class TraceControlKernelSessionTests extends TestCase {
         eventsDialogStub.setFunctionProbe("create_dev:0x2000");
 
         fFacility.executeCommand(channels[0], "enableEventOnChannel");
-        
+
         // Get Kernel domain component instance
         domains = session.getChildren();
         assertNotNull(domains);
@@ -675,7 +675,7 @@ public class TraceControlKernelSessionTests extends TestCase {
 
         // Verify that channel was created with correct data
         channels =  domains[0].getChildren();
-        channel = (TraceChannelComponent) channels[0]; 
+        channel = (TraceChannelComponent) channels[0];
         // No need to check parameters of default channel because that has been done in other tests
 
         channel0Events = channel.getChildren();
@@ -693,7 +693,7 @@ public class TraceControlKernelSessionTests extends TestCase {
         assertEquals("create_dev", probeEvent.getSymbol());
 
         // ------------------------------------------------------------------------
-        // Add Context on domain  
+        // Add Context on domain
         // ------------------------------------------------------------------------
         // Get Kernel domain component instance
         domains = session.getChildren();
@@ -707,13 +707,13 @@ public class TraceControlKernelSessionTests extends TestCase {
         contexts.add("perf:cache-misses");
         addContextStub.setContexts(contexts);
         TraceControlDialogFactory.getInstance().setAddContextDialog(addContextStub);
-        
+
         fFacility.executeCommand(domains[0], "addContextOnDomain");
         // Currently there is nothing to verify because the list commands don't show any context information
         // However, the execution of the command make sure that the correct service command line is build and executed.
 
         // ------------------------------------------------------------------------
-        // Add Context on channel  
+        // Add Context on channel
         // ------------------------------------------------------------------------
 
         // Get Kernel domain component instance
@@ -723,8 +723,8 @@ public class TraceControlKernelSessionTests extends TestCase {
 
         //Verify that channel was created with correct data
         channels =  domains[0].getChildren();
-        channel = (TraceChannelComponent) channels[0]; 
-        
+        channel = (TraceChannelComponent) channels[0];
+
         try {
             // The setContext() verifies that the contexts set are part of the available contexts
             // The available contexts are set by the command handler addContextOnDomain above.
@@ -738,9 +738,9 @@ public class TraceControlKernelSessionTests extends TestCase {
         fFacility.executeCommand(channel, "addContextOnChannel");
         // Currently there is nothing to verify because the list commands don't show any context information
         // However, the execution of the command make sure that the correct service command line is build and executed.
-        
+
         // ------------------------------------------------------------------------
-        // Add Context on event  
+        // Add Context on event
         // ------------------------------------------------------------------------
         // Get Kernel domain component instance
         domains = session.getChildren();
@@ -749,30 +749,30 @@ public class TraceControlKernelSessionTests extends TestCase {
 
         //Verify that channel was created with correct data
         channels =  domains[0].getChildren();
-        channel = (TraceChannelComponent) channels[2]; 
-        
+        channel = (TraceChannelComponent) channels[2];
+
         channel0Events = channel.getChildren();
 
         event = (TraceEventComponent) channel0Events[6];
-        
+
         fFacility.executeCommand(event, "addContextOnEvent");
         // Currently there is nothing to verify because the list commands don't show any context information
-        // However, the execution of the command make sure that the correct service command line is build and executed.        
+        // However, the execution of the command make sure that the correct service command line is build and executed.
 
         // ------------------------------------------------------------------------
-        // Calibrate  
+        // Calibrate
         // ------------------------------------------------------------------------
         // Get Kernel domain component instance
         domains = session.getChildren();
         assertNotNull(domains);
         assertEquals(1, domains.length);
-        
+
         fFacility.executeCommand(domains[0], "calibrate");
-        // There is nothing to verify here. 
+        // There is nothing to verify here.
         // However, the execution of the command make sure that the correct service command line is build and executed.
-        
+
         // ------------------------------------------------------------------------
-        // refresh 
+        // refresh
         // ------------------------------------------------------------------------
         fFacility.executeCommand(node, "refresh");
         groups = node.getChildren();
@@ -783,30 +783,30 @@ public class TraceControlKernelSessionTests extends TestCase {
         assertEquals(1, groups[1].getChildren()[0].getChildren().length); // domains
         assertEquals(3, groups[1].getChildren()[0].getChildren()[0].getChildren().length); // channels
         assertEquals(2, groups[1].getChildren()[0].getChildren()[0].getChildren()[0].getChildren().length); // events (of channel[0])
-        
+
         // Initialize session handling scenario
         fProxy.setScenario(TraceControlTestFacility.SCEN_SCENARIO_SESSION_HANDLING);
-        
+
         session = (TraceSessionComponent)groups[1].getChildren()[0];
 
         // ------------------------------------------------------------------------
-        // start session 
+        // start session
         // ------------------------------------------------------------------------
         fFacility.startSession(session);
         assertEquals(TraceSessionState.ACTIVE, session.getSessionState());
-        
+
         // ------------------------------------------------------------------------
-        // stop session 
+        // stop session
         // ------------------------------------------------------------------------
         fFacility.stopSession(session);
         assertEquals(TraceSessionState.INACTIVE, session.getSessionState());
-        
+
         // ------------------------------------------------------------------------
-        // Destroy session 
+        // Destroy session
         // ------------------------------------------------------------------------
 
         fFacility.destroySession(session);
-        
+
         // Verify that no more session components exist
         assertEquals(0, groups[1].getChildren().length);
 
@@ -815,13 +815,13 @@ public class TraceControlKernelSessionTests extends TestCase {
         //-------------------------------------------------------------------------
         fFacility.executeCommand(node, "disconnect");
         assertEquals(TargetNodeState.DISCONNECTED, node.getTargetNodeState());
-       
+
         //-------------------------------------------------------------------------
         // Delete node
         //-------------------------------------------------------------------------
-         
+
         fFacility.executeCommand(node, "delete");
         assertEquals(0,fFacility.getControlView().getTraceControlRoot().getChildren().length);
     }
-    
+
 }
\ No newline at end of file
This page took 0.036167 seconds and 5 git commands to generate.