@@ -0,0 +1,1848 @@
+/*%0A * Copyright 2014 the original author or authors.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A * http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage net.kuujo.vertigo.integration;%0A%0Aimport static org.vertx.testtools.VertxAssert.assertTrue;%0A%0Aimport org.junit.AfterClass;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.junit.runners.model.InitializationError;%0Aimport org.vertx.java.core.AsyncResult;%0Aimport org.vertx.java.core.Handler;%0Aimport org.vertx.testtools.JavaClassRunner;%0Aimport org.vertx.testtools.TestVerticle;%0A%0A/**%0A * Tests deploying networks from the command line.%0A *%0A * @author %3Ca href=%22http://github.com/kuujo%22%3EJordan Halterman%3C/a%3E%0A */%0A@RunWith(DeployerTest.DeployerClassRunner.class)%0Apublic class DeployerTest extends TestVerticle %7B%0A%0A  public static class DeployerClassRunner extends JavaClassRunner %7B%0A    static %7B%0A      System.setProperty(%22vertx.mods%22, %22src/test/mods%22);%0A    %7D%0A    public DeployerClassRunner(Class%3C?%3E klass) throws InitializationError %7B%0A      super(klass);%0A    %7D%0A  %7D%0A%0A  @Test%0A  public void testDeploy() %7B%0A    container.deployVerticle(%22test.network%22, new Handler%3CAsyncResult%3CString%3E%3E() %7B%0A      @Override%0A      public void handle(AsyncResult%3CString%3E result) %7B%0A        assertTrue(result.succeeded());%0A      %7D%0A    %7D);%0A  %7D%0A%0A  @AfterClass%0A  public static void afterClass() %7B%0A    System.setProperty(%22vertx.mods%22, %22target/mods%22);%0A  %7D%0A%0A%7D%0A

Add deployer test.