/******************************************************************************* * Copyright (c) 2016 Red Hat, Inc. * Distributed under license by Red Hat, Inc. All rights reserved. * This program is made available under the terms of the * Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html * * Contributor: * Red Hat, Inc. - initial API and implementation ******************************************************************************/ package org.jboss.tools.docker.ui.bot.test.image; import org.jboss.tools.docker.reddeer.ui.DockerImagesTab; import org.junit.After; import org.junit.Test; /** * * @author jkopriva * */ public class BuildImageTest extends AbstractImageBotTest { @Test public void testBuildImage() { getConnection(); DockerImagesTab imageTab = openDockerImagesTab(); buildImage(IMAGE_TEST_BUILD, DOCKERFILE_FOLDER, imageTab); assertConsoleSuccess(); } @After public void after() { deleteImageContainer(IMAGE_TEST_BUILD); cleanUpWorkspace(); } }