Skip to content

Commit d19d2d6

Browse files
committed
Cleanup basic test
1 parent 9c684e3 commit d19d2d6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

test/basic/Form1.frm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Private Sub Command4_Click()
162162
With m_oZip
163163
.OpenArchive "D:\temp\aaa2.zip"
164164
Set m_oExtractInMemory = m_oZip
165-
bResult = .Extract("D:\Temp\Unzip")
165+
bResult = .Extract("D:\Temp\Unzip", "Kit\Documentation\*.md")
166166
Set m_oExtractInMemory = Nothing
167167
sLastError = .LastError
168168
End With
@@ -183,7 +183,7 @@ Private Sub Command5_Click()
183183
Set m_oZip = New cZipArchive
184184
m_bCancel = False
185185
With m_oZip
186-
.AddFromFolder ".\*.sql", Recursive:=True, TargetFolder:="Kit", IncludeEmptyFolders:=True
186+
.AddFromFolder ".\*.sql;*.md", Recursive:=True, TargetFolder:="Kit", IncludeEmptyFolders:=True
187187
' .AddFromFolder "D:\TEMP\Unzip\Empty\*.*", Recursive:=True, TargetFolder:="Kit", IncludeEmptyFolders:=True
188188
ReDim baOutput(0 To 10000000) As Byte
189189
Set oBuffer = New cBufferStream

test/basic/cBufferStream.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Private m_lSize As Long
3737
' Properties
3838
'=========================================================================
3939

40-
Property Get Size() As Long
40+
Public Property Get Size() As Long
4141
Size = m_lSize
4242
End Property
4343

test/basic/cMemoryStream.cls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Private m_lSize As Long
3636
' Properties
3737
'=========================================================================
3838

39-
Property Get Contents() As Byte()
39+
Public Property Get Contents() As Byte()
4040
If m_lSize > 0 Then
4141
Contents = m_baBuffer
4242
ReDim Preserve Contents(0 To m_lSize - 1) As Byte
@@ -45,7 +45,7 @@ Property Get Contents() As Byte()
4545
End If
4646
End Property
4747

48-
Property Let Contents(baValue() As Byte)
48+
Public Property Let Contents(baValue() As Byte)
4949
m_baBuffer = baValue
5050
m_lPosition = 0
5151
m_lSize = UBound(m_baBuffer) + 1

0 commit comments

Comments
 (0)