@@ -114,7 +114,7 @@ class CustomBeaconTests: InstanaTestCase {
114114 let expectedCPU = InstanaSystemUtils . deviceModel
115115 let expectedErrorType = " \( type ( of: customBeacon. error!) ) "
116116 let expectedErrorMessage = " \( customBeacon. error!) "
117- let expected = " ab \t \( beacon. ab) \n agv \t \( beacon. agv) \n av \t \( InstanaSystemUtils . applicationVersion) \n bi \t \( beacon. bi) \n bid \t \( beacon. bid) \n bt \t \( customBeacon. backendTracingID ?? " " ) \n cen \t \( customBeacon. name) \n cm \t 12.34567 \n cn \t None \n ct \t \( InstanaSystemUtils . networkUtility. connectionType. description) \n d \t \( customBeacon. duration ?? 0 ) \n dma \t Apple \n dmo \t \( expectedCPU) \n ec \t 1 \n em \t \( expectedErrorMessage) \n et \t \( expectedErrorType) \n k \t KEY \n m_ \( customBeacon. metaData? . keys. first ?? " " ) \t \( customBeacon. metaData? . values. first ?? " " ) \n osn \t iOS \n osv \t \( InstanaSystemUtils . systemVersion) \n p \t iOS \n ro \t \( String ( InstanaSystemUtils . isDeviceJailbroken) ) \n sid \t \( beacon. sid) \n t \t custom \n ti \t \( customBeacon. timestamp) \n uf \t c,lm \n ul \t en \n usi \t \( mockedInstanaSession. usi!. uuidString) \n v \t \( customBeacon. viewName ?? " " ) \n vh \t \( Int ( UIScreen . main. bounds. height) ) \n vw \t \( Int ( UIScreen . main. bounds. width) ) "
117+ let expected = " ab \t \( beacon. ab) \n agv \t \( beacon. agv) \n av \t \( InstanaSystemUtils . applicationVersion) \n bi \t \( beacon. bi) \n bid \t \( beacon. bid) \n bt \t \( customBeacon. backendTracingID ?? " " ) \n cas \t f \ ncen \t \( customBeacon. name) \n cm \t 12.34567 \n cn \t None \n ct \t \( InstanaSystemUtils . networkUtility. connectionType. description) \n d \t \( customBeacon. duration ?? 0 ) \n dma \t Apple \n dmo \t \( expectedCPU) \n ec \t 1 \n em \t \( expectedErrorMessage) \n et \t \( expectedErrorType) \n k \t KEY \n m_ \( customBeacon. metaData? . keys. first ?? " " ) \t \( customBeacon. metaData? . values. first ?? " " ) \n osn \t iOS \n osv \t \( InstanaSystemUtils . systemVersion) \n p \t iOS \n ro \t \( String ( InstanaSystemUtils . isDeviceJailbroken) ) \n sid \t \( beacon. sid) \n t \t custom \n ti \t \( customBeacon. timestamp) \n uf \t c,lm \n ul \t en \n usi \t \( mockedInstanaSession. usi!. uuidString) \n v \t \( customBeacon. viewName ?? " " ) \n vh \t \( Int ( UIScreen . main. bounds. height) ) \n vw \t \( Int ( UIScreen . main. bounds. width) ) "
118118 AssertEqualAndNotNil ( sut, expected)
119119 }
120120
@@ -141,7 +141,7 @@ class CustomBeaconTests: InstanaTestCase {
141141 AssertEqualAndNotNil ( beacon. v, nil )
142142
143143 let expectedCPU = InstanaSystemUtils . deviceModel
144- let expected = " ab \t \( beacon. ab) \n agv \t \( beacon. agv) \n av \t \( InstanaSystemUtils . applicationVersion) \n bi \t \( beacon. bi) \n bid \t \( beacon. bid) \n cen \t \( name) \n cn \t None \n ct \t \( InstanaSystemUtils . networkUtility. connectionType. description) \n dma \t Apple \n dmo \t \( expectedCPU) \n k \t KEY \n osn \t iOS \n osv \t \( InstanaSystemUtils . systemVersion) \n p \t iOS \n ro \t \( String ( InstanaSystemUtils . isDeviceJailbroken) ) \n sid \t \( beacon. sid) \n t \t custom \n ti \t \( customBeacon. timestamp) \n uf \t c,lm \n ul \t en \n usi \t \( session. usi!. uuidString) \n vh \t \( Int ( UIScreen . main. bounds. height) ) \n vw \t \( Int ( UIScreen . main. bounds. width) ) "
144+ let expected = " ab \t \( beacon. ab) \n agv \t \( beacon. agv) \n av \t \( InstanaSystemUtils . applicationVersion) \n bi \t \( beacon. bi) \n bid \t \( beacon. bid) \n cas \t f \ ncen \t \( name) \n cn \t None \n ct \t \( InstanaSystemUtils . networkUtility. connectionType. description) \n dma \t Apple \n dmo \t \( expectedCPU) \n k \t KEY \n osn \t iOS \n osv \t \( InstanaSystemUtils . systemVersion) \n p \t iOS \n ro \t \( String ( InstanaSystemUtils . isDeviceJailbroken) ) \n sid \t \( beacon. sid) \n t \t custom \n ti \t \( customBeacon. timestamp) \n uf \t c,lm \n ul \t en \n usi \t \( session. usi!. uuidString) \n vh \t \( Int ( UIScreen . main. bounds. height) ) \n vw \t \( Int ( UIScreen . main. bounds. width) ) "
145145 AssertEqualAndNotNil ( sut, expected)
146146 }
147147
@@ -169,7 +169,9 @@ class CustomBeaconTests: InstanaTestCase {
169169 AssertEqualAndNotNil ( customBeacon. viewName, CustomBeaconDefaultViewNameID)
170170 AssertEqualAndNotNil ( beacon. v, viewName)
171171
172- let expected = " ab \t \( beacon. ab) \n agv \t \( beacon. agv) \n av \t \( InstanaSystemUtils . applicationVersion) \n bi \t \( beacon. bi) \n bid \t \( beacon. bid) \n cen \t \( name) \n cn \t None \n ct \t \( InstanaSystemUtils . networkUtility. connectionType. description) \n dma \t Apple \n dmo \t \( InstanaSystemUtils . deviceModel) \n k \t KEY \n osn \t iOS \n osv \t \( InstanaSystemUtils . systemVersion) \n p \t iOS \n ro \t \( String ( InstanaSystemUtils . isDeviceJailbroken) ) \n sid \t \( beacon. sid) \n t \t custom \n ti \t \( customBeacon. timestamp) \n uf \t c,lm \n ul \t en \n usi \t \( session. usi!. uuidString) \n v \t \( viewName) \n vh \t \( Int ( UIScreen . main. bounds. height) ) \n vw \t \( Int ( UIScreen . main. bounds. width) ) "
172+ let expected = " ab \t \( beacon. ab) \n agv \t \( beacon. agv) \n av \t \( InstanaSystemUtils . applicationVersion) \n bi \t \( beacon. bi) \n bid \t \( beacon. bid) \n cas \t f \n cen \t \( name) \n cn \t None \n ct \t \( InstanaSystemUtils . networkUtility. connectionType. description) \n dma \t Apple \n dmo \t \( InstanaSystemUtils . deviceModel) \n k \t KEY \n osn \t iOS \n osv \t \( InstanaSystemUtils . systemVersion) \n p \t iOS \n ro \t \( String ( InstanaSystemUtils . isDeviceJailbroken) ) \n sid \t \( beacon. sid) \n t \t custom \n ti \t \( customBeacon. timestamp) \n uf \t c,lm \n ul \t en \n usi \t \( session. usi!. uuidString) \n v \t \( viewName) \n vh \t \( Int ( UIScreen . main. bounds. height) ) \n vw \t \( Int ( UIScreen . main. bounds. width) ) "
173+ print ( " hjtest exp \( expected) " )
174+ print ( " hjtest sut \( sut!) " )
173175 AssertEqualAndNotNil ( sut, expected)
174176 }
175177
0 commit comments