-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from RUGSoftEng/release-0.3
Release 0.3
- Loading branch information
Showing
67 changed files
with
2,388 additions
and
671 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
...p/src/androidTest/java/com/rugged/application/hestia/ClientInteractionControllerTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package com.rugged.application.hestia; | ||
|
||
import android.content.Context; | ||
import android.support.test.InstrumentationRegistry; | ||
import android.support.test.runner.AndroidJUnit4; | ||
import android.util.Log; | ||
|
||
import org.junit.Test; | ||
import org.junit.runner.RunWith; | ||
|
||
import hestia.backend.ClientInteractionController; | ||
import hestia.backend.Device; | ||
|
||
import static org.junit.Assert.*; | ||
|
||
@RunWith(AndroidJUnit4.class) | ||
public class ClientInteractionControllerTest { | ||
private String TAG = "ClientInteractionTest"; | ||
|
||
@Test | ||
public void getDevices() throws Exception { | ||
ClientInteractionController cic = ClientInteractionController.getInstance(); | ||
StringBuilder sb = new StringBuilder(); | ||
for(Device d : cic.getDevices()){ | ||
sb.append(d.toString()); | ||
} | ||
Context appContext = InstrumentationRegistry.getTargetContext(); | ||
assertEquals("com.rugged.application.hestia", appContext.getPackageName()); | ||
Log.i(TAG, sb.toString()); | ||
} | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 0 additions & 59 deletions
59
Hestia/app/src/main/java/com/rugged/application/hestia/Activator.java
This file was deleted.
Oops, something went wrong.
68 changes: 0 additions & 68 deletions
68
Hestia/app/src/main/java/com/rugged/application/hestia/Client.java
This file was deleted.
Oops, something went wrong.
69 changes: 0 additions & 69 deletions
69
Hestia/app/src/main/java/com/rugged/application/hestia/Device.java
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
Hestia/app/src/main/java/com/rugged/application/hestia/DeviceListActivity.java
This file was deleted.
Oops, something went wrong.
92 changes: 0 additions & 92 deletions
92
Hestia/app/src/main/java/com/rugged/application/hestia/DeviceListFragment.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.