Example #1
0
        public async Task Test_Manager_ADB_Wifi()
        {
            // Arrange
            string expected     = "164.125.48.38";
            bool   is_connected = true;

            // Action
            Manager.ADB_Wifi("shell svc wifi enable");
            while (is_connected)
            {
                is_connected = !Manager.Check_Internet_Connectivity();
            }
            string actual = await Manager.Get_MyIPAsync();

            // Assert
            Assert.AreEqual(expected, actual);
        }