Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

UpgradesTest

Inherits: Test

Tests for the Upgrades library.

Functions

testUUPS

function testUUPS() public;

testUUPS_upgradeWithoutData

function testUUPS_upgradeWithoutData() public;

testTransparent

function testTransparent() public;

testTransparent_upgradeWithoutData

function testTransparent_upgradeWithoutData() public;

testBeacon

function testBeacon() public;

testUpgradeProxyWithoutCaller

function testUpgradeProxyWithoutCaller() public;

testUpgradeBeaconWithoutCaller

function testUpgradeBeaconWithoutCaller() public;

testValidateImplementation

function testValidateImplementation() public;

testValidateLayout

function testValidateLayout() public;

testValidateLayoutUpgradesFrom

function testValidateLayoutUpgradesFrom() public;

testValidateNamespaced

function testValidateNamespaced() public;

testValidateNamespacedUpgradesFrom

function testValidateNamespacedUpgradesFrom() public;

testValidateNamespacedOk

function testValidateNamespacedOk() public;

testValidateNamespacedUpgradesFromOk

function testValidateNamespacedUpgradesFromOk() public;

testValidateNamespacedNoReference

function testValidateNamespacedNoReference() public;

testUnsafeSkipAllChecks

function testUnsafeSkipAllChecks() public;

testUnsafeSkipStorageCheck

function testUnsafeSkipStorageCheck() public;

testUnsafeAllow

function testUnsafeAllow() public;

testUnsafeAllowRenames

function testUnsafeAllowRenames() public;

testSkipStorageCheckNoReference

function testSkipStorageCheckNoReference() public;

testWithConstructor

function testWithConstructor() public;

testNoInitializer

function testNoInitializer() public;

testProxyAdminCheck

function testProxyAdminCheck() public;

testProxyAdminCheck_emptyOpts

function testProxyAdminCheck_emptyOpts() public;

testProxyAdminCheck_skip

function testProxyAdminCheck_skip() public;

testProxyAdminCheck_skipAll

function testProxyAdminCheck_skipAll() public;

testWarningAndError

function testWarningAndError() public;