git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube...
authorSweidan Omar <TFS\sweidan.omar>
Tue, 18 Jan 2022 22:58:41 +0000 (22:58 +0000)
committerSweidan Omar <TFS\sweidan.omar>
Tue, 18 Jan 2022 22:58:41 +0000 (22:58 +0000)
server/user.jobengine.osgi.server/test/user/jobengine/server/actions/ResumeSuspendedActionTest.java

index 51da60abbbbc4f684d4a470a9a1149ddb03dd8df..3b42dd1fa72ffd06cb4e9315be1a1ef693cab713 100644 (file)
@@ -15,7 +15,7 @@ public class ResumeSuspendedActionTest extends ActionTest {
                one (jobRuntime).getSavedStatus();
                        will(returnValue(JobStatus.EXECUTING));
                one (jobRuntime).setDescription(null);
-                   one (jobRuntime).setStatus(JobStatus.RUNABLE);
+                   one (jobRuntime).setStatus(JobStatus.RUNNABLE);
                    one (jobEngine).addToRunQueue(jobRuntime);
            }});        
                
@@ -24,14 +24,14 @@ public class ResumeSuspendedActionTest extends ActionTest {
        }
 
        @Test
-       public void testProcessAction_SavedStatusRunable() throws Exception {
+       public void testProcessAction_SavedStatusRunnable() throws Exception {
                // Fixture
                final IJobStatusAction sut = new ResumeSuspendedAction(); 
                context.checking(new Expectations() {{
                one (jobRuntime).getSavedStatus();
-                       will(returnValue(JobStatus.RUNABLE));
+                       will(returnValue(JobStatus.RUNNABLE));
                one (jobRuntime).setDescription(null);
-                   one (jobRuntime).setStatus(JobStatus.RUNABLE);
+                   one (jobRuntime).setStatus(JobStatus.RUNNABLE);
                    one (jobEngine).addToRunQueue(jobRuntime);
            }});        
                
@@ -47,7 +47,7 @@ public class ResumeSuspendedActionTest extends ActionTest {
                one (jobRuntime).getSavedStatus();
                        will(returnValue(JobStatus.WAIT_EXECUTOR));
                one (jobRuntime).setDescription(null);
-                   one (jobRuntime).setStatus(JobStatus.RUNABLE);
+                   one (jobRuntime).setStatus(JobStatus.RUNNABLE);
                    one (jobEngine).addToRunQueue(jobRuntime);
            }});