Skip to content

Commit

Permalink
ISSUE-646: Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikitae57 committed Aug 29, 2024
1 parent 15d0185 commit 02c9c81
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ import com.kaspersky.components.composesupport.interceptors.behavior.impl.flakys
import com.kaspersky.components.composesupport.interceptors.watcher.SemanticsWatcherInterceptor
import com.kaspersky.kaspresso.flakysafety.scalpel.external.ExternalFlakySafetyScalper

/**
* Removes and restores compose flaky safety interceptor so the `flakySafely` expression works correctly
* @see com.kaspersky.kaspresso.flakysafety.scalpel.FlakySafeInterceptorScalpel
*/
class ComposeFlakySafetyScalper(
private val semanticsBehaviorInterceptors: MutableList<SemanticsBehaviorInterceptor>,
private val semanticsWatcherInterceptors: MutableList<SemanticsWatcherInterceptor>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import com.kaspersky.kaspresso.interceptors.tolibrary.KakaoLibraryInjector
import com.kaspersky.kaspresso.kaspresso.Kaspresso

/**
* The special class that removes all interceptors related to FlakySafety from Kautomator settings
* The special class that removes all interceptors related to FlakySafety from kakao settings
* and restore them by demand
*/
internal class FlakySafeInterceptorScalpel(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,11 @@ data class Kaspresso(
*/
lateinit var testRunWatcherInterceptors: MutableList<TestRunWatcherInterceptor>

/**
* Holds a reference to the custom "external" flaky safety scalpers that are not set in the kaspresso by default
* @see com.kaspersky.kaspresso.flakysafety.scalpel.FlakySafeInterceptorScalpel
* @see com.kaspersky.kaspresso.flakysafety.scalpel.external.ExternalFlakySafetyScalper
*/
lateinit var externalFlakySafetyScalperNotifier: ExternalFlakySafetyScalperNotifier

/**
Expand Down

0 comments on commit 02c9c81

Please sign in to comment.