| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| SWTBotGeneratorMain |
|
| 2.0;2 |
| 1 | /******************************************************************************* | |
| 2 | * Copyright (c) 2008 Ketan Padegaonkar and others. | |
| 3 | * All rights reserved. This program and the accompanying materials | |
| 4 | * are made available under the terms of the Eclipse Public License v1.0 | |
| 5 | * which accompanies this distribution, and is available at | |
| 6 | * http://www.eclipse.org/legal/epl-v10.html | |
| 7 | * | |
| 8 | * Contributors: | |
| 9 | * Ketan Padegaonkar - initial API and implementation | |
| 10 | *******************************************************************************/ | |
| 11 | package org.eclipse.swtbot.generator; | |
| 12 | ||
| 13 | import java.io.File; | |
| 14 | ||
| 15 | /** | |
| 16 | * @author Ketan Padegaonkar <KetanPadegaonkar [at] gmail [dot] com> | |
| 17 | * @version $Id$ | |
| 18 | */ | |
| 19 | 0 | public class SWTBotGeneratorMain { |
| 20 | ||
| 21 | public static void main(String[] args) { | |
| 22 | try { | |
| 23 | 0 | XmlConfigurator.main("widgets.xml", "org.eclipse.swtbot.swt.finder.SWTBot", "SWTBotFactory", new File("../org.eclipse.swtbot.swt.finder/src" )); |
| 24 | 0 | XmlConfigurator.main("widgets-forms.xml", "org.eclipse.swtbot.forms.finder.SWTFormsBot", "SWTBot", new File("../org.eclipse.swtbot.forms.finder/src" )); |
| 25 | 0 | } catch (Exception e) { |
| 26 | 0 | e.printStackTrace(); |
| 27 | } | |
| 28 | 0 | } |
| 29 | } |