Compare commits
2 Commits
eb527a7abb
...
b38e3acb6d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b38e3acb6d | ||
|
|
bd01dfe6d2 |
@@ -7,15 +7,16 @@ Imports DigitalData.Modules.EDMI
|
|||||||
|
|
||||||
<TestMethod()> Public Sub TestMethod1()
|
<TestMethod()> Public Sub TestMethod1()
|
||||||
Dim oLogConfig As New LogConfig(LogConfig.PathType.Temp)
|
Dim oLogConfig As New LogConfig(LogConfig.PathType.Temp)
|
||||||
Dim oPath As New DigitalData.Modules.EDMI.File.Path(oLogConfig)
|
Dim oTempPath = System.IO.Path.GetTempPath()
|
||||||
|
Dim oPath As New DigitalData.Modules.EDMI.File.Path(oLogConfig, oTempPath)
|
||||||
Dim oNow As DateTime = DateTime.Now
|
Dim oNow As DateTime = DateTime.Now
|
||||||
Dim oYear = oNow.Year
|
Dim oYear = oNow.Year
|
||||||
Dim oMonth = oNow.Month.ToString.PadLeft(2, "0")
|
Dim oMonth = oNow.Month.ToString.PadLeft(2, "0")
|
||||||
Dim oDay = oNow.Day.ToString.PadLeft(2, "0")
|
Dim oDay = oNow.Day.ToString.PadLeft(2, "0")
|
||||||
|
|
||||||
|
|
||||||
Assert.AreEqual(oPath.GetActivePath("TestDocumentType"), $"EDMI\Active\TestDocumentType\{oYear}\{oMonth}\{oDay}")
|
Assert.AreEqual(oPath.GetActivePath("TestDocumentType"), $"{oTempPath}EDMI\Active\TestDocumentType\{oYear}\{oMonth}\{oDay}")
|
||||||
Assert.AreEqual(oPath.GetArchivePath("TestDocumentType"), $"EDMI\Archive\TestDocumentType\{oYear}\{oMonth}\{oDay}")
|
Assert.AreEqual(oPath.GetArchivePath("TestDocumentType"), $"{oTempPath}EDMI\Archive\TestDocumentType\{oYear}\{oMonth}\{oDay}")
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
End Class
|
End Class
|
||||||
@@ -57,9 +57,9 @@
|
|||||||
</netTcpBinding>
|
</netTcpBinding>
|
||||||
</bindings>
|
</bindings>
|
||||||
<services>
|
<services>
|
||||||
<service behaviorConfiguration="DefaultServiceBehavior" name="DigitalData.Services.IDBService.IDBService">
|
<service behaviorConfiguration="DefaultServiceBehavior" name="DigitalData.Services.EDMIService.EDMIService">
|
||||||
<endpoint address="" binding="netTcpBinding" bindingConfiguration="tcpBinding"
|
<endpoint address="" binding="netTcpBinding" bindingConfiguration="tcpBinding"
|
||||||
name="tcpBinding" contract="DigitalData.Services.IDBService.IIDBService">
|
name="tcpBinding" contract="DigitalData.Services.EDMIService.IEDMIService">
|
||||||
<identity>
|
<identity>
|
||||||
<dns value="localhost" />
|
<dns value="localhost" />
|
||||||
</identity>
|
</identity>
|
||||||
|
|||||||
@@ -8,11 +8,11 @@ Imports System.Runtime.InteropServices
|
|||||||
|
|
||||||
' Werte der Assemblyattribute überprüfen
|
' Werte der Assemblyattribute überprüfen
|
||||||
|
|
||||||
<Assembly: AssemblyTitle("IDBService")>
|
<Assembly: AssemblyTitle("EDMIService")>
|
||||||
<Assembly: AssemblyDescription("")>
|
<Assembly: AssemblyDescription("")>
|
||||||
<Assembly: AssemblyCompany("Digital Data")>
|
<Assembly: AssemblyCompany("Digital Data")>
|
||||||
<Assembly: AssemblyProduct("IDBService")>
|
<Assembly: AssemblyProduct("EDMIService")>
|
||||||
<Assembly: AssemblyCopyright("Copyright © 2018")>
|
<Assembly: AssemblyCopyright("Copyright © 2020")>
|
||||||
<Assembly: AssemblyTrademark("")>
|
<Assembly: AssemblyTrademark("")>
|
||||||
|
|
||||||
<Assembly: ComVisible(False)>
|
<Assembly: ComVisible(False)>
|
||||||
|
|||||||
Reference in New Issue
Block a user