Displaying 2 results from an estimated 2 matches for "resualt".
Did you mean:
resault
2008 Mar 07
6
where is the location of definition of "do_xen_version"?
...flow of hypercall's execuation, and i decided to add a new hypercall into the Xen.
first, i want to know the detail of one hypercall function, for example, "do_xen_version", but i can not find
the location of definition of "do_xen_version". who can help me?
i have get some resualts as follows:
[root@vt-0 xen-3.1.0-src]# find ./ -name "*.*" | xargs grep "do_xen_version"
./xen/include/xen/hypercall.h:do_xen_version(
Binary file ./xen/common/built_in.o matches
Binary file ./xen/common/kernel.o matches
./xen/arch/x86/x86_32/entry.S: .long do_xen_versi...
2008 Jun 29
2
How to write test about validates_associated
...)
assert !account.errors.invalid?(:code)
assert account.errors.invalid?(:email)
assert account.errors.invalid?(:phone)
assert account.errors.invalid?(:currency)
assert account.errors.invalid?(:coursecodeformat)
assert account.errors.invalid?(:vouchertypes)
end
end
and the resualt:
test_validate_present(AccountTest) [test/unit/account_test.rb:12]:
(false) is not true.
It looks the test failed at assert account.errors.invalid?(:currency)
I feel puzzle. The model and the test looks simple,why failed
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~--------...