blob: 824369d9df759d7716e3b3d78ceddcbea38e6fef (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*******************************************************************************
* Copyright (c) 2009 Red Hat, Inc.
* 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:
* Kent Sebastian <ksebasti@redhat.com> - initial API and implementation
*******************************************************************************/
package org.eclipse.linuxtools.oprofile.tests;
import org.eclipse.linuxtools.internal.oprofile.core.model.OpModelEvent;
import org.eclipse.linuxtools.internal.oprofile.core.model.OpModelImage;
import org.eclipse.linuxtools.internal.oprofile.core.model.OpModelSession;
/*
* A faked OpModelSession object where there is no image.
* Note: technically this shouldn't really happen in normal operation
* of the plugin unless there is a major b0rk-up with the xml parsers..
*/
public class TestingOpModelEvent4 extends OpModelEvent {
public TestingOpModelEvent4(OpModelSession session, String name) {
super(session, name);
}
@Override
protected OpModelImage getNewImage() {
return null;
}
}
|