[ 
https://issues.apache.org/jira/browse/NETBEANS-6424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul updated NETBEANS-6424:
---------------------------
    Description: 
I am a newbie. I am trying to test my 1st app. I am using
h4. Java SE Learning Trail, Getting Started - Testing and Debugging the 
Application. 

Following the instructions: "In {{{}LibClassTest.java{}}}, delete the body of 
the *{{public void testAcrostic()}}* method, and ..." the  "testAcrostic" 
{color:#FF0000}is not displayed at all{color}.

The inserted lines result in the error message : {color:#ff0000}1. No runnable 
method{color}.

System.err.println("Running testAcrostic..."); String result = 
LibClass.acrostic(new String[]

{"fnord", "polly", "tropism"}

 ); assertEquals("Correct value", "foo", result);

See screenshots attached.

  was:
I am a newbie. I am trying to test my 1st app. I am using Getting Started - 
Testing and Debugging the Application. 

"In {{{}LibClassTest.java{}}}, delete the body of the *{{public void 
testAcrostic()}}* method, and ..." the  "testAcrostic" is not displayed at all.

The inserted lines result in the error message : {color:#ff0000}1. No runnable 
method{color}.

System.err.println("Running testAcrostic..."); String result = 
LibClass.acrostic(new String[]

{"fnord", "polly", "tropism"} ); assertEquals("Correct value", "foo", result);

See screenshots attached.


> Getting Started - Testing - Failed
> ----------------------------------
>
>                 Key: NETBEANS-6424
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-6424
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - JUnit
>    Affects Versions: 12.6
>         Environment: *Product Version:* Apache NetBeans IDE 12.6
> *Java:* 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02
> *Runtime:* Java(TM) SE Runtime Environment 1.8.0_25-b17
> *System:* Mac OS X version 10.15.7 running on x86_64; UTF-8; de_DE (nb)
>            Reporter: Paul
>            Assignee: Paul
>            Priority: Trivial
>              Labels: beginner, documentation, test
>             Fix For: 12.6
>
>         Attachments: JUnit 4 _ Harmcrest 1.jpg, NB Test - public void 
> testAcrostic.jpg, Run Test File-1.jpg, Run Test File-1_Fault.jpg
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> I am a newbie. I am trying to test my 1st app. I am using
> h4. Java SE Learning Trail, Getting Started - Testing and Debugging the 
> Application. 
> Following the instructions: "In {{{}LibClassTest.java{}}}, delete the body of 
> the *{{public void testAcrostic()}}* method, and ..." the  "testAcrostic" 
> {color:#FF0000}is not displayed at all{color}.
> The inserted lines result in the error message : {color:#ff0000}1. No 
> runnable method{color}.
> System.err.println("Running testAcrostic..."); String result = 
> LibClass.acrostic(new String[]
> {"fnord", "polly", "tropism"}
>  ); assertEquals("Correct value", "foo", result);
> See screenshots attached.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to