26
26
import org .testng .remote .RemoteTestNG ;
27
27
import org .testng .reporters .XMLStringBuffer ;
28
28
import org .testng .xml .LaunchSuite ;
29
- import org .testng .xml .Parser ;
29
+ import org .testng .xml .internal . Parser ;
30
30
import org .testng .xml .XmlMethodSelector ;
31
31
import org .testng .xml .XmlSuite ;
32
32
@@ -173,7 +173,7 @@ private void createXmlFileFromTemplate(XMLStringBuffer suiteBuffer, String fileN
173
173
// them in the suite we are creating.
174
174
Properties attr = new Properties ();
175
175
put (attr , "name" , s .getName ());
176
- put (attr , "junit" , s .isJUnit ());
176
+ // put(attr, "junit", s.isJUnit());
177
177
put (attr , "verbose" , s .getVerbose ());
178
178
put (attr , "parallel" , s .getParallel ());
179
179
put (attr , "thread-count" , s .getThreadCount ());
@@ -182,7 +182,7 @@ private void createXmlFileFromTemplate(XMLStringBuffer suiteBuffer, String fileN
182
182
put (attr , "skipfailedinvocationcounts" , s .skipFailedInvocationCounts ());
183
183
put (attr , "configfailurepolicy" , s .getConfigFailurePolicy ());
184
184
put (attr , "data-provider-thread-count" , s .getDataProviderThreadCount ());
185
- put (attr , "object-factory" , s .getObjectFactory ());
185
+ put (attr , "object-factory" , s .getObjectFactoryClass ());
186
186
put (attr , "allow-return-values" , s .getAllowReturnValues ());
187
187
put (attr , "preserve-order" , s .getPreserveOrder ());
188
188
put (attr , "group-by-instances" , s .getGroupByInstances ());
0 commit comments