Package com.h2tcoin.takamakachain.main
Class ImportTakamakaHotmokaChain
- java.lang.Object
-
- com.h2tcoin.takamakachain.main.ImportTakamakaHotmokaChain
-
public class ImportTakamakaHotmokaChain extends Object
- Author:
- giovanni.antino@h2tcoin.com
-
-
Field Summary
Fields Modifier and Type Field Description static Object
C_LOCK
static byte[]
hash
static String[]
HOTMOKA_TEST_STORAGE_01
static String[]
HOTMOKA_TEST_TAKAMAKA_01
static io.hotmoka.takamaka.TakamakaBlockchain
takamakaBlockchain
static com.h2tcoin.takamakachain.main.ImportTakamakaHotmokaChain.Trunner
trunner
-
Constructor Summary
Constructors Constructor Description ImportTakamakaHotmokaChain()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Path
getTestFilePath(String[] resources)
static Path
getTestFolderPath(String[] resources)
static void
loadResourceInTest(String[] resources, boolean withDelete)
static void
main(String[] args)
void
testTKC()
-
-
-
Field Detail
-
HOTMOKA_TEST_STORAGE_01
public static final String[] HOTMOKA_TEST_STORAGE_01
-
HOTMOKA_TEST_TAKAMAKA_01
public static final String[] HOTMOKA_TEST_TAKAMAKA_01
-
C_LOCK
public static final Object C_LOCK
-
trunner
public static com.h2tcoin.takamakachain.main.ImportTakamakaHotmokaChain.Trunner trunner
-
takamakaBlockchain
public static io.hotmoka.takamaka.TakamakaBlockchain takamakaBlockchain
-
hash
public static byte[] hash
-
-
Method Detail
-
loadResourceInTest
public static void loadResourceInTest(String[] resources, boolean withDelete) throws IOException
- Throws:
IOException
-
main
public static void main(String[] args) throws IOException
- Throws:
IOException
-
testTKC
public void testTKC() throws IOException
- Throws:
IOException
-
-