Details

    • Sub-task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.1
    • None
    • Server
    • Ubuntu 11.04

    Description

      I downloaded via SVN and typed "ant test". Am I missing something? perhaps the README should contain more info on required packages on top of a basic ubuntu installation (already running apache and tomcat 6, so I have some packages installed):

      compile-tests:
      [javac] Compiling 439 source files to /home/alejandrofernandez/work/trunk/build/test
      [javac] /home/alejandrofernandez/work/trunk/test/org/waveprotocol/box/server/robots/active/ActiveApiServletTest.java:99: cannot find symbol
      [javac] symbol : method thenReturn(java.util.StringTokenizer)
      [javac] location: interface org.mockito.stubbing.OngoingStubbing<java.util.Enumeration<java.lang.String>>
      [javac] when(req.getHeaderNames()).thenReturn(new StringTokenizer("Authorization"));
      [javac] ^
      [javac] /home/alejandrofernandez/work/trunk/test/org/waveprotocol/box/server/robots/active/ActiveApiServletTest.java:112: cannot find symbol
      [javac] symbol : method thenReturn(java.util.StringTokenizer)
      [javac] location: interface org.mockito.stubbing.OngoingStubbing<java.util.Enumeration<java.lang.String>>
      [javac] when(req.getHeaders("Authorization")).thenReturn(generateOAuthHeader(ROBOT.getAddress()));
      [javac] ^
      [javac] /home/alejandrofernandez/work/trunk/test/org/waveprotocol/box/server/robots/active/ActiveApiServletTest.java:135: cannot find symbol
      [javac] symbol : method thenReturn(java.util.StringTokenizer)
      [javac] location: interface org.mockito.stubbing.OngoingStubbing<java.util.Enumeration<java.lang.String>>
      [javac] when(req.getHeaders("Authorization")).thenReturn(
      [javac] ^
      [javac] /home/alejandrofernandez/work/trunk/test/org/waveprotocol/box/server/robots/active/ActiveApiServletTest.java:145: cannot find symbol
      [javac] symbol : method thenReturn(java.util.StringTokenizer)
      [javac] location: interface org.mockito.stubbing.OngoingStubbing<java.util.Enumeration<java.lang.String>>
      [javac] when(req.getHeaders("Authorization")).thenReturn(generateOAuthHeader(UNKNOWN.getAddress()));
      [javac] ^
      [javac] /home/alejandrofernandez/work/trunk/test/org/waveprotocol/box/server/robots/active/ActiveApiServletTest.java:153: cannot find symbol
      [javac] symbol : method thenReturn(java.util.StringTokenizer)
      [javac] location: interface org.mockito.stubbing.OngoingStubbing<java.util.Enumeration<java.lang.String>>
      [javac] when(req.getHeaders("Authorization")).thenReturn(generateOAuthHeader(ROBOT.getAddress()));
      [javac] ^
      [javac] /home/alejandrofernandez/work/trunk/test/org/waveprotocol/box/server/robots/dataapi/DataApiServletTest.java:146: cannot find symbol
      [javac] symbol : method thenReturn(com.google.common.collect.ImmutableMap<java.lang.Object,java.lang.Object>)
      [javac] location: interface org.mockito.stubbing.OngoingStubbing<java.util.Map<java.lang.String,java.lang.String[]>>
      [javac] when(req.getParameterMap()).thenReturn(ImmutableMap.of());
      [javac] ^
      [javac] Note: Some input files use or override a deprecated API.
      [javac] Note: Recompile with -Xlint:deprecation for details.
      [javac] 6 errors

      BUILD FAILED
      /home/alejandrofernandez/work/trunk/build.xml:254: The following error occurred while executing this line:
      /home/alejandrofernandez/work/trunk/build-macros.xml:70: Compile failed; see the compiler error output for details.

      Total time: 5 minutes 22 seconds

      Attachments

        Activity

          People

            yurize Yuri Zelikov
            skoria Ale Fernandez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment