Lines Matching defs:parent
1080 BPath parent;
1086 CPPUNIT_ASSERT( path.GetParent(&parent) == B_NO_INIT );
1088 parent.Unset();
1093 CPPUNIT_ASSERT( path.GetParent(&parent) == B_ENTRY_NOT_FOUND );
1095 parent.Unset();
1099 CPPUNIT_ASSERT( path.GetParent(&parent) == B_OK );
1100 CPPUNIT_ASSERT( string("/") == parent.Path() );
1102 CPPUNIT_ASSERT( path.GetParent(&parent) == B_OK );
1103 CPPUNIT_ASSERT( string("/boot") == parent.Path() );
1105 CPPUNIT_ASSERT( path.GetParent(&parent) == B_OK );
1106 CPPUNIT_ASSERT( string("/boot/home") == parent.Path() );
1108 parent.Unset();
1112 CPPUNIT_ASSERT( path.GetParent(&parent) == B_OK );
1113 CPPUNIT_ASSERT( string("/") == parent.Path() );
1115 CPPUNIT_ASSERT( path.GetParent(&parent) == B_OK );
1116 CPPUNIT_ASSERT( string("/non/existing") == parent.Path() );
1118 parent.Unset();
1130 parent.Unset();
1138 parent.Unset();