qa: follow up router API changes in the PNS log player/regression test tool
This commit is contained in:
parent
aa7271e55a
commit
dd1a780d1f
|
@ -67,8 +67,8 @@ void PNS_LOG_PLAYER::createRouter()
|
||||||
const PNS_LOG_FILE::COMMIT_STATE PNS_LOG_PLAYER::GetRouterUpdatedItems()
|
const PNS_LOG_FILE::COMMIT_STATE PNS_LOG_PLAYER::GetRouterUpdatedItems()
|
||||||
{
|
{
|
||||||
PNS_LOG_FILE::COMMIT_STATE state;
|
PNS_LOG_FILE::COMMIT_STATE state;
|
||||||
std::vector<PNS::ITEM*> added, removed;
|
std::vector<PNS::ITEM*> added, removed, heads;
|
||||||
m_router->GetUpdatedItems( removed, added );
|
m_router->GetUpdatedItems( removed, added, heads );
|
||||||
|
|
||||||
//printf("a %d r %d\n", added.size(), removed.size() );
|
//printf("a %d r %d\n", added.size(), removed.size() );
|
||||||
for( auto item : removed )
|
for( auto item : removed )
|
||||||
|
@ -81,6 +81,8 @@ const PNS_LOG_FILE::COMMIT_STATE PNS_LOG_PLAYER::GetRouterUpdatedItems()
|
||||||
state.m_addedItems.insert( item );
|
state.m_addedItems.insert( item );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// fixme: update the state with the head trace (not supported in current testsuite)
|
||||||
|
|
||||||
return state;
|
return state;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -232,8 +232,7 @@ void PNS_LOG_VIEWER_FRAME::drawSimpleShape( SHAPE* aShape, bool aIsSelected, con
|
||||||
case SH_LINE_CHAIN:
|
case SH_LINE_CHAIN:
|
||||||
{
|
{
|
||||||
auto lc = static_cast<SHAPE_LINE_CHAIN*>( aShape );
|
auto lc = static_cast<SHAPE_LINE_CHAIN*>( aShape );
|
||||||
m_overlay->AnnotatedPolyline( *lc, aName,
|
m_overlay->AnnotatedPolyline( *lc, aName, m_showVertices || aIsSelected );
|
||||||
m_showVertices || aIsSelected );
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -746,6 +745,7 @@ static void collapseAllChildren( wxTreeListCtrl* tree )
|
||||||
|
|
||||||
void PNS_LOG_VIEWER_FRAME::updateDumpPanel( int iter )
|
void PNS_LOG_VIEWER_FRAME::updateDumpPanel( int iter )
|
||||||
{
|
{
|
||||||
|
printf("UpdateDUmp %d\n", iter );
|
||||||
if( !m_logPlayer )
|
if( !m_logPlayer )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue