Commits

Anonymous committed affe270

Allow creating a FormParseInit with a specific path to the XForm to open.

  • Participants
  • Parent commits 1ba25fa

Comments (0)

Files changed (1)

File core/test/org/javarosa/core/test/FormParseInit.java

 	public FormParseInit(){
 		this.init();
 	}
-	
+
+	public FormParseInit(String formFileName){
+		this.FORM_NAME = formFileName;
+		this.init();
+	}
+
 	/**
 	 * Set a new form to be parsed (instead of the default), and calls
-	 * init() immediately to parse it.  It is uneccessary to call init() again after
+	 * init() immediately to parse it.  It is unnecessary to call init() again after
 	 * using this method.
 	 * @param uri URI pointing to the xform.
 	 */