Exemple #1
0
  /**
   * Run the String formatDescription(String) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 19.03.15 01:28
   */
  @Test
  public void testFormatDescription_1() throws Exception {
    TagReplacer fixture = new TagReplacer(Locale.getDefault());
    String source = "";

    String result = fixture.formatDescription(source);
    assertEquals("", result);
  }
Exemple #2
0
  /**
   * Run the String formatDescription(String,boolean,boolean,boolean) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 19.03.15 01:28
   */
  @Test
  public void testFormatDescription_3() throws Exception {
    TagReplacer fixture = new TagReplacer(Locale.getDefault());
    String source = "";
    boolean simple = true;
    boolean export = true;
    boolean useProjectSpecificID = true;

    String result = fixture.formatDescription(source, simple, export, useProjectSpecificID);

    // add additional test code here
    assertEquals("", result);
  }
Exemple #3
0
  /**
   * Run the boolean replaceIssueLinks(StringBuilder,Map<Integer,Integer>) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 19.03.15 01:28
   */
  @Test
  public void testReplaceIssueLinks_1() throws Exception {
    StringBuilder src = new StringBuilder("[issue=99]");
    Map<Integer, Integer> workItemIDsMap = new Hashtable<Integer, Integer>();

    boolean result = TagReplacer.replaceIssueLinks(src, workItemIDsMap);

    assertEquals(false, result);
  }
Exemple #4
0
  /**
   * Run the boolean replaceIssueLinks(StringBuilder,Map<Integer,Integer>) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 19.03.15 01:28
   */
  @Test
  public void testReplaceIssueLinks_7() throws Exception {
    StringBuilder src = new StringBuilder();
    Map<Integer, Integer> workItemIDsMap = new Hashtable<Integer, Integer>();

    boolean result = TagReplacer.replaceIssueLinks(src, workItemIDsMap);

    // add additional test code here
    assertEquals(false, result);
  }
Exemple #5
0
  /**
   * Run the List<Integer> gatherIssueLinks(StringBuilder) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 19.03.15 01:28
   */
  @Test
  public void testGatherIssueLinks_6() throws Exception {
    StringBuilder src = new StringBuilder();

    List<Integer> result = TagReplacer.gatherIssueLinks(src);

    // add additional test code here
    assertNotNull(result);
    assertEquals(0, result.size());
  }