Skip to content

Commit

Permalink
Update expected test outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinesp committed Aug 13, 2023
1 parent edfdb19 commit 489ed47
Show file tree
Hide file tree
Showing 37 changed files with 111 additions and 74 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
*/
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider = Class.forName(".TestShowkaseRootCodegen").newInstance() as
ShowkaseProvider
val showkaseComponentProvider = Class.forName(".TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider =
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen").newInstance()
as ShowkaseProvider
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider =
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen").newInstance()
as ShowkaseProvider
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider =
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen").newInstance()
as ShowkaseProvider
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider =
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen").newInstance()
as ShowkaseProvider
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider =
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen").newInstance()
as ShowkaseProvider
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider =
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen").newInstance()
as ShowkaseProvider
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider =
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen").newInstance()
as ShowkaseProvider
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider =
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen").newInstance()
as ShowkaseProvider
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider =
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen").newInstance()
as ShowkaseProvider
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider =
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen").newInstance()
as ShowkaseProvider
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider =
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen").newInstance()
as ShowkaseProvider
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider =
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen").newInstance()
as ShowkaseProvider
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider =
Class.forName("com.airbnb.android.showkase_processor_testing_my_very_long_name.TestShowkaseRootCodegen").newInstance()
as ShowkaseProvider
Class.forName("com.airbnb.android.showkase_processor_testing_my_very_long_name.TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider =
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen").newInstance()
as ShowkaseProvider
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider =
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen").newInstance()
as ShowkaseProvider
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
*/
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider = Class.forName(".TestShowkaseRootCodegen").newInstance() as
ShowkaseProvider
val showkaseComponentProvider = Class.forName(".TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider =
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen").newInstance()
as ShowkaseProvider
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider =
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen").newInstance()
as ShowkaseProvider
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider =
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen").newInstance()
as ShowkaseProvider
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
*/
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider = Class.forName(".TestShowkaseRootCodegen").newInstance() as
ShowkaseProvider
val showkaseComponentProvider = Class.forName(".TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider =
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen").newInstance()
as ShowkaseProvider
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider =
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen").newInstance()
as ShowkaseProvider
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider =
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen").newInstance()
as ShowkaseProvider
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public fun Showkase.getBrowserIntent(context: Context): Intent {
public fun Showkase.getMetadata(): ShowkaseElementsMetadata {
try {
val showkaseComponentProvider =
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen").newInstance()
as ShowkaseProvider
Class.forName("com.airbnb.android.showkase_processor_testing.TestShowkaseRootCodegen")
.getDeclaredConstructor()
.newInstance() as ShowkaseProvider
return showkaseComponentProvider.metadata()
} catch(exception: ClassNotFoundException) {
error("The class wasn't generated correctly. Make sure that you have setup Showkase correctly by following the steps here - https://github.com/airbnb/Showkase#Installation.")
Expand Down
Loading

0 comments on commit 489ed47

Please sign in to comment.