From 858e10383d00d0c60da9891bb0d10b94de89c8a4 Mon Sep 17 00:00:00 2001 From: snekse Date: Fri, 14 Nov 2014 14:40:36 -0600 Subject: [PATCH] Removing references to AbstractJobTests which has been deprecated in favor of JobLauncherTestUtils --- src/site/docbook/reference/testing.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/site/docbook/reference/testing.xml b/src/site/docbook/reference/testing.xml index de1a0d98d..bb41efae7 100644 --- a/src/site/docbook/reference/testing.xml +++ b/src/site/docbook/reference/testing.xml @@ -34,7 +34,7 @@ @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations = { "/simple-job-launcher-context.xml", "/jobs/skipSampleJob.xml" }) -public class SkipSampleFunctionalTests extends AbstractJobTests { ... } +public class SkipSampleFunctionalTests { ... }
@@ -50,8 +50,8 @@ public class SkipSampleFunctionalTests extends AbstractJobTests { ... }Job using the launchJob() method. The launchJob() method is provided by the - AbstractJobTests parent class. Also provided by the - super class is launchJob(JobParameters), which + JobLauncherTestUtils class. Also provided by the + utils class is launchJob(JobParameters), which allows the test to give particular parameters. The launchJob() method returns the JobExecution object which is useful for asserting