Package edu.cornell.cs.apl.viaduct.runtime
Types
EquivocationException
Link copied to clipboard
class EquivocationException(expectedValue: Any?, expectedValueProvider: Host, actualValue: Any?, actualValueProvider: Host) : ViaductRuntimeException
Content copied to clipboard
Thrown when a Host catches the attacker trying to equivocate.
ViaductRuntime
Link copied to clipboard
ViaductRuntimeException
Link copied to clipboard
abstract class ViaductRuntimeException(message: String) : RuntimeException
Content copied to clipboard
Functions
assertEquals
Link copied to clipboard
fun <T> assertEquals(expectedValue: T, expectedValueProvider: Host, actualValue: T, actualValueProvider: Host)
Content copied to clipboard
Throws EquivocationException if expectedValue does not match actualValue.