They get switched. Main Controller and Test Run Controller are switched by
navigation.


On Wed, Sep 25, 2013 at 5:35 PM, Joshua Tessier <notifications@github.com>wrote:

> In Testasaurus Rex/Testasaurus Rex/Controllers/TREXTestRunController.m:
>
> >  	}
> >  	_categoriesController.project = testRun.parentProject;
> >  	[_categoriesController.tableView reloadData];	
> >  }
> >
> > +#pragma mark - TREXTestRunCommentControllerDelegate Methods
> > +
> > +-(void)controller:(id)controller didAddComment:(TREXTestRunCaseComment *)comment
> > +{
> > +	NSIndexSet *rowIndex = [_testCasesController.tableView selectedRowIndexes];
> > +	NSIndexSet *columnIndex = [NSIndexSet indexSetWithIndex:0];
> > +	dispatch_async(dispatch_get_main_queue(), ^{
> > +		TREXTestRunCase *testRunCase = ((TREXTestRunCase *)[_testCasesController.testRunCases objectForKey:@(_testCase.identifier)]);
>
> I mean is it in the same window, or a different one? Also might be
> worthwhile naming it TestRunMainController Envoyé de mon iPhone
> … <#141570c53c91e8d5_>
>  Le Sep 25, 2013 à 4:26 PM, Julian Nadeau <notifications@github.com> a
> écrit : In Testasaurus Rex/Testasaurus
> Rex/Controllers/TREXTestRunController.m: > } >
> _categoriesController.project = testRun.parentProject; >
> [_categoriesController.tableView reloadData]; > } > > +#pragma mark -
> TREXTestRunCommentControllerDelegate Methods > + >
> +-(void)controller:(id)controller didAddComment:(TREXTestRunCaseComment
> *)comment > +{ > + NSIndexSet *rowIndex = [_testCasesController.tableView
> selectedRowIndexes]; > + NSIndexSet *columnIndex = [NSIndexSet
> indexSetWithIndex:0]; > + dispatch_async(dispatch_get_main_queue(), ^{ > +
> TREXTestRunCase *testRunCase = ((TREXTestRunCase
> *)[_testCasesController.testRunCases objectForKey:@(_testCase.identifier)]);
> No. The main controller is for test case editing. Test Run Controller is
> for test runs. They have a different layout and cannot be the same. … —
> Reply to this email directly or view it on GitHub.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/joshpc/Testosaurus/pull/52/files#r6586862>
> .
>