Coverage Report - org.eclipse.swtbot.swt.finder.SWTBotInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
SWTBotInfo
0%
0/9
N/A
1
 
 1  
 /*******************************************************************************
 2  
  * Copyright (c) 2009 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.swt.finder;
 12  
 
 13  
 import org.eclipse.swt.SWT;
 14  
 
 15  
 /**
 16  
  * Dumps information useful for providing debug info.
 17  
  * 
 18  
  * @author Ketan Padegaonkar <KetanPadegaonkar [at] gmail [dot] com>
 19  
  * @version $Id$
 20  
  */
 21  0
 public class SWTBotInfo {
 22  
 
 23  
         private static final String        VERSION        = "2.0.5.20111003_1754-3676ac8-dev-e36";
 24  
 
 25  
         /**
 26  
          * Prints out some platform specific information useful for diagnosis.
 27  
          */
 28  
         public static void printInfo() {
 29  0
                 System.out.println("--- Begin SWTBot Info ---");
 30  0
                 System.out.println("SWTBot version: " + VERSION);
 31  0
                 System.out.println("SWT Version: " + SWT.getVersion());
 32  0
                 System.out.println("SWT Platform: " + SWT.getPlatform());
 33  0
                 System.out.println("Operating System: " + System.getProperty("os.name") + "/" + System.getProperty("os.arch"));
 34  0
                 System.out.println("Version " + System.getProperty("os.version"));
 35  0
                 System.out.println("--- End SWTBot Info ---");
 36  0
         }
 37  
 
 38  
 }