equal
deleted
inserted
replaced
51 as of 1.9.2010 |
51 as of 1.9.2010 |
52 |
52 |
53 " |
53 " |
54 ! ! |
54 ! ! |
55 |
55 |
56 |
|
57 !JavaByteCodeInterpreterTests class methodsFor:'resources'! |
56 !JavaByteCodeInterpreterTests class methodsFor:'resources'! |
58 |
57 |
59 resources |
58 resources |
60 |
59 |
61 ^ Array with: JavaInitializedResource with: JavaTestsResource. |
60 ^ Array with: JavaInitializedResource with: JavaTestsResource. |
62 |
61 |
63 "Created: / 15-03-2011 / 17:29:22 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
62 "Created: / 15-03-2011 / 17:29:22 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
64 "Modified: / 16-03-2011 / 14:43:31 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
63 "Modified: / 16-03-2011 / 14:43:31 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
65 ! ! |
64 ! ! |
66 |
|
67 |
65 |
68 !JavaByteCodeInterpreterTests methodsFor:'tests'! |
66 !JavaByteCodeInterpreterTests methodsFor:'tests'! |
69 |
67 |
70 testAnd |
68 testAnd |
71 | result expResult | |
69 | result expResult | |
1020 "Modified: / 06-03-2011 / 15:11:11 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
1018 "Modified: / 06-03-2011 / 15:11:11 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
1021 "Created: / 14-03-2011 / 17:02:40 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
1019 "Created: / 14-03-2011 / 17:02:40 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
1022 "Modified: / 16-03-2011 / 21:59:58 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
1020 "Modified: / 16-03-2011 / 21:59:58 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
1023 ! ! |
1021 ! ! |
1024 |
1022 |
1025 |
|
1026 !JavaByteCodeInterpreterTests methodsFor:'tests-helpers'! |
1023 !JavaByteCodeInterpreterTests methodsFor:'tests-helpers'! |
1027 |
1024 |
1028 invoke: methodName class: aClass receiver: receiver args: args |
1025 invoke: methodName class: aClass receiver: receiver args: args |
1029 | method result | |
1026 | method result | |
1030 |
1027 |
1036 ^ result. |
1033 ^ result. |
1037 |
1034 |
1038 "Created: / 10-03-2011 / 23:30:13 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
1035 "Created: / 10-03-2011 / 23:30:13 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
1039 "Modified: / 17-03-2011 / 17:32:46 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
1036 "Modified: / 17-03-2011 / 17:32:46 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
1040 ! ! |
1037 ! ! |
1041 |
|
1042 |
1038 |
1043 !JavaByteCodeInterpreterTests methodsFor:'tests2'! |
1039 !JavaByteCodeInterpreterTests methodsFor:'tests2'! |
1044 |
1040 |
1045 testGetBoolean |
1041 testGetBoolean |
1046 <skip> |
1042 <skip> |
1379 self assertTrue: (result = expResult). |
1375 self assertTrue: (result = expResult). |
1380 |
1376 |
1381 "Created: / 21-03-2011 / 13:51:25 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
1377 "Created: / 21-03-2011 / 13:51:25 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
1382 ! ! |
1378 ! ! |
1383 |
1379 |
1384 |
|
1385 !JavaByteCodeInterpreterTests class methodsFor:'documentation'! |
1380 !JavaByteCodeInterpreterTests class methodsFor:'documentation'! |
1386 |
1381 |
1387 version_CVS |
1382 version_CVS |
1388 ^ '$Header: /cvs/stx/stx/libjava/experiments/JavaByteCodeInterpreterTests.st,v 1.2 2013-02-25 11:15:34 vrany Exp $' |
1383 ^ '$Header$' |
1389 ! |
1384 ! |
1390 |
1385 |
1391 version_HG |
1386 version_HG |
1392 |
1387 |
1393 ^ '$Changeset: <not expanded> $' |
1388 ^ '$Changeset: <not expanded> $' |