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.


On Wed, Sep 25, 2013 at 5:24 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)]);
>
> Wait, this is /another/ main controller for the same window? Envoyé de mon
> iPhone
> … <#1415702483f443da_>
>  Le Sep 25, 2013 à 4:14 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)]);
> @joshpc <https://github.com/joshpc> The controller bit makes sense
> actually. We have Test Run Controller which is the controller for all
> controllers pertaining to test runs. This is identical to the main
> controller, except this is the main controller for test runs. — 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#r6586491>
> .
>