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()
1704 ::osl::File testFile( *pUStr_FileURL ); in createTempFile_001()
1706 nError2 = testFile.open( OpenFlag_Create ); in createTempFile_001()
1720 ::osl::File testFile( *pUStr_FileURL ); in createTempFile_002()
1721 nError2 = testFile.open( OpenFlag_Create ); in createTempFile_002()
1753 ::osl::File testFile( *pUStr_FileURL ); in createTempFile_004()
1754 nError2 = testFile.open( OpenFlag_Create ); in createTempFile_004()
3823 ::osl::File testFile( aTmpName4 ); in ctors_001()
3825 ::osl::FileBase::RC nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in ctors_001()
3826 ::osl::FileBase::RC nError2 = testFile.close( ); in ctors_001()
3833 ::osl::File testFile( aTmpName5 ); in ctors_002()
3837 ::osl::FileBase::RC nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in ctors_002()
3838 ::osl::FileBase::RC nError2 = testFile.write( buffer, 30, nCount ); in ctors_002()
3839 testFile.close( ); in ctors_002()
3878 ::osl::File testFile( aTmpName4 ); in open_001()
3880 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in open_001()
3881 nError2 = testFile.close( ); in open_001()
3890 ::osl::File testFile( aTmpName3 ); in open_002()
3892 nError1 = testFile.open( OpenFlag_Read ); in open_002()
3900 ::osl::File testFile( aCanURL1 ); in open_003()
3902 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in open_003()
3912 ::osl::File testFile( aTestFile ); in open_004()
3914 nError1 = testFile.open( OpenFlag_Create ); in open_004()
3918 testFile.close( ); in open_004()
3928 ::osl::File testFile( aTmpName4 ); in open_005()
3930 nError1 = testFile.open( OpenFlag_Create ); in open_005()
3938 ::osl::File testFile( aCanURL1 ); in open_006()
3943 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write | OpenFlag_Create ); in open_006()
3944 nError2 = testFile.write( buffer_write, 30, nCount_write ); in open_006()
3945 ::osl::FileBase::RC nError4 = testFile.setPos( Pos_Absolut, 0 ); in open_006()
3947 nError3 = testFile.read( buffer_read, 10, nCount_read ); in open_006()
3949 ::osl::FileBase::RC nError5 = testFile.close( ); in open_006()
3951 ::osl::FileBase::RC nError6 = testFile.remove( aCanURL1 ); in open_006()
3999 ::osl::File testFile( aTmpName4 ); in close_001()
4001 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in close_001()
4004 nError2 = testFile.close( ); in close_001()
4012 ::osl::File testFile( aTmpName4 ); in close_002()
4014 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in close_002()
4017 nError2 = testFile.close( ); in close_002()
4019 nError3 = testFile.setPos( Pos_Absolut, 0 ); in close_002()
4051 ::osl::File testFile( aTmpName4 ); in setUp()
4053 nError1 = testFile.open( OpenFlag_Write ); in setUp()
4055 nError1 = testFile.write( pBuffer_Char, sizeof( pBuffer_Char ), nCount_write ); in setUp()
4057 nError1 = testFile.close( ); in setUp()
4071 ::osl::File testFile( aTmpName4 ); in setPos_001()
4074 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in setPos_001()
4076 nError1 = testFile.setPos( Pos_Absolut, 26 ); in setPos_001()
4078 nError1 = testFile.read( buffer_read, 1, nCount_read ); in setPos_001()
4080 nError1 = testFile.close( ); in setPos_001()
4089 ::osl::File testFile( aTmpName4 ); in setPos_002()
4092 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in setPos_002()
4094 nError1 = testFile.setPos( Pos_Absolut, sizeof( pBuffer_Char ) - 2 ); in setPos_002()
4096 nError1 = testFile.setPos( Pos_Current, 0); in setPos_002()
4098 nError1 = testFile.read( buffer_read, 1, nCount_read ); in setPos_002()
4100 nError1 = testFile.close( ); in setPos_002()
4109 ::osl::File testFile( aTmpName4 ); in setPos_003()
4112 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in setPos_003()
4115 nError1 = testFile.setPos( Pos_End, -100 ); in setPos_003()
4118 nError1 = testFile.setPos( Pos_End, -53 ); in setPos_003()
4120 nError1 = testFile.read( buffer_read, 1, nCount_read ); in setPos_003()
4122 nError1 = testFile.close( ); in setPos_003()
4154 ::osl::File testFile( aTmpName4 ); in setUp()
4156 nError1 = testFile.open( OpenFlag_Write ); in setUp()
4158 nError1 = testFile.write( pBuffer_Char, sizeof( pBuffer_Char ), nCount_write ); in setUp()
4160 nError1 = testFile.close( ); in setUp()
4174 ::osl::File testFile( aTmpName4 ); in getPos_001()
4177 nError1 = testFile.getPos( nFilePointer ); in getPos_001()
4180 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in getPos_001()
4183 nError1 = testFile.setPos( Pos_Absolut, 26 ); in getPos_001()
4185 nError1 = testFile.getPos( nFilePointer ); in getPos_001()
4188 nError1 = testFile.close( ); in getPos_001()
4219 ::osl::File testFile( aTmpName4 ); in setUp()
4221 nError1 = testFile.open( OpenFlag_Write ); in setUp()
4223 nError1 = testFile.write( pBuffer_Char, sizeof( pBuffer_Char ), nCount_write ); in setUp()
4225 nError1 = testFile.close( ); in setUp()
4239 ::osl::File testFile( aTmpName4 ); in isEndOfFile_001()
4244 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in isEndOfFile_001()
4247 nError1 = testFile.setPos( Pos_End, 0 ); in isEndOfFile_001()
4249 nError1 = testFile.isEndOfFile( pEOF ); in isEndOfFile_001()
4252 nError1 = testFile.close( ); in isEndOfFile_001()
4261 ::osl::File testFile( aTmpName4 ); in isEndOfFile_002()
4266 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in isEndOfFile_002()
4269 nError1 = testFile.setPos( Pos_Absolut, 0 ); in isEndOfFile_002()
4274 nError1 = testFile.isEndOfFile( pEOF ); in isEndOfFile_002()
4276 nError1 = testFile.setPos( Pos_Current, 1 ); in isEndOfFile_002()
4279 nError1 = testFile.getPos( nFilePointer ); in isEndOfFile_002()
4282 nError1 = testFile.close( ); in isEndOfFile_002()
4313 ::osl::File testFile( aTmpName4 ); in setUp()
4315 nError1 = testFile.open( OpenFlag_Write ); in setUp()
4317 nError1 = testFile.write( pBuffer_Char, sizeof( pBuffer_Char ), nCount_write ); in setUp()
4319 nError1 = testFile.close( ); in setUp()
4333 ::osl::File testFile( aTmpName4 ); in setSize_001()
4339 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in setSize_001()
4343 nError1 = testFile.setSize( 100 ); in setSize_001()
4347 nError1 = testFile.setPos( Pos_End, 0 ); in setSize_001()
4349 nError1 = testFile.getPos( nFilePointer ); in setSize_001()
4352 nError1 = testFile.close( ); in setSize_001()
4361 ::osl::File testFile( aTmpName4 ); in setSize_002()
4367 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in setSize_002()
4371 nError1 = testFile.setSize( 10 ); in setSize_002()
4375 nError1 = testFile.setPos( Pos_End, 0 ); in setSize_002()
4377 nError1 = testFile.getPos( nFilePointer ); in setSize_002()
4380 nError1 = testFile.close( ); in setSize_002()
4440 ::osl::File testFile( aTmpName4 ); in setUp()
4442 nError1 = testFile.open( OpenFlag_Write ); in setUp()
4444 nError1 = testFile.write( pBuffer_Char, sizeof( pBuffer_Char ), nCount_write ); in setUp()
4446 nError1 = testFile.close( ); in setUp()
4460 ::osl::File testFile( aTmpName4 ); in read_001()
4465 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in read_001()
4468 nError1 = testFile.read( buffer_read, 10, nCount_read ); in read_001()
4470 nError1 = testFile.getPos( nFilePointer ); in read_001()
4473 nError1 = testFile.close( ); in read_001()
4482 ::osl::File testFile( aTmpName4 ); in read_002()
4487 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in read_002()
4490 nError1 = testFile.setPos( Pos_Absolut, 26 ); in read_002()
4492 nError1 = testFile.read( buffer_read, 26, nCount_read ); in read_002()
4494 nError1 = testFile.getPos( nFilePointer ); in read_002()
4497 nError1 = testFile.close( ); in read_002()
4536 ::osl::File testFile( aTmpName6 ); in write_001()
4540 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in write_001()
4544 nError1 = testFile.write( pBuffer_Char, 10, nCount_write ); in write_001()
4547 nError1 = testFile.getPos( nFilePointer ); in write_001()
4550 nError1 = testFile.setPos( Pos_Absolut, 0 ); in write_001()
4552 nError1 = testFile.read( buffer_read, 10, nCount_read ); in write_001()
4555 nError1 = testFile.close( ); in write_001()
4587 ::osl::File testFile( aTmpName6 ); in setUp()
4593 nError1 = testFile.open( OpenFlag_Write ); in setUp()
4598 nError1 = testFile.write( ppStrSeq[nCount], strlen( ppStrSeq[nCount] ), nCount_write ); in setUp()
4602 nError1 = testFile.close( ); in setUp()
4615 ::osl::File testFile( aTmpName6 ); in readLine_001()
4617 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in readLine_001()
4619 nError1 = testFile.readLine( aSequence ); in readLine_001()
4629 ::osl::File testFile( aTmpName6 ); in readLine_002()
4633 nError1 = testFile.open( OpenFlag_Read | OpenFlag_Write ); in readLine_002()
4637 nError1 = testFile.readLine( aSequence ); in readLine_002()
4640 nError1 = testFile.isEndOfFile( pEOF ); in readLine_002()
4671 ::osl::File testFile( aTmpName4 ); in setUp()
4673 nError1 = testFile.open( OpenFlag_Write ); in setUp()
4675 nError1 = testFile.write( pBuffer_Char, sizeof( pBuffer_Char ), nCount_write ); in setUp()
4677 nError1 = testFile.close( ); in setUp()
4691 ::osl::File testFile( aTmpName6 ); in copy_001()
4697 nError1 = testFile.open( OpenFlag_Create ); in copy_001()
4805 ::osl::File testFile( aTmpName4 ); in setUp()
4807 nError1 = testFile.open( OpenFlag_Write ); in setUp()
4809 nError1 = testFile.write( pBuffer_Char, sizeof( pBuffer_Char ), nCount_write ); in setUp()
4811 nError1 = testFile.close( ); in setUp()
4829 ::osl::File testFile( aCanURL1 ); in move_001()
4830 nError2 = testFile.open( OpenFlag_Create ); in move_001()
4967 ::osl::File testFile( aTmpName4 ); in setUp()
4969 nError1 = testFile.open( OpenFlag_Write ); in setUp()
4971 nError1 = testFile.write( pBuffer_Char, sizeof( pBuffer_Char ), nCount_write ); in setUp()
4973 nError1 = testFile.close( ); in setUp()
4990 ::osl::File testFile( aTmpName4 ); in remove_001()
4991 nError2 = testFile.open( OpenFlag_Create ); in remove_001()
5324 ::osl::File testFile( aTmpName6 ); in ctors_001()