package com.apress.progwt.client.forum; import junit.framework.TestCase; public class CreatePostWidgetTest extends TestCase { public void testF() { } // public void testMakeReplyFromString() { // // CreatePostWidget cpw = new CreatePostWidget(); // // assertEquals(">asdfidfj d<br>", cpw.makeReplyFromString( // "asdfidfj d", 75)); // // assertEquals( // ">aaaaabbbbbcccccdddddeeeeefffffggggghhhhhiiiiijjjjjkkkkk<br>", // cpw // .makeReplyFromString( // "aaaaabbbbbcccccdddddeeeeefffffggggghhhhhiiiiijjjjjkkkkk", // 75)); // // assertEquals( // ">aaaaabbbbbcccccdddddeeeeefffffggggaaaaabbbbbcccccdddddeeeeefffffggggaaaaabb<br>>bbbcccccdddddeeeeefffffggggaaaaabbbbbcccccdddddeeeeefffffggggaaaaabbbbbcccc<br>>cdddddeeeeefffffgggg<br>", // cpw // .makeReplyFromString( // "aaaaabbbbbcccccdddddeeeeefffffggggaaaaabbbbbcccccdddddeeeeefffffggggaaaaabbbbbcccccdddddeeeeefffffggggaaaaabbbbbcccccdddddeeeeefffffggggaaaaabbbbbcccccdddddeeeeefffffgggg", // 75)); // assertEquals( // ">aaaaabb<sdf>bb</sdf>bcccccdddddeeeeefffffgggg<br>", // cpw.makeReplyFromString( // "aaaaabb<sdf>bb</sdf>bcccccdddddeeeeefffffgggg", // 75)); // assertEquals( // "> instead of a bunch of methods that all work on the current // selection how a<br>>bout a getSelection method that returns a // Range and then a series of method<br>>s to operate on a Range. // How does one programatically set the current selec<br>>tion? // @Sandy I started a RR about selections and ranges a while back.And // in<br>>stead of a bunch of methods that all work on the current // selection how abou<br>>t a getSelection method that returns a // Range and then a series of methods t<br>>o operate on a Range. // How does one programatically set the current selectio<br>>n? // @Sandy I started a RR about selections and ranges a while back.And // inste<br>>ad of a bunch of methods that all work on the current // selection how about a<br>> getSelection method that returns a // Range and then a series of methods to o<br>>perate on a Range. // How <br>", // cpw // .makeReplyFromString( // " instead of a bunch of methods that all work on the current // selection how about a getSelection method that returns a Range and // then a series of methods to operate on a Range. How does one // programatically set the current selection? @Sandy I started a RR // about selections and ranges a while back.And instead of a bunch of // methods that all work on the current selection how about a // getSelection method that returns a Range and then a series of // methods to operate on a Range. How does one programatically set the // current selection? @Sandy I started a RR about selections and // ranges a while back.And instead of a bunch of methods that all work // on the current selection how about a getSelection method that // returns a Range and then a series of methods to operate on a Range. // How ", // 75)); // // } }