use of org.exoplatform.xml.object.XMLCollection in project kernel by exoplatform.
the class TestCollectionValue method testBarProfile.
public void testBarProfile() throws Exception {
XMLCollection xc = getConfiguredCollection("bar");
Collection coll = xc.getCollection();
assertEquals(2, coll.size());
}
use of org.exoplatform.xml.object.XMLCollection in project kernel by exoplatform.
the class TestCollectionValue method testNoProfile.
public void testNoProfile() throws Exception {
XMLCollection xc = getConfiguredCollection();
Collection coll = xc.getCollection();
assertEquals(1, coll.size());
}
use of org.exoplatform.xml.object.XMLCollection in project kernel by exoplatform.
the class TestCollectionValue method testFooProfile.
public void testFooProfile() throws Exception {
XMLCollection xc = getConfiguredCollection("foo");
Collection coll = xc.getCollection();
assertEquals(3, coll.size());
}
use of org.exoplatform.xml.object.XMLCollection in project kernel by exoplatform.
the class TestField method testFooBarProfile.
public void testFooBarProfile() throws Exception {
XMLCollection xc = getConfiguredCollection("foo", "bar");
assertEquals(Arrays.asList("foo_manager"), xc.getCollection());
}
use of org.exoplatform.xml.object.XMLCollection in project kernel by exoplatform.
the class TestCollectionValue method testFooBarProfile.
public void testFooBarProfile() throws Exception {
XMLCollection xc = getConfiguredCollection("foo", "bar");
Collection coll = xc.getCollection();
assertEquals(3, coll.size());
}
Aggregations