Package com.ngt.jopenmetaverse.shared.sim

Examples of com.ngt.jopenmetaverse.shared.sim.GridClient


public class InventoryTest {

  @Test
  public void inventoryCreationTests()
  {
    GridClient client = new GridClient();
    UUID uuid1 = new UUID("83a92bbc-d795-458d-baf9-822c75ec0d92");
    Inventory inventory = new Inventory(client, client.inventory, uuid1);
    InventoryFolder rootFolder = new InventoryFolder(uuid1);
    rootFolder.Name = "";
    rootFolder.ParentUUID = UUID.Zero;
View Full Code Here


  }
 
  @Test
  public void saveAssetToCacheTests()
  {
    GridClient client = new GridClient();
    AssetCache assetCache = new AssetCache(client);
    Login(client);
    PlatformUtils.sleep(5000);
   
    Map<UUID, byte[]> inventory = new HashMap<UUID, byte[]>();
View Full Code Here

  }
 
  @Test
  public void saveLargeAssetToCacheTests()
  {
    GridClient client = new GridClient();
    AssetCache assetCache = new AssetCache(client);
    Login(client);
    PlatformUtils.sleep(5000);
    byte[] bytes;
    Map<UUID, byte[]> inventory = new HashMap<UUID, byte[]>();
View Full Code Here

  }

  @Test
  public void compressAndSaveImageToCacheTests()
  {
    GridClient client = new GridClient();
    AssetCache assetCache = new AssetCache(client);
    Login(client);
    PlatformUtils.sleep(5000);
    byte[] bytes;
    Map<UUID, LoadCachedImageResult> inventory = new HashMap<UUID, LoadCachedImageResult>();
View Full Code Here

 
 
 
  private void createAndRaisePacketEventDictionary(int observerListNum, boolean isAsync, int timeout)
  {
    GridClient gd = new GridClient();
    Simulator sim = new Simulator(gd, new InetSocketAddress(Settings.BIND_ADDR, 4444), new BigInteger("9999"));
   
    /* Add few Observers and raise event*/
    List<SimpleTestObserver> observerList1 = new ArrayList<SimpleTestObserver>();
    PacketEventDictionary pvd2 = new PacketEventDictionary(gd);
View Full Code Here

TOP

Related Classes of com.ngt.jopenmetaverse.shared.sim.GridClient

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.