Lines Matching refs:volume

838 		BVolume volume(dev_for_path("/boot"));
839 CPPUNIT_ASSERT( volume.InitCheck() == B_OK );
840 CPPUNIT_ASSERT( query.SetVolume(&volume) == B_OK );
898 // NULL volume
908 // invalid volume
912 BVolume volume(-2);
913 CPPUNIT_ASSERT( volume.InitCheck() == B_BAD_VALUE );
914 CPPUNIT_ASSERT( query.SetVolume(&volume) == B_OK );
917 // valid volume
922 BVolume volume(device);
923 CPPUNIT_ASSERT( volume.InitCheck() == B_OK );
924 CPPUNIT_ASSERT( query.SetVolume(&volume) == B_OK );
960 BVolume volume(dev_for_path("/boot"));
961 CPPUNIT_ASSERT( volume.InitCheck() == B_OK );
962 CPPUNIT_ASSERT( query.SetVolume(&volume) == B_OK );
964 CPPUNIT_ASSERT( query.SetVolume(&volume) == B_NOT_ALLOWED );
970 // Fetch() fails without a valid volume set
989 BVolume volume(dev_for_path(mountPoint));
990 CPPUNIT_ASSERT( volume.InitCheck() == B_OK );
991 CPPUNIT_ASSERT( query.SetVolume(&volume) == B_OK );
1128 BVolume volume(dev_for_path("/boot"));
1129 CPPUNIT_ASSERT( volume.InitCheck() == B_OK );
1130 CPPUNIT_ASSERT( query.SetVolume(&volume) == B_OK );
1133 // incompletely initialized BQuery (no volume)
1147 BVolume volume(dev_for_path("/boot"));
1148 CPPUNIT_ASSERT( volume.InitCheck() == B_OK );
1149 CPPUNIT_ASSERT( query.SetVolume(&volume) == B_OK );
1158 BVolume volume(dev_for_path("/boot"));
1159 CPPUNIT_ASSERT( volume.InitCheck() == B_OK );
1160 CPPUNIT_ASSERT( query.SetVolume(&volume) == B_OK );
1215 BVolume volume(dev_for_path("/boot"));
1216 CPPUNIT_ASSERT( volume.InitCheck() == B_OK );
1217 CPPUNIT_ASSERT( query.SetVolume(&volume) == B_OK );
1228 BVolume volume(dev_for_path("/boot"));
1229 CPPUNIT_ASSERT( volume.InitCheck() == B_OK );
1230 CPPUNIT_ASSERT( query.SetVolume(&volume) == B_OK );
1235 CPPUNIT_ASSERT( volume.SetTo(dev_for_path("/boot")) == B_OK );
1236 CPPUNIT_ASSERT( query.SetVolume(&volume) == B_OK );
1247 BVolume volume(dev_for_path("/boot"));
1248 CPPUNIT_ASSERT( volume.InitCheck() == B_OK );
1249 CPPUNIT_ASSERT( query.SetVolume(&volume) == B_OK );
1280 BVolume volume(dev_for_path("/boot"));
1281 CPPUNIT_ASSERT( volume.InitCheck() == B_OK );
1282 CPPUNIT_ASSERT( query.SetVolume(&volume) == B_OK );
1402 BVolume volume(dev_for_path(testMountPoint));
1403 CPPUNIT_ASSERT( volume.InitCheck() == B_OK );
1404 CPPUNIT_ASSERT( query.SetVolume(&volume) == B_OK );