Lines Matching refs:nError2
521 ::osl::FileBase::RC nError1, nError2; in checkFile()
546 nError2 = testFile.write( pBuffer_Char, 10, nCount_write ); in checkFile()
547 if ( ::osl::FileBase::E_None == nError2 ) in checkFile()
555 nError2 = testFile.close( ); in checkFile()
556 EXPECT_TRUE(nError2 == FileBase::E_None) << " in CheckFile() function, close file "; in checkFile()
1423 ::osl::FileBase::RC nError1, nError2, nError3,nError4;
1434 nError2 = ::osl::FileBase::searchFileURL( aCanURL1, aUserDirectorySys, aUStr ); in TEST_F()
1439 ( osl::FileBase::E_NOENT == nError2 ) && in TEST_F()
1449 nError2 = ::osl::FileBase::searchFileURL( aTempDirectoryURL, aRootSys, aUStr ); in TEST_F()
1461 ( osl::FileBase::E_None == nError2 ) && in TEST_F()
1543 ::osl::FileBase::RC nError1, nError2;
1574 nError2 = testFile.open( OpenFlag_Create ); in TEST_F()
1575 if ( osl::FileBase::E_EXIST == nError2 ) { in TEST_F()
1580 …None == nError1 ) && ( pHandle != NULL ) && ( osl::FileBase::E_EXIST== nError2 )) << "test for c… in TEST_F()
1588 nError2 = testFile.open( OpenFlag_Create ); in TEST_F()
1591 …( osl::FileBase::E_EXIST == nError2 )) << "createTempFile function: create a temp file, but it doe… in TEST_F()
1594 if ( osl::FileBase::E_EXIST == nError2 ) { in TEST_F()
1618 nError2 = testFile.open( OpenFlag_Create ); in TEST_F()
1620 …ASSERT_TRUE(( osl::FileBase::E_None == nError1 ) && ( osl::FileBase::E_EXIST == nError2 ) &&( sal_… in TEST_F()
1644 ::osl::FileBase::RC nError1, nError2;
1697 ::osl::FileBase::RC nError1, nError2;
1749 ::osl::FileBase::RC nError1, nError2;
1816 nError2 = ::osl::Directory::getVolumeInfo( aRootURL, aVolumeInfo2 ); in TEST_F()
1818 ASSERT_TRUE( osl::FileBase::E_None == nError2 ); in TEST_F()
1835 ::osl::FileBase::RC nError1, nError2;
1903 ::osl::FileBase::RC nError1, nError2;
1942 ::osl::FileBase::RC nError1, nError2;
2483 ::osl::FileBase::RC nError1, nError2;
2737 ::osl::FileBase::RC nError1, nError2;
3394 ::osl::FileBase::RC nError2 = testFile.close( ); in TEST_F()
3395 …ASSERT_TRUE(( ::osl::FileBase::E_None == nError1 ) && ( ::osl::FileBase::E_None == nError2 )) << "… in TEST_F()
3405 ::osl::FileBase::RC nError2 = testFile.write( buffer, 30, nCount ); in TEST_F()
3408 …ASSERT_TRUE(( ::osl::FileBase::E_None == nError1 ) && ( ::osl::FileBase::E_None == nError2 )) << "… in TEST_F()
3418 ::osl::FileBase::RC nError1, nError2, nError3;
3443 nError2 = testFile.close( ); in TEST_F()
3444 ASSERT_TRUE(::osl::FileBase::E_None == nError2) << "close error"; in TEST_F()
3501 nError2 = testFile.write( buffer_write, 30, nCount_write ); in TEST_F()
3512 ( ::osl::FileBase::E_None == nError2 ) && in TEST_F()
3525 ::osl::FileBase::RC nError1, nError2, nError3;
3551 nError2 = testFile.close( ); in TEST_F()
3553 …ASSERT_TRUE(::osl::FileBase::E_None == nError2) << "test for close function: close a regular file"; in TEST_F()
3563 nError2 = testFile.close( ); in TEST_F()
3567 ASSERT_TRUE(( ::osl::FileBase::E_None == nError2 ) && in TEST_F()
4267 ::osl::FileBase::RC nError1, nError2;
4304 nError2 = testFile.open( OpenFlag_Create ); in TEST_F()
4307 …ASSERT_TRUE(::osl::FileBase::E_EXIST == nError2) << "test for move function: rename file to anothe… in TEST_F()
4352 nError2 = ::osl::File::move( aTmpName4, aTmpName6 ); in TEST_F()
4358 nError2 = ::osl::FileBase::E_ISDIR; in TEST_F()
4360 …ASSERT_TRUE(::osl::FileBase::E_NOTDIR == nError1 && ::osl::FileBase::E_ISDIR == nError2) << "test … in TEST_F()
4370 nError2 = ::osl::Directory::create( aTmpName8 ); in TEST_F()
4375 …(::osl::FileBase::E_EXIST == nError2 )) << "test for move function: move a directory to an exist f… in TEST_F()
4411 ::osl::FileBase::RC nError1, nError2;
4447 nError2 = testFile.open( OpenFlag_Create ); in TEST_F()
4450 … ( ::osl::FileBase::E_EXIST != nError2 )) << "test for remove function: remove a file"; in TEST_F()
4484 ::osl::FileBase::RC nError1, nError2;
4507 …nError2 = ::osl::File::setAttributes( aTmpName6, Attribute_ReadOnly | Attribute_GrpRead | Attribut… in TEST_F()
4508 ASSERT_TRUE( nError2 == FileBase::E_None); in TEST_F()
4520 nError2 = ::osl::File::setAttributes( aTmpName6, Attribute_ReadOnly ); in TEST_F()
4521 ASSERT_TRUE( nError2 == FileBase::E_None); in TEST_F()
4546 nError2 = ::osl::File::setAttributes( aTmpName6, Attribute_Hidden); in TEST_F()
4548 ASSERT_TRUE( nError2 == FileBase::E_None); in TEST_F()
4571 ::osl::FileBase::RC nError1, nError2;
4605 nError2 = ::osl::File::setTime( aTmpName6, *pTV_current, *pTV_current, *pTV_current ); in TEST_F()
4606 ASSERT_TRUE(nError2 == FileBase::E_None) << errorToStr( nError2 ).pData; in TEST_F()
4647 ::osl::FileBase::RC nError1, nError2;
4684 …nError2 = ::osl::File::setAttributes( aTmpName6, Attribute_ReadOnly | Attribute_GrpRead | Attribut… in TEST_F()
4685 ASSERT_TRUE( nError2 == FileBase::E_None); in TEST_F()
4687 nError2 = tmp_file.sync(); in TEST_F()
4689 ASSERT_TRUE(nError2 == FileBase::E_None) << "can not sync to readonly file!"; in TEST_F()
4711 ::osl::FileBase::RC nError1, nError2;
4747 ::osl::FileBase::RC nError1, nError2;
4802 ::osl::FileBase::RC nError1, nError2;
4843 ::osl::FileBase::RC nError1, nError2;
4864 nError2 = ::osl::DirectoryItem::get( aTmpName6, rItem ); in TEST_F()
4871 ASSERT_TRUE(( ::osl::FileBase::E_None == nError2 ) && in TEST_F()
4900 ::osl::FileBase::RC nError1, nError2;
4928 nError2 = rItem.getFileStatus( rFileStatus ); in TEST_F()
4930 ASSERT_TRUE(( ::osl::FileBase::E_None == nError2 ) && in TEST_F()
4942 nError2 = rItem.getFileStatus( rFileStatus ); in TEST_F()
4944 …ASSERT_TRUE(( ::osl::FileBase::E_INVAL == nError2 )) << "test for getFileStatus function: file not… in TEST_F()
4956 nError2 = rItem.getFileStatus( rFileStatus ); in TEST_F()
4958 ASSERT_TRUE(( ::osl::FileBase::E_None == nError2 ) && in TEST_F()
4977 ::osl::FileBase::RC nError1, nError2;
5005 nError2 = testDirectory.close( ); in TEST_F()
5006 ASSERT_TRUE( ::osl::FileBase::E_None == nError2 ); in TEST_F()
5009 …( ::osl::FileBase::E_None == nError2 )) << "test for ctors function: create an instance and check … in TEST_F()
5020 nError2 = testDirectory.close( ); in TEST_F()
5021 ASSERT_TRUE( ::osl::FileBase::E_None == nError2 ); in TEST_F()
5024 …( ::osl::FileBase::E_None == nError2 )) << "test for ctors function: relative URL, :-), it is also… in TEST_F()
5034 ::osl::FileBase::RC nError1, nError2;
5062 nError2 = testDirectory.close( ); in TEST_F()
5066 …( ::osl::FileBase::E_None == nError2 )) << "test for open function: open a directory and check for… in TEST_F()
5077 nError2 = testDirectory.close( ); in TEST_F()
5078 ASSERT_TRUE( ::osl::FileBase::E_None == nError2 ); in TEST_F()
5092 nError2 = testDirectory.close( ); in TEST_F()
5093 ASSERT_TRUE( ::osl::FileBase::E_None == nError2 ); in TEST_F()
5107 nError2 = testDirectory.close( ); in TEST_F()
5108 ASSERT_TRUE( ::osl::FileBase::E_None == nError2 ); in TEST_F()
5121 ::osl::FileBase::RC nError1, nError2;
5149 nError2 = testDirectory.close( ); in TEST_F()
5171 ::osl::FileBase::RC nError1, nError2;
5195 nError2 = testDirectory.close( ); in TEST_F()
5219 ::osl::FileBase::RC nError1, nError2;
5260 nError2 = testDirectory.reset( ); in TEST_F()
5276 ASSERT_TRUE(( ::osl::FileBase::E_None == nError2 ) && in TEST_F()
5318 ::osl::FileBase::RC nError1, nError2;
5401 nError2 = testDirectory.getNextItem( rItem, 3 ); in TEST_F()
5408 …ASSERT_TRUE(( ::osl::FileBase::E_NOENT == nError2 )) << "test for getNextItem function: retrieve 4… in TEST_F()
5462 ::osl::FileBase::RC nError1, nError2;
5622 ::osl::FileBase::RC nError1, nError2;
5630 nError2 = ::osl::Directory::create( aTmpName3 ); in TEST_F()
5635 …( osl::FileBase::E_EXIST== nError2 )) << "test for create function: create a directory and check i… in TEST_F()
5665 ::osl::FileBase::RC nError1, nError2;
5677 nError2 = rDirectory.open( ); in TEST_F()
5680 …( osl::FileBase::E_NOENT == nError2 )) << "test for remove function: remove a directory and check … in TEST_F()
5692 nError2 = rDirectory.open( ); in TEST_F()
5693 if ( osl::FileBase::E_NOENT != nError2 ) in TEST_F()