[Japi-cvs] SF.net SVN: japi:[1167] tools/replacer/trunk/src/tst/test/net/sf/japi/tools /replacer/S
Status: Beta
Brought to you by:
christianhujer
From: <chr...@us...> - 2009-02-24 02:29:00
|
Revision: 1167 http://japi.svn.sourceforge.net/japi/?rev=1167&view=rev Author: christianhujer Date: 2009-02-24 02:22:18 +0000 (Tue, 24 Feb 2009) Log Message: ----------- Fixed javadoc issues. Modified Paths: -------------- tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/SubstitutionTest.java Modified: tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/SubstitutionTest.java =================================================================== --- tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/SubstitutionTest.java 2009-02-24 01:27:53 UTC (rev 1166) +++ tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/SubstitutionTest.java 2009-02-24 02:22:18 UTC (rev 1167) @@ -30,7 +30,7 @@ @SuppressWarnings({"InstanceMethodNamingConvention"}) public class SubstitutionTest { - /** Tests that {@link Substitution (String, String)} works. */ + /** Tests that {@link Substitution#Substitution(String[])} works. */ @Test public void testSimpleSubstitution() { final Substitution testling = new Substitution("foo", "bar"); @@ -42,7 +42,7 @@ Assert.assertEquals("Substitution(\"foo\", \"bar\") must replace all occurrences of foo by bar.", "my bar my foo fuzz", replaced); } - /** Tests that {@link Substitution(String)} works for simple substitutions. */ + /** Tests that {@link Substitution#parseRegex(CharSequence)} works for simple substitutions. */ @Test public void testParseSimple() { final Substitution testling = new Substitution("s/foo/bar/g"); @@ -54,7 +54,7 @@ Assert.assertEquals("s/foo/bar/g must replace all occurrences of foo by bar.", "my bar my bar fuzz", replaced); } - /** Tests that {@link Substitution(String)} works when the substitution contains an escaped slash. */ + /** Tests that {@link Substitution#parseRegex(CharSequence)} works when the substitution contains an escaped slash. */ @Test public void testParseRegexEscapedSlash() { final String[] parsed = Substitution.parseRegex("s/f\\/oo/bar/"); @@ -64,7 +64,7 @@ Assert.assertEquals("Third element must be flags.", "" , parsed[2]); } - /** Tests that {@link Substitution(String)} throws an exception with a malformed substitution specification. */ + /** Tests that {@link Substitution#parseRegex(CharSequence)} throws an exception with a malformed substitution specification. */ @Test(expected = IllegalArgumentException.class) public void testParseRegexBogus() { Substitution.parseRegex("s/f\\/oo/bar"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |