File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -182,12 +182,12 @@ private void GenerateCaseCategoryFile()
182182 /// <returns>Returns case name(key) and categories(value)</returns>
183183 private Dictionary < string , List < string > > GetTestCaseCategories ( )
184184 {
185- Dictionary < string , List < string > > testCases = new Dictionary < string , List < string > > ( ) ;
185+ Dictionary < string , List < string > > testCases = new Dictionary < string , List < string > > ( ) ;
186186 DirectoryInfo info = new DirectoryInfo ( Directory . GetCurrentDirectory ( ) ) ;
187187 bool existBatch = false ;
188188 if ( info . FullName . EndsWith ( "Batch" ) )
189189 existBatch = true ;
190-
190+
191191 string fullPath = existBatch ? info . Parent . FullName : info . FullName ;
192192 foreach ( string dllPath in dllFiles )
193193 {
@@ -340,9 +340,9 @@ private List<string> GetCaptureFilesPath()
340340 existBatch = true ;
341341 string fullPath = existBatch ? info . Parent . FullName : info . FullName ;
342342 string cfgFolder = Path . Combine ( fullPath , "bin" ) ;
343- string [ ] ptfconfigFiles = Directory . GetFiles ( cfgFolder , "*.ptfconfig" , SearchOption . TopDirectoryOnly ) ;
344343 try
345344 {
345+ string [ ] ptfconfigFiles = Directory . GetFiles ( cfgFolder , "*.ptfconfig" , SearchOption . TopDirectoryOnly ) ;
346346 foreach ( string configFile in ptfconfigFiles )
347347 {
348348 XmlDocument configXml = new XmlDocument ( ) ;
You can’t perform that action at this time.
0 commit comments