Skip to content

Commit c7c9a82

Browse files
committed
Fix: missing tlb file (x86), AutomatedTestRun interface
1 parent 5c44d42 commit c7c9a82

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

access-add-in/AccUnitLoader.accda

8 KB
Binary file not shown.

access-add-in/source/forms/AccUnitLoaderForm.cls

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,12 @@ On Error GoTo HandleErr
9090
Set .AccessForm = Me
9191
.ControlSection = acDetail
9292

93-
.AddMenuItem -99, "", MF_SEPARATOR
93+
#If DEVMODE = 1 Then
9494
.AddMenuItem -1, "For AccUnit developers:", MF_STRING + MF_GRAYED
9595
.AddMenuItem 11, "Import AccUnit files from directory"
96-
9796
.AddMenuItem -2, "", MF_SEPARATOR
97+
#End If
98+
9899
.AddMenuItem 21, "Export AccUnit files to directory"
99100

100101
.AddMenuItem -3, "", MF_SEPARATOR

access-add-in/source/modules/AccUnitLoaderConfigProcedures.bas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,10 @@ Public Function GetCurrentAccessBitSystem() As Long
206206

207207
End Function
208208

209-
Public Function AutomatedTestRun() As Boolean
209+
Public Function AutomatedTestRun(Optional ByRef FailedMessage As String) As Boolean
210210

211211
Dim Success As Boolean
212212
Dim TestSummary As AccUnit.ITestSummary
213-
Dim FailedMessage As String
214213

215214
AddAccUnitTlbReference
216215
InsertFactoryModule
@@ -225,9 +224,10 @@ Public Function AutomatedTestRun() As Boolean
225224

226225
If Not Success Then
227226
FailedMessage = TestSummary.Failed & " of " & TestSummary.Total & " Tests failed"
228-
Err.Raise vbObjectError + 12, "AccUnitLoader.AutomatedTestRun", FailedMessage
229227
End If
230228

229+
AutomatedTestRun = Success
230+
231231
End Function
232232

233233
Private Sub SetFocusToImmediateWindow()

0 commit comments

Comments
 (0)