File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed
jvm/selfie-lib/src/commonMain/kotlin/com/diffplug/selfie Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -95,10 +95,6 @@ object Selfie {
95
95
* control whether the VCR is writing or reading. If the caller lives in a package called
96
96
* `selfie.*` it will keep looking up the stack trace until a caller is not inside `selfie.*`.
97
97
*/
98
- @JvmStatic
99
- @ExperimentalSelfieVcr
100
- fun vcrTestLocator (sub : String = "") = VcrSelfie .TestLocator (sub, deferredDiskStorage)
101
-
102
98
@JvmStatic
103
99
@ExperimentalSelfieVcr
104
100
fun vcrSelfie (sub : String = "") = VcrSelfie (sub, recordCall(false ), deferredDiskStorage)
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ package com.diffplug.selfie
18
18
import com.diffplug.selfie.guts.CallStack
19
19
import com.diffplug.selfie.guts.DiskStorage
20
20
import com.diffplug.selfie.guts.atomic
21
- import com.diffplug.selfie.guts.recordCall
22
21
import com.diffplug.selfie.guts.reentrantLock
23
22
import com.diffplug.selfie.guts.withLock
24
23
@@ -31,10 +30,6 @@ internal constructor(
31
30
private val call: CallStack ,
32
31
private val disk: DiskStorage ,
33
32
) : AutoCloseable {
34
- class TestLocator internal constructor(private val sub : String , private val disk : DiskStorage ) {
35
- private val call = recordCall(false )
36
- fun createVcr () = VcrSelfie (sub, call, disk)
37
- }
38
33
private val state: State
39
34
40
35
internal sealed class State {
You can’t perform that action at this time.
0 commit comments