Package net.sourceforge.squirrel_sql.client.update.xmlbeans

Examples of net.sourceforge.squirrel_sql.client.update.xmlbeans.ReleaseXmlBean


     */
    private void setupXmlBeans() {
        String channel = "snashot";
        String release = "Snapshot-20070922_1258";
       
        releaseBean = new ReleaseXmlBean("snapshot", release);
       
        releaseBean.addmodule(getCoreModule(release));
       
        channelBean = new ChannelXmlBean();
        channelBean.setName(channel);
View Full Code Here


  private ChannelXmlBean setupSnapshotChannelXmlBean(String name)
  {
    ChannelXmlBean mockChannelXmlBean =
      mockHelper.createMock("mock" + name + "ChannelXmlBean", ChannelXmlBean.class);
    ReleaseXmlBean mockReleaseXmlBean =
      mockHelper.createMock("mock" + name + "ReleaseXmlBean", ReleaseXmlBean.class);
    expect(mockChannelXmlBean.getName()).andStubReturn("Snapshot");
    expect(mockChannelXmlBean.getCurrentRelease()).andStubReturn(mockReleaseXmlBean);
    return mockChannelXmlBean;
  }
View Full Code Here

    public void tearDown() throws Exception {
    }

    @Test
    public void testEquals() {
        ReleaseXmlBean releaseBean1 = new ReleaseXmlBean("snapshot", "Snapshot-20070922_1258");
       
        ReleaseXmlBean releaseBean2 = new ReleaseXmlBean("snapshot", "Snapshot-20070929_1300");
       
        ChannelXmlBean cb1 = new ChannelXmlBean();
        cb1.setName("snapshot");
        cb1.setCurrentRelease(releaseBean1);
       
View Full Code Here

   * @see net.sourceforge.squirrel_sql.client.update.UpdateUtil#getArtifactStatus(net.sourceforge.squirrel_sql.client.update.xmlbeans.ChannelXmlBean)
   */
  public List<ArtifactStatus> getArtifactStatus(ChannelXmlBean channelXmlBean)
  {

    ReleaseXmlBean releaseXmlBean = channelXmlBean.getCurrentRelease();
    return getArtifactStatus(releaseXmlBean);
  }
View Full Code Here

TOP

Related Classes of net.sourceforge.squirrel_sql.client.update.xmlbeans.ReleaseXmlBean

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.