Ejemplo n.º 1
0
        public void TestCanUninstall(string scenario, bool expected)
        {
            var  service = new AppManagerService( );
            bool actual  = CheckIfPossible(scenario, service.CanUninstall);

            Assert.AreEqual(expected, actual);
        }
Ejemplo n.º 2
0
        public void TestGetInstalledApps( )
        {
            var service = new AppManagerService( );
            var result  = service.GetInstalledApplications( );

            Assert.That(result, Has.Count.GreaterThan(0));
        }
Ejemplo n.º 3
0
 /// <summary>
 ///     Basic constructor (server-side).
 /// </summary>
 public AppManagerController( )
 {
     AppManagerServiceImpl = new AppManagerService( );
 }
Ejemplo n.º 4
0
 internal AppsController(AppManagerService appManager)
 {
     m_AppManager = appManager;
 }
Ejemplo n.º 5
0
 internal OAuthController(AppManagerService appManager)
 {
     m_AppManager = appManager;
 }