Lines Matching refs:TEST

68 #define TEST( a, b ) fprintf( stderr, "Testing " a ); fprintf( stderr, b ? "passed\n" : "FAILED\n" )  macro
399 TEST( "initial contents (none): ", xClipboard->getContents().is() == sal_False ); in main()
402 TEST( "current clipboard contents: ", xContents == xClipboard->getContents() ); in main()
406TEST( "if received changedContents notifications: ", pListener->receivedChangedContentsEvents() > … in main()
407TEST( "if received exactly 1 changedContents notification: ", pListener->receivedChangedContentsEv… in main()
408TEST( "if received changedContents notification for correct clipboard: ", pListener->changedConten… in main()
409TEST( "if received changedContents notification for correct clipboard: ", pListener->changedConten… in main()
413 TEST( "if received lostOwnership message(s): ", pOwner->receivedLostOwnerships() > 0 ); in main()
414 TEST( "if received exactly 1 lostOwnership message: ", pOwner->receivedLostOwnerships() == 1 ); in main()
415TEST( "if received lostOwnership message for the correct clipboard: ", pOwner->lostOwnershipClipbo… in main()
416TEST( "if received lostOwnership message for the correct transferable: ", pOwner->lostOwnershipTra… in main()
417 TEST( "current clipboard contents (none): ", xClipboard->getContents().is() == sal_False ); in main()
421TEST( "if received changedContents notifications: ", pListener->receivedChangedContentsEvents() > … in main()
422TEST( "if received exactly 1 changedContents notification: ", pListener->receivedChangedContentsEv… in main()
423TEST( "if received changedContents notification for correct clipboard: ", pListener->changedConten… in main()
424TEST( "if received changedContents notification for correct transferable: ", ! pListener->changedC… in main()
428TEST( "that no further lostOwnership messages were received: ", pOwner->receivedLostOwnerships() =… in main()
429 TEST( "current clipboard contents: ", xContents == xClipboard->getContents() ); in main()
433TEST( "if received changedContents notifications: ", pListener->receivedChangedContentsEvents() > … in main()
434TEST( "if received exactly 1 changedContents notification: ", pListener->receivedChangedContentsEv… in main()
435TEST( "if received changedContents notification for correct clipboard: ", pListener->changedConten… in main()
436TEST( "if received changedContents notification for correct transferable: ", pListener->changedCon… in main()
441TEST( "that no further lostOwnership messages were received: ", pOwner->receivedLostOwnerships() =… in main()
442 TEST( "current clipboard contents (none): ", xClipboard->getContents().is() == sal_False ); in main()
446TEST( "if received changedContents notifications: ", pListener->receivedChangedContentsEvents() > … in main()
447TEST( "if received exactly 1 changedContents notification: ", pListener->receivedChangedContentsEv… in main()
448TEST( "if received changedContents notification for correct clipboard: ", pListener->changedConten… in main()
449TEST( "if received changedContents notification for correct transferable: ", ! pListener->changedC… in main()
467TEST( "initial number of clipboards (0): ", xClipboardManager->listClipboardNames().getLength() ==… in main()
469TEST( "number of inserted clipboards (1): ", xClipboardManager->listClipboardNames().getLength() =… in main()
470TEST( "name of inserted clipboard (generic): ", xClipboardManager->listClipboardNames()[0] == OUSt… in main()
471TEST( "inserted clipboard instance: ", xClipboardManager->getClipboard( OUString::createFromAscii(… in main()
473TEST( "number of inserted clipboards (0): ", xClipboardManager->listClipboardNames().getLength() =… in main()