File tree Expand file tree Collapse file tree
AAS.TwinEngine.DataEngine.UnitTests
AAS.TwinEngine.Plugin.TestPlugin.UnitTests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ public void RepositoryInterfacesShallBeInCorrectNamespace()
9393 . And ( )
9494 . DoNotHaveFullName ( $ "{ BaseNamespace } .Infrastructure.DataAccess.GenericRepository.IMongoDbRepository")
9595 . Should ( )
96- . ResideInNamespaceMatching ( $ "{ BaseNamespace } \\ .ApplicationLogic($|\\ ..*). ")
96+ . ResideInNamespaceMatching ( $ "{ BaseNamespace } \\ .ApplicationLogic($|\\ .*) ")
9797 . WithoutRequiringPositiveResults ( )
9898 . Check ( _architecture ) ;
9999 }
@@ -102,7 +102,7 @@ public void RepositoryInterfacesShallBeInCorrectNamespace()
102102 public void ServicesShallBeInCorrectNamespace ( )
103103 {
104104 Classes ( ) . That ( ) . HaveNameEndingWith ( "Service" ) . Should ( )
105- . ResideInNamespaceMatching ( $ "{ BaseNamespace } \\ .ApplicationLogic\\ .Services($|\\ ..*). ")
105+ . ResideInNamespaceMatching ( $ "{ BaseNamespace } \\ .ApplicationLogic\\ .Services($|\\ .*) ")
106106 . Check ( _architecture ) ;
107107 }
108108
@@ -111,15 +111,15 @@ public void ServiceInterfacesShallBeInCorrectNamespace()
111111 {
112112 Interfaces ( ) . That ( ) . HaveNameEndingWith ( "Service" )
113113 . Should ( )
114- . ResideInNamespaceMatching ( $ "{ BaseNamespace } \\ .ApplicationLogic\\ .Services($|\\ ..*). ")
114+ . ResideInNamespaceMatching ( $ "{ BaseNamespace } \\ .ApplicationLogic\\ .Services($|\\ .*) ")
115115 . Check ( _architecture ) ;
116116 }
117117
118118 [ Fact ]
119119 public void ControllerShallBeInCorrectNamespace ( )
120120 {
121121 Classes ( ) . That ( ) . HaveNameEndingWith ( "Controller" ) . Should ( )
122- . ResideInNamespaceMatching ( $ "{ BaseNamespace } \\ .Api($|\\ ..*). ")
122+ . ResideInNamespaceMatching ( $ "{ BaseNamespace } \\ .Api($|\\ .*) ")
123123 . Check ( _architecture ) ;
124124 }
125125}
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ public void RepositoryInterfacesShallBeInCorrectNamespace()
9393 . And ( )
9494 . DoNotHaveFullName ( $ "{ BaseNamespace } .Infrastructure.DataAccess.GenericRepository.IMongoDbRepository")
9595 . Should ( )
96- . ResideInNamespaceMatching ( $ "{ BaseNamespace } \\ .ApplicationLogic($|\\ ..*). ")
96+ . ResideInNamespaceMatching ( $ "{ BaseNamespace } \\ .ApplicationLogic($|\\ .*) ")
9797 . WithoutRequiringPositiveResults ( )
9898 . Check ( _architecture ) ;
9999 }
@@ -102,7 +102,7 @@ public void RepositoryInterfacesShallBeInCorrectNamespace()
102102 public void ServicesShallBeInCorrectNamespace ( )
103103 {
104104 Classes ( ) . That ( ) . HaveNameEndingWith ( "Service" ) . Should ( )
105- . ResideInNamespaceMatching ( $ "{ BaseNamespace } \\ .ApplicationLogic\\ .Services($|\\ ..*). ")
105+ . ResideInNamespaceMatching ( $ "{ BaseNamespace } \\ .ApplicationLogic\\ .Services($|\\ .*) ")
106106 . Check ( _architecture ) ;
107107 }
108108
@@ -111,15 +111,15 @@ public void ServiceInterfacesShallBeInCorrectNamespace()
111111 {
112112 Interfaces ( ) . That ( ) . HaveNameEndingWith ( "Service" )
113113 . Should ( )
114- . ResideInNamespaceMatching ( $ "{ BaseNamespace } \\ .ApplicationLogic\\ .Services($|\\ ..*). ")
114+ . ResideInNamespaceMatching ( $ "{ BaseNamespace } \\ .ApplicationLogic\\ .Services($|\\ .*) ")
115115 . Check ( _architecture ) ;
116116 }
117117
118118 [ Fact ]
119119 public void ControllerShallBeInCorrectNamespace ( )
120120 {
121121 Classes ( ) . That ( ) . HaveNameEndingWith ( "Controller" ) . Should ( )
122- . ResideInNamespaceMatching ( $ "{ BaseNamespace } \\ .Api($|\\ ..*). ")
122+ . ResideInNamespaceMatching ( $ "{ BaseNamespace } \\ .Api($|\\ .*) ")
123123 . Check ( _architecture ) ;
124124 }
125125}
You can’t perform that action at this time.
0 commit comments