All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nawforce.apexlink.rpc.TestItem.scala Maven / Gradle / Ivy

/*
 * Copyright (c) 2022 FinancialForce.com, inc. All rights reserved
 */
package com.nawforce.apexlink.rpc

import com.nawforce.pkgforce.path.Location
import io.github.shogowada.scala.jsonrpc.serializers.JSONRPCPickler.{macroRW, ReadWriter => RW}

case class ClassTestItem(name: String, targetLocation: TargetLocation)

object ClassTestItem {
  implicit val rw: RW[ClassTestItem]                = macroRW
  implicit val rwTargetLocation: RW[TargetLocation] = macroRW
  implicit val rwLocation: RW[Location]             = macroRW
}

case class MethodTestItem(methodName: String, className: String, targetLocation: TargetLocation)

object MethodTestItem {
  implicit val rw: RW[MethodTestItem]               = macroRW
  implicit val rwTargetLocation: RW[TargetLocation] = macroRW
  implicit val rwLocation: RW[Location]             = macroRW
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy