Search in sources :

Example 1 with Manager

use of org.tron.core.db.Manager in project java-tron by tronprotocol.

the class AssetIssueActuatorTest method init.

/**
 * Init data.
 */
@BeforeClass
public static void init() {
    Args.setParam(new String[] { "--output-directory", dbPath }, Configuration.getByPath("config-junit.conf"));
    dbManager = new Manager();
    dbManager.init();
}
Also used : Manager(org.tron.core.db.Manager) BeforeClass(org.junit.BeforeClass)

Example 2 with Manager

use of org.tron.core.db.Manager in project java-tron by tronprotocol.

the class TransferActuatorTest method init.

/**
 * Init data.
 */
@BeforeClass
public static void init() {
    Args.setParam(new String[] { "--output-directory", dbPath }, Configuration.getByPath("config-junit.conf"));
    dbManager = new Manager();
    dbManager.init();
}
Also used : Manager(org.tron.core.db.Manager) BeforeClass(org.junit.BeforeClass)

Example 3 with Manager

use of org.tron.core.db.Manager in project java-tron by tronprotocol.

the class CreateAccountActuatorTest method init.

/**
 * Init data.
 */
@BeforeClass
public static void init() {
    Args.setParam(new String[] { "--output-directory", dbPath }, Configuration.getByPath("config-junit.conf"));
    dbManager = new Manager();
    dbManager.init();
}
Also used : Manager(org.tron.core.db.Manager) BeforeClass(org.junit.BeforeClass)

Example 4 with Manager

use of org.tron.core.db.Manager in project java-tron by tronprotocol.

the class ParticipateAssetIssueActuatorTest method init.

/**
 * Init data.
 */
@BeforeClass
public static void init() {
    Args.setParam(new String[] { "--output-directory", dbPath }, Configuration.getByPath("config-junit.conf"));
    dbManager = new Manager();
    dbManager.init();
}
Also used : Manager(org.tron.core.db.Manager) BeforeClass(org.junit.BeforeClass)

Example 5 with Manager

use of org.tron.core.db.Manager in project java-tron by tronprotocol.

the class TransferAssetActuatorTest method init.

/**
 * Init data.
 */
@BeforeClass
public static void init() {
    Args.setParam(new String[] { "--output-directory", dbPath }, Configuration.getByPath("config-junit.conf"));
    dbManager = new Manager();
    dbManager.init();
}
Also used : Manager(org.tron.core.db.Manager) BeforeClass(org.junit.BeforeClass)

Aggregations

Manager (org.tron.core.db.Manager)6 BeforeClass (org.junit.BeforeClass)5 Autowired (org.springframework.beans.factory.annotation.Autowired)1 NodeDelegateImpl (org.tron.core.net.node.NodeDelegateImpl)1