Re: jsm source (mercurial )

2013-01-07 Thread rvj
thanks do_get_cwd will do ! function run_test() { var isWindows = ("@mozilla.org/windows-registry-key;1" in Components.classes); var dataFile = do_get_file("ipc-data.txt" , true); var processDir = do_get_workdir(); var cmd = processDir.clone(); cmd.append("IpcCat" + (i

Re: jsm source (mercurial )

2013-01-06 Thread Daniel Holbert
I'm guessing you meant "do_get_cwd" (not _workdir) That and do_print are defined in head.js: https://mxr.mozilla.org/mozilla-central/source/testing/xpcshell/head.js and they're documented here: https://developer.mozilla.org/en/docs/Writing_xpcshell-based_unit_tests ~Daniel On 01/06/2013 09:12 A

Re: jsm source (mercurial )

2013-01-06 Thread rvj
Many thanks for your reply all your suggestions.. ...its just taken a bit of time knowing in which JSM a particular function is located For example, I was trying to find "helper" functions used in test_subprocess(), functions such as do_get_workdir() and do_print(), but it seems that you

Re: jsm source (mercurial )

2013-01-06 Thread Jonathan Protzenko
On Sun 06 Jan 2013 03:49:46 PM CET, rvj wrote: > Yes thanks . > > Thats where I started before getting sidetracked looking for > test functions in the Mercurial source ...something which I am just > finding my around https://github.com/protz/gpgfox/blob/0d2fb7c0e207c8a76def0d87b0888b759b2f6ffe/

Re: jsm source (mercurial )

2013-01-06 Thread rvj
Yes thanks . Thats where I started before getting sidetracked looking for test functions in the Mercurial source ...something which I am just finding my around PS do you understand the reference to compilation of tests? "Jonathan Protzenko" wrote in message news:mailman.6011.1357482

Re: jsm source (mercurial )

2013-01-06 Thread Jonathan Protzenko
The code lives there http://hg.mozilla.org/ipccode/ and is very well-documented. It's all JSM's so it should fit your use case very well. Cheers, jonathan On Sun 06 Jan 2013 02:48:59 PM CET, rvj wrote: > OK think Ive found it in testframework.js > > I could really do with a properly documente

Re: jsm source (mercurial )

2013-01-06 Thread rvj
OK think Ive found it in testframework.js I could really do with a properly documented example of a subprocess call for novices Can anyone explain comment 247 in bug 68702 regarding test case compilation ??? "Jan Gerber and I have developed an entirely new version of subprocess, written i

Re: jsm source (mercurial )

2013-01-06 Thread rvj
BTW where are all the functions with the prefix do_ located that appear in the .jsm modules do_get_file, do_print, etc "rvj" wrote in message news:lo6dnupuperznxznnz2dnuvz_jodn...@mozilla.org... do I need to install windows mercurial to download the jsm files .. or is there an alte

Re: jsm source (mercurial )

2013-01-04 Thread rvj
thanks (unzipped) "Ralph Giles" wrote in message news:mailman.5430.1357066902.32706.dev-platf...@lists.mozilla.org... On 12-12-31 6:59 AM, rvj wrote: do I need to install windows mercurial to download the jsm files .. You can also download a specific snapshot of the whole mercurial reposi

Re: jsm source (mercurial )

2013-01-01 Thread Ralph Giles
On 12-12-31 6:59 AM, rvj wrote: > do I need to install windows mercurial to download the jsm files .. You can also download a specific snapshot of the whole mercurial repository if you want all the files but don't want to install the client. Look for the 'zip' links on the top of the https://hg.m

Re: jsm source (mercurial )

2012-12-31 Thread Margaret Leibovic
Which jsm files are you looking for? You can browse the mozilla-central repo (and download individual files) on the web here: http://hg.mozilla.org/mozilla-central/ Margaret On Mon, Dec 31, 2012 at 9:59 AM, rvj wrote: > do I need to install windows mercurial to download the jsm files .. > > or

jsm source (mercurial )

2012-12-31 Thread rvj
do I need to install windows mercurial to download the jsm files .. or is there an alternative (simpler) method? ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform