-
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.
- Loading branch information
Showing
14 changed files
with
73 additions
and
83 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
detox/android/detox/src/main/java/com/wix/detox/common/DetoxLog.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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package com.wix.detox.common | ||
|
||
import android.util.Log | ||
|
||
class DetoxLog { | ||
fun verbose(tag: String, log: String) = Log.v(tag, log) | ||
fun verbose(tag: String, log: String, error: Throwable) = Log.v(tag, log, error) | ||
|
||
fun debug(tag: String, log: String) = Log.d(tag, log) | ||
fun debug(tag: String, log: String, error: Throwable) = Log.d(tag, log, error) | ||
|
||
fun info(tag: String, log: String) = Log.i(tag, log) | ||
fun info(tag: String, log: String, error: Throwable) = Log.i(tag, log, error) | ||
|
||
fun warn(tag: String, log: String) = Log.w(tag, log) | ||
fun warn(tag: String, log: String, error: Throwable) = Log.w(tag, log, error) | ||
fun warn(tag: String, error: Throwable) = Log.w(tag, error) | ||
|
||
fun error(tag: String, log: String) = Log.e(tag, log) | ||
fun error(tag: String, log: String, error: Throwable) = Log.e(tag, log, error) | ||
|
||
companion object { | ||
val instance = DetoxLog() | ||
} | ||
} |
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
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
2 changes: 1 addition & 1 deletion
2
detox/android/detox/src/main/java/com/wix/detox/espresso/action/DetoxSingleTap.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,3 +1,3 @@ | ||
package com.wix.detox.espresso.action | ||
|
||
open class DetoxSingleTap(strictMode: Boolean) : DetoxMultiTap(1, strictMode = strictMode) | ||
open class DetoxSingleTap : DetoxMultiTap(1) |
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
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
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
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
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