Package org.jsynthlib.core.TitleFinder

Examples of org.jsynthlib.core.TitleFinder.FrameWrapper.table()


        Pattern pattern =
                Pattern.compile("(\\d+) Patches and Scenes were deleted");
        guiHandler.installDevice("Roland", "Roland D-50");

        FrameWrapper library = guiHandler.openLibrary();
        JTableFixture table = library.table();
        Thread.sleep(100);

        guiHandler.newPatch(library, "Roland D-50", D50SingleDriver.class,
                listener);
        String[][] contents = table.contents();
View Full Code Here


        assertTrue("XML is file", xml.isFile());

        guiHandler.closeLibrary(library);

        FrameWrapper library2 = guiHandler.openLibrary(patchlib);
        JTableFixture table = library2.table();

        String[][] contents = table.contents();
        assertEquals("Check table size", 3, contents.length);
        TableCell tableCell = TableCell.row(0).column(0);
        table.cell(tableCell).requireValue("D-50");
View Full Code Here

        assertTrue("XML is file", xml.isFile());

        guiHandler.closeLibrary(library);

        FrameWrapper library2 = guiHandler.openLibrary(patchlib);
        JTableFixture table = library2.table();

        String[][] contents = table.contents();
        assertEquals("Check table size", 2, contents.length);
        table.cell(TableCell.row(0).column(0)).requireValue("D-50");
        table.cell(TableCell.row(0).column(3)).requireValue(rolandData1);
View Full Code Here

    public void testCutCopyPasteBetweenLibraries() throws InterruptedException {
        guiHandler.installDevice("Roland", "Roland D-50");
        guiHandler.installDevice("Yamaha", "Yamaha DX7");

        FrameWrapper library = guiHandler.openLibrary();
        JTableFixture table = library.table();
        Thread.sleep(100);

        guiHandler.newPatch(library, "Roland D-50", D50SingleDriver.class,
                listener);
        guiHandler.newPatch(library, "Yamaha DX7",
View Full Code Here

                listener);
        guiHandler.newPatch(library, "Yamaha DX7",
                YamahaDX7VoiceSingleDriver.class, listener);

        FrameWrapper library2 = guiHandler.openLibrary();
        JTableFixture table2 = library2.table();

        assertEquals(2, table.contents().length);
        assertEquals(0, table2.contents().length);

        guiHandler.cutCopyPastePatch(library, 0, 0, library2, false);
View Full Code Here

    @Test
    public void testCutCopyPasteBetweenBanks() throws InterruptedException {
        guiHandler.installDevice("Yamaha", "Yamaha DX7");

        FrameWrapper library = guiHandler.openLibrary();
        JTableFixture table = library.table();
        Thread.sleep(100);

        guiHandler.newPatch(library, "Yamaha DX7",
                YamahaDX7VoiceBankDriver.class, listener);
        FrameWrapper bank1 =
View Full Code Here

                YamahaDX7VoiceBankDriver.class, listener);
        FrameWrapper bank1 =
                guiHandler.openPatchEditor(table, -1, 0, listener, false);
        guiHandler.setPatchName(bank1, 0, 0, "test");
        guiHandler.setPatchName(bank1, 0, 1, "test2");
        bank1.table().cell(TableCell.row(0).column(0))
                .requireValue(Pattern.compile("01 test\\s+"));

        guiHandler.newPatch(library, "Yamaha DX7",
                YamahaDX7VoiceBankDriver.class, listener);
        FrameWrapper bank2 =
View Full Code Here

        guiHandler.cutCopyPastePatch(bank1, 0, 0, bank2, false);

        bank1.table().cell(TableCell.row(0).column(0))
                .requireValue(Pattern.compile("01\\s+"));
        bank2.table().cell(TableCell.row(0).column(0))
                .requireValue(Pattern.compile("01 test\\s+"));

        guiHandler.cutCopyPastePatch(bank1, 0, 1, bank2, true);

        bank1.table().cell(TableCell.row(0).column(1))
View Full Code Here

        guiHandler.cutCopyPastePatch(bank1, 0, 1, bank2, true);

        bank1.table().cell(TableCell.row(0).column(1))
                .requireValue(Pattern.compile("09 test2\\s+"));
        bank2.table().cell(TableCell.row(0).column(1))
                .requireValue(Pattern.compile("09 test2\\s+"));

        guiHandler.closeFrame(bank1, false);
        guiHandler.closeFrame(bank2, false);
        guiHandler.closeLibrary(library);
View Full Code Here

    @Test
    public void testDragNDropBetweenBanks() throws InterruptedException {
        guiHandler.installDevice("Yamaha", "Yamaha DX7");

        FrameWrapper library = guiHandler.openLibrary();
        JTableFixture table = library.table();
        Thread.sleep(100);

        guiHandler.newPatch(library, "Yamaha DX7",
                YamahaDX7VoiceBankDriver.class, listener);
        FrameWrapper bank1 =
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.