Lines Matching refs:check
162 static bool check( bool b , string message ) in check() method in cs_testobj.BridgeTest
171 check( rData1.Bool == rData2.Bool, "### bool does not match!" ); in equals()
172 check( rData1.Char == rData2.Char, "### char does not match!" ); in equals()
173 check( rData1.Byte == rData2.Byte, "### byte does not match!" ); in equals()
174 check( rData1.Short == rData2.Short, "### short does not match!" ); in equals()
175 check( rData1.UShort == rData2.UShort, "### unsigned short does not match!" ); in equals()
176 check( rData1.Long == rData2.Long, "### long does not match!" ); in equals()
177 check( rData1.ULong == rData2.ULong, "### unsigned long does not match!" ); in equals()
178 check( rData1.Hyper == rData2.Hyper, "### hyper does not match!" ); in equals()
179 check( rData1.UHyper == rData2.UHyper, "### unsigned hyper does not match!" ); in equals()
180 check( rData1.Float == rData2.Float, "### float does not match!" ); in equals()
181 check( rData1.Double == rData2.Double, "### double does not match!" ); in equals()
182 check( rData1.Enum == rData2.Enum, "### enum does not match!" ); in equals()
183 check( rData1.String == rData2.String, "### string does not match!" ); in equals()
184 check( rData1.Interface == rData2.Interface, "### interface does not match!" ); in equals()
185 check( compareData(rData1.Any, rData2.Any), "### any does not match!" ); in equals()
350 check( xLBT != null, "### no test interface!" ); in performTest()
368 bRet = check( aData.Any.Value == xI, "### unexpected any!" ) && bRet; in performTest()
369 bRet = check( !(aData.Any.Value != xI), "### unexpected any!" ) && bRet; in performTest()
414 …bRet = check( compareData( aData, aRet ) && compareData( aData, aRet2 ) , "getValues test") && bRe… in performTest()
429 bRet = check( in performTest()
443 …bRet = check( compareData( aData, aRet ) && compareData( aData, aRet2 ) && compareData( aData, aGV… in performTest()
485 …bRet = check( compareData( aData, aRet ) && compareData( aData, aRet2 ) , "struct comparison test"… in performTest()
487 bRet = check(performSequenceTest(xLBT), "sequence test") && bRet; in performTest()
490 bRet = check( performAnyTest( xLBT , aData ) , "any test" ) && bRet; in performTest()
493 bRet = check( performSequenceOfCallTest( xLBT ) , "sequence of call test" ) && bRet; in performTest()
496 bRet = check( performRecursiveCallTest( xLBT ) , "recursive test" ) && bRet; in performTest()
509 bRet &= check(false, "getRaiseAttr1 did not throw"); in performTest()
514 bRet &= check(false, "getRaiseAttr1 threw wrong type"); in performTest()
518 bRet &= check(false, "setRaiseAttr1 did not throw"); in performTest()
521 bRet &= check(false, "setRaiseAttr1 threw wrong type"); in performTest()
525 bRet &= check(false, "getRaiseAttr2 did not throw"); in performTest()
528 bRet &= check(false, "getRaiseAttr2 threw wrong type"); in performTest()
534 bRet &= check( in performTest()
539 bRet &= check((long)poly.member == 12345L, "transportPolyUnsignedHyper"); in performTest()
547 bRet &= check( in performTest()
552 bRet &= check(v0 == 33, "transportPolySequence, element 0"); in performTest()
555 bRet &= check( in performTest()
560 bRet &= check(false, "transportPolySequence"); in performTest()
568 bRet &= check(((int) s.member) == 0, "getNullPolyLong"); in performTest()
572 bRet &= check(((string) s.member).Length == 0, in performTest()
576 bRet &= check(((Type) s.member) == typeof(void), in performTest()
583 bRet &= check(nullAny.Type == typeof(void), in performTest()
588 bRet &= check(((bool[]) s.member).Length == 0, in performTest()
592 bRet &= check(((TestEnum) s.member) == TestEnum.TEST, in performTest()
596 bRet &= check(((TestStruct) s.member).member == 0, in performTest()
599 bRet &= check(s.member == null, "getNullPolyInterface"); in performTest()
602 bRet &= check(((TestBadEnum)s.member) == TestBadEnum.M, "getNullPolyBadEnum"); in performTest()
606 bRet &= check(false, "getNullPolyXXX, InvalidCastException"); in performTest()
671 bRet = check( compareData(seqSeqRet, arLong3[0]), "sequence test") && bRet; in performSequenceTest()
673 bRet = check( compareData(seqSeqRet2, arLong3), "sequence test") && bRet; in performSequenceTest()
675 bRet = check( compareData(seqAnyRet, arAny), "sequence test") && bRet; in performSequenceTest()
677 bRet = check( compareData(seqBoolRet, arBool), "sequence test") && bRet; in performSequenceTest()
679 bRet = check( compareData(seqByteRet, arByte), "sequence test") && bRet; in performSequenceTest()
681 bRet = check( compareData(seqCharRet, arChar), "sequence test") && bRet; in performSequenceTest()
683 bRet = check( compareData(seqShortRet, arShort), "sequence test") && bRet; in performSequenceTest()
685 bRet = check( compareData(seqLongRet, arLong), "sequence test") && bRet; in performSequenceTest()
687 bRet = check( compareData(seqHyperRet,arHyper), "sequence test") && bRet; in performSequenceTest()
689 bRet = check( compareData(seqFloatRet, arFloat), "sequence test") && bRet; in performSequenceTest()
691 bRet = check( compareData(seqDoubleRet, arDouble), "sequence test") && bRet; in performSequenceTest()
693 bRet = check( compareData(seqEnumRet, arEnum), "sequence test") && bRet; in performSequenceTest()
695 bRet = check( compareData(seqUShortRet, arUShort), "sequence test") && bRet; in performSequenceTest()
697 bRet = check( compareData(seqULongRet, arULong), "sequence test") && bRet; in performSequenceTest()
699 bRet = check( compareData(seqUHyperRet, arUHyper), "sequence test") && bRet; in performSequenceTest()
701 bRet = check( compareData(seqObjectRet, arObject), "sequence test") && bRet; in performSequenceTest()
703 bRet = check( compareData(seqStringRet, arString), "sequence test") && bRet; in performSequenceTest()
705 bRet = check( compareData(seqStructRet, arStruct), "sequence test") && bRet; in performSequenceTest()
737 bRet = check( in performSequenceTest()
780 bRet = check( in performSequenceTest()
803 bRet = check( compareData(seqSeqRet, _arLong2), "sequence test") && bRet; in performSequenceTest()
806 bRet = check( compareData(seqSeqRet2, _arLong3), "sequence test") && bRet; in performSequenceTest()
809 bRet = check( compareData(seqAnyRet, _arAny), "sequence test") && bRet; in performSequenceTest()
812 bRet = check( compareData(seqBoolRet, _arBool), "sequence test") && bRet; in performSequenceTest()
815 bRet = check( compareData(seqByteRet, _arByte), "sequence test") && bRet; in performSequenceTest()
818 bRet = check( compareData(seqCharRet, _arChar), "sequence test") && bRet; in performSequenceTest()
821 bRet = check( compareData(seqShortRet, _arShort), "sequence test") && bRet; in performSequenceTest()
824 bRet = check( compareData(seqLongRet, _arLong), "sequence test") && bRet; in performSequenceTest()
827 bRet = check( compareData(seqHyperRet, _arHyper), "sequence test") && bRet; in performSequenceTest()
830 bRet = check( compareData(seqFloatRet, _arFloat), "sequence test") && bRet; in performSequenceTest()
833 bRet = check( compareData(seqDoubleRet, _arDouble), "sequence test") && bRet; in performSequenceTest()
836 bRet = check( compareData(seqEnumRet, _arEnum), "sequence test") && bRet; in performSequenceTest()
839 bRet = check( compareData(seqUShortRet, _arUShort), "sequence test") && bRet; in performSequenceTest()
842 bRet = check( compareData(seqULongRet, _arULong), "sequence test") && bRet; in performSequenceTest()
845 bRet = check( compareData(seqUHyperRet, _arUHyper), "sequence test") && bRet; in performSequenceTest()
848 bRet = check( compareData(seqObjectRet, _arObject), "sequence test") && bRet; in performSequenceTest()
851 bRet = check( compareData(seqStringRet, _arString), "sequence test") && bRet; in performSequenceTest()
854 bRet = check( compareData(seqStructRet, _arStruct), "sequence test") && bRet; in performSequenceTest()
930 check( false, "### unexpected exception content!" ); in raiseException()
946 check( false, "### unexpected exception content!" ); in raiseException()
965 check( false, "### unexpected exception content!" ); in raiseException()
975 bRet = check( performTest( xLBT ), "standard test" ) && bRet; in perform_test()
976 bRet = check( raiseException( xLBT ) , "exception test" )&& bRet; in perform_test()
977 bRet = check( raiseOnewayException( xLBT ), "oneway exception test" ) && bRet; in perform_test()
978 bRet = check( testObjectMethodsImplemention(xLBT), "object methods test") && bRet; in perform_test()