|
42 | 42 | import org.junit.rules.TemporaryFolder; |
43 | 43 | import org.ow2.proactive.scheduler.common.NotificationData; |
44 | 44 | import org.ow2.proactive.scheduler.common.SchedulerEvent; |
45 | | -import org.ow2.proactive.scheduler.common.job.Job; |
46 | | -import org.ow2.proactive.scheduler.common.job.JobEnvironment; |
47 | | -import org.ow2.proactive.scheduler.common.job.JobId; |
48 | | -import org.ow2.proactive.scheduler.common.job.JobInfo; |
49 | | -import org.ow2.proactive.scheduler.common.job.JobState; |
50 | | -import org.ow2.proactive.scheduler.common.job.JobStatus; |
51 | | -import org.ow2.proactive.scheduler.common.job.TaskFlowJob; |
52 | | -import org.ow2.proactive.scheduler.common.job.UserIdentification; |
| 45 | +import org.ow2.proactive.scheduler.common.job.*; |
53 | 46 | import org.ow2.proactive.scheduler.common.job.factories.Job2XMLTransformer; |
54 | | -import org.ow2.proactive.scheduler.common.task.ForkEnvironment; |
55 | 47 | import org.ow2.proactive.scheduler.common.task.JavaTask; |
56 | 48 | import org.ow2.proactive.scheduler.common.task.TaskInfo; |
57 | 49 | import org.ow2.proactive.scheduler.common.task.dataspaces.InputAccessMode; |
@@ -87,9 +79,9 @@ public final class RestSmartProxyTest extends AbstractRestFuncTestCase { |
87 | 79 | protected static final String TASK_NAME = "TestJavaTask"; |
88 | 80 |
|
89 | 81 | // we add special characters to ensure they are supported |
90 | | - public final static String INPUT_FILE_BASE_NAME = "input é"; |
| 82 | + public final static String INPUT_FILE_BASE_NAME = "input é"; |
91 | 83 | public final static String INPUT_FILE_EXT = ".txt"; |
92 | | - public final static String OUTPUT_FILE_BASE_NAME = "output é"; |
| 84 | + public final static String OUTPUT_FILE_BASE_NAME = "output é"; |
93 | 85 | public final static String OUTPUT_FILE_EXT = ".out"; |
94 | 86 |
|
95 | 87 | protected RestSmartProxyImpl restSmartProxy; |
@@ -125,8 +117,8 @@ private void initializeRestSmartProxyInstance() throws Exception { |
125 | 117 | pullUrl = userspace; |
126 | 118 |
|
127 | 119 | // we add special characters and space to the folders to make sure transfer occurs normally |
128 | | - inputLocalFolder = tempDir.newFolder("input é"); |
129 | | - outputLocalFolder = tempDir.newFolder("output é"); |
| 120 | + inputLocalFolder = tempDir.newFolder("input é"); |
| 121 | + outputLocalFolder = tempDir.newFolder("output é"); |
130 | 122 | } |
131 | 123 |
|
132 | 124 | @Test(timeout = TEN_MINUTES) |
@@ -226,7 +218,7 @@ private void testJobSubmission(boolean isolateTaskOutput, boolean automaticTrans |
226 | 218 | private TaskFlowJob createTestJob(boolean isolateOutputs) throws Exception { |
227 | 219 | TaskFlowJob job = new TaskFlowJob(); |
228 | 220 | // add a special character to the job name to ensure the job is parsed correctly by the server |
229 | | - job.setName(this.getClass().getSimpleName() + " é"); |
| 221 | + job.setName(this.getClass().getSimpleName() + " é"); |
230 | 222 |
|
231 | 223 | for (int i = 0; i < NB_TASKS; i++) { |
232 | 224 | JavaTask testTask = new JavaTask(); |
|
0 commit comments