diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-11-08 12:03:06 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-11-08 12:03:06 +0200 |
| commit | 5da415d6935bd6faa8c49db66f11015a8050bf4d (patch) | |
| tree | d2b124a77b4e46f8c7ea92fa2e15151fe4d0d6e5 /Software/Android_Studio/Tango.UnitTesting/src | |
| parent | 65115888c2d2fd03522dd4b5243a6657e15a62f0 (diff) | |
| download | Tango-5da415d6935bd6faa8c49db66f11015a8050bf4d.tar.gz Tango-5da415d6935bd6faa8c49db66f11015a8050bf4d.zip | |
Moved android project and new project.
Visual Studio Timeout Task!
Diffstat (limited to 'Software/Android_Studio/Tango.UnitTesting/src')
30 files changed, 0 insertions, 443 deletions
diff --git a/Software/Android_Studio/Tango.UnitTesting/src/androidTest/java/com/twine/tango/unittesting/DAL_TST.java b/Software/Android_Studio/Tango.UnitTesting/src/androidTest/java/com/twine/tango/unittesting/DAL_TST.java deleted file mode 100644 index 5decde1d6..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/androidTest/java/com/twine/tango/unittesting/DAL_TST.java +++ /dev/null @@ -1,81 +0,0 @@ -package com.twine.tango.unittesting; - -import android.content.Context; -import android.support.test.InstrumentationRegistry; -import android.support.test.runner.AndroidJUnit4; - -import com.raizlabs.android.dbflow.config.FlowManager; -import com.twine.tango.dal.TangoDB; -import com.twine.tango.dal.dao.TangoDAO; -import com.twine.tango.dal.entities.ActionType; -import com.twine.tango.dal.entities.EventType; -import com.twine.tango.dal.entities.EventTypesAction; -import com.twine.tango.dal.entities.Organization; -import com.twine.tango.logging.LogManager; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import java.util.List; - -/** - * Created by Roy on 12/19/2017. - */ - -@RunWith(AndroidJUnit4.class) -public class DAL_TST -{ - @Test - public void perform_basic_dal_test() - { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getTargetContext(); - - List<EventType> events = TangoDAO.getAllEventTypes(); - - for (EventType ev: events) - { - List<ActionType> actionTypes = ev.getActionTypes(); - - for (ActionType action : - actionTypes) - { - LogManager.getDefault().log(action.getDescription()); - } - } - - LogManager.getDefault().log("Done!"); - } - - @Test - public void add_machine() - { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getTargetContext(); - - List<Organization> organizations = TangoDAO.getAllOrganizations(); - -// if (organizations.size() == 0) -// { - - - FlowManager.getDatabase(TangoDB.class).executeTransaction((wrapper) -> - { - - Organization org = new Organization(); - org.setName("Twine 2"); - org.getAddress().save(wrapper).blockingGet(); - org.getContact().save(wrapper).blockingGet(); - org.save(wrapper).blockingGet(); - - }); - - //FlowManager.getModelAdapter(MyTable.class).saveAll(myObjectsList); //For machine events.... - -// } - - organizations = TangoDAO.getAllOrganizations(); - - int a = 5; - } -} diff --git a/Software/Android_Studio/Tango.UnitTesting/src/androidTest/java/com/twine/tango/unittesting/Logging_TST.java b/Software/Android_Studio/Tango.UnitTesting/src/androidTest/java/com/twine/tango/unittesting/Logging_TST.java deleted file mode 100644 index 2f02ef972..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/androidTest/java/com/twine/tango/unittesting/Logging_TST.java +++ /dev/null @@ -1,45 +0,0 @@ -package com.twine.tango.unittesting; - -import android.content.Context; -import android.support.test.InstrumentationRegistry; -import android.support.test.runner.AndroidJUnit4; - -import com.twine.tango.logging.FileLogger; -import com.twine.tango.logging.LogCatLogger; -import com.twine.tango.logging.LogCategory; -import com.twine.tango.logging.LogManager; - -import org.junit.Test; -import org.junit.runner.RunWith; - -/** - * Created by Roy on 3/18/2018. - */ - -@RunWith(AndroidJUnit4.class) -public class Logging_TST -{ - @Test - public void register_and_log_using_log_Cat() - { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getTargetContext(); - - LogManager logManager = LogManager.getDefault(); - - logManager.log("This is a general log message."); - logManager.log("This is a critical log message", LogCategory.Critical); - - while (logManager.getHasLogsPending()) - { - try - { - Thread.sleep(5000); - } - catch (InterruptedException e) - { - e.printStackTrace(); - } - } - } -} diff --git a/Software/Android_Studio/Tango.UnitTesting/src/androidTest/java/com/twine/tango/unittesting/NativeBridge_TST.java b/Software/Android_Studio/Tango.UnitTesting/src/androidTest/java/com/twine/tango/unittesting/NativeBridge_TST.java deleted file mode 100644 index fc1758781..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/androidTest/java/com/twine/tango/unittesting/NativeBridge_TST.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.twine.tango.unittesting; - -import android.content.Context; -import android.support.test.InstrumentationRegistry; -import android.support.test.runner.AndroidJUnit4; - -import com.twine.tango.nativebridge.ColorLibAdapter; - -import org.junit.Assert; -import org.junit.Test; -import org.junit.runner.RunWith; - -/** - * Created by Roy on 12/21/2017. - */ - -@RunWith(AndroidJUnit4.class) -public class NativeBridge_TST -{ - @Test - public void calculate_using_protobuf() - { - ColorLibAdapter adapter = new ColorLibAdapter(); - double a = adapter.calculateProto(10,5); - Assert.assertEquals(a,15,0); - } -} diff --git a/Software/Android_Studio/Tango.UnitTesting/src/androidTest/java/com/twine/tango/unittesting/Synchronization_TST.java b/Software/Android_Studio/Tango.UnitTesting/src/androidTest/java/com/twine/tango/unittesting/Synchronization_TST.java deleted file mode 100644 index d7fef49bc..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/androidTest/java/com/twine/tango/unittesting/Synchronization_TST.java +++ /dev/null @@ -1,53 +0,0 @@ -package com.twine.tango.unittesting; - -import android.content.Context; -import android.support.test.InstrumentationRegistry; -import android.support.test.runner.AndroidJUnit4; - -import com.twine.tango.dal.dao.TangoDAO; -import com.twine.tango.dal.entities.Organization; -import com.twine.tango.integration.providers.MachineIdentityProvider; -import com.twine.tango.integration.services.ISynchronizationService; -import com.twine.tango.integration.services.SynchronizationService; -import com.twine.tango.logging.LogManager; - -import org.junit.Test; -import org.junit.runner.RunWith; - - -/** - * Contains unit testing for Tango machine local to remote synchronization. - */ -@RunWith(AndroidJUnit4.class) -public class Synchronization_TST -{ - - /** - * Synchronize local to remote db. - */ - @Test - public void synchronize_local_to_remote_db() - { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getTargetContext(); - - for (Organization org : TangoDAO.getAllOrganizations()) - { - LogManager.getDefault().log(org.getName()); - } - - //ISynchronizationService synchronizer = new SynchronizationService(new MachineIdentityProvider()); - -// synchronizer.synchronizeDB().subscribe(() -> -// { -// for (Organization org : TangoDAO.getAllOrganizations()) -// { -// XLog.i(org.getName()); -// } -// -// }, (ex) -> -// { -// ex.printStackTrace(); -// }); - } -} diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/AndroidManifest.xml b/Software/Android_Studio/Tango.UnitTesting/src/main/AndroidManifest.xml deleted file mode 100644 index 89fc2427a..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/AndroidManifest.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - package="com.twine.tango.unittesting"> - - <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> - - <application - android:name=".App" - android:allowBackup="true" - android:icon="@mipmap/ic_launcher" - android:label="@string/app_name" - android:roundIcon="@mipmap/ic_launcher_round" - android:supportsRtl="true" - android:theme="@style/AppTheme"> - <activity android:name=".MainActivity"> - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> - </activity> - </application> - -</manifest>
\ No newline at end of file diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/java/com/twine/tango/unittesting/App.java b/Software/Android_Studio/Tango.UnitTesting/src/main/java/com/twine/tango/unittesting/App.java deleted file mode 100644 index 6d81b7c32..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/java/com/twine/tango/unittesting/App.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.twine.tango.unittesting; - -import android.app.Application; - -import com.twine.tango.dal.TangoDB; -import com.twine.tango.sharedui.TangoApplication; - -import java.io.File; - -/** - * Created by Roy on 12/2/2017. - */ - -public class App extends TangoApplication -{ - -} diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/java/com/twine/tango/unittesting/MainActivity.java b/Software/Android_Studio/Tango.UnitTesting/src/main/java/com/twine/tango/unittesting/MainActivity.java deleted file mode 100644 index 4be88237d..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/java/com/twine/tango/unittesting/MainActivity.java +++ /dev/null @@ -1,15 +0,0 @@ -package com.twine.tango.unittesting; - -import android.support.v7.app.AppCompatActivity; -import android.os.Bundle; - -public class MainActivity extends AppCompatActivity -{ - - @Override - protected void onCreate(Bundle savedInstanceState) - { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_main); - } -} diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/res/drawable/ic_launcher_background.xml b/Software/Android_Studio/Tango.UnitTesting/src/main/res/drawable/ic_launcher_background.xml deleted file mode 100644 index 1cd2a3665..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/res/drawable/ic_launcher_background.xml +++ /dev/null @@ -1,113 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="24dp" - android:height="24dp" - android:viewportHeight="108.0" - android:viewportWidth="108.0"> - <path - android:fillColor="#26A69A" - android:pathData="M0,0h108v108h-108z" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8" /> - <path - android:fillColor="#00000000" - android:pathData="M19,0L19,108" - android:strokeColor="#33FFFFFF" - android:strokeWidth="0.8" /> - <path - android:fillColor="#00000000" - android:pathData="M9,0L9,108" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8" /> - <path - android:fillColor="#00000000" - android:pathData="M39,0L39,108" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8" /> - <path - android:fillColor="#00000000" - android:pathData="M29,0L29,108" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8" /> - <path - android:fillColor="#00000000" - android:pathData="M59,0L59,108" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8" /> - <path - android:fillColor="#00000000" - android:pathData="M49,0L49,108" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8" /> - <path - android:fillColor="#00000000" - android:pathData="M79,0L79,108" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8" /> - <path - android:fillColor="#00000000" - android:pathData="M69,0L69,108" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8" /> - <path - android:fillColor="#00000000" - android:pathData="M89,0L89,108" - android:strokeColor="#33FFFFFF" - android:strokeWidth="0.8" /> - <path - android:fillColor="#00000000" - android:pathData="M99,0L99,108" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8" /> - <path - android:fillColor="#00000000" - android:pathData="M0,89L108,89" - android:strokeColor="#33FFFFFF" - android:strokeWidth="0.8" /> - <path - android:fillColor="#00000000" - android:pathData="M0,99L108,99" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8" /> - <path - android:fillColor="#00000000" - android:pathData="M0,69L108,69" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8" /> - <path - android:fillColor="#00000000" - android:pathData="M0,79L108,79" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8" /> - <path - android:fillColor="#00000000" - android:pathData="M0,49L108,49" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8" /> - <path - android:fillColor="#00000000" - android:pathData="M0,59L108,59" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8" /> - <path - android:fillColor="#00000000" - android:pathData="M0,29L108,29" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8" /> - <path - android:fillColor="#00000000" - android:pathData="M0,39L108,39" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8" /> - <path - android:fillColor="#00000000" - android:pathData="M0,19L108,19" - android:strokeColor="#33FFFFFF" - android:strokeWidth="0.8" /> - <path - android:fillColor="#00000000" - android:pathData="M0,9L108,9" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8" /> -</vector> - diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/res/layout/activity_main.xml b/Software/Android_Studio/Tango.UnitTesting/src/main/res/layout/activity_main.xml deleted file mode 100644 index 9cdd121ea..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/res/layout/activity_main.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" - xmlns:tools="http://schemas.android.com/tools" - android:layout_width="match_parent" - android:layout_height="match_parent" - tools:context="com.twine.tango.unittesting.MainActivity"> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:gravity="center_vertical|center" - android:text="This is a unit testing project only! Please browse the tests folder." - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintLeft_toLeftOf="parent" - app:layout_constraintRight_toRightOf="parent" - app:layout_constraintTop_toTopOf="parent" /> - -</android.support.constraint.ConstraintLayout> diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-anydpi-v26/ic_launcher.xml deleted file mode 100644 index 00f9eaaf3..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@mipmap/ic_launcher_foreground" /> -</adaptive-icon>
\ No newline at end of file diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml deleted file mode 100644 index 00f9eaaf3..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background" /> - <foreground android:drawable="@mipmap/ic_launcher_foreground" /> -</adaptive-icon>
\ No newline at end of file diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-hdpi/ic_launcher.png b/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-hdpi/ic_launcher.png Binary files differdeleted file mode 100644 index 550730310..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-hdpi/ic_launcher.png +++ /dev/null diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-hdpi/ic_launcher_foreground.png Binary files differdeleted file mode 100644 index 4e526c95b..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-hdpi/ic_launcher_foreground.png +++ /dev/null diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-hdpi/ic_launcher_round.png b/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-hdpi/ic_launcher_round.png Binary files differdeleted file mode 100644 index 8fab6a3a5..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-hdpi/ic_launcher_round.png +++ /dev/null diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-mdpi/ic_launcher.png b/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-mdpi/ic_launcher.png Binary files differdeleted file mode 100644 index 6bc7fcd6f..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-mdpi/ic_launcher.png +++ /dev/null diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-mdpi/ic_launcher_foreground.png Binary files differdeleted file mode 100644 index 2c38c7190..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-mdpi/ic_launcher_foreground.png +++ /dev/null diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-mdpi/ic_launcher_round.png b/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-mdpi/ic_launcher_round.png Binary files differdeleted file mode 100644 index 1eecc0e7d..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-mdpi/ic_launcher_round.png +++ /dev/null diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xhdpi/ic_launcher.png b/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xhdpi/ic_launcher.png Binary files differdeleted file mode 100644 index ec87dcebe..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xhdpi/ic_launcher.png +++ /dev/null diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png Binary files differdeleted file mode 100644 index 072467eaa..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png +++ /dev/null diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xhdpi/ic_launcher_round.png Binary files differdeleted file mode 100644 index 05ca079ca..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xhdpi/ic_launcher_round.png +++ /dev/null diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xxhdpi/ic_launcher.png b/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xxhdpi/ic_launcher.png Binary files differdeleted file mode 100644 index 6f67f21ba..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xxhdpi/ic_launcher.png +++ /dev/null diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png Binary files differdeleted file mode 100644 index 78a6b7a34..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png +++ /dev/null diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xxhdpi/ic_launcher_round.png Binary files differdeleted file mode 100644 index 8bac0f274..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +++ /dev/null diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xxxhdpi/ic_launcher.png Binary files differdeleted file mode 100644 index 0327e13fa..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xxxhdpi/ic_launcher.png +++ /dev/null diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png Binary files differdeleted file mode 100644 index 68ebe33fe..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png +++ /dev/null diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png Binary files differdeleted file mode 100644 index bacd3e758..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +++ /dev/null diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/res/values/colors.xml b/Software/Android_Studio/Tango.UnitTesting/src/main/res/values/colors.xml deleted file mode 100644 index 3ab3e9cbc..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/res/values/colors.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <color name="colorPrimary">#3F51B5</color> - <color name="colorPrimaryDark">#303F9F</color> - <color name="colorAccent">#FF4081</color> -</resources> diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/res/values/strings.xml b/Software/Android_Studio/Tango.UnitTesting/src/main/res/values/strings.xml deleted file mode 100644 index 76b425acf..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/res/values/strings.xml +++ /dev/null @@ -1,3 +0,0 @@ -<resources> - <string name="app_name">Tango.UnitTesting</string> -</resources> diff --git a/Software/Android_Studio/Tango.UnitTesting/src/main/res/values/styles.xml b/Software/Android_Studio/Tango.UnitTesting/src/main/res/values/styles.xml deleted file mode 100644 index 5885930df..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/main/res/values/styles.xml +++ /dev/null @@ -1,11 +0,0 @@ -<resources> - - <!-- Base application theme. --> - <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> - <!-- Customize your theme here. --> - <item name="colorPrimary">@color/colorPrimary</item> - <item name="colorPrimaryDark">@color/colorPrimaryDark</item> - <item name="colorAccent">@color/colorAccent</item> - </style> - -</resources> diff --git a/Software/Android_Studio/Tango.UnitTesting/src/test/java/com/twine/tango/unittesting/ExampleUnitTest.java b/Software/Android_Studio/Tango.UnitTesting/src/test/java/com/twine/tango/unittesting/ExampleUnitTest.java deleted file mode 100644 index 9c8cf8626..000000000 --- a/Software/Android_Studio/Tango.UnitTesting/src/test/java/com/twine/tango/unittesting/ExampleUnitTest.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.twine.tango.unittesting; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> - */ -public class ExampleUnitTest -{ - @Test - public void addition_isCorrect() throws Exception - { - assertEquals(4, 2 + 2); - } -}
\ No newline at end of file |
