Revision: 3930
Author: janne.t.harkonen
Date: Thu Aug 26 05:52:12 2010
Log: renamed class
http://code.google.com/p/robotframework/source/detail?r=3930

Added:
 /trunk/src/java/org/robotframework/RobotFramework.java
Deleted:
 /trunk/src/java/org/robotframework/JarRobot.java

=======================================
--- /dev/null
+++ /trunk/src/java/org/robotframework/RobotFramework.java Thu Aug 26 05:52:12 2010
@@ -0,0 +1,45 @@
+/* Copyright 2008-2010 Nokia Siemens Networks Oyj
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.robotframework;
+
+import org.robotframework.RunnerFactory;
+import org.robotframework.RobotRunner;
+
+/**
+ *
+ * Entry point for using Robot Framework from Java programs.
+ *
+ */
+public class RobotFramework {
+
+    public static void main(String[] args) {
+        int rc = run(args);
+        System.exit(rc);
+    }
+
+    /**
+     * Runs Robot Framework tests.
+     *
+     * @param args
+     *            The command line options to Robot Framework, for example
+ * ['--outputdir', '/tmp', 'mytestdir']. At least one datasource
+     *            must be specified.
+     */
+    public static int run(String[] args) {
+        RobotRunner runner = new RunnerFactory().createRunner();
+        return runner.run(args);
+    }
+}
=======================================
--- /trunk/src/java/org/robotframework/JarRobot.java Wed Aug 25 09:37:51 2010
+++ /dev/null
@@ -1,31 +0,0 @@
-package org.robotframework;
-
-import org.robotframework.RunnerFactory;
-import org.robotframework.RobotRunner;
-
-/**
- *
- * Entry point for using Robot Framework from Java programs.
- *
- */
-
-public class JarRobot {
-
-    public static void main(String[] args) {
-        int rc = run(args);
-        System.exit(rc);
-    }
-
-    /**
-     * Runs Robot Framework tests.
-     *
-     * @param args
-     *            The command line options to Robot Framework, for example
- * ['--outputdir', '/tmp', 'mytestdir']. At least one datasource
-     *            must be specified.
-     */
-    public static int run(String[] args) {
-        RobotRunner runner = new RunnerFactory().createRunner();
-        return runner.run(args);
-    }
-}

Reply via email to