Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2020
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.02 KB | None | 0 0
  1. --------------- Test output -------------------
  2.  
  3.  
  4. /student/src/oo/hide/PointSet.java:7: error: cannot find symbol
  5. private Point[] storage;
  6. ^
  7. symbol: class Point
  8. location: class PointSet
  9. /student/src/oo/hide/PointSet.java:18: error: cannot find symbol
  10. public void add(Point point) {
  11. ^
  12. symbol: class Point
  13. location: class PointSet
  14. /student/src/oo/hide/PointSet.java:43: error: cannot find symbol
  15. public boolean contains(Point point) {
  16. ^
  17. symbol: class Point
  18. location: class PointSet
  19. /student/src/oo/hide/PointSetTests.java:93: error: cannot find symbol
  20. private PointSet getSet(Point... points) {
  21. ^
  22. symbol: class Point
  23. location: class PointSetTests
  24. /student/src/oo/hide/PointSetTests.java:102: error: cannot find symbol
  25. private Point[] getInternalArray(PointSet set) {
  26. ^
  27. symbol: class Point
  28. location: class PointSetTests
  29. /student/src/oo/hide/PointSet.java:11: error: cannot find symbol
  30. storage = new Point[capacity];
  31. ^
  32. symbol: class Point
  33. location: class PointSet
  34. /student/src/oo/hide/PointSet.java:33: error: cannot find symbol
  35. Point[] newStorage = new Point[newLength];
  36. ^
  37. symbol: class Point
  38. location: class PointSet
  39. /student/src/oo/hide/PointSet.java:33: error: cannot find symbol
  40. Point[] newStorage = new Point[newLength];
  41. ^
  42. symbol: class Point
  43. location: class PointSet
  44. /student/src/oo/hide/PointSet.java:45: error: cannot find symbol
  45. Point otherPoint = storage[i];
  46. ^
  47. symbol: class Point
  48. location: class PointSet
  49. /student/src/oo/hide/PointSet.java:75: error: cannot find symbol
  50. Point point = storage[i];
  51. ^
  52. symbol: class Point
  53. location: class PointSet
  54. /student/src/oo/hide/PointSet.java:89: error: cannot find symbol
  55. Point point = storage[i];
  56. ^
  57. symbol: class Point
  58. location: class PointSet
  59. /student/src/oo/hide/PointSet.java:100: error: cannot find symbol
  60. Point point = storage[i];
  61. ^
  62. symbol: class Point
  63. location: class PointSet
  64. /student/src/oo/hide/PointSetTests.java:24: error: cannot find symbol
  65. set.add(new Point(1, 1));
  66. ^
  67. symbol: class Point
  68. location: class PointSetTests
  69. /student/src/oo/hide/PointSetTests.java:25: error: cannot find symbol
  70. set.add(new Point(2, 1));
  71. ^
  72. symbol: class Point
  73. location: class PointSetTests
  74. /student/src/oo/hide/PointSetTests.java:26: error: cannot find symbol
  75. set.add(new Point(1, 2));
  76. ^
  77. symbol: class Point
  78. location: class PointSetTests
  79. /student/src/oo/hide/PointSetTests.java:30: error: cannot find symbol
  80. set.add(new Point(2, 1));
  81. ^
  82. symbol: class Point
  83. location: class PointSetTests
  84. /student/src/oo/hide/PointSetTests.java:34: error: cannot find symbol
  85. assertTrue(set.contains(new Point(1, 1)));
  86. ^
  87. symbol: class Point
  88. location: class PointSetTests
  89. /student/src/oo/hide/PointSetTests.java:35: error: cannot find symbol
  90. assertTrue(set.contains(new Point(1, 2)));
  91. ^
  92. symbol: class Point
  93. location: class PointSetTests
  94. /student/src/oo/hide/PointSetTests.java:36: error: cannot find symbol
  95. assertFalse(set.contains(new Point(1, 3)));
  96. ^
  97. symbol: class Point
  98. location: class PointSetTests
  99. /student/src/oo/hide/PointSetTests.java:45: error: cannot find symbol
  100. assertThat(getSet(new Point(1, 1)), is(not(getSet())));
  101. ^
  102. symbol: class Point
  103. location: class PointSetTests
  104. /student/src/oo/hide/PointSetTests.java:47: error: cannot find symbol
  105. assertThat(getSet(new Point(1, 1)),
  106. ^
  107. symbol: class Point
  108. location: class PointSetTests
  109. /student/src/oo/hide/PointSetTests.java:48: error: cannot find symbol
  110. is(not(getSet(new Point(1, 2)))));
  111. ^
  112. symbol: class Point
  113. location: class PointSetTests
  114. /student/src/oo/hide/PointSetTests.java:50: error: cannot find symbol
  115. assertThat(getSet(new Point(1, 1), new Point(1, 2)),
  116. ^
  117. symbol: class Point
  118. location: class PointSetTests
  119. /student/src/oo/hide/PointSetTests.java:50: error: cannot find symbol
  120. assertThat(getSet(new Point(1, 1), new Point(1, 2)),
  121. ^
  122. symbol: class Point
  123. location: class PointSetTests
  124. /student/src/oo/hide/PointSetTests.java:51: error: cannot find symbol
  125. is(getSet(new Point(1, 2), new Point(1, 1))));
  126. ^
  127. symbol: class Point
  128. location: class PointSetTests
  129. /student/src/oo/hide/PointSetTests.java:51: error: cannot find symbol
  130. is(getSet(new Point(1, 2), new Point(1, 1))));
  131. ^
  132. symbol: class Point
  133. location: class PointSetTests
  134. /student/src/oo/hide/PointSetTests.java:56: error: cannot find symbol
  135. PointSet a = getSet(new Point(1, 1), new Point(1, 2));
  136. ^
  137. symbol: class Point
  138. location: class PointSetTests
  139. /student/src/oo/hide/PointSetTests.java:56: error: cannot find symbol
  140. PointSet a = getSet(new Point(1, 1), new Point(1, 2));
  141. ^
  142. symbol: class Point
  143. location: class PointSetTests
  144. /student/src/oo/hide/PointSetTests.java:57: error: cannot find symbol
  145. PointSet b = getSet(new Point(1, 1), new Point(1, 3));
  146. ^
  147. symbol: class Point
  148. location: class PointSetTests
  149. /student/src/oo/hide/PointSetTests.java:57: error: cannot find symbol
  150. PointSet b = getSet(new Point(1, 1), new Point(1, 3));
  151. ^
  152. symbol: class Point
  153. location: class PointSetTests
  154. /student/src/oo/hide/PointSetTests.java:61: error: cannot find symbol
  155. assertThat(a, is(getSet(new Point(1, 1), new Point(1, 2))));
  156. ^
  157. symbol: class Point
  158. location: class PointSetTests
  159. /student/src/oo/hide/PointSetTests.java:61: error: cannot find symbol
  160. assertThat(a, is(getSet(new Point(1, 1), new Point(1, 2))));
  161. ^
  162. symbol: class Point
  163. location: class PointSetTests
  164. /student/src/oo/hide/PointSetTests.java:63: error: cannot find symbol
  165. assertThat(remainder, is(getSet(new Point(1, 2))));
  166. ^
  167. symbol: class Point
  168. location: class PointSetTests
  169. /student/src/oo/hide/PointSetTests.java:68: error: cannot find symbol
  170. PointSet a = getSet(new Point(1, 1), new Point(1, 2));
  171. ^
  172. symbol: class Point
  173. location: class PointSetTests
  174. /student/src/oo/hide/PointSetTests.java:68: error: cannot find symbol
  175. PointSet a = getSet(new Point(1, 1), new Point(1, 2));
  176. ^
  177. symbol: class Point
  178. location: class PointSetTests
  179. /student/src/oo/hide/PointSetTests.java:69: error: cannot find symbol
  180. PointSet b = getSet(new Point(1, 1), new Point(1, 3));
  181. ^
  182. symbol: class Point
  183. location: class PointSetTests
  184. /student/src/oo/hide/PointSetTests.java:69: error: cannot find symbol
  185. PointSet b = getSet(new Point(1, 1), new Point(1, 3));
  186. ^
  187. symbol: class Point
  188. location: class PointSetTests
  189. /student/src/oo/hide/PointSetTests.java:73: error: cannot find symbol
  190. assertThat(a, is(getSet(new Point(1, 1), new Point(1, 2))));
  191. ^
  192. symbol: class Point
  193. location: class PointSetTests
  194. /student/src/oo/hide/PointSetTests.java:73: error: cannot find symbol
  195. assertThat(a, is(getSet(new Point(1, 1), new Point(1, 2))));
  196. ^
  197. symbol: class Point
  198. location: class PointSetTests
  199. /student/src/oo/hide/PointSetTests.java:75: error: cannot find symbol
  200. assertThat(intersection, is(getSet(new Point(1, 1))));
  201. ^
  202. symbol: class Point
  203. location: class PointSetTests
  204. /student/src/oo/hide/PointSetTests.java:83: error: cannot find symbol
  205. set.add(new Point(1, 1));
  206. ^
  207. symbol: class Point
  208. location: class PointSetTests
  209. /student/src/oo/hide/PointSetTests.java:84: error: cannot find symbol
  210. set.add(new Point(2, 1));
  211. ^
  212. symbol: class Point
  213. location: class PointSetTests
  214. /student/src/oo/hide/PointSetTests.java:88: error: cannot find symbol
  215. set.add(new Point(3, 1));
  216. ^
  217. symbol: class Point
  218. location: class PointSetTests
  219. /student/src/oo/hide/PointSetTests.java:95: error: cannot find symbol
  220. for (Point point : points) {
  221. ^
  222. symbol: class Point
  223. location: class PointSetTests
  224. /student/src/oo/hide/PointSetTests.java:108: error: cannot find symbol
  225. .filter(field -> field.getType().equals(Point[].class))
  226. ^
  227. symbol: class Point
  228. location: class PointSetTests
  229. /student/src/oo/hide/PointSetTests.java:123: error: cannot find symbol
  230. return (Point[]) integerArrayFields.get(0).get(set);
  231. ^
  232. symbol: class Point
  233. location: class PointSetTests
  234. 46 errors
  235.  
  236. FAILURE: Build failed with an exception.
  237.  
  238. * What went wrong:
  239. Execution failed for task ':compileJava'.
  240. > Compilation failed; see the compiler error output for details.
  241.  
  242. * Try:
  243. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  244.  
  245. * Get more help at https://help.gradle.org
  246.  
  247. BUILD FAILED in 4s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement