|
|
@ -29,7 +29,6 @@ import java.util.List; |
|
|
|
|
|
|
|
|
|
|
|
import org.jetbrains.annotations.NotNull; |
|
|
|
import org.jetbrains.annotations.NotNull; |
|
|
|
import org.junit.Before; |
|
|
|
import org.junit.Before; |
|
|
|
import org.junit.Ignore; |
|
|
|
|
|
|
|
import org.junit.Test; |
|
|
|
import org.junit.Test; |
|
|
|
import org.web3j.abi.FunctionEncoder; |
|
|
|
import org.web3j.abi.FunctionEncoder; |
|
|
|
import org.web3j.abi.TypeReference; |
|
|
|
import org.web3j.abi.TypeReference; |
|
|
@ -59,7 +58,6 @@ public class PrivCallAcceptanceTest extends PrivacyAcceptanceTestBase { |
|
|
|
privacyCluster.start(minerNode); |
|
|
|
privacyCluster.start(minerNode); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Ignore |
|
|
|
|
|
|
|
@Test |
|
|
|
@Test |
|
|
|
public void mustReturnCorrectValue() throws Exception { |
|
|
|
public void mustReturnCorrectValue() throws Exception { |
|
|
|
|
|
|
|
|
|
|
@ -98,7 +96,6 @@ public class PrivCallAcceptanceTest extends PrivacyAcceptanceTestBase { |
|
|
|
.isEqualByComparingTo(BigInteger.valueOf(VALUE)); |
|
|
|
.isEqualByComparingTo(BigInteger.valueOf(VALUE)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Ignore |
|
|
|
|
|
|
|
@Test |
|
|
|
@Test |
|
|
|
public void shouldReturnEmptyResultWithNonExistingPrivacyGroup() throws IOException { |
|
|
|
public void shouldReturnEmptyResultWithNonExistingPrivacyGroup() throws IOException { |
|
|
|
|
|
|
|
|
|
|
@ -130,7 +127,6 @@ public class PrivCallAcceptanceTest extends PrivacyAcceptanceTestBase { |
|
|
|
assertThat(result.getResult()).isEqualTo("0x"); |
|
|
|
assertThat(result.getResult()).isEqualTo("0x"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Ignore |
|
|
|
|
|
|
|
@Test |
|
|
|
@Test |
|
|
|
public void mustNotSucceedWithWronglyEncodedFunction() { |
|
|
|
public void mustNotSucceedWithWronglyEncodedFunction() { |
|
|
|
|
|
|
|
|
|
|
@ -160,7 +156,6 @@ public class PrivCallAcceptanceTest extends PrivacyAcceptanceTestBase { |
|
|
|
.withMessageContaining("Invalid params"); |
|
|
|
.withMessageContaining("Invalid params"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Ignore |
|
|
|
|
|
|
|
@Test |
|
|
|
@Test |
|
|
|
public void mustReturn0xUsingInvalidContractAddress() throws IOException { |
|
|
|
public void mustReturn0xUsingInvalidContractAddress() throws IOException { |
|
|
|
|
|
|
|
|
|
|
|