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

index 7780e1b6c2867a946a40c9c754a975c94b02f82f..6666c220858d3710617e9b74dd8b699bcf174766 100644 (file)
@@ -60,7 +60,7 @@ public class JobIntegrationTest extends JobIntegration {
                final IJobStatusChangedListener listener = new IJobStatusChangedListener() {
                        @Override
                        public void statusChanged(JobStatusChangedEvent event) {
-                               if (event.getStatus() == JobStatus.RUNABLE) {
+                               if (event.getStatus() == JobStatus.RUNNABLE) {
                                        IJobRuntime jobRuntime = (IJobRuntime) event.getSource();
                                        jobEngine.sendMessage(new SuspendRequest(jobRuntime.getId()));
                                }
@@ -102,9 +102,9 @@ public class JobIntegrationTest extends JobIntegration {
 
        @Test
        // els� jobstep ut�n
-       public void testRunable_Stage1() throws Exception {
+       public void testRunnable_Stage1() throws Exception {
                // Fixture
-               final JobStatus status = JobStatus.RUNABLE;
+               final JobStatus status = JobStatus.RUNNABLE;
                final IJobStatusChangedListener listener = new IJobStatusChangedListener() {
                        @Override
                        public void statusChanged(JobStatusChangedEvent event) {
@@ -156,9 +156,9 @@ public class JobIntegrationTest extends JobIntegration {
 
        @Test
        // user v�lasz ut�n, m�sodik jobstep el�tt
-       public void testRunable_Stage2() throws Exception {
+       public void testRunnable_Stage2() throws Exception {
                // Fixture
-               final JobStatus status = JobStatus.RUNABLE;
+               final JobStatus status = JobStatus.RUNNABLE;
                final int[] stageCount = new int[1];
                stageCount[0] = 0;
 
@@ -314,7 +314,7 @@ public class JobIntegrationTest extends JobIntegration {
                                                JobRuntime jobRuntime = (JobRuntime) event.getSource();
                                                jobEngine.sendMessage(new ResumeRequest(jobRuntime.getId()));
                                        }
-                                       if (event.getStatus() == JobStatus.RUNABLE) {
+                                       if (event.getStatus() == JobStatus.RUNNABLE) {
                                                synchronizer.suspend();
                                        }
                                }
@@ -326,7 +326,7 @@ public class JobIntegrationTest extends JobIntegration {
 
                // Verify
                synchronizer.waitSuspend();
-               assertEquals(JobStatus.RUNABLE, sut.getStatus());
+               assertEquals(JobStatus.RUNNABLE, sut.getStatus());
        }
 
        @Test