Permalink
Browse files

- further stress test adjustments

  • Loading branch information...
SamuraiJack committed Jun 1, 2009
1 parent c81a751 commit 8fcabf9b7aecc0a364d946a531e3505daf099954
Showing with 2,215 additions and 2,063 deletions.
  1. +1 −1 script/generate_tests.pl
  2. +1 −1 t/020_stressed.t.js
  3. +0 −54 t/localLib/root1/StressTest/Test003.js
  4. +52 −0 t/localLib/root1/StressTest/Test004.js
  5. +24 −18 t/localLib/root1/StressTest/Test005.js
  6. +58 −0 t/localLib/root1/StressTest/Test007.js
  7. +25 −23 t/localLib/root1/StressTest/Test008.js
  8. +42 −0 t/localLib/root1/StressTest/Test011.js
  9. +0 −48 t/localLib/root1/StressTest/Test012.js
  10. +34 −0 t/localLib/root1/StressTest/Test013.js
  11. +30 −16 t/localLib/root1/StressTest/Test014.js
  12. +44 −0 t/localLib/root1/StressTest/Test015.js
  13. +20 −16 t/localLib/root1/StressTest/Test016.js
  14. +0 −44 t/localLib/root1/StressTest/Test017.js
  15. +14 −20 t/localLib/root1/StressTest/Test018.js
  16. +16 −20 t/localLib/root1/StressTest/Test021.js
  17. +24 −18 t/localLib/root1/StressTest/Test022.js
  18. +0 −50 t/localLib/root1/StressTest/Test023.js
  19. +36 −0 t/localLib/root1/StressTest/Test025.js
  20. +0 −46 t/localLib/root1/StressTest/Test026.js
  21. +0 −40 t/localLib/root1/StressTest/Test027.js
  22. +16 −12 t/localLib/root1/StressTest/Test028.js
  23. +26 −14 t/localLib/root1/StressTest/Test029.js
  24. +16 −14 t/localLib/root1/StressTest/Test030.js
  25. +0 −30 t/localLib/root1/StressTest/Test031.js
  26. +0 −36 t/localLib/root1/StressTest/Test032.js
  27. +44 −0 t/localLib/root1/StressTest/Test033.js
  28. +25 −15 t/localLib/root1/StressTest/Test034.js
  29. +18 −16 t/localLib/root1/StressTest/Test035.js
  30. +0 −40 t/localLib/root1/StressTest/Test036.js
  31. +38 −0 t/localLib/root1/StressTest/Test037.js
  32. +0 −46 t/localLib/root1/StressTest/Test038.js
  33. +0 −32 t/localLib/root1/StressTest/Test039.js
  34. +0 −48 t/localLib/root1/StressTest/Test040.js
  35. +36 −0 t/localLib/root1/StressTest/Test042.js
  36. +0 −38 t/localLib/root1/StressTest/Test043.js
  37. +0 −40 t/localLib/root1/StressTest/Test044.js
  38. +13 −15 t/localLib/root1/StressTest/Test046.js
  39. +46 −0 t/localLib/root1/StressTest/Test047.js
  40. +20 −12 t/localLib/root1/StressTest/Test048.js
  41. +14 −10 t/localLib/root1/StressTest/Test049.js
  42. +16 −16 t/localLib/root1/StressTest/Test050.js
  43. +30 −0 t/localLib/root1/StressTest/Test051.js
  44. +0 −44 t/localLib/root1/StressTest/Test052.js
  45. +40 −0 t/localLib/root1/StressTest/Test053.js
  46. +14 −24 t/localLib/root1/StressTest/Test054.js
  47. +0 −38 t/localLib/root1/StressTest/Test055.js
  48. +18 −22 t/localLib/root1/StressTest/Test056.js
  49. +14 −14 t/localLib/root1/StressTest/Test057.js
  50. +18 −12 t/localLib/root1/StressTest/Test059.js
  51. +0 −46 t/localLib/root1/StressTest/Test061.js
  52. +24 −10 t/localLib/root1/StressTest/Test062.js
  53. +0 −32 t/localLib/root1/StressTest/Test064.js
  54. +12 −20 t/localLib/root1/StressTest/Test065.js
  55. +10 −18 t/localLib/root1/StressTest/Test066.js
  56. +14 −14 t/localLib/root1/StressTest/Test067.js
  57. +16 −24 t/localLib/root1/StressTest/Test068.js
  58. +44 −0 t/localLib/root1/StressTest/Test069.js
  59. +9 −15 t/localLib/{root2 → root1}/StressTest/Test071.js
  60. +12 −12 t/localLib/{root2 → root1}/StressTest/Test073.js
  61. +10 −14 t/localLib/root1/StressTest/Test074.js
  62. +10 −8 t/localLib/{root2 → root1}/StressTest/Test076.js
  63. +12 −18 t/localLib/root1/StressTest/Test077.js
  64. +16 −4 t/localLib/root1/StressTest/Test079.js
  65. +10 −12 t/localLib/{root2 → root1}/StressTest/Test080.js
  66. +9 −21 t/localLib/root1/StressTest/Test081.js
  67. +2 −2 t/localLib/root1/StressTest/Test083.js
  68. +5 −9 t/localLib/root1/StressTest/Test084.js
  69. +9 −7 t/localLib/{root2 → root1}/StressTest/Test085.js
  70. +8 −8 t/localLib/{root2 → root1}/StressTest/Test086.js
  71. +3 −7 t/localLib/root1/StressTest/Test087.js
  72. +4 −0 t/localLib/root1/StressTest/Test089.js
  73. 0 t/localLib/{root2 → root1}/StressTest/Test094.js
  74. 0 t/localLib/{root2 → root1}/StressTest/Test095.js
  75. +18 −8 t/localLib/root2/StressTest/Test001.js
  76. +16 −22 t/localLib/root2/StressTest/Test002.js
  77. +42 −0 t/localLib/root2/StressTest/Test003.js
  78. +0 −38 t/localLib/root2/StressTest/Test004.js
  79. +12 −22 t/localLib/root2/StressTest/Test006.js
  80. +0 −40 t/localLib/root2/StressTest/Test007.js
  81. +20 −20 t/localLib/root2/StressTest/Test009.js
  82. +20 −18 t/localLib/root2/StressTest/Test010.js
  83. +0 −36 t/localLib/root2/StressTest/Test011.js
  84. +46 −0 t/localLib/root2/StressTest/Test012.js
  85. +0 −34 t/localLib/root2/StressTest/Test013.js
  86. +0 −34 t/localLib/root2/StressTest/Test015.js
  87. +50 −0 t/localLib/root2/StressTest/Test017.js
  88. +20 −28 t/localLib/root2/StressTest/Test019.js
  89. +22 −8 t/localLib/root2/StressTest/Test020.js
  90. +38 −0 t/localLib/root2/StressTest/Test023.js
  91. +22 −10 t/localLib/root2/StressTest/Test024.js
  92. +0 −42 t/localLib/root2/StressTest/Test025.js
  93. +38 −0 t/localLib/root2/StressTest/Test026.js
  94. +48 −0 t/localLib/root2/StressTest/Test027.js
  95. +48 −0 t/localLib/root2/StressTest/Test031.js
  96. +21 −21 t/localLib/{root1/StressTest/Test041.js → root2/StressTest/Test032.js}
  97. +0 −48 t/localLib/root2/StressTest/Test033.js
  98. +44 −0 t/localLib/root2/StressTest/Test036.js
  99. +0 −48 t/localLib/root2/StressTest/Test037.js
  100. +48 −0 t/localLib/root2/StressTest/Test038.js
  101. +26 −0 t/localLib/root2/StressTest/Test039.js
  102. +36 −0 t/localLib/root2/StressTest/Test040.js
  103. +42 −0 t/localLib/root2/StressTest/Test041.js
  104. +0 −40 t/localLib/root2/StressTest/Test042.js
  105. +48 −0 t/localLib/root2/StressTest/Test043.js
  106. +46 −0 t/localLib/root2/StressTest/Test044.js
  107. +16 −14 t/localLib/root2/StressTest/Test045.js
  108. +0 −30 t/localLib/root2/StressTest/Test047.js
  109. +0 −36 t/localLib/root2/StressTest/Test051.js
  110. +46 −0 t/localLib/root2/StressTest/Test052.js
  111. +0 −38 t/localLib/root2/StressTest/Test053.js
  112. +40 −0 t/localLib/root2/StressTest/Test055.js
  113. +24 −16 t/localLib/root2/StressTest/Test058.js
  114. +12 −10 t/localLib/{root1 → root2}/StressTest/Test060.js
  115. +44 −0 t/localLib/root2/StressTest/Test061.js
  116. +22 −10 t/localLib/root2/StressTest/Test063.js
  117. +42 −0 t/localLib/root2/StressTest/Test064.js
  118. +0 −34 t/localLib/root2/StressTest/Test069.js
  119. +14 −16 t/localLib/root2/StressTest/Test070.js
  120. +15 −9 t/localLib/root2/StressTest/Test072.js
  121. +14 −10 t/localLib/root2/StressTest/Test075.js
  122. +17 −7 t/localLib/root2/StressTest/Test078.js
  123. +15 −9 t/localLib/root2/StressTest/Test082.js
  124. +1 −3 t/localLib/{root1 → root2}/StressTest/Test088.js
  125. 0 t/localLib/{root1 → root2}/StressTest/Test090.js
  126. 0 t/localLib/{root1 → root2}/StressTest/Test097.js
  127. 0 t/localLib/{root1 → root2}/StressTest/Test098.js
View
@@ -49,7 +49,7 @@
my $class_number = 100;
my $class_name_prefix = 'StressTest.Test';
-srand(11);
+srand(8);
for (my $i = 1; $i <= $class_number; $i++) {
my @deps = ();
View
@@ -8,7 +8,7 @@ StartTest(function(t) {
var profile = false
- t.plan(88)
+ t.plan(87)
if (profile && console) console.profile()
@@ -1,54 +0,0 @@
-var declared = false
-try {
- declared = typeof StressTest.Test003 == 'function'
-} catch (e) {
-}
-
-if (declared) throw "Double declaration of StressTest.Test003"
-
-
-Class('StressTest.Test003', {
- version : 0.1,
-
- use : [
- 'StressTest.Test015',
- 'StressTest.Test017',
- 'StressTest.Test026',
- 'StressTest.Test030',
- 'StressTest.Test032',
- 'StressTest.Test035',
- 'StressTest.Test036',
- 'StressTest.Test051',
- 'StressTest.Test054',
- 'StressTest.Test069',
- 'StressTest.Test083',
- 'StressTest.Test084',
- 'StressTest.Test085',
- 'StressTest.Test090',
- 'StressTest.Test093',
- 'StressTest.Test094'
- ],
-
- methods : {
- result : function () { return 3 }
- },
-
- body : function(){
- if (typeof StressTest.Test015 != 'function') throw "Dependency StressTest.Test015 is not satisfied for class StressTest.Test003"
- if (typeof StressTest.Test017 != 'function') throw "Dependency StressTest.Test017 is not satisfied for class StressTest.Test003"
- if (typeof StressTest.Test026 != 'function') throw "Dependency StressTest.Test026 is not satisfied for class StressTest.Test003"
- if (typeof StressTest.Test030 != 'function') throw "Dependency StressTest.Test030 is not satisfied for class StressTest.Test003"
- if (typeof StressTest.Test032 != 'function') throw "Dependency StressTest.Test032 is not satisfied for class StressTest.Test003"
- if (typeof StressTest.Test035 != 'function') throw "Dependency StressTest.Test035 is not satisfied for class StressTest.Test003"
- if (typeof StressTest.Test036 != 'function') throw "Dependency StressTest.Test036 is not satisfied for class StressTest.Test003"
- if (typeof StressTest.Test051 != 'function') throw "Dependency StressTest.Test051 is not satisfied for class StressTest.Test003"
- if (typeof StressTest.Test054 != 'function') throw "Dependency StressTest.Test054 is not satisfied for class StressTest.Test003"
- if (typeof StressTest.Test069 != 'function') throw "Dependency StressTest.Test069 is not satisfied for class StressTest.Test003"
- if (typeof StressTest.Test083 != 'function') throw "Dependency StressTest.Test083 is not satisfied for class StressTest.Test003"
- if (typeof StressTest.Test084 != 'function') throw "Dependency StressTest.Test084 is not satisfied for class StressTest.Test003"
- if (typeof StressTest.Test085 != 'function') throw "Dependency StressTest.Test085 is not satisfied for class StressTest.Test003"
- if (typeof StressTest.Test090 != 'function') throw "Dependency StressTest.Test090 is not satisfied for class StressTest.Test003"
- if (typeof StressTest.Test093 != 'function') throw "Dependency StressTest.Test093 is not satisfied for class StressTest.Test003"
- if (typeof StressTest.Test094 != 'function') throw "Dependency StressTest.Test094 is not satisfied for class StressTest.Test003"
- }
-})
@@ -0,0 +1,52 @@
+var declared = false
+try {
+ declared = typeof StressTest.Test004 == 'function'
+} catch (e) {
+}
+
+if (declared) throw "Double declaration of StressTest.Test004"
+
+
+Class('StressTest.Test004', {
+ version : 0.1,
+
+ use : [
+ 'StressTest.Test005',
+ 'StressTest.Test012',
+ 'StressTest.Test017',
+ 'StressTest.Test022',
+ 'StressTest.Test038',
+ 'StressTest.Test046',
+ 'StressTest.Test052',
+ 'StressTest.Test053',
+ 'StressTest.Test057',
+ 'StressTest.Test058',
+ 'StressTest.Test060',
+ 'StressTest.Test062',
+ 'StressTest.Test078',
+ 'StressTest.Test082',
+ 'StressTest.Test094'
+ ],
+
+ methods : {
+ result : function () { return 4 }
+ },
+
+ body : function(){
+ if (typeof StressTest.Test005 != 'function') throw "Dependency StressTest.Test005 is not satisfied for class StressTest.Test004"
+ if (typeof StressTest.Test012 != 'function') throw "Dependency StressTest.Test012 is not satisfied for class StressTest.Test004"
+ if (typeof StressTest.Test017 != 'function') throw "Dependency StressTest.Test017 is not satisfied for class StressTest.Test004"
+ if (typeof StressTest.Test022 != 'function') throw "Dependency StressTest.Test022 is not satisfied for class StressTest.Test004"
+ if (typeof StressTest.Test038 != 'function') throw "Dependency StressTest.Test038 is not satisfied for class StressTest.Test004"
+ if (typeof StressTest.Test046 != 'function') throw "Dependency StressTest.Test046 is not satisfied for class StressTest.Test004"
+ if (typeof StressTest.Test052 != 'function') throw "Dependency StressTest.Test052 is not satisfied for class StressTest.Test004"
+ if (typeof StressTest.Test053 != 'function') throw "Dependency StressTest.Test053 is not satisfied for class StressTest.Test004"
+ if (typeof StressTest.Test057 != 'function') throw "Dependency StressTest.Test057 is not satisfied for class StressTest.Test004"
+ if (typeof StressTest.Test058 != 'function') throw "Dependency StressTest.Test058 is not satisfied for class StressTest.Test004"
+ if (typeof StressTest.Test060 != 'function') throw "Dependency StressTest.Test060 is not satisfied for class StressTest.Test004"
+ if (typeof StressTest.Test062 != 'function') throw "Dependency StressTest.Test062 is not satisfied for class StressTest.Test004"
+ if (typeof StressTest.Test078 != 'function') throw "Dependency StressTest.Test078 is not satisfied for class StressTest.Test004"
+ if (typeof StressTest.Test082 != 'function') throw "Dependency StressTest.Test082 is not satisfied for class StressTest.Test004"
+ if (typeof StressTest.Test094 != 'function') throw "Dependency StressTest.Test094 is not satisfied for class StressTest.Test004"
+ }
+})
@@ -11,30 +11,36 @@ Class('StressTest.Test005', {
version : 0.1,
use : [
- 'StressTest.Test027',
- 'StressTest.Test044',
- 'StressTest.Test046',
- 'StressTest.Test057',
- 'StressTest.Test058',
- 'StressTest.Test063',
- 'StressTest.Test070',
- 'StressTest.Test075',
- 'StressTest.Test082'
+ 'StressTest.Test011',
+ 'StressTest.Test020',
+ 'StressTest.Test021',
+ 'StressTest.Test035',
+ 'StressTest.Test042',
+ 'StressTest.Test054',
+ 'StressTest.Test059',
+ 'StressTest.Test061',
+ 'StressTest.Test062',
+ 'StressTest.Test088',
+ 'StressTest.Test093',
+ 'StressTest.Test095'
],
methods : {
result : function () { return 5 }
},
body : function(){
- if (typeof StressTest.Test027 != 'function') throw "Dependency StressTest.Test027 is not satisfied for class StressTest.Test005"
- if (typeof StressTest.Test044 != 'function') throw "Dependency StressTest.Test044 is not satisfied for class StressTest.Test005"
- if (typeof StressTest.Test046 != 'function') throw "Dependency StressTest.Test046 is not satisfied for class StressTest.Test005"
- if (typeof StressTest.Test057 != 'function') throw "Dependency StressTest.Test057 is not satisfied for class StressTest.Test005"
- if (typeof StressTest.Test058 != 'function') throw "Dependency StressTest.Test058 is not satisfied for class StressTest.Test005"
- if (typeof StressTest.Test063 != 'function') throw "Dependency StressTest.Test063 is not satisfied for class StressTest.Test005"
- if (typeof StressTest.Test070 != 'function') throw "Dependency StressTest.Test070 is not satisfied for class StressTest.Test005"
- if (typeof StressTest.Test075 != 'function') throw "Dependency StressTest.Test075 is not satisfied for class StressTest.Test005"
- if (typeof StressTest.Test082 != 'function') throw "Dependency StressTest.Test082 is not satisfied for class StressTest.Test005"
+ if (typeof StressTest.Test011 != 'function') throw "Dependency StressTest.Test011 is not satisfied for class StressTest.Test005"
+ if (typeof StressTest.Test020 != 'function') throw "Dependency StressTest.Test020 is not satisfied for class StressTest.Test005"
+ if (typeof StressTest.Test021 != 'function') throw "Dependency StressTest.Test021 is not satisfied for class StressTest.Test005"
+ if (typeof StressTest.Test035 != 'function') throw "Dependency StressTest.Test035 is not satisfied for class StressTest.Test005"
+ if (typeof StressTest.Test042 != 'function') throw "Dependency StressTest.Test042 is not satisfied for class StressTest.Test005"
+ if (typeof StressTest.Test054 != 'function') throw "Dependency StressTest.Test054 is not satisfied for class StressTest.Test005"
+ if (typeof StressTest.Test059 != 'function') throw "Dependency StressTest.Test059 is not satisfied for class StressTest.Test005"
+ if (typeof StressTest.Test061 != 'function') throw "Dependency StressTest.Test061 is not satisfied for class StressTest.Test005"
+ if (typeof StressTest.Test062 != 'function') throw "Dependency StressTest.Test062 is not satisfied for class StressTest.Test005"
+ if (typeof StressTest.Test088 != 'function') throw "Dependency StressTest.Test088 is not satisfied for class StressTest.Test005"
+ if (typeof StressTest.Test093 != 'function') throw "Dependency StressTest.Test093 is not satisfied for class StressTest.Test005"
+ if (typeof StressTest.Test095 != 'function') throw "Dependency StressTest.Test095 is not satisfied for class StressTest.Test005"
}
})
@@ -0,0 +1,58 @@
+var declared = false
+try {
+ declared = typeof StressTest.Test007 == 'function'
+} catch (e) {
+}
+
+if (declared) throw "Double declaration of StressTest.Test007"
+
+
+Class('StressTest.Test007', {
+ version : 0.1,
+
+ use : [
+ 'StressTest.Test009',
+ 'StressTest.Test015',
+ 'StressTest.Test016',
+ 'StressTest.Test023',
+ 'StressTest.Test033',
+ 'StressTest.Test038',
+ 'StressTest.Test046',
+ 'StressTest.Test048',
+ 'StressTest.Test056',
+ 'StressTest.Test060',
+ 'StressTest.Test062',
+ 'StressTest.Test065',
+ 'StressTest.Test074',
+ 'StressTest.Test080',
+ 'StressTest.Test086',
+ 'StressTest.Test091',
+ 'StressTest.Test099',
+ 'StressTest.Test100'
+ ],
+
+ methods : {
+ result : function () { return 7 }
+ },
+
+ body : function(){
+ if (typeof StressTest.Test009 != 'function') throw "Dependency StressTest.Test009 is not satisfied for class StressTest.Test007"
+ if (typeof StressTest.Test015 != 'function') throw "Dependency StressTest.Test015 is not satisfied for class StressTest.Test007"
+ if (typeof StressTest.Test016 != 'function') throw "Dependency StressTest.Test016 is not satisfied for class StressTest.Test007"
+ if (typeof StressTest.Test023 != 'function') throw "Dependency StressTest.Test023 is not satisfied for class StressTest.Test007"
+ if (typeof StressTest.Test033 != 'function') throw "Dependency StressTest.Test033 is not satisfied for class StressTest.Test007"
+ if (typeof StressTest.Test038 != 'function') throw "Dependency StressTest.Test038 is not satisfied for class StressTest.Test007"
+ if (typeof StressTest.Test046 != 'function') throw "Dependency StressTest.Test046 is not satisfied for class StressTest.Test007"
+ if (typeof StressTest.Test048 != 'function') throw "Dependency StressTest.Test048 is not satisfied for class StressTest.Test007"
+ if (typeof StressTest.Test056 != 'function') throw "Dependency StressTest.Test056 is not satisfied for class StressTest.Test007"
+ if (typeof StressTest.Test060 != 'function') throw "Dependency StressTest.Test060 is not satisfied for class StressTest.Test007"
+ if (typeof StressTest.Test062 != 'function') throw "Dependency StressTest.Test062 is not satisfied for class StressTest.Test007"
+ if (typeof StressTest.Test065 != 'function') throw "Dependency StressTest.Test065 is not satisfied for class StressTest.Test007"
+ if (typeof StressTest.Test074 != 'function') throw "Dependency StressTest.Test074 is not satisfied for class StressTest.Test007"
+ if (typeof StressTest.Test080 != 'function') throw "Dependency StressTest.Test080 is not satisfied for class StressTest.Test007"
+ if (typeof StressTest.Test086 != 'function') throw "Dependency StressTest.Test086 is not satisfied for class StressTest.Test007"
+ if (typeof StressTest.Test091 != 'function') throw "Dependency StressTest.Test091 is not satisfied for class StressTest.Test007"
+ if (typeof StressTest.Test099 != 'function') throw "Dependency StressTest.Test099 is not satisfied for class StressTest.Test007"
+ if (typeof StressTest.Test100 != 'function') throw "Dependency StressTest.Test100 is not satisfied for class StressTest.Test007"
+ }
+})
@@ -11,38 +11,40 @@ Class('StressTest.Test008', {
version : 0.1,
use : [
- 'StressTest.Test012',
- 'StressTest.Test015',
- 'StressTest.Test021',
- 'StressTest.Test025',
- 'StressTest.Test031',
- 'StressTest.Test032',
- 'StressTest.Test033',
+ 'StressTest.Test013',
+ 'StressTest.Test018',
+ 'StressTest.Test028',
'StressTest.Test036',
- 'StressTest.Test046',
- 'StressTest.Test052',
- 'StressTest.Test056',
- 'StressTest.Test071',
- 'StressTest.Test074'
+ 'StressTest.Test038',
+ 'StressTest.Test041',
+ 'StressTest.Test070',
+ 'StressTest.Test074',
+ 'StressTest.Test085',
+ 'StressTest.Test086',
+ 'StressTest.Test089',
+ 'StressTest.Test090',
+ 'StressTest.Test094',
+ 'StressTest.Test097'
],
methods : {
result : function () { return 8 }
},
body : function(){
- if (typeof StressTest.Test012 != 'function') throw "Dependency StressTest.Test012 is not satisfied for class StressTest.Test008"
- if (typeof StressTest.Test015 != 'function') throw "Dependency StressTest.Test015 is not satisfied for class StressTest.Test008"
- if (typeof StressTest.Test021 != 'function') throw "Dependency StressTest.Test021 is not satisfied for class StressTest.Test008"
- if (typeof StressTest.Test025 != 'function') throw "Dependency StressTest.Test025 is not satisfied for class StressTest.Test008"
- if (typeof StressTest.Test031 != 'function') throw "Dependency StressTest.Test031 is not satisfied for class StressTest.Test008"
- if (typeof StressTest.Test032 != 'function') throw "Dependency StressTest.Test032 is not satisfied for class StressTest.Test008"
- if (typeof StressTest.Test033 != 'function') throw "Dependency StressTest.Test033 is not satisfied for class StressTest.Test008"
+ if (typeof StressTest.Test013 != 'function') throw "Dependency StressTest.Test013 is not satisfied for class StressTest.Test008"
+ if (typeof StressTest.Test018 != 'function') throw "Dependency StressTest.Test018 is not satisfied for class StressTest.Test008"
+ if (typeof StressTest.Test028 != 'function') throw "Dependency StressTest.Test028 is not satisfied for class StressTest.Test008"
if (typeof StressTest.Test036 != 'function') throw "Dependency StressTest.Test036 is not satisfied for class StressTest.Test008"
- if (typeof StressTest.Test046 != 'function') throw "Dependency StressTest.Test046 is not satisfied for class StressTest.Test008"
- if (typeof StressTest.Test052 != 'function') throw "Dependency StressTest.Test052 is not satisfied for class StressTest.Test008"
- if (typeof StressTest.Test056 != 'function') throw "Dependency StressTest.Test056 is not satisfied for class StressTest.Test008"
- if (typeof StressTest.Test071 != 'function') throw "Dependency StressTest.Test071 is not satisfied for class StressTest.Test008"
+ if (typeof StressTest.Test038 != 'function') throw "Dependency StressTest.Test038 is not satisfied for class StressTest.Test008"
+ if (typeof StressTest.Test041 != 'function') throw "Dependency StressTest.Test041 is not satisfied for class StressTest.Test008"
+ if (typeof StressTest.Test070 != 'function') throw "Dependency StressTest.Test070 is not satisfied for class StressTest.Test008"
if (typeof StressTest.Test074 != 'function') throw "Dependency StressTest.Test074 is not satisfied for class StressTest.Test008"
+ if (typeof StressTest.Test085 != 'function') throw "Dependency StressTest.Test085 is not satisfied for class StressTest.Test008"
+ if (typeof StressTest.Test086 != 'function') throw "Dependency StressTest.Test086 is not satisfied for class StressTest.Test008"
+ if (typeof StressTest.Test089 != 'function') throw "Dependency StressTest.Test089 is not satisfied for class StressTest.Test008"
+ if (typeof StressTest.Test090 != 'function') throw "Dependency StressTest.Test090 is not satisfied for class StressTest.Test008"
+ if (typeof StressTest.Test094 != 'function') throw "Dependency StressTest.Test094 is not satisfied for class StressTest.Test008"
+ if (typeof StressTest.Test097 != 'function') throw "Dependency StressTest.Test097 is not satisfied for class StressTest.Test008"
}
})
@@ -0,0 +1,42 @@
+var declared = false
+try {
+ declared = typeof StressTest.Test011 == 'function'
+} catch (e) {
+}
+
+if (declared) throw "Double declaration of StressTest.Test011"
+
+
+Class('StressTest.Test011', {
+ version : 0.1,
+
+ use : [
+ 'StressTest.Test022',
+ 'StressTest.Test030',
+ 'StressTest.Test034',
+ 'StressTest.Test045',
+ 'StressTest.Test062',
+ 'StressTest.Test067',
+ 'StressTest.Test069',
+ 'StressTest.Test071',
+ 'StressTest.Test079',
+ 'StressTest.Test094'
+ ],
+
+ methods : {
+ result : function () { return 11 }
+ },
+
+ body : function(){
+ if (typeof StressTest.Test022 != 'function') throw "Dependency StressTest.Test022 is not satisfied for class StressTest.Test011"
+ if (typeof StressTest.Test030 != 'function') throw "Dependency StressTest.Test030 is not satisfied for class StressTest.Test011"
+ if (typeof StressTest.Test034 != 'function') throw "Dependency StressTest.Test034 is not satisfied for class StressTest.Test011"
+ if (typeof StressTest.Test045 != 'function') throw "Dependency StressTest.Test045 is not satisfied for class StressTest.Test011"
+ if (typeof StressTest.Test062 != 'function') throw "Dependency StressTest.Test062 is not satisfied for class StressTest.Test011"
+ if (typeof StressTest.Test067 != 'function') throw "Dependency StressTest.Test067 is not satisfied for class StressTest.Test011"
+ if (typeof StressTest.Test069 != 'function') throw "Dependency StressTest.Test069 is not satisfied for class StressTest.Test011"
+ if (typeof StressTest.Test071 != 'function') throw "Dependency StressTest.Test071 is not satisfied for class StressTest.Test011"
+ if (typeof StressTest.Test079 != 'function') throw "Dependency StressTest.Test079 is not satisfied for class StressTest.Test011"
+ if (typeof StressTest.Test094 != 'function') throw "Dependency StressTest.Test094 is not satisfied for class StressTest.Test011"
+ }
+})
Oops, something went wrong.

0 comments on commit 8fcabf9

Please sign in to comment.