Package org.owasp.dependencycheck.data.update

Examples of org.owasp.dependencycheck.data.update.NvdCveInfo


    /**
     * Test of save method, of class DatabaseProperties.
     */
    @Test
    public void testSave() throws Exception {
        NvdCveInfo updatedValue = new NvdCveInfo();
        String key = "test";
        long expected = 1337;
        updatedValue.setId(key);
        updatedValue.setTimestamp(expected);
        CveDB cveDB = new CveDB();
        cveDB.open();
        DatabaseProperties instance = cveDB.getDatabaseProperties();
        instance.save(updatedValue);
        //reload the properties
View Full Code Here

TOP

Related Classes of org.owasp.dependencycheck.data.update.NvdCveInfo

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.