Examples of DummyPlugin


Examples of net.opentsdb.plugin.DummyPlugin

  }
 
  @Test
  public void loadSpecificPlugin() throws Exception {
    PluginLoader.loadJAR("plugin_test.jar");
    DummyPlugin plugin = PluginLoader.loadSpecificPlugin(
        "net.opentsdb.plugin.DummyPluginA",
        DummyPlugin.class);
    assertNotNull(plugin);
    assertEquals("Dummy Plugin A", plugin.myname);
  }
View Full Code Here

Examples of net.opentsdb.plugin.DummyPlugin

  }
 
  @Test
  public void loadSpecificPluginImplementationNotFound() throws Exception {
    PluginLoader.loadJAR("plugin_test.jar");
    DummyPlugin plugin = PluginLoader.loadSpecificPlugin(
        "net.opentsdb.plugin.DummyPluginC",
        DummyPlugin.class);
    assertNull(plugin);
  }
View Full Code Here

Examples of net.sourceforge.squirrel_sql.client.plugin.gui.DummyPlugin

     */
    public static void main(String[] args) throws Exception {
        JFrame f = new JFrame();
        f.getContentPane().setLayout(new BorderLayout());
        ApplicationArguments.initialize(new String[0]);
        SQLScriptPreferencesManager.initialize(new DummyPlugin());
        SQLScriptPreferenceBean bean = SQLScriptPreferencesManager.getPreferences();
        final SQLScriptPreferencesPanel p = new SQLScriptPreferencesPanel(bean);
        JScrollPane sp = new JScrollPane(p);
        f.getContentPane().add(sp, BorderLayout.CENTER);
        JButton button = new JButton("Save");
View Full Code Here

Examples of net.sourceforge.squirrel_sql.client.plugin.gui.DummyPlugin

   }

  @Override
   protected PluginQueryTokenizerPreferencesPanel getPrefsPanelToTest() throws PluginException
   {
     prefsManager.initialize(new DummyPlugin(), new OraclePreferenceBean());
     return new OraclePluginPreferencesPanel(prefsManager);
   }
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.