It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Java Forum

19 warnings while compiling JUnit... is this normal?

19 warnings while compiling JUnit... is this normal?

Postby WarpZone32 on Sat Jan 13, 2007 10:49 pm

At the advice of a friend I've installed Eclipse SDK v.3.2.1 on my Windows 2000 machine. Just recently I attempted the "Creating your first Java project" tutorial which basically walks a new user through the process of compiling JUnit. (I grabbed the source for JUnit 3.2 from sun's website rather than 3.2.1 which was "the latest edition," because the documentation called 3.2 the latest edition and I figured this was the surest way to get the same results as when the helkp file was written.) Anyway, I followed the instructions and I think it compiled, but I got 19 warnings, including:

Severity and Description Path Resource Location Creation Time Id
The local variable result is never read JUnit/junit/samples SimpleTest.java line 49 1168722029006 5
The method show() from the type Dialog is deprecated JUnit/junit/swingui TestRunner.java line 462 1168722029737 13
The method show() from the type Dialog is deprecated JUnit/junit/swingui TestRunner.java line 772 1168722029737 14
The serializable class AboutDialog does not declare a static final serialVersionUID field of type long JUnit/junit/awtui AboutDialog.java line 8 1168722027824 0
The serializable class AboutDialog does not declare a static final serialVersionUID field of type long JUnit/junit/swingui AboutDialog.java line 12 1168722029236 6
The serializable class AssertionFailedError does not declare a static final serialVersionUID field of type long JUnit/junit/framework AssertionFailedError.java line 6 1168722028495 3
The serializable class ComparisonFailure does not declare a static final serialVersionUID field of type long JUnit/junit/framework ComparisonFailure.java line 8 1168722028515 4
The serializable class CounterPanel does not declare a static final serialVersionUID field of type long JUnit/junit/swingui CounterPanel.java line 10 1168722029276 7
The serializable class FailureListCellRenderer does not declare a static final serialVersionUID field of type long JUnit/junit/swingui FailureRunView.java line 21 1168722029407 10
The serializable class Logo does not declare a static final serialVersionUID field of type long JUnit/junit/awtui Logo.java line 9 1168722027935 1
The serializable class ProgressBar does not declare a static final serialVersionUID field of type long JUnit/junit/awtui ProgressBar.java line 5 1168722027965 2
The serializable class ProgressBar does not declare a static final serialVersionUID field of type long JUnit/junit/swingui ProgressBar.java line 10 1168722029447 11
The serializable class StackEntryRenderer does not declare a static final serialVersionUID field of type long JUnit/junit/swingui DefaultFailureDetailView.java line 51 1168722029367 9
The serializable class StackTraceListModel does not declare a static final serialVersionUID field of type long JUnit/junit/swingui DefaultFailureDetailView.java line 19 1168722029367 8
The serializable class StatusLine does not declare a static final serialVersionUID field of type long JUnit/junit/swingui StatusLine.java line 11 1168722029467 12
The serializable class TestCellRenderer does not declare a static final serialVersionUID field of type long JUnit/junit/swingui TestSelector.java line 25 1168722029927 16
The serializable class TestSelector does not declare a static final serialVersionUID field of type long JUnit/junit/swingui TestSelector.java line 14 1168722029927 15
The serializable class TestSuitePanel does not declare a static final serialVersionUID field of type long JUnit/junit/swingui TestSuitePanel.java line 13 1168722030058 17
The serializable class TestTreeCellRenderer does not declare a static final serialVersionUID field of type long JUnit/junit/swingui TestSuitePanel.java line 18 1168722030058 18


Is this normal, or did the compile fail for some reason?

Needless to say, I am a total beginner, and I did not compile this build of eclipse myself. I got it as a distro from IBM's mirror.

Thanks in advance for any helpful replies. I'm a bit bewildered by the sheer number of options before me, just trying to find the right IDE and get it installed and running. All this before I even touch my first line of code! So I want to make sure I'm doing it right before I get in any deeper.

Thanks again.
WarpZone32
 
Posts: 0
Joined: Sat Jan 13, 2007 10:39 pm

Who is online

Users browsing this forum: No registered users and 0 guests

cron