Skip to content

Commit

Permalink
more testing code is database
Browse files Browse the repository at this point in the history
  • Loading branch information
jyh09001 committed May 1, 2015
1 parent ef72803 commit 77ce921
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 2 deletions.
Binary file modified bin/InputOutput/InputOutput.class
Binary file not shown.
Binary file modified bin/testing/Networking_Test.class
Binary file not shown.
Binary file modified bin/testing/TestforIO.class
Binary file not shown.
Binary file modified bin/testing/ThermostatTest.class
Binary file not shown.
Binary file modified bin/thermostat/Sensorable.class
Binary file not shown.
Binary file modified bin/thermostat/TemperatureSensor.class
Binary file not shown.
Binary file modified bin/thermostat/ThermostatDevice.class
Binary file not shown.
12 changes: 10 additions & 2 deletions src/testing/DatabaseTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,17 @@ public DatabaseTest(){
if(testuser.get("email").equals("herp@derp.com")){
System.out.println("email pass");
}
if(testuser.get("ipaddress").equals("123456789.0")){
System.out.println("ip pass");
else{
System.out.println("user email fail");
}


if(testuser.get("ipaddress").equals("123456789.0")){
System.out.println("user ip pass");
}
else{
System.out.println("user ip fail");
}

//if(testuser.get()))
}
Expand Down

0 comments on commit 77ce921

Please sign in to comment.