https://bugs.documentfoundation.org/show_bug.cgi?id=108100

            Bug ID: 108100
           Summary: Application crashing the while selecting the test case
                    from the Tree Hierarchy in Test runner application
           Product: cppunit
           Version: 1.13
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]

Hi,

We have used CPPUnit 1.13.2 version in Win 7, VS2008 32 bit application and it
is working fine.

but we are facing issue with  CPPUnit 1.13.2 version to test our application in
Win10 ,VS2013 64 bit . 

I have created the testing application using CPPUnit 1.13.2 and compilation
success under Win10,VS2013 64 bit.

Testing tool is crashed (Memory access violation ) while selecting the test
case from the TreeHierarchy Dlg under testrunner application.

I have debugged the application and found the issues as in below
File Name : $\cppunit-1.13.2\src\msvc6\testrunner\TreeHierarchyDlg.cpp
issue 1: 
Function Name : 
HTREEITEM TreeHierarchyDlg::addTest( CPPUNIT_NS::Test *test, 
                           HTREEITEM hParent )
{
  ....
  if ( hItem != NULL )
  {
    VERIFY( m_treeTests.SetItemData( hItem, (DWORD)test ) );
   ...
 }
  return hItem;
}
issue 2:
CPPUNIT_NS::Test *
TreeHierarchyDlg::findSelectedTest()
{
  HTREEITEM hItem = m_treeTests.GetSelectedItem();
  if ( hItem != NULL )
  {
    DWORD data;
    VERIFY( data = m_treeTests.GetItemData( hItem ) );
    ..
  }
  return NULL;
}

In both function DWORD should be DWORD_PTR as per the VS 2013 64 bit version.
Kindly let me know is this issue already fixed ? if yes let me know where to
get the updated version.

Is CPPUnit support the Win10 ,VS2013 64bit version ?

Regards
Kumar Mamidi

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to