Thanks for a detail explanation, will see what I can come up with

-D

On Wed, Jul 18, 2012 at 11:21 AM, Gary Gregory <garydgreg...@gmail.com> wrote:
> Hi,
>
> If you take a peek at the FTP and HTTP test case, it will all make sense.
>
> We should test VFS with *something*, since VFS is a client, we need a
> server, which goes up and down with the test suite.
>
> Short of that, using Mockito, Power Mock or some other mocking framework
> might make sense as an in-between solution.
>
> The VFS test framework also has a mode where you can run certain test
> suites with a standalone server at a predefined URL. This is a pain because
> that server must be started and configured separately from the test code.
>
> I've worked to remedy this situation in VFS trunk by embedding various
> servers (FTP, HTTP, and so on) for different test suites. Not all suites
> are covered by this strategy though.
>
> I do not know if there is a server we can embed in our tests out there.
> This is why I started my message with "Ideally".
>
> Gary
>
> On Wed, Jul 18, 2012 at 12:05 PM, Dan Tran <dant...@gmail.com> wrote:
>
>> I am confuse here, you are asking me to embed a cifs server  ( which
>> have not found a java implementation yet, jcifs itself only contain
>> client part ), and someone's SMB server. These 2 are contradicting.
>> Am I missing something?
>>
>> Thanks
>>
>> -D
>>
>> On Wed, Jul 18, 2012 at 8:54 AM, Gary Gregory <garydgreg...@gmail.com>
>> wrote:
>> > On Jul 18, 2012, at 11:05, Dan Tran <dant...@gmail.com> wrote:
>> >
>> >> Questions:
>> >>
>> >>  1. So that i can plan out our own release, what is the 'potential'
>> >> time frame we may see another release of VFS?
>> >
>> > Any time. Rolling a release takes anywhere from a week or a couple of
>> > weeks depending on what needs to be done.
>> >
>> > For the next release, likely called 2.1, I see some clean ups to do
>> > but not too much.
>> >
>> >>
>> >>  2. In term of test.  Are you suggesting me to use a embedded CIFS
>> >> server or use 'someone' SMB server?
>> >
>> > Yes, a server embedded into the tests. As I pointed out previously,
>> > please see the HTTP and FTP tests.
>> >
>> > Gary
>> >
>> >>
>> >> Thanks
>> >>
>> >> -D
>> >>
>> >> On Wed, Jul 18, 2012 at 4:49 AM, Gary Gregory <garydgreg...@gmail.com>
>> wrote:
>> >>> Ideally:
>> >>>
>> >>> - Implement the test case such that it starts and stops an embedded
>> Samba
>> >>> server, like other tests do (see HTTP, FTP, and so on.) This will
>> require
>> >>> using someone's Smb server.
>> >>>
>> >>> Once that is in place:
>> >>>
>> >>> - Migrate to the current version of JCIFS.
>> >>>
>> >>> Then:
>> >>>
>> >>> - Fill in holes in tests (if any)
>> >>> - Fill in holes in features (if any as your needs dictate)
>> >>>
>> >>> Gary
>> >>>
>> >>> On Tue, Jul 17, 2012 at 11:12 PM, Dan Tran <dant...@gmail.com> wrote:
>> >>>
>> >>>> Hi,
>> >>>>
>> >>>> I have a forked a copy of vfs-cift to codehaus [1] to test it out.  It
>> >>>> works so far for me.
>> >>>>
>> >>>> What would it take to promote the current VFS's CIFT out of sandbox to
>> >>>> be released with VFS-2.x?
>> >>>>
>> >>>> Thanks
>> >>>>
>> >>>> -Dan
>> >>>>
>> >>>> [1] https://svn.codehaus.org/mojo/trunk/sandbox/vfs/vfs-smb/
>> >>>>
>> >>>> ---------------------------------------------------------------------
>> >>>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> >>>> For additional commands, e-mail: dev-h...@commons.apache.org
>> >>>>
>> >>>>
>> >>>
>> >>>
>> >>> --
>> >>> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
>> >>> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
>> >>> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
>> >>> Blog: http://garygregory.wordpress.com
>> >>> Home: http://garygregory.com/
>> >>> Tweet! http://twitter.com/GaryGregory
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> >> For additional commands, e-mail: dev-h...@commons.apache.org
>> >>
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> > For additional commands, e-mail: dev-h...@commons.apache.org
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> For additional commands, e-mail: dev-h...@commons.apache.org
>>
>>
>
>
> --
> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory

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

Reply via email to