-
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 #6 from Teavaro/VERSIONS_UPDATE
Versions update
- Loading branch information
Showing
106 changed files
with
2,470 additions
and
528 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
44 changes: 22 additions & 22 deletions
44
app/src/androidTest/java/com/teavaro/ecommDemoApp/ExampleInstrumentedTest.kt
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 |
---|---|---|
@@ -1,24 +1,24 @@ | ||
package com.teavaro.ecommDemoApp | ||
|
||
import androidx.test.platform.app.InstrumentationRegistry | ||
import androidx.test.ext.junit.runners.AndroidJUnit4 | ||
|
||
import org.junit.Test | ||
import org.junit.runner.RunWith | ||
|
||
import org.junit.Assert.* | ||
|
||
/** | ||
* Instrumented test, which will execute on an Android device. | ||
* | ||
* See [testing documentation](http://d.android.com/tools/testing). | ||
*/ | ||
@RunWith(AndroidJUnit4::class) | ||
class ExampleInstrumentedTest { | ||
@Test | ||
fun useAppContext() { | ||
// Context of the app under test. | ||
val appContext = InstrumentationRegistry.getInstrumentation().targetContext | ||
assertEquals("com.teavaro.teavarodemoapp", appContext.packageName) | ||
} | ||
} | ||
//import androidx.test.platform.app.InstrumentationRegistry | ||
//import androidx.test.ext.junit.runners.AndroidJUnit4 | ||
// | ||
//import org.junit.Test | ||
//import org.junit.runner.RunWith | ||
// | ||
//import org.junit.Assert.* | ||
// | ||
///** | ||
// * Instrumented test, which will execute on an Android device. | ||
// * | ||
// * See [testing documentation](http://d.android.com/tools/testing). | ||
// */ | ||
//@RunWith(AndroidJUnit4::class) | ||
//class ExampleInstrumentedTest { | ||
// @Test | ||
// fun useAppContext() { | ||
// // Context of the app under test. | ||
// val appContext = InstrumentationRegistry.getInstrumentation().targetContext | ||
// assertEquals("com.teavaro.teavarodemoapp", appContext.packageName) | ||
// } | ||
//} |
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.
15 changes: 15 additions & 0 deletions
15
app/src/main/java/com/teavaro/ecommDemoApp/MyBroadcastReceiver.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,15 @@ | ||
package com.teavaro.ecommDemoApp; | ||
|
||
import android.content.BroadcastReceiver; | ||
import android.content.Context; | ||
import android.content.Intent; | ||
import android.util.Log; | ||
|
||
public class MyBroadcastReceiver extends BroadcastReceiver { | ||
|
||
@Override | ||
public void onReceive(Context context, Intent intent) { | ||
// Handle the broadcast event | ||
Log.d("MyBroadcastReceiver", "Broadcast received"); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
app/src/main/java/com/teavaro/ecommDemoApp/core/PushNotification.kt
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
app/src/main/java/com/teavaro/ecommDemoApp/core/SharedPreferenceUtils.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.