Lines Matching refs:testFile

522 	::osl::File       testFile( str );  in checkFile()
526 nError1 = testFile.open ( OpenFlag_Read ); in checkFile()
546 nError2 = testFile.write( pBuffer_Char, 10, nCount_write ); in checkFile()
555 nError2 = testFile.close( ); in checkFile()
580 ::osl::File testFile( str ); in ifFileExist()
581 bCheckResult = ( osl::FileBase::E_None == testFile.open( OpenFlag_Read ) ); in ifFileExist()
607 ::osl::File testFile( str ); in ifFileCanWrite()
608 bCheckResult = (osl::FileBase::E_None == testFile.open( OpenFlag_Write )); in ifFileCanWrite()
1572 ::osl::File testFile( *pUStr_FileURL ); in TEST_F()
1574 nError2 = testFile.open( OpenFlag_Create ); in TEST_F()
1587 ::osl::File testFile( *pUStr_FileURL ); in TEST_F()
1588 nError2 = testFile.open( OpenFlag_Create ); in TEST_F()
1617 ::osl::File testFile( *pUStr_FileURL ); in TEST_F()
1618 nError2 = testFile.open( OpenFlag_Create ); in TEST_F()
3391 ::osl::File testFile( aTmpName4 ); in TEST_F()
3393 ::osl::FileBase::RC nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in TEST_F()
3394 ::osl::FileBase::RC nError2 = testFile.close( ); in TEST_F()
3400 ::osl::File testFile( aTmpName5 ); in TEST_F()
3404 ::osl::FileBase::RC nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in TEST_F()
3405 ::osl::FileBase::RC nError2 = testFile.write( buffer, 30, nCount ); in TEST_F()
3406 testFile.close( ); in TEST_F()
3440 ::osl::File testFile( aTmpName4 ); in TEST_F()
3442 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in TEST_F()
3443 nError2 = testFile.close( ); in TEST_F()
3451 ::osl::File testFile( aTmpName3 ); in TEST_F()
3453 nError1 = testFile.open( OpenFlag_Read ); in TEST_F()
3460 ::osl::File testFile( aCanURL1 ); in TEST_F()
3462 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in TEST_F()
3471 ::osl::File testFile( aTestFile ); in TEST_F()
3473 nError1 = testFile.open( OpenFlag_Create ); in TEST_F()
3477 testFile.close( ); in TEST_F()
3486 ::osl::File testFile( aTmpName4 ); in TEST_F()
3488 nError1 = testFile.open( OpenFlag_Create ); in TEST_F()
3495 ::osl::File testFile( aCanURL1 ); in TEST_F()
3500 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write | OpenFlag_Create ); in TEST_F()
3501 nError2 = testFile.write( buffer_write, 30, nCount_write ); in TEST_F()
3502 ::osl::FileBase::RC nError4 = testFile.setPos( Pos_Absolut, 0 ); in TEST_F()
3504 nError3 = testFile.read( buffer_read, 10, nCount_read ); in TEST_F()
3506 ::osl::FileBase::RC nError5 = testFile.close( ); in TEST_F()
3508 ::osl::FileBase::RC nError6 = testFile.remove( aCanURL1 ); in TEST_F()
3546 ::osl::File testFile( aTmpName4 ); in TEST_F()
3548 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in TEST_F()
3551 nError2 = testFile.close( ); in TEST_F()
3558 ::osl::File testFile( aTmpName4 ); in TEST_F()
3560 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in TEST_F()
3563 nError2 = testFile.close( ); in TEST_F()
3565 nError3 = testFile.setPos( Pos_Absolut, 0 ); in TEST_F()
3590 ::osl::File testFile( aTmpName4 ); in SetUp()
3592 nError1 = testFile.open( OpenFlag_Write ); in SetUp()
3594 nError1 = testFile.write( pBuffer_Char, sizeof( pBuffer_Char ), nCount_write ); in SetUp()
3596 nError1 = testFile.close( ); in SetUp()
3610 ::osl::File testFile( aTmpName4 ); in TEST_F()
3613 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in TEST_F()
3615 nError1 = testFile.setPos( Pos_Absolut, 26 ); in TEST_F()
3617 nError1 = testFile.read( buffer_read, 1, nCount_read ); in TEST_F()
3619 nError1 = testFile.close( ); in TEST_F()
3627 ::osl::File testFile( aTmpName4 ); in TEST_F()
3630 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in TEST_F()
3632 nError1 = testFile.setPos( Pos_Absolut, sizeof( pBuffer_Char ) - 2 ); in TEST_F()
3634 nError1 = testFile.setPos( Pos_Current, 0); in TEST_F()
3636 nError1 = testFile.read( buffer_read, 1, nCount_read ); in TEST_F()
3638 nError1 = testFile.close( ); in TEST_F()
3646 ::osl::File testFile( aTmpName4 ); in TEST_F()
3649 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in TEST_F()
3652 nError1 = testFile.setPos( Pos_End, -100 ); in TEST_F()
3655 nError1 = testFile.setPos( Pos_End, -53 ); in TEST_F()
3657 nError1 = testFile.read( buffer_read, 1, nCount_read ); in TEST_F()
3659 nError1 = testFile.close( ); in TEST_F()
3684 ::osl::File testFile( aTmpName4 ); in SetUp()
3686 nError1 = testFile.open( OpenFlag_Write ); in SetUp()
3688 nError1 = testFile.write( pBuffer_Char, sizeof( pBuffer_Char ), nCount_write ); in SetUp()
3690 nError1 = testFile.close( ); in SetUp()
3704 ::osl::File testFile( aTmpName4 ); in TEST_F()
3707 nError1 = testFile.getPos( nFilePointer ); in TEST_F()
3710 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in TEST_F()
3713 nError1 = testFile.setPos( Pos_Absolut, 26 ); in TEST_F()
3715 nError1 = testFile.getPos( nFilePointer ); in TEST_F()
3718 nError1 = testFile.close( ); in TEST_F()
3743 ::osl::File testFile( aTmpName4 ); in SetUp()
3745 nError1 = testFile.open( OpenFlag_Write ); in SetUp()
3747 nError1 = testFile.write( pBuffer_Char, sizeof( pBuffer_Char ), nCount_write ); in SetUp()
3749 nError1 = testFile.close( ); in SetUp()
3763 ::osl::File testFile( aTmpName4 ); in TEST_F()
3768 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in TEST_F()
3771 nError1 = testFile.setPos( Pos_End, 0 ); in TEST_F()
3773 nError1 = testFile.isEndOfFile( pEOF ); in TEST_F()
3776 nError1 = testFile.close( ); in TEST_F()
3784 ::osl::File testFile( aTmpName4 ); in TEST_F()
3789 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in TEST_F()
3792 nError1 = testFile.setPos( Pos_Absolut, 0 ); in TEST_F()
3797 nError1 = testFile.isEndOfFile( pEOF ); in TEST_F()
3799 nError1 = testFile.setPos( Pos_Current, 1 ); in TEST_F()
3802 nError1 = testFile.getPos( nFilePointer ); in TEST_F()
3805 nError1 = testFile.close( ); in TEST_F()
3830 ::osl::File testFile( aTmpName4 ); in SetUp()
3832 nError1 = testFile.open( OpenFlag_Write ); in SetUp()
3834 nError1 = testFile.write( pBuffer_Char, sizeof( pBuffer_Char ), nCount_write ); in SetUp()
3836 nError1 = testFile.close( ); in SetUp()
3850 ::osl::File testFile( aTmpName4 ); in TEST_F()
3856 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in TEST_F()
3860 nError1 = testFile.setSize( 100 ); in TEST_F()
3864 nError1 = testFile.setPos( Pos_End, 0 ); in TEST_F()
3866 nError1 = testFile.getPos( nFilePointer ); in TEST_F()
3869 nError1 = testFile.close( ); in TEST_F()
3877 ::osl::File testFile( aTmpName4 ); in TEST_F()
3883 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in TEST_F()
3887 nError1 = testFile.setSize( 10 ); in TEST_F()
3891 nError1 = testFile.setPos( Pos_End, 0 ); in TEST_F()
3893 nError1 = testFile.getPos( nFilePointer ); in TEST_F()
3896 nError1 = testFile.close( ); in TEST_F()
3948 ::osl::File testFile( aTmpName4 ); in SetUp()
3950 nError1 = testFile.open( OpenFlag_Write ); in SetUp()
3952 nError1 = testFile.write( pBuffer_Char, sizeof( pBuffer_Char ), nCount_write ); in SetUp()
3954 nError1 = testFile.close( ); in SetUp()
3968 ::osl::File testFile( aTmpName4 ); in TEST_F()
3973 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in TEST_F()
3976 nError1 = testFile.read( buffer_read, 10, nCount_read ); in TEST_F()
3978 nError1 = testFile.getPos( nFilePointer ); in TEST_F()
3981 nError1 = testFile.close( ); in TEST_F()
3989 ::osl::File testFile( aTmpName4 ); in TEST_F()
3994 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in TEST_F()
3997 nError1 = testFile.setPos( Pos_Absolut, 26 ); in TEST_F()
3999 nError1 = testFile.read( buffer_read, 26, nCount_read ); in TEST_F()
4001 nError1 = testFile.getPos( nFilePointer ); in TEST_F()
4004 nError1 = testFile.close( ); in TEST_F()
4037 ::osl::File testFile( aTmpName6 ); in TEST_F()
4041 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in TEST_F()
4045 nError1 = testFile.write( pBuffer_Char, 10, nCount_write ); in TEST_F()
4048 nError1 = testFile.getPos( nFilePointer ); in TEST_F()
4051 nError1 = testFile.setPos( Pos_Absolut, 0 ); in TEST_F()
4053 nError1 = testFile.read( buffer_read, 10, nCount_read ); in TEST_F()
4056 nError1 = testFile.close( ); in TEST_F()
4083 ::osl::File testFile( aTmpName6 ); in SetUp()
4089 nError1 = testFile.open( OpenFlag_Write ); in SetUp()
4094 nError1 = testFile.write( ppStrSeq[nCount], strlen( ppStrSeq[nCount] ), nCount_write ); in SetUp()
4098 nError1 = testFile.close( ); in SetUp()
4111 ::osl::File testFile( aTmpName6 ); in TEST_F()
4113 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in TEST_F()
4115 nError1 = testFile.readLine( aSequence ); in TEST_F()
4124 ::osl::File testFile( aTmpName6 ); in TEST_F()
4128 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in TEST_F()
4132 nError1 = testFile.readLine( aSequence ); in TEST_F()
4135 nError1 = testFile.isEndOfFile( pEOF ); in TEST_F()
4161 ::osl::File testFile( aTmpName4 ); in SetUp()
4163 nError1 = testFile.open( OpenFlag_Write ); in SetUp()
4165 nError1 = testFile.write( pBuffer_Char, sizeof( pBuffer_Char ), nCount_write ); in SetUp()
4167 nError1 = testFile.close( ); in SetUp()
4181 ::osl::File testFile( aTmpName6 ); in TEST_F()
4187 nError1 = testFile.open( OpenFlag_Create ); in TEST_F()
4279 ::osl::File testFile( aTmpName4 ); in SetUp()
4281 nError1 = testFile.open( OpenFlag_Write ); in SetUp()
4283 nError1 = testFile.write( pBuffer_Char, sizeof( pBuffer_Char ), nCount_write ); in SetUp()
4285 nError1 = testFile.close( ); in SetUp()
4303 ::osl::File testFile( aCanURL1 ); in TEST_F()
4304 nError2 = testFile.open( OpenFlag_Create ); in TEST_F()
4423 ::osl::File testFile( aTmpName4 ); in SetUp()
4425 nError1 = testFile.open( OpenFlag_Write ); in SetUp()
4427 nError1 = testFile.write( pBuffer_Char, sizeof( pBuffer_Char ), nCount_write ); in SetUp()
4429 nError1 = testFile.close( ); in SetUp()
4446 ::osl::File testFile( aTmpName4 ); in TEST_F()
4447 nError2 = testFile.open( OpenFlag_Create ); in TEST_F()
4730 ::osl::File testFile( aTmpName6 ); in TEST_F()