Commit Graph
65 Commits
Author SHA1 Message Date
Liana Husikyan 4967535f8a cleaned up the tests 2015-06-09 11:55:19 +02:00
Liana Husikyan 1ac5f3c04d removed byte0 keyword 2015-06-08 13:53:25 +02:00
Liana Husikyan 46eb7b08d9 added test
Conflicts:
	test/libsolidity/SolidityEndToEndTest.cpp
2015-06-08 11:47:57 +02:00
Liana Husikyan 1f3e93785e fixed assigning negative number to unsigned 2015-06-04 14:09:19 +02:00
Liana Husikyan 0e664b05aa - style fixes
- added test for uint8 = -1 which doesn't fail; todo: fix that
2015-06-04 12:42:55 +02:00
Liana Husikyan c7e6bbb82c - conversion of positive literals to signed int
- tests
2015-06-04 11:48:09 +02:00
Liana Husikyan 5ef445f64f test
Conflicts:
	test/libsolidity/SolidityEndToEndTest.cpp
2015-06-04 11:48:09 +02:00
Liana Husikyan b810df04f0 renamed the test framwork function. 2015-06-01 16:48:13 +02:00
Liana Husikyan c6a8938ed7 fixed CALL case. added exception 2015-06-01 16:39:09 +02:00
Liana Husikyan d863c8d088 corrected intends in solidityExecutionFramwork.h 2015-06-01 13:39:17 +02:00
Liana Husikyan 945418cc10 style fixes 2015-06-01 13:06:12 +02:00
Liana Husikyan 47f0e847e5 style fixes in test/libsolidity/solidityExecutionFramework.h
fixed the test
2015-06-01 13:06:12 +02:00
Liana Husikyan ca8104397d removed exception when function is not found 2015-06-01 13:06:12 +02:00
Liana Husikyan 3ddae3209e special handle of send 2015-06-01 13:06:12 +02:00
Liana Husikyan 19fb836bf6 modified the test 2015-06-01 13:06:12 +02:00
Liana Husikyan fde4ed6bf6 remove line for debugging 2015-06-01 13:06:12 +02:00
Liana Husikyan f1c042df8c test for constructor (out of band exception) 2015-06-01 13:06:12 +02:00
Liana Husikyan 82dc10d492 test for exception in constructor 2015-06-01 13:06:12 +02:00
Liana Husikyan 4a2f18b41a one more test to test the call of non-existed function
Conflicts:
	test/libsolidity/SolidityEndToEndTest.cpp
2015-06-01 13:06:12 +02:00
Liana Husikyan 042491e0cc added test to check evm exception 2015-06-01 13:06:12 +02:00
Liana Husikyan 8967476a8d added error jump instead of STOP instraction in case of exception 2015-06-01 13:06:12 +02:00
Liana Husikyan e38eefa9f6 Update SolidityEndToEndTest.cpp 2015-05-20 18:40:00 +02:00
Liana Husikyan 19262c12cf Update SolidityEndToEndTest.cpp 2015-05-20 18:38:52 +02:00
Liana Husikyan a92591e519 style fix 2015-05-20 18:35:05 +02:00
Liana Husikyan 007c88216b Update SolidityEndToEndTest.cpp 2015-05-20 18:05:51 +02:00
Liana Husikyan d006006c57 added tests to check references to struct type. 2015-05-20 17:57:41 +02:00
Liana Husikyan 14b30c87ab Update SolidityABIJSON.cpp 2015-05-11 17:17:50 +02:00
Liana Husikyan 23925040a1 updated unit test 2015-05-11 17:16:52 +02:00
Liana Husikyan ccc3d56542 bug in abi. fixed external type for return parameters 2015-05-11 16:46:17 +02:00
Liana Husikyan 37fbf06c98 added one more test 2015-05-08 17:52:09 +02:00
Liana Husikyan 960033de6b fixed the test 2015-05-08 17:51:53 +02:00
Liana Husikyan 757972b4e3 added test 2015-05-08 17:51:52 +02:00
Liana Husikyan 21ced7e9c5 changed the test so constructor will have input parameters 2015-04-27 13:08:32 +02:00
Liana Husikyan 5b07f11330 changed the implementation 2015-04-27 13:08:32 +02:00
Liana Husikyan 9b956e809d fixed the output of the test 2015-04-27 13:08:32 +02:00
Liana Husikyan 18475f8ae1 test for resalts 2015-04-27 13:08:32 +02:00
Liana Husikyan 377e543558 fixes
added more tests
2015-04-08 15:56:36 +02:00
Liana Husikyan 5c0fe54f3f added < uint256 uinttype to test 2015-04-08 15:56:36 +02:00
Liana Husikyan 4d4a999db2 added implementation to append code for State variable accessor
fixed tests
2015-04-08 15:56:35 +02:00
Liana Husikyan a33564fbcc some more tests 2015-04-08 15:56:35 +02:00
Liana Husikyan 32ae2ea75c added createing FunctionType from ArrayType VariableDeclaration
added test
2015-04-08 15:56:35 +02:00
Liana Husikyan 9d734e03fd changed checking for external type in VariableDeclaration::checkTypeRequirements()
changed error msg
2015-04-01 15:21:17 +02:00
Liana Husikyan a427053d99 added externalTypes function to functionType
removed flag for externalSigniture
2015-03-27 13:28:32 +01:00
Liana Husikyan 25e4cf071a two more tests
style fixes
2015-03-26 14:11:24 +01:00
Liana Husikyan ae0fa99123 tests for external types 2015-03-25 14:20:13 +01:00
Liana Husikyan 54bb1abcfa renamed externalTypes to externalSignature 2015-03-25 13:59:46 +01:00
Liana Husikyan 7e73fd3f45 renamed getCanonicalSignature
added externalTypes instead of types for interface functions
added simple test

todo
testing
2015-03-25 13:59:46 +01:00
Liana Husikyan 8e61b06b2a added test to check anonymous events with user specified topics
added initial value for m_anonymous of EventDefinition
2015-03-17 14:25:23 +01:00
Liana Husikyan 9f49446688 added anonymous to ABI 2015-03-17 14:25:23 +01:00
Liana Husikyan 26b2b4d9a6 changed the position of 'anonymous' keyword: event <name>() anonymous.
- style changes
2015-03-17 14:25:13 +01:00
Liana Husikyan 5dc9a8df92 Added anonymous flag to event.
added test
2015-03-17 10:51:03 +01:00
Liana Husikyan eccf7867fa added test for anonymous event 2015-03-17 10:51:03 +01:00
Liana Husikyan 1d2e579eff - added more tests to check constant specifier implementation
- deny use of const for local variables
- deny unitialized const variables
- only int, fixed strings, and enums can be declaired as const
2015-03-16 10:46:46 +01:00
Liana Husikyan 8e6b2c10c3 - added isPartOfExternalInterface to Declaration
- changed position for the constant specifier. now it goes after type: <type> <constant> <name> = <value>
- removed tests for constant functions, checkings for constant function doesn't belong to this story
2015-03-16 10:46:46 +01:00
Liana Husikyan 2ca23b2247 added parsing for constant variables 2015-03-16 10:46:46 +01:00
Liana Husikyan 88ecc27c2b Implemented passing arguments to the base constructor. 2015-03-02 14:28:08 +01:00
Liana Husikyan 4144c63d9f Inline member initialisation
renamed VariableDefinition class to VariableDeclarationStatement
added tests
2015-02-20 22:50:34 +01:00
Liana Husikyan 12505a5b76 - implemented Empty parameter name story. Now the name of input/return parameters of function can be not specified.
- added appropriate tests

Conflicts:
	test/SolidityEndToEndTest.cpp
	test/SolidityNameAndTypeResolution.cpp
2015-02-09 02:06:30 +01:00
liana b06de7e8de -added test case for hash8 to string1 conversion 2015-01-27 10:48:10 +01:00
liana f5b739da9a - modifications according to PR review 2015-01-26 13:24:16 +01:00
liana 5076f532d8 - added conversion for string/hash of equal sizes
- added tests
2015-01-23 17:45:37 +01:00
liana 037d9a7528 - corrected delete in case we have more than one locals
- added a test
2015-01-16 16:26:57 +01:00
liana dc30fb6385 removed spaces 2015-01-16 13:07:16 +01:00
liana ac77d20ee3 Corrected "delete" for local variables i.e. set them to 0
Added test case
2015-01-16 12:55:49 +01:00
liana 3b7fff5389 - added functionality to set values to 0 when deleting structure(not for mapping)
- added unit test

Made some changes after Christian`s review on pull request
- remove/edit comments
- BoolType and ContractType return VoidType after delete

- fixed constructor_arguments test

- fixed set to 0 when deleting variable from stack
- changed test case to test that
2015-01-15 11:59:58 +01:00