Search:

Type: Posts; User: Norm

Search: Search took 0.09 seconds.

  1. Thread: JUnit problems

    by Norm
    Replies
    8
    Views
    8,003

    Re: JUnit problems

    Sorry, I don't know anything about how to use JUnit.

    Shouldn't it be: t.setName("...");
  2. Thread: JUnit problems

    by Norm
    Replies
    8
    Views
    8,003

    Re: JUnit problems

    I'm not familiar with JUnit.
    The error message says there is a problem with your constructor.
    Change the constructor to have zero-arguments, use the set method and see what happens.
  3. Thread: JUnit problems

    by Norm
    Replies
    8
    Views
    8,003

    Re: JUnit problems

    Do you understand what the error message is saying?
    Does your code have more than one constructor?
    Does your constructor have any arguments?
  4. Thread: JUnit problems

    by Norm
    Replies
    8
    Views
    8,003

    Re: JUnit problems

    Without the text of the error messages, its hard to say what the problem is.
    Can you compile the code with the javac command and post the full text of the error messages here?
Results 1 to 4 of 4