Package org.as.jtrello.lists

Examples of org.as.jtrello.lists.TList


  //TODO Check returned object values
 
  @Test
  public void testGet() {
    try {
      TList list = client.getLists().get(props.getProperty("TRELLO_LIST1"));
      System.out.println("DEBUG list=" + list.toString());
    } catch (Exception e) {
      e.printStackTrace();
      fail();
    }
  }
View Full Code Here


    }
  }

  @Test
  public void testGetByBoard() {
    TList list;
    try {
      List<TList> lists = client.getLists().getByBoard(props.getProperty("TRELLO_BOARD_PUBLIC"));
      Iterator<TList> iterator = lists.iterator();
      while (iterator.hasNext()) {
        list = iterator.next();
        System.out.println("DEBUG list=" + list.toString());
      }
    } catch (Exception e) {
      e.printStackTrace();
      fail();
    }
View Full Code Here

    }
  }
 
  @Test
  public void testCreate() {
    TList list = new TList();
    list.setName("TestList");
    list.setIdBoard(props.getProperty("TRELLO_BOARD_TOWRITE"));
    try {
      TList newList = client.getLists().create(list);
      System.out.println("DEBUG list=" + list.toString());
      System.out.println("DEBUG newList=" + newList.toString());
    } catch (Exception e) {
      e.printStackTrace();
      fail();
    }
  }
View Full Code Here

TOP

Related Classes of org.as.jtrello.lists.TList

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.