Package pike :: Package test :: Module queryondiskid :: Class TestQueryOnDiskID
[hide private]
[frames] | no frames]

Class TestQueryOnDiskID

source code

            object --+        
                     |        
unittest.case.TestCase --+    
                         |    
                  PikeTest --+
                             |
                            TestQueryOnDiskID

Nested Classes [hide private]

Inherited from PikeTest (private): _AssertErrorContext

Inherited from unittest.case.TestCase: failureException

Instance Methods [hide private]
 
extract_file_id(self, response)
Pull out the Query On Disk ID file_id field and return it
source code
 
test_qfid_functional(self)
Sending a QFid request should ellicit a success response
source code
 
test_qfid_same_file(self)
Opening the same file from different sessions should return the same id
source code
 
test_qfid_diff_file(self)
Opening a different file from different sessions should NOT return the same id
source code
 
test_qfid_same_file_seq(self)
Opening the same file name after closing the first file should return the same on disk id
source code
 
test_qfid_same_file_seq_delete(self)
Opening the same file name after deleting the first file should return a different on disk id
source code

Inherited from PikeTest: __init__, assertBufferEqual, assert_error, critical, debug, error, info, required_capabilities, required_dialect, required_share_capabilities, setUp, tearDown, tree_connect, warn

Inherited from PikeTest (private): _get_decorator_attr

Inherited from unittest.case.TestCase: __call__, __eq__, __hash__, __ne__, __repr__, __str__, addCleanup, addTypeEqualityFunc, assertAlmostEqual, assertAlmostEquals, assertDictContainsSubset, assertDictEqual, assertEqual, assertEquals, assertFalse, assertGreater, assertGreaterEqual, assertIn, assertIs, assertIsInstance, assertIsNone, assertIsNot, assertIsNotNone, assertItemsEqual, assertLess, assertLessEqual, assertListEqual, assertMultiLineEqual, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIn, assertNotIsInstance, assertNotRegexpMatches, assertRaises, assertRaisesRegexp, assertRegexpMatches, assertSequenceEqual, assertSetEqual, assertTrue, assertTupleEqual, assert_, countTestCases, defaultTestResult, doCleanups, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription, skipTest

Inherited from unittest.case.TestCase (private): _addSkip, _baseAssertEqual, _deprecate, _formatMessage, _getAssertEqualityFunc, _truncateMessage

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from unittest.case.TestCase: setUpClass, tearDownClass

Static Methods [hide private]

Inherited from PikeTest: booloption, init_once, option, smb2constoption

Class Variables [hide private]
  test_files = ['qfid_file.bin', 'qfid_same_file.bin', 'qfid_dif...

Inherited from PikeTest: init_done

Inherited from unittest.case.TestCase: longMessage, maxDiff

Inherited from unittest.case.TestCase (private): _classSetupFailed, _diffThreshold

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

test_files

Value:
['qfid_file.bin',
 'qfid_same_file.bin',
 'qfid_diff_file1.bin',
 'qfid_diff_file2.bin']