Code/CFLite/CFNetwork: Difference between revisions

From kJams Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:


'''Update:''' Since the above was released, a bug has been fixed in CFBonjour.  Please get this [https://karaoke.kjams.com/cflite/downloads/delta.zip delta update].
'''Update:''' Since the above was released, a bug has been fixed in CFBonjour.  Please get this [https://karaoke.kjams.com/cflite/downloads/delta.zip delta update].
==How to get started==
#Install [http://support.apple.com/kb/DL999 Bonjour Print Services] for Windows.
#download [https://karaoke.kjams.com/cflite/downloads/cfnetwork.zip the CFTest project] and put it in your development tree
#download the above [https://karaoke.kjams.com/cflite/downloads/delta.zip delta updater], and merge it with the CFTest project
#in VS2008, Open the file "CFNetwork/CFTest/win_vs/CFTest.sln".
#In the "Solution Explorer"
##select "CFTest", right click it and pick "Properties"
##in the "Configuration:" menu, pick "All Configurations"
##go to "configuration properties->debugging"
##set "Command" to "$(SolutionDir)build\CFTest Debug.app\Contents\Windows\$(TargetFileName)".
#Now build and run.
#your output should match the file "correct.txt" (except the bonjour services you have on your network may vary)
#for cleaner output during testing, you can temporarily set 'kExtraLogging' to 0 (that way you just get pass / fail rather than full logging)

Revision as of 20:00, 1 August 2014

This page will document the results of the CFNetwork project on Freelancer.

To see work already completed, see the old page

CFTest Project

The latest CFNetwork test framework.

Update: Since the above was released, a bug has been fixed in CFBonjour. Please get this delta update.

How to get started

  1. Install Bonjour Print Services for Windows.
  2. download the CFTest project and put it in your development tree
  3. download the above delta updater, and merge it with the CFTest project
  4. in VS2008, Open the file "CFNetwork/CFTest/win_vs/CFTest.sln".
  5. In the "Solution Explorer"
    1. select "CFTest", right click it and pick "Properties"
    2. in the "Configuration:" menu, pick "All Configurations"
    3. go to "configuration properties->debugging"
    4. set "Command" to "$(SolutionDir)build\CFTest Debug.app\Contents\Windows\$(TargetFileName)".
  6. Now build and run.
  7. your output should match the file "correct.txt" (except the bonjour services you have on your network may vary)
  8. for cleaner output during testing, you can temporarily set 'kExtraLogging' to 0 (that way you just get pass / fail rather than full logging)