Renamed test/behavior to test/behaviors.

pull/1616/head
Nicolás Venturo 6 years ago
parent 1a9cb0786d
commit 96432bf28e
  1. 2
      package.json
  2. 2
      test/access/roles/CapperRole.test.js
  3. 2
      test/access/roles/MinterRole.test.js
  4. 2
      test/access/roles/PauserRole.test.js
  5. 2
      test/access/roles/SignerRole.test.js
  6. 2
      test/access/roles/WhitelistAdminRole.test.js
  7. 2
      test/access/roles/WhitelistedRole.test.js
  8. 0
      test/behaviors/access/roles/PublicRole.behavior.js
  9. 2
      test/crowdsale/IndividuallyCappedCrowdsale.test.js
  10. 2
      test/drafts/SignatureBouncer.test.js
  11. 2
      test/lifecycle/Pausable.test.js
  12. 2
      test/token/ERC20/ERC20Mintable.test.js
  13. 2
      test/token/ERC20/ERC20Pausable.test.js
  14. 2
      test/token/ERC721/ERC721Pausable.test.js

@ -5,7 +5,7 @@
"files": [
"build",
"contracts",
"test/behavior"
"test/behaviors"
],
"scripts": {
"build": "scripts/build.sh",

@ -1,4 +1,4 @@
const { shouldBehaveLikePublicRole } = require('../../behavior/access/roles/PublicRole.behavior');
const { shouldBehaveLikePublicRole } = require('../../behaviors/access/roles/PublicRole.behavior');
const CapperRoleMock = artifacts.require('CapperRoleMock');
contract('CapperRole', function ([_, capper, otherCapper, ...otherAccounts]) {

@ -1,4 +1,4 @@
const { shouldBehaveLikePublicRole } = require('../../behavior/access/roles/PublicRole.behavior');
const { shouldBehaveLikePublicRole } = require('../../behaviors/access/roles/PublicRole.behavior');
const MinterRoleMock = artifacts.require('MinterRoleMock');
contract('MinterRole', function ([_, minter, otherMinter, ...otherAccounts]) {

@ -1,4 +1,4 @@
const { shouldBehaveLikePublicRole } = require('../../behavior/access/roles/PublicRole.behavior');
const { shouldBehaveLikePublicRole } = require('../../behaviors/access/roles/PublicRole.behavior');
const PauserRoleMock = artifacts.require('PauserRoleMock');
contract('PauserRole', function ([_, pauser, otherPauser, ...otherAccounts]) {

@ -1,4 +1,4 @@
const { shouldBehaveLikePublicRole } = require('../../behavior/access/roles/PublicRole.behavior');
const { shouldBehaveLikePublicRole } = require('../../behaviors/access/roles/PublicRole.behavior');
const SignerRoleMock = artifacts.require('SignerRoleMock');
contract('SignerRole', function ([_, signer, otherSigner, ...otherAccounts]) {

@ -1,4 +1,4 @@
const { shouldBehaveLikePublicRole } = require('../../behavior/access/roles/PublicRole.behavior');
const { shouldBehaveLikePublicRole } = require('../../behaviors/access/roles/PublicRole.behavior');
const WhitelistAdminRoleMock = artifacts.require('WhitelistAdminRoleMock');
contract('WhitelistAdminRole', function ([_, whitelistAdmin, otherWhitelistAdmin, ...otherAccounts]) {

@ -1,4 +1,4 @@
const { shouldBehaveLikePublicRole } = require('../../behavior/access/roles/PublicRole.behavior');
const { shouldBehaveLikePublicRole } = require('../../behaviors/access/roles/PublicRole.behavior');
const WhitelistedRoleMock = artifacts.require('WhitelistedRoleMock');
contract('WhitelistedRole', function ([_, whitelisted, otherWhitelisted, whitelistAdmin, ...otherAccounts]) {

@ -2,7 +2,7 @@ const { BN, ether, shouldFail } = require('openzeppelin-test-helpers');
const IndividuallyCappedCrowdsaleImpl = artifacts.require('IndividuallyCappedCrowdsaleImpl');
const SimpleToken = artifacts.require('SimpleToken');
const { shouldBehaveLikePublicRole } = require('../behavior/access/roles/PublicRole.behavior');
const { shouldBehaveLikePublicRole } = require('../behaviors/access/roles/PublicRole.behavior');
contract('IndividuallyCappedCrowdsale', function (
[_, capper, otherCapper, wallet, alice, bob, charlie, anyone, ...otherAccounts]) {

@ -1,6 +1,6 @@
const { shouldFail } = require('openzeppelin-test-helpers');
const { getSignFor } = require('../helpers/sign');
const { shouldBehaveLikePublicRole } = require('../behavior/access/roles/PublicRole.behavior');
const { shouldBehaveLikePublicRole } = require('../behaviors/access/roles/PublicRole.behavior');
const SignatureBouncerMock = artifacts.require('SignatureBouncerMock');

@ -1,5 +1,5 @@
const { expectEvent, shouldFail } = require('openzeppelin-test-helpers');
const { shouldBehaveLikePublicRole } = require('../behavior/access/roles/PublicRole.behavior');
const { shouldBehaveLikePublicRole } = require('../behaviors/access/roles/PublicRole.behavior');
const PausableMock = artifacts.require('PausableMock');

@ -1,6 +1,6 @@
const { shouldBehaveLikeERC20Mintable } = require('./behaviors/ERC20Mintable.behavior');
const ERC20MintableMock = artifacts.require('ERC20MintableMock');
const { shouldBehaveLikePublicRole } = require('../../behavior/access/roles/PublicRole.behavior');
const { shouldBehaveLikePublicRole } = require('../../behaviors/access/roles/PublicRole.behavior');
contract('ERC20Mintable', function ([_, minter, otherMinter, ...otherAccounts]) {
beforeEach(async function () {

@ -1,7 +1,7 @@
const { BN, expectEvent, shouldFail } = require('openzeppelin-test-helpers');
const ERC20PausableMock = artifacts.require('ERC20PausableMock');
const { shouldBehaveLikePublicRole } = require('../../behavior/access/roles/PublicRole.behavior');
const { shouldBehaveLikePublicRole } = require('../../behaviors/access/roles/PublicRole.behavior');
contract('ERC20Pausable', function ([_, pauser, otherPauser, recipient, anotherAccount, ...otherAccounts]) {
const initialSupply = new BN(100);

@ -1,7 +1,7 @@
require('openzeppelin-test-helpers');
const { shouldBehaveLikeERC721PausedToken } = require('./ERC721PausedToken.behavior');
const { shouldBehaveLikeERC721 } = require('./ERC721.behavior');
const { shouldBehaveLikePublicRole } = require('../../behavior/access/roles/PublicRole.behavior');
const { shouldBehaveLikePublicRole } = require('../../behaviors/access/roles/PublicRole.behavior');
const ERC721PausableMock = artifacts.require('ERC721PausableMock.sol');

Loading…
Cancel
Save