Package net.bican.wordpress

Examples of net.bican.wordpress.Category


    int r = WP.newCategory("deneme", "deneme-slug", 0);
    String rStr = r + "";
    categories = WP.getCategories();
    assertNotNull(categories);
    assertEquals(2, categories.size());
    Category found = null;
    for (Category cat : categories) {
      if (cat.getCategoryId().equals(rStr)) {
        found = cat;
        break;
      }
    }
    assertNotNull(found);
    assertEquals("deneme", found.getCategoryName());
    assertEquals(rStr, found.getCategoryId());
  }
View Full Code Here

TOP

Related Classes of net.bican.wordpress.Category

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.