Skip to content

Commit

Permalink
Removing references to AbstractJobTests which has been deprecated in …
Browse files Browse the repository at this point in the history
…favor of JobLauncherTestUtils
  • Loading branch information
snekse authored and mminella committed Dec 30, 2014
1 parent 3e5e871 commit 858e103
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/site/docbook/reference/testing.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<programlisting language="java">@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = { "/simple-job-launcher-context.xml",
"/jobs/skipSampleJob.xml" })
public class SkipSampleFunctionalTests extends AbstractJobTests { ... }</programlisting>
public class SkipSampleFunctionalTests { ... }</programlisting>
</section>

<section id="endToEndTesting">
Expand All @@ -50,8 +50,8 @@ public class SkipSampleFunctionalTests extends AbstractJobTests { ... }</program
records. The test then launches the <classname>Job </classname>using the
<methodname>launchJob()</methodname> method. The
<methodname>launchJob</methodname>() method is provided by the
<classname>AbstractJobTests</classname> parent class. Also provided by the
super class is <classname>launchJob(JobParameters)</classname>, which
<classname>JobLauncherTestUtils</classname> class. Also provided by the
utils class is <classname>launchJob(JobParameters)</classname>, which
allows the test to give particular parameters. The
<methodname>launchJob()</methodname> method returns the
<classname>JobExecution</classname> object which is useful for asserting
Expand Down

0 comments on commit 858e103

Please sign in to comment.