Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --------------- Test output -------------------
- /student/src/oo/hide/PointSet.java:7: error: cannot find symbol
- private Point[] storage;
- ^
- symbol: class Point
- location: class PointSet
- /student/src/oo/hide/PointSet.java:18: error: cannot find symbol
- public void add(Point point) {
- ^
- symbol: class Point
- location: class PointSet
- /student/src/oo/hide/PointSet.java:43: error: cannot find symbol
- public boolean contains(Point point) {
- ^
- symbol: class Point
- location: class PointSet
- /student/src/oo/hide/PointSetTests.java:93: error: cannot find symbol
- private PointSet getSet(Point... points) {
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:102: error: cannot find symbol
- private Point[] getInternalArray(PointSet set) {
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSet.java:11: error: cannot find symbol
- storage = new Point[capacity];
- ^
- symbol: class Point
- location: class PointSet
- /student/src/oo/hide/PointSet.java:33: error: cannot find symbol
- Point[] newStorage = new Point[newLength];
- ^
- symbol: class Point
- location: class PointSet
- /student/src/oo/hide/PointSet.java:33: error: cannot find symbol
- Point[] newStorage = new Point[newLength];
- ^
- symbol: class Point
- location: class PointSet
- /student/src/oo/hide/PointSet.java:45: error: cannot find symbol
- Point otherPoint = storage[i];
- ^
- symbol: class Point
- location: class PointSet
- /student/src/oo/hide/PointSet.java:75: error: cannot find symbol
- Point point = storage[i];
- ^
- symbol: class Point
- location: class PointSet
- /student/src/oo/hide/PointSet.java:89: error: cannot find symbol
- Point point = storage[i];
- ^
- symbol: class Point
- location: class PointSet
- /student/src/oo/hide/PointSet.java:100: error: cannot find symbol
- Point point = storage[i];
- ^
- symbol: class Point
- location: class PointSet
- /student/src/oo/hide/PointSetTests.java:24: error: cannot find symbol
- set.add(new Point(1, 1));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:25: error: cannot find symbol
- set.add(new Point(2, 1));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:26: error: cannot find symbol
- set.add(new Point(1, 2));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:30: error: cannot find symbol
- set.add(new Point(2, 1));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:34: error: cannot find symbol
- assertTrue(set.contains(new Point(1, 1)));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:35: error: cannot find symbol
- assertTrue(set.contains(new Point(1, 2)));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:36: error: cannot find symbol
- assertFalse(set.contains(new Point(1, 3)));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:45: error: cannot find symbol
- assertThat(getSet(new Point(1, 1)), is(not(getSet())));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:47: error: cannot find symbol
- assertThat(getSet(new Point(1, 1)),
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:48: error: cannot find symbol
- is(not(getSet(new Point(1, 2)))));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:50: error: cannot find symbol
- assertThat(getSet(new Point(1, 1), new Point(1, 2)),
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:50: error: cannot find symbol
- assertThat(getSet(new Point(1, 1), new Point(1, 2)),
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:51: error: cannot find symbol
- is(getSet(new Point(1, 2), new Point(1, 1))));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:51: error: cannot find symbol
- is(getSet(new Point(1, 2), new Point(1, 1))));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:56: error: cannot find symbol
- PointSet a = getSet(new Point(1, 1), new Point(1, 2));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:56: error: cannot find symbol
- PointSet a = getSet(new Point(1, 1), new Point(1, 2));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:57: error: cannot find symbol
- PointSet b = getSet(new Point(1, 1), new Point(1, 3));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:57: error: cannot find symbol
- PointSet b = getSet(new Point(1, 1), new Point(1, 3));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:61: error: cannot find symbol
- assertThat(a, is(getSet(new Point(1, 1), new Point(1, 2))));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:61: error: cannot find symbol
- assertThat(a, is(getSet(new Point(1, 1), new Point(1, 2))));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:63: error: cannot find symbol
- assertThat(remainder, is(getSet(new Point(1, 2))));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:68: error: cannot find symbol
- PointSet a = getSet(new Point(1, 1), new Point(1, 2));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:68: error: cannot find symbol
- PointSet a = getSet(new Point(1, 1), new Point(1, 2));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:69: error: cannot find symbol
- PointSet b = getSet(new Point(1, 1), new Point(1, 3));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:69: error: cannot find symbol
- PointSet b = getSet(new Point(1, 1), new Point(1, 3));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:73: error: cannot find symbol
- assertThat(a, is(getSet(new Point(1, 1), new Point(1, 2))));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:73: error: cannot find symbol
- assertThat(a, is(getSet(new Point(1, 1), new Point(1, 2))));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:75: error: cannot find symbol
- assertThat(intersection, is(getSet(new Point(1, 1))));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:83: error: cannot find symbol
- set.add(new Point(1, 1));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:84: error: cannot find symbol
- set.add(new Point(2, 1));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:88: error: cannot find symbol
- set.add(new Point(3, 1));
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:95: error: cannot find symbol
- for (Point point : points) {
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:108: error: cannot find symbol
- .filter(field -> field.getType().equals(Point[].class))
- ^
- symbol: class Point
- location: class PointSetTests
- /student/src/oo/hide/PointSetTests.java:123: error: cannot find symbol
- return (Point[]) integerArrayFields.get(0).get(set);
- ^
- symbol: class Point
- location: class PointSetTests
- 46 errors
- FAILURE: Build failed with an exception.
- * What went wrong:
- Execution failed for task ':compileJava'.
- > Compilation failed; see the compiler error output for details.
- * Try:
- 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.
- * Get more help at https://help.gradle.org
- BUILD FAILED in 4s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement