Package com.eclipsesource.tabris

Examples of com.eclipsesource.tabris.TabrisClient


  @Rule
  public TabrisEnvironment environment = new TabrisEnvironment();

  @Test
  public void testHasAppLauncherService() {
    TabrisClient client = new TabrisClientImpl();

    AppLauncher launcher = client.getService( AppLauncher.class );

    assertNotNull( launcher );
  }
View Full Code Here


    assertNotNull( launcher );
  }

  @Test
  public void testHasAppService() {
    TabrisClient client = new TabrisClientImpl();

    App app = client.getService( App.class );

    assertNotNull( app );
  }
View Full Code Here

    assertNotNull( app );
  }

  @Test
  public void testHasClientDeviceService() {
    TabrisClient client = new TabrisClientImpl();

    ClientDevice device = client.getService( ClientDevice.class );

    assertNotNull( device );
  }
View Full Code Here

    assertNotNull( device );
  }

  @Test
  public void testHasClientInfoService() {
    TabrisClient client = new TabrisClientImpl();

    ClientInfo info = client.getService( ClientInfo.class );

    assertNotNull( info );
  }
View Full Code Here

    assertNotNull( info );
  }

  @Test
  public void testHasClientStoreService() {
    TabrisClient client = new TabrisClientImpl();

    ClientStore store = client.getService( ClientStore.class );

    assertNotNull( store );
  }
View Full Code Here

    assertNotNull( store );
  }

  @Test
  public void testHasCameraService() {
    TabrisClient client = new TabrisClientImpl();

    Camera camera = client.getService( Camera.class );

    assertNotNull( camera );
  }
View Full Code Here

    assertNotNull( camera );
  }

  @Test
  public void testHasCloudPushService() {
    TabrisClient client = new TabrisClientImpl();

    CloudPush cloudPush = client.getService( CloudPush.class );

    assertNotNull( cloudPush );
  }
View Full Code Here

    assertNotNull( cloudPush );
  }

  @Test
  public void testHasGeolocationService() {
    TabrisClient client = new TabrisClientImpl();

    Geolocation geolocation = client.getService( Geolocation.class );

    assertNotNull( geolocation );
  }
View Full Code Here

    assertNotNull( geolocation );
  }

  @Test
  public void testAppLauncherIsSingleton() {
    TabrisClient client = new TabrisClientImpl();

    AppLauncher launcher = client.getService( AppLauncher.class );

    assertSame( launcher, client.getService( AppLauncher.class ) );
  }
View Full Code Here

    assertSame( launcher, client.getService( AppLauncher.class ) );
  }

  @Test
  public void testAppIsSingleton() {
    TabrisClient client = new TabrisClientImpl();

    App app = client.getService( App.class );

    assertSame( app, client.getService( App.class ) );
  }
View Full Code Here

TOP

Related Classes of com.eclipsesource.tabris.TabrisClient

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.