XpdWiki

FrontPage
RecentChanges
XtC
FindPage
PageIndex
XpApprentices

Set your name in
UserPreferences

Edit this page

Referenced by
XtC07091999
XtC1999




JSPWiki v2.0.52


XtC31081999


Previous: XtC24081999 Next: XtC07091999


Meeting 31st August 1999
  • More paired programming? -- OliBye
  • Writing tests in Python? (JUnit isn't DoingTheSimplestThing?) -- OliBye; I've tried cobra when in China, but never Python. This is something I'd like to try -- PaulSimmons
  • Kev could bring his digital camera to get some snaps of us, so we can look back and laugh at our hairstyles when we're really loaded.

Xtc.xtc1_02 to Xtc.xtc1_03 (Done with 2 pairs)

1.Pair 1 did the Hyperlink story

  • 1. Added the TestLinks? fixture with tests to check that a string is parsed into an array of things which are links and things which aren't links. The Link object was then written to do this. Note how it doesn't use a fancy implementation, just uses a StringTokenizer? and returns an array of strings. The use of _ makes this task easy in a small step but is not necessarily the final word
    • TestLink? https://xpdeveloper.com/cgi-bin/cvsweb.cgi/xtc/TestLinks.java?rev=1.1.1.1&content-type=text/x-cvsweb-markup&only_with_tag=xtc1_03
    • Link https://xpdeveloper.com/cgi-bin/cvsweb.cgi/xtc/Link.java?rev=1.1.1.1&content-type=text/x-cvsweb-markup&only_with_tag=xtc1_03

1. Pair 2

  • 1. Tightened up tests in TestServlets?
    • 1. There was a missing test for null strings, so it was added as testLoadingNull
    • 1. A comment was made that we never actually prove that you can save two strings consecutively and so we added a new test testSavingConsecutiveStrings
      • Diff https://xpdeveloper.com/cgi-bin/cvsweb.cgi/xtc/TestEdit.java.diff?r1=1.1.1.3&r2=1.1.1.4&only_with_tag=xtc1_03
  • 1. Changed PageSaver
    • 1. Factored out some string literals
    • 1. Added handling of null saving.
      • Diffs https://xpdeveloper.com/cgi-bin/cvsweb.cgi/xtc/PageSaver.java.diff?only_with_tag=xtc1_03&r1=text&tr1=1.1.1.5&r2=text&tr2=1.1.1.4&f=h

  • . We also noted that our use of an http get gives problems with sapces in the URL and so we added two tests, one which saves with space and one which saves without.³host³host62-172-224-130.btinternet.com³date³September 30, 1999³agent³Mozilla/4.61 en? (X11; I; Linux 2.2.12 i586)³XtC31081999


Edit this page   More info...   Attach file...
This page last changed on 30-Sep-1999 11:08:21 BST by unknown.