Revision: 3961
Author: janne.t.harkonen
Date: Fri Aug 27 04:39:10 2010
Log: Edited wiki page JavaIntegration through web user interface.
http://code.google.com/p/robotframework/source/detail?r=3961

Modified:
 /wiki/JavaIntegration.wiki

=======================================
--- /wiki/JavaIntegration.wiki  Thu Aug 26 00:48:15 2010
+++ /wiki/JavaIntegration.wiki  Fri Aug 27 04:39:10 2010
@@ -5,26 +5,3 @@
Starting from Robot Framework 2.5.2, RF is distributed also as a jar file. This jar file allows execution of Robot Framework without having Python installed, but it also contains a programmatic entry point for using RF within Java code.

 Currently, an API exists only for test execution.
-
-= Test execution API =
-
-There is currently a very simple class, [http://robotframework.googlecode.com/svn-history/r3918/trunk/doc/java/org/robotframework/JarRobot.html JarRobot] which allows running Robot Framework tests.
-
-Here's a simple example:
-
-{{{
-public class Test {
-
-    public void runTests() {
-        int rc = JarRobot
-                .run(new String[] { "--outputdir", "/tmp", "mytests" });
-        if (rc == 0)
-            System.out.println("All tests passed");
-        else if (rc <= 250)
-            System.out.println(rc + " tests failed.");
-        else
-            System.out.println("Error occurred");
-    }
-
-}
-}}}

Reply via email to