Package edu.wpi.cs.wpisuitetng.database

Examples of edu.wpi.cs.wpisuitetng.database.DataStore.save()


   
    // add the test user to the database
    DataStore db = DataStore.getDataStore();
    String hashedPassword = new Sha256Password().generateHash("jayms");
    this.u = new User("Tyler", "twack", hashedPassword, 5);
    db.save(this.u);
  }
 
  @After
  /**
   * Ensure the Sessions are cleared after each Test.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.