1 package org
.argeo
.slc
.core
.execution
.tasks
;
3 import org
.argeo
.api
.cms
.CmsLog
;
4 import org
.argeo
.slc
.core
.execution
.AbstractExecutionFlowTestCase
;
6 public class SystemCallTest
extends AbstractExecutionFlowTestCase
{
7 private final static CmsLog log
= CmsLog
.getLog(SystemCallTest
.class);
9 private final String defFile
= "systemCall.xml";
11 public void testSystemCallSimple() throws Exception
{
13 configureAndExecuteSlcFlow(defFile
, "systemCallSimple");
16 public void testSystemCallList() throws Exception
{
18 configureAndExecuteSlcFlow(defFile
, "systemCallList");
21 public void testSystemCallOsSpecific() throws Exception
{
23 configureAndExecuteSlcFlow(defFile
, "systemCallOsSpecific");
26 public void testSystemCallWithVar() throws Exception
{
28 configureAndExecuteSlcFlow(defFile
, "systemCallWithVar");
31 protected boolean isOsSupported() {
32 String osName
= System
.getProperty("os.name");
34 if (osName
.contains("Windows"))
40 log
.warn("Skip test because OS '" + osName
+ "' is not supported.");