Skip to content

Instantly share code, notes, and snippets.

View matzuk's full-sized avatar
🏠
Working from home

Evgenii Matsiuk matzuk

🏠
Working from home
View GitHub Profile
E 13:03:15.995 [DefaultDispatcher-worker-17 @coroutine#889] <c.m.marathon.ios.AppleSimulatorDevice> simulator D3865978-2E19-479D-86FB-9D457C3A798A: stderr=--- xcodebuild: WARNING: Using the first of multiple matching destinations:
E 13:03:15.995 [DefaultDispatcher-worker-17 @coroutine#889] <c.m.marathon.ios.AppleSimulatorDevice> simulator D3865978-2E19-479D-86FB-9D457C3A798A: stderr={ platform:iOS Simulator, id:D3865978-2E19-479D-86FB-9D457C3A798A, OS:17.2, name:iPhone 15 Pro }
E 13:03:15.995 [DefaultDispatcher-worker-17 @coroutine#889] <c.m.marathon.ios.AppleSimulatorDevice> simulator D3865978-2E19-479D-86FB-9D457C3A798A: stderr={ platform:iOS Simulator, id:D3865978-2E19-479D-86FB-9D457C3A798A, OS:17.2, name:iPhone 15 Pro }
E 13:03:15.995 [DefaultDispatcher-worker-17 @coroutine#889] <c.m.marathon.ios.AppleSimulatorDevice> simulator D3865978-2E19-479D-86FB-9D457C3A798A: stderr=2024-03-07 13:03:05.084 xcodebuild[35620:319022] [MT] IDELaunchReport: 8fc54d8f580c0840:8fc54d8f580c0840: Finished with error: Simulat
flakyBehaviorInterceptor.intercept(action = {
viewInteraction.perform(ViewAction)
}) {
var cachedException: Throwable
var startTime = System.currentTimeMillis()
do {
try {
return action.invoke()
} catch (e: Throwable) {
CONTRIBUTOR LICENSE AGREEMENT
You accept and agree to the following terms and conditions for Your past, present and future Contributions submitted to the AO Kaspersky Lab (“Company”).
1. Definitions.
"You" (or "Your") shall mean the legal owner of the Contribution that is making this CLA with the Company. For legal entities, the entity making a Contribution and all other entities that control, are controlled by, or are under common control with that entity are considered to be a single Contributor. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
"Contribution" shall mean any original work of authorship, including any derivative works, modifications or additions to an existing work, that is intentionally submitted by You to the Company for inclusion in, or documenta
CONTRIBUTOR LICENSE AGREEMENT
You accept and agree to the following terms and conditions for Your past, present and future Contributions submitted to the AO Kaspersky Lab (“Company”).
1. Definitions.
"You" (or "Your") shall mean the legal owner of the Contribution that is making this CLA with the Company. For legal entities, the entity making a Contribution and all other entities that control, are controlled by, or are under common control with that entity are considered to be a single Contributor. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
"Contribution" shall mean any original work of authorship, including any derivative works, modifications or additions to an existing work, that is intentionally submitted by You to the Company for inclusion in, or documenta
@matzuk
matzuk / logs
Created November 2, 2019 12:37
INFO_____tag=Desktop____________________________________method=MAIN_______________________________________message => arguments: emulators=[], adbServerPort=null
INFO_____tag=Desktop____________________________________method=startDevicesObserving______________________message => start
INFO_____tag=Desktop____________________________________method=startDevicesObserving______________________message => New device has been found: emulator-5554. Initialize connection to it...
INFO_____device=emulator-5554____tag=DesktopDeviceSocketConnectionForwardImpl___method=getDesktopSocketLoad_______________________message => calculated desktop client port=35520
INFO_____device=emulator-5554____tag=DesktopDeviceSocketConnectionForwardImpl___method=forwardPorts(fromPort=35520, toPort=8500)__message => started
INFO_____device=emulator-5554____tag=CommandExecutorImpl________________________method=execute____________________________________message => adbCommand=adb -s emulator-5554 forward tcp:35520 tcp:8500
INFO_____device=emulato
// create implementation of ScannerFeatureDependencies in api-module like this
public class ScannerFeatureDependenciesLegacy implements ScannerFeatureDependencies {
@Override
public DbClientApi dbClient() {
return new DbClientLegacy();
}
@Override
public HttpClientApi httpClient() {
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.scanner_example">
<application
android:name=".ScannerExampleApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
// create implementation of ScannerFeatureDependencies
public class ScannerFeatureDependenciesFake implements ScannerFeatureDependencies {
@Override
public DbClientApi dbClient() {
return new DbClientFake();
}
@Override
public HttpClientApi httpClient() {
public class FeatureProxyInjector {
// another...
public static ScannerFeatureApi getFeatureScanner() {
return ScannerFeatureComponent.initAndGet(
DaggerScannerFeatureComponent_ScannerFeatureDependenciesComponent.builder()
.coreDbApi(CoreDbComponent.get())
.coreNetworkApi(CoreNetworkComponent.get())
.coreUtilsApi(CoreUtilsComponent.get())
// bla-bla-bla
dependencies {
implementation project(':core-utils')
implementation project(':core-db-api')
implementation project(':core-db-impl')
implementation project(':core-network-api')
implementation project(':core-network-impl')
implementation project(':feature-scanner-api')
implementation project(':feature-scanner-impl')
implementation project(':feature-antitheft-api')