Package models.japidsample

Examples of models.japidsample.Author


    Post post = new Post();
    post.title = "test post";
    post.postedAt = new Date();
    post.content = "this is perfect piece of content~!";
   
    Author a = new Author();
    a.name = "me";
    a.birthDate = new Date();
    a.gender = 'm';
   
    post.setAuthor(a);
View Full Code Here


  /**
   * @return
   */
  private static List<Post> createPosts() {
    List<Post> posts = new ArrayList<Post>();
    Author a = new Author();
    a.name = "冉兵";
    a.birthDate = new Date();
    a.gender = 'M';
    Post p = new Post();
    p.author = a;
View Full Code Here

  /**
   * @return
   */
  private static List<Post> createPosts() {
    Author a = new Author();
    a.name = "作者";
    a.birthDate = new Date();
    a.gender = 'm';

    final Post p = new Post();
View Full Code Here

    return posts;
  }

  @Test
  public void simleRun() throws UnsupportedEncodingException {
    Author a = new Author();
    a.name = "作者";
    a.birthDate = new Date();
    a.gender = 'm';

    final Post p = new Post();
View Full Code Here

TOP

Related Classes of models.japidsample.Author

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.