Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/mymoney/tests/mymoneymoney-test.cpp
Context not available. | |||||
696 | try { | 696 | try { | ||
---|---|---|---|---|---|
697 | MyMoneyMoney m((int)1, 0); | 697 | MyMoneyMoney m((int)1, 0); | ||
698 | QFAIL("Missing expected exception"); | 698 | QFAIL("Missing expected exception"); | ||
699 | } catch (const MyMoneyException &) { | 699 | } catch (const std::exception &) { | ||
700 | } | 700 | } | ||
701 | 701 | | |||
702 | try { | 702 | try { | ||
703 | MyMoneyMoney m((signed64)1, 0); | 703 | MyMoneyMoney m((signed64)1, 0); | ||
704 | QFAIL("Missing expected exception"); | 704 | QFAIL("Missing expected exception"); | ||
705 | } catch (const MyMoneyException &) { | 705 | } catch (const std::exception &) { | ||
706 | } | 706 | } | ||
707 | } | 707 | } | ||
Context not available. |