Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'systemtap/org.eclipse.linuxtools.systemtap.ui.tests')
-rw-r--r--systemtap/org.eclipse.linuxtools.systemtap.ui.tests/src/org/eclipse/linuxtools/systemtap/ui/tests/SystemtapTest.java32
1 files changed, 16 insertions, 16 deletions
diff --git a/systemtap/org.eclipse.linuxtools.systemtap.ui.tests/src/org/eclipse/linuxtools/systemtap/ui/tests/SystemtapTest.java b/systemtap/org.eclipse.linuxtools.systemtap.ui.tests/src/org/eclipse/linuxtools/systemtap/ui/tests/SystemtapTest.java
index a7f617bbd7..c2d413942b 100644
--- a/systemtap/org.eclipse.linuxtools.systemtap.ui.tests/src/org/eclipse/linuxtools/systemtap/ui/tests/SystemtapTest.java
+++ b/systemtap/org.eclipse.linuxtools.systemtap.ui.tests/src/org/eclipse/linuxtools/systemtap/ui/tests/SystemtapTest.java
@@ -19,22 +19,22 @@ import org.junit.BeforeClass;
* Generic utilities for systemtap tests.
*/
public class SystemtapTest {
- public static boolean stapInstalled;
+ public static boolean stapInstalled;
- @BeforeClass
- public static void checkStapInstalled() throws IOException {
- stapInstalled = SystemtapTest.stapInstalled();
- }
+ @BeforeClass
+ public static void checkStapInstalled() throws IOException {
+ stapInstalled = SystemtapTest.stapInstalled();
+ }
- /**
- * Check that stap is installed
- *
- * @return true if stap is installed, false otherwise.
- * @throws IOException
- */
- protected static boolean stapInstalled() throws IOException {
- Process process = RuntimeProcessFactory.getFactory().exec(
- new String[] { "stap", "-V" }, null); //$NON-NLS-1$ //$NON-NLS-2$
- return (process != null);
- }
+ /**
+ * Check that stap is installed
+ *
+ * @return true if stap is installed, false otherwise.
+ * @throws IOException
+ */
+ protected static boolean stapInstalled() throws IOException {
+ Process process = RuntimeProcessFactory.getFactory().exec(
+ new String[] { "stap", "-V" }, null); //$NON-NLS-1$ //$NON-NLS-2$
+ return (process != null);
+ }
}

Back to the top