Examples of Prueba


Examples of cat.quickdb.model.Prueba

        Assert.assertTrue(value);
    }

    @Test
    public void testCreateTableSimple() {
        Prueba prueba = new Prueba();
        prueba.setName("test");
        boolean value = admin.save(prueba);

        Assert.assertTrue(value);
    }
View Full Code Here

Examples of cat.quickdb.model.Prueba

    @Test
    public void testCreateTableComposed() {
        SuperPrueba sup = new SuperPrueba();
        sup.setName("superPrueba");

        Prueba prueba = new Prueba();
        prueba.setName("test Prueba Composed");
        sup.setPrueba(prueba);
        boolean value = admin.save(sup);

        Assert.assertTrue(value);
    }
View Full Code Here

Examples of cat.quickdb.model.Prueba

    }

    @Test
    public void testObtainAll(){
        ArrayList array = new ArrayList();
        array.add(new Prueba("obtainAll1"));
        array.add(new Prueba("obtainAll2"));
        array.add(new Prueba("obtainAll3"));
        admin.saveAll(array);

        ArrayList results = admin.obtainAll(Prueba.class, "name like 'obtainAll%'");
        Assert.assertTrue((results.size() >= 3));
    }
View Full Code Here

Examples of quickdb.model.Prueba

        value = admin.delete(per);
        System.out.println(value);
    }

    public void testCreateTableSimple() {
        Prueba prueba = new Prueba();
        prueba.setName("test");
        boolean value = admin.save(prueba);

        System.out.println(value);
    }
View Full Code Here

Examples of quickdb.model.Prueba

    public void testCreateTableComposed() {
        SuperPrueba sup = new SuperPrueba();
        sup.setName("superPrueba");

        Prueba prueba = new Prueba();
        prueba.setName("test Prueba Composed");
        sup.setPrueba(prueba);
        boolean value = admin.save(sup);

        System.out.println(value);
    }
View Full Code Here

Examples of quickdb.model.Prueba

        System.out.println(5 == ((Page)b.getPage().get(1)).getPageNumber());
    }

    public void testObtainAll(){
        ArrayList array = new ArrayList();
        array.add(new Prueba("obtainAll1"));
        array.add(new Prueba("obtainAll2"));
        array.add(new Prueba("obtainAll3"));
        admin.saveAll(array);

        ArrayList results = admin.obtainAll(Prueba.class, "name like 'obtainAll%'");
        System.out.println((results.size() >= 3));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.