static private GetSdkVersion ( string versionPrefix ) : string | ||
versionPrefix | string | |
Résultat | string |
public void GetSdkVersionReturnsVersionWithPrefix() { string expected = SdkVersionHelper.GetExpectedSdkVersion(typeof(RequestTrackingTelemetryModule), prefix: "lala"); Assert.AreEqual(expected, SdkVersionUtils.GetSdkVersion("lala")); }
public void GetSdkVersionReturnsVersionWithoutPrefixForStringEmpty() { string expected = SdkVersionHelper.GetExpectedSdkVersion(typeof(RequestTrackingTelemetryModule), prefix: string.Empty); Assert.AreEqual(expected, SdkVersionUtils.GetSdkVersion(string.Empty)); }