Re-structure LTTng sub-project as per the Linux Tools guidelines
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.core.tests / src / org / eclipse / linuxtools / lttng / core / tests / control / LTTngSyntheticEventProviderTextTest.java
1 /*******************************************************************************
2 * Copyright (c) 2010 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Alvaro Sanchez-Leon (alvsan09@gmail.com) - Initial API and implementation
11 *******************************************************************************/
12 package org.eclipse.linuxtools.lttng.core.tests.control;
13
14
15
16 import org.eclipse.linuxtools.lttng.core.tests.LttngTestPreparation;
17
18 public class LTTngSyntheticEventProviderTextTest extends LttngTestPreparation {
19
20 // ========================================================================
21 // Tests
22 // ========================================================================
23 /**
24 *
25 */
26 public void testPlainDataRequest() {
27 // // prepare
28 // init();
29 // TmfExperiment<LttngEvent> experiment = prepareTextExperimentToTest();
30 // TmfEventRequest<LttngEvent> request = prepareEventRequest(
31 // LttngEvent.class, 0, 31);
32 //
33 // // execute
34 // experiment.sendRequest(request);
35 // try {
36 // request.waitForCompletion();
37 // } catch (InterruptedException e) {
38 // e.printStackTrace();
39 // }
40 //
41 // // finish
42 // assertEquals("Unexpected eventCount", 15316, feventCount);
43 // boolean expected = true;
44 // assertEquals("Events received out of expected order", expected,
45 // validSequence);
46 }
47
48 /**
49 *
50 */
51 public void testSyntheticEventRequest() {
52 // init();
53 // // make sure a synthetic event provider exists and it's registered
54 // LttngSyntheticEventProvider synProvider = LttngCoreProviderFactory
55 // .getEventProvider();
56 //
57 // // make sure a TmfExperiment instance is registered as provider and
58 // // selected as current
59 // prepareTextExperimentToTest();
60 //
61 // // prepare synthetic event request
62 // TmfEventRequest<LttngSyntheticEvent> request = prepareEventRequest(
63 // LttngSyntheticEvent.class, 0, 31);
64 //
65 // // execute
66 // synProvider.sendRequest(request);
67 // try {
68 // request.waitForCompletion();
69 // } catch (InterruptedException e) {
70 // e.printStackTrace();
71 // }
72 //
73 // // finish
74 // assertEquals("Unexpected eventCount", 15316, feventCount);
75 }
76 }
This page took 0.040604 seconds and 5 git commands to generate.