mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
0028887: TKJT - add option to cache file content
Added new auxiliary class Standard_ArrayStreamBuffer implementing std::streambuf interface for defining std::istream from allocated memory.
This commit is contained in:
15
tests/bugs/xde/bug28887_1
Normal file
15
tests/bugs/xde/bug28887_1
Normal file
@@ -0,0 +1,15 @@
|
||||
puts "=========="
|
||||
puts "OCC28887 Test case for Standard_ArrayStreamBuffer class - streaming interface for reading from allocated memory block"
|
||||
puts "=========="
|
||||
puts ""
|
||||
|
||||
pload QAcommands VISUALIZATION
|
||||
OCC28887 [locate_data_file face.brep] f
|
||||
|
||||
vclear
|
||||
vclose ALL
|
||||
vinit View1
|
||||
vaxo
|
||||
vdisplay -dispMode 1 f
|
||||
vfit
|
||||
vdump $::imagedir/${::casename}.png
|
16
tests/bugs/xde/bug28887_2
Normal file
16
tests/bugs/xde/bug28887_2
Normal file
@@ -0,0 +1,16 @@
|
||||
puts "=========="
|
||||
puts "OCC28887 Test case for Standard_ArrayStreamBuffer class - streaming interface for reading from allocated memory block"
|
||||
puts "=========="
|
||||
puts ""
|
||||
|
||||
pload QAcommands VISUALIZATION DCAF
|
||||
catch { Close doc }
|
||||
OCC28887 [locate_data_file bug23384-doc_subshapes.xbf] doc
|
||||
|
||||
vclear
|
||||
vclose ALL
|
||||
XShow doc
|
||||
vaxo
|
||||
vfit
|
||||
vsetdispmode 1
|
||||
vdump $::imagedir/${::casename}.png
|
Reference in New Issue
Block a user