Package com.semagia.atomico.server.dm

Examples of com.semagia.atomico.server.dm.ICollectionInfo


        final String linkAdr = "http://www.semagia.com/link";
        final URI link = URI.create(linkAdr);
        final String id = "http://www.semagia.com/test";
        final String title = "title";
        final long updated = now();
        final ICollectionInfo collInfo = new CollectionInfo(id, title, updated, "collId");
        feed.addEntry(collInfo, link);
        assertEquals(1, feed.getEntries().size());
        final ICollectionEntry entry = feed.getEntries().iterator().next();
        assertNotNull(entry);
        assertEquals(id, entry.getId());
View Full Code Here


            // noop.
        }
        final String id = "http://www.semagia.com/test";
        final String title = "title";
        final long updated = now();
        final ICollectionInfo collInfo = new CollectionInfo(id, title, updated, "collId");
        try {
            feed.addEntry(collInfo, null);
            fail("feed.addEntry(info, null) is illegal");
        }
        catch (IllegalArgumentException ex) {
View Full Code Here

        assertEquals(_UPDATED, info.getUpdated());
        assertEquals(_COLL_ID, info.getCollectionId());
    }

    public void testPropertiesNoDependency() {
        ICollectionInfo info = new CollectionInfo(_ID, _TITLE, _UPDATED, _COLL_ID);
        _testDefaultProperties(info);
    }
View Full Code Here

TOP

Related Classes of com.semagia.atomico.server.dm.ICollectionInfo

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.