From: <rm...@hy...> - 2008-11-27 16:25:57
|
Author: rmorgan Date: 2008-11-27 08:25:53 -0800 (Thu, 27 Nov 2008) New Revision: 330 URL: http://svn.hyperic.org/?view=rev&root=HQApi&revision=330 Modified: trunk/src/org/hyperic/hq/hqapi1/test/ResourceListPrototypes_test.java Log: Assert existing prototypes > 1 Modified: trunk/src/org/hyperic/hq/hqapi1/test/ResourceListPrototypes_test.java =================================================================== --- trunk/src/org/hyperic/hq/hqapi1/test/ResourceListPrototypes_test.java 2008-11-27 16:25:23 UTC (rev 329) +++ trunk/src/org/hyperic/hq/hqapi1/test/ResourceListPrototypes_test.java 2008-11-27 16:25:53 UTC (rev 330) @@ -3,6 +3,7 @@ import org.hyperic.hq.hqapi1.ResourceApi; import org.hyperic.hq.hqapi1.types.ListResourcePrototypesResponse; import org.hyperic.hq.hqapi1.types.ResourcePrototype; +import org.hyperic.hq.hqapi1.types.FindResourcesResponse; public class ResourceListPrototypes_test extends HQApiTestBase { @@ -36,5 +37,8 @@ assertTrue("All prototypes not greater than existing prototypes", allResponse.getResourcePrototype().size() > response.getResourcePrototype().size()); + + assertTrue("Existing prototypes not > 1", + response.getResourcePrototype().size() > 1); } } |