This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | failure in NbClipboardDelayedTest | ||
---|---|---|---|
Product: | platform | Reporter: | pzajac <pzajac> |
Component: | -- Other -- | Assignee: | Jaroslav Tulach <jtulach> |
Status: | CLOSED FIXED | ||
Severity: | blocker | Keywords: | TEST |
Priority: | P2 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | exception stacktrace |
Description
pzajac
2004-10-13 08:27:35 UTC
Created attachment 18237 [details]
exception stacktrace
Test Case: testWhenCallingGetContentsItChecksSystemClipboardFirstTimeAfterActivation Test Suite: org.netbeans.core. NbClipboardDelayedTest Module Name: core I've just fixed the test. The test fails again on solaris. testWhenCallingGetContentsItChecksSystemClipboardFirstTimeAfterActivation: junit.framework.ComparisonFailure: The getContents rechecked the system clipboard first time after window activated expected:<data2> but was:<oldvalue> at junit.framework.Assert.assertEquals(Assert.java:81) at org.netbeans.core.NbClipboardNativeTest.testWhenCallingGetContentsItChecksSystemClipboardFirstTimeAfterActivation(NbClipboardNativeTest.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) Line 99 in NbClipboardNativeTest.java is empty. What version of the test you are running!? v |