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()
406 …TEST( "if received changedContents notifications: ", pListener->receivedChangedContentsEvents() > … in main()
407 …TEST( "if received exactly 1 changedContents notification: ", pListener->receivedChangedContentsEv… in main()
408 …TEST( "if received changedContents notification for correct clipboard: ", pListener->changedConten… in main()
409 …TEST( "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()
415 …TEST( "if received lostOwnership message for the correct clipboard: ", pOwner->lostOwnershipClipbo… in main()
416 …TEST( "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()
421 …TEST( "if received changedContents notifications: ", pListener->receivedChangedContentsEvents() > … in main()
422 …TEST( "if received exactly 1 changedContents notification: ", pListener->receivedChangedContentsEv… in main()
423 …TEST( "if received changedContents notification for correct clipboard: ", pListener->changedConten… in main()
424 …TEST( "if received changedContents notification for correct transferable: ", ! pListener->changedC… in main()
428 …TEST( "that no further lostOwnership messages were received: ", pOwner->receivedLostOwnerships() =… in main()
429 TEST( "current clipboard contents: ", xContents == xClipboard->getContents() ); in main()
433 …TEST( "if received changedContents notifications: ", pListener->receivedChangedContentsEvents() > … in main()
434 …TEST( "if received exactly 1 changedContents notification: ", pListener->receivedChangedContentsEv… in main()
435 …TEST( "if received changedContents notification for correct clipboard: ", pListener->changedConten… in main()
436 …TEST( "if received changedContents notification for correct transferable: ", pListener->changedCon… in main()
441 …TEST( "that no further lostOwnership messages were received: ", pOwner->receivedLostOwnerships() =… in main()
442 TEST( "current clipboard contents (none): ", xClipboard->getContents().is() == sal_False ); in main()
446 …TEST( "if received changedContents notifications: ", pListener->receivedChangedContentsEvents() > … in main()
447 …TEST( "if received exactly 1 changedContents notification: ", pListener->receivedChangedContentsEv… in main()
448 …TEST( "if received changedContents notification for correct clipboard: ", pListener->changedConten… in main()
449 …TEST( "if received changedContents notification for correct transferable: ", ! pListener->changedC… in main()
467 …TEST( "initial number of clipboards (0): ", xClipboardManager->listClipboardNames().getLength() ==… in main()
469 …TEST( "number of inserted clipboards (1): ", xClipboardManager->listClipboardNames().getLength() =… in main()
470 …TEST( "name of inserted clipboard (generic): ", xClipboardManager->listClipboardNames()[0] == OUSt… in main()
471 …TEST( "inserted clipboard instance: ", xClipboardManager->getClipboard( OUString::createFromAscii(… in main()
473 …TEST( "number of inserted clipboards (0): ", xClipboardManager->listClipboardNames().getLength() =… in main()