Package gov.nysenate.openleg.util

Examples of gov.nysenate.openleg.util.UnpublishListManager


        DataProcessor process = new DataProcessor();
        process.push(storage, ChangeLogger.getEntries(), services);

        // Add the bill to the unpublished bill list
        UnpublishListManager unpublishListManager = new UnpublishListManager();
        unpublishListManager.addUnpublishedBill(billId + '-' + sessionYear);
    }
View Full Code Here


    private UnpublishListManager unpublishListManager;

    @Test
    public void initManager(){
        unpublishListManager = new UnpublishListManager(listDirectory);
    }
View Full Code Here

        unpublishListManager = new UnpublishListManager(listDirectory);
    }

    @Test
    public void addPrintNos(){
        unpublishListManager = new UnpublishListManager(listDirectory);
        unpublishListManager.addUnpublishedBill("A1234-2013");
        unpublishListManager.addUnpublishedBill("A5678-2013");
    }
View Full Code Here

        unpublishListManager.addUnpublishedBill("A5678-2013");
    }

    @Test
    public void addOtherPrintNos(){
        unpublishListManager = new UnpublishListManager(listDirectory);
        unpublishListManager.addUnpublishedBill("S1111-2013");
        unpublishListManager.addUnpublishedBill("S2222-2013");
    }
View Full Code Here

        unpublishListManager.addUnpublishedBill("S2222-2013");
    }

    @Test
    public void getUnpublishedBills(){
        unpublishListManager = new UnpublishListManager(listDirectory);
        Set<String> unpublishedBills = unpublishListManager.getUnpublishedBills();
        logger.info("Unpublished Bills:");
        for(String bill : unpublishedBills){
            logger.info('\t' + bill);
        }
View Full Code Here

TOP

Related Classes of gov.nysenate.openleg.util.UnpublishListManager

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.