示例#1
0
        public void RevulyticsTracker_StartSdkTest()
        {
            var tracker = new RevulyticsTracker();

            tracker.CreateRevulyticsConfig();
            var startSdkResult = tracker.StartSdk();

            Assert.AreEqual(startSdkResult, RUIResult.ok, "sdkNotStarted");
        }
示例#2
0
        public void RevulyticsTracker_StartSessionTest()
        {
            var tracker = new RevulyticsTracker();

            tracker.CreateRevulyticsConfig();
            tracker.StartSdk();
            tracker.Username = "******";
            var startSessionResult = tracker.StartSession();

            Assert.AreEqual(startSessionResult, RUIResult.ok, "sdkSuspended");
        }
示例#3
0
        public void RevulyticsTracker_EnableAppplicationTrackerSdkException()
        {
            var tracker = new RevulyticsTracker();

            tracker.CreateRevulyticsConfig();
            tracker.StartSdk();
            tracker.InformationalVersion = "Git Commit ID, branch name, etc...";
            var result = tracker.SetInformationalVersion();

            Assert.AreEqual(result, RUIResult.ok, "Error in setting informational version");
        }
示例#4
0
        public void RevulyticsTracker_SetProductVersionTest()
        {
            var tracker = new RevulyticsTracker();

            tracker.CreateRevulyticsConfig();
            tracker.StartSdk();
            tracker.ProductVersion = "0.0.0.1";
            var result = tracker.SetProductVersion();

            Assert.AreEqual(result, RUIResult.ok, "Error in setting product version");
        }