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 15, 2023
1 parent bc0bad6 commit 0c487fc
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

0 comments on commit 0c487fc

Please sign in to comment.