Change visibility fix message (quotes) + list of available actions in tests
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
// "Make Nested internal" "true"
|
||||
// "Make 'Nested' internal" "true"
|
||||
// ACTION: Make 'Nested' public
|
||||
// ACTION: Make 'foo' private
|
||||
|
||||
class Outer {
|
||||
private class Nested
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
// "Make Nested internal" "true"
|
||||
// "Make 'Nested' internal" "true"
|
||||
// ACTION: Make 'Nested' public
|
||||
// ACTION: Make 'foo' private
|
||||
|
||||
class Outer {
|
||||
internal class Nested
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Make Nested public" "true"
|
||||
// "Make 'Nested' public" "true"
|
||||
// ACTION: Make 'Nested' internal
|
||||
|
||||
class Outer {
|
||||
private class Nested
|
||||
|
||||
+2
-1
@@ -1,4 +1,5 @@
|
||||
// "Make Nested public" "true"
|
||||
// "Make 'Nested' public" "true"
|
||||
// ACTION: Make 'Nested' internal
|
||||
|
||||
class Outer {
|
||||
class Nested
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Make Data public" "true"
|
||||
// "Make 'Data' public" "true"
|
||||
// ACTION: Make 'foo' private
|
||||
|
||||
private data class Data(val x: Int)
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Make Data public" "true"
|
||||
// "Make 'Data' public" "true"
|
||||
// ACTION: Make 'foo' private
|
||||
|
||||
data class Data(val x: Int)
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
// "Make Private protected" "true"
|
||||
// "Make 'Private' protected" "true"
|
||||
// ACTION: Make 'foo' private
|
||||
// ACTION: Make 'Private' public
|
||||
|
||||
class Receiver<T>
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
// "Make Private protected" "true"
|
||||
// "Make 'Private' protected" "true"
|
||||
// ACTION: Make 'foo' private
|
||||
// ACTION: Make 'Private' public
|
||||
|
||||
class Receiver<T>
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
// "Make Data internal" "true"
|
||||
// "Make 'Data' internal" "true"
|
||||
// ACTION: Make 'bar' private
|
||||
// ACTION: Make 'Data' public
|
||||
|
||||
private data class Data(val x: Int)
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
// "Make Data internal" "true"
|
||||
// "Make 'Data' internal" "true"
|
||||
// ACTION: Make 'bar' private
|
||||
// ACTION: Make 'Data' public
|
||||
|
||||
internal data class Data(val x: Int)
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
// "Make Data protected" "true"
|
||||
// "Make 'Data' protected" "true"
|
||||
// ACTION: Make 'First' private
|
||||
// ACTION: Make 'Data' public
|
||||
|
||||
class Outer {
|
||||
private open class Data(val x: Int)
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
// "Make Data protected" "true"
|
||||
// "Make 'Data' protected" "true"
|
||||
// ACTION: Make 'First' private
|
||||
// ACTION: Make 'Data' public
|
||||
|
||||
class Outer {
|
||||
protected open class Data(val x: Int)
|
||||
|
||||
+2
-1
@@ -1,4 +1,5 @@
|
||||
// "Make Data public" "true"
|
||||
// "Make 'Data' public" "true"
|
||||
// ACTION: Make 'First' private
|
||||
|
||||
private open class Data(val x: Int)
|
||||
|
||||
|
||||
+2
-1
@@ -1,4 +1,5 @@
|
||||
// "Make Data public" "true"
|
||||
// "Make 'Data' public" "true"
|
||||
// ACTION: Make 'First' private
|
||||
|
||||
open class Data(val x: Int)
|
||||
|
||||
|
||||
+2
-1
@@ -1,4 +1,5 @@
|
||||
// "Make Data public" "true"
|
||||
// "Make 'Data' public" "true"
|
||||
// ACTION: Make 'First' private
|
||||
|
||||
class Other {
|
||||
internal open class Data(val x: Int)
|
||||
|
||||
+2
-1
@@ -1,4 +1,5 @@
|
||||
// "Make Data public" "true"
|
||||
// "Make 'Data' public" "true"
|
||||
// ACTION: Make 'First' private
|
||||
|
||||
class Other {
|
||||
open class Data(val x: Int)
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Make Data public" "true"
|
||||
// "Make 'Data' public" "true"
|
||||
|
||||
class Other {
|
||||
private open class Data(val x: Int)
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Make Data public" "true"
|
||||
// "Make 'Data' public" "true"
|
||||
|
||||
class Other {
|
||||
open class Data(val x: Int)
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Make Outer public" "true"
|
||||
// "Make 'Outer' public" "true"
|
||||
// ACTION: Make 'Derived' internal
|
||||
|
||||
import Outer.Base
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Make Outer public" "true"
|
||||
// "Make 'Outer' public" "true"
|
||||
// ACTION: Make 'Derived' internal
|
||||
|
||||
import Outer.Base
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
// "Make InternalString public" "true"
|
||||
// "Make 'InternalString' public" "true"
|
||||
// ACTION: Make 'User' internal
|
||||
// ACTION: Make 'User' private
|
||||
|
||||
internal open class InternalString
|
||||
|
||||
|
||||
+3
-1
@@ -1,4 +1,6 @@
|
||||
// "Make InternalString public" "true"
|
||||
// "Make 'InternalString' public" "true"
|
||||
// ACTION: Make 'User' internal
|
||||
// ACTION: Make 'User' private
|
||||
|
||||
open class InternalString
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Make x public" "true"
|
||||
// "Make 'x' public" "true"
|
||||
|
||||
open class Base(protected open val x: Int)
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Make x public" "true"
|
||||
// "Make 'x' public" "true"
|
||||
|
||||
open class Base(protected open val x: Int)
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Make x internal" "true"
|
||||
// "Make 'x' internal" "true"
|
||||
class First(private val x: Int)
|
||||
|
||||
class Second(f: First) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Make x internal" "true"
|
||||
// "Make 'x' internal" "true"
|
||||
class First(internal val x: Int)
|
||||
|
||||
class Second(f: First) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Make x public" "true"
|
||||
// "Make 'x' public" "true"
|
||||
class First(private val x: Int)
|
||||
|
||||
class Second(f: First) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Make x public" "true"
|
||||
// "Make 'x' public" "true"
|
||||
class First(val x: Int)
|
||||
|
||||
class Second(f: First) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Make x public" "true"
|
||||
// "Make 'x' public" "true"
|
||||
class First(protected val x: Int)
|
||||
|
||||
class Second(f: First) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Make x public" "true"
|
||||
// "Make 'x' public" "true"
|
||||
class First(val x: Int)
|
||||
|
||||
class Second(f: First) {
|
||||
|
||||
Reference in New Issue
Block a user