Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 31941 Details for
Bug 121384
Internal compiler error: NullPointerException in AsmRelationshipProvider.java:131
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
testcase part 2
AnnotationMoodTester.java (text/plain), 871 bytes, created by
Matt Chapman
on 2005-12-19 05:33:58 EST
(
hide
)
Description:
testcase part 2
Filename:
MIME Type:
Creator:
Matt Chapman
Created:
2005-12-19 05:33:58 EST
Size:
871 bytes
patch
obsolete
>package moodytest; > > >import moodytest.AnnotationMoodyImplementor; >import moodytest.Mood; >import junit.framework.TestCase; > >public class AnnotationMoodTester extends TestCase { > AnnotationMoodyImplementor ami0 = null; > AnnotationMoodyImplementor ami1 = null; > > public AnnotationMoodTester(String name) { super(name); } > > protected void setUp() throws Exception { > ami0 = new AnnotationMoodyImplementor(); > ami1 = new AnnotationMoodyImplementor(); > } > > public void testHappyDefault() { > assertEquals("ami0 should be happy!", Mood.HAPPY, ami0.getMood()); > } > > public void testOneConfused() { > ami0.setMood(Mood.CONFUSED); > assertEquals("ami0 should now be confused", Mood.CONFUSED, > ami0.getMood()); > assertEquals("ami1 should still be happy", Mood.HAPPY, > ami1.getMood()); > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 121384
:
31940
| 31941