/external/python/cpython2/Lib/distutils/tests/ |
test_build.py | 24 wanted = os.path.join(cmd.build_base, 'lib') 25 self.assertEqual(cmd.build_purelib, wanted) 34 wanted = os.path.join(cmd.build_base, 'lib' + plat_spec) 35 self.assertEqual(cmd.build_platlib, wanted) 41 wanted = os.path.join(cmd.build_base, 'temp' + plat_spec) 42 self.assertEqual(cmd.build_temp, wanted) 45 wanted = os.path.join(cmd.build_base, 'scripts-' + sys.version[0:3]) 46 self.assertEqual(cmd.build_scripts, wanted)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_build.py | 24 wanted = os.path.join(cmd.build_base, 'lib') 25 self.assertEqual(cmd.build_purelib, wanted) 34 wanted = os.path.join(cmd.build_base, 'lib' + plat_spec) 35 self.assertEqual(cmd.build_platlib, wanted) 41 wanted = os.path.join(cmd.build_base, 'temp' + plat_spec) 42 self.assertEqual(cmd.build_temp, wanted) 45 wanted = os.path.join(cmd.build_base, 'scripts-' + sys.version[0:3]) 46 self.assertEqual(cmd.build_scripts, wanted)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_build.py | 24 wanted = os.path.join(cmd.build_base, 'lib') 25 self.assertEqual(cmd.build_purelib, wanted) 34 wanted = os.path.join(cmd.build_base, 'lib' + plat_spec) 35 self.assertEqual(cmd.build_platlib, wanted) 41 wanted = os.path.join(cmd.build_base, 'temp' + plat_spec) 42 self.assertEqual(cmd.build_temp, wanted) 45 wanted = os.path.join(cmd.build_base, 'scripts-' + sys.version[0:3]) 46 self.assertEqual(cmd.build_scripts, wanted)
|
/external/mockito/src/test/java/org/mockito/internal/verification/ |
OnlyTest.java | 26 private final InvocationMatcher wanted; field in class:OnlyTest.VerificationDataStub 28 public VerificationDataStub(InvocationMatcher wanted, Invocation invocation) { 30 this.wanted = wanted; 39 return wanted; 43 return wanted;
|
/external/mockito/src/main/java/org/mockito/internal/verification/checkers/ |
NumberOfInvocationsChecker.java | 32 public static void checkNumberOfInvocations(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount) { 33 List<Invocation> actualInvocations = findInvocations(invocations, wanted); 38 throw tooLittleActualInvocations(new Discrepancy(wantedCount, actualCount), wanted, lastInvocation); 42 throw neverWantedButInvoked(wanted, firstUndesired); 46 throw tooManyActualInvocations(wantedCount, actualCount, wanted, firstUndesired); 49 markVerified(actualInvocations, wanted); 52 public static void checkNumberOfInvocations(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount, InOrderContext context) { 53 List<Invocation> chunk = findMatchingChunk(invocations, wanted, wantedCount, context); 59 throw tooLittleActualInvocationsInOrder(new Discrepancy(wantedCount, actualCount), wanted, lastInvocation); 63 throw tooManyActualInvocationsInOrder(wantedCount, actualCount, wanted, firstUndesired) [all...] |
NumberOfInvocationsInOrderChecker.java | 25 public void check(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount, InOrderContext context) { 26 List<Invocation> chunk = findMatchingChunk(invocations, wanted, wantedCount, context); 32 throw tooLittleActualInvocationsInOrder(new Discrepancy(wantedCount, actualCount), wanted, lastInvocation); 36 throw tooManyActualInvocationsInOrder(wantedCount, actualCount, wanted, firstUndesired); 39 markVerifiedInOrder(chunk, wanted, context);
|
/external/mockito/src/test/java/org/mockito/internal/verification/checkers/ |
NumberOfInvocationsInOrderCheckerTest.java | 32 private InvocationMatcher wanted; field in class:NumberOfInvocationsInOrderCheckerTest 50 wanted = buildSimpleMethod().toInvocationMatcher(); 53 NumberOfInvocationsChecker.checkNumberOfInvocations(invocations, wanted, 0, context); 58 wanted = buildSimpleMethod().toInvocationMatcher(); 60 NumberOfInvocationsChecker.checkNumberOfInvocations(invocations, wanted, 1, context); 68 wanted = buildSimpleMethod().toInvocationMatcher(); 73 exception.expectMessage("Wanted 4 times"); 76 NumberOfInvocationsChecker.checkNumberOfInvocations(invocations, wanted, 4, context); 84 wanted = buildSimpleMethod().toInvocationMatcher(); 87 NumberOfInvocationsChecker.checkNumberOfInvocations(invocations, wanted, 1, context) [all...] |
MissingInvocationCheckerTest.java | 25 private InvocationMatcher wanted; field in class:MissingInvocationCheckerTest 36 wanted = buildSimpleMethod().toInvocationMatcher(); 39 MissingInvocationChecker.checkMissingInvocation(invocations, wanted); 44 wanted = buildSimpleMethod().toInvocationMatcher(); 48 exception.expectMessage("Wanted but not invoked:"); 53 MissingInvocationChecker.checkMissingInvocation(invocations, wanted); 58 wanted = buildIntArgMethod().arg(2222).toInvocationMatcher(); 63 exception.expectMessage("Argument(s) are different! Wanted:"); 68 MissingInvocationChecker.checkMissingInvocation(invocations, wanted);
|
NumberOfInvocationsCheckerTest.java | 34 private InvocationMatcher wanted; field in class:NumberOfInvocationsCheckerTest 49 wanted = buildSimpleMethod().toInvocationMatcher(); 54 exception.expectMessage("Wanted 100 times"); 57 NumberOfInvocationsChecker.checkNumberOfInvocations(invocations, wanted, 100); 62 wanted = buildSimpleMethod().toInvocationMatcher(); 67 exception.expectMessage("Wanted 100 times"); 71 NumberOfInvocationsChecker.checkNumberOfInvocations(invocations, wanted, 100); 77 wanted = buildSimpleMethod().toInvocationMatcher(); 81 exception.expectMessage("Wanted 100 times"); 85 NumberOfInvocationsChecker.checkNumberOfInvocations(invocations, wanted, 100) [all...] |
MissingInvocationInOrderCheckerTest.java | 33 private InvocationMatcher wanted; field in class:MissingInvocationInOrderCheckerTest 55 wanted = buildSimpleMethod().toInvocationMatcher(); 57 checkMissingInvocation(invocations, wanted, context); 63 wanted = buildSimpleMethod().toInvocationMatcher(); 66 exception.expectMessage("Wanted but not invoked:"); 69 checkMissingInvocation(invocations, wanted, context); 75 wanted = buildIntArgMethod().arg(2222).toInvocationMatcher(); 79 exception.expectMessage("Argument(s) are different! Wanted:"); 84 checkMissingInvocation(invocations, wanted, context); 96 wanted = buildIntArgMethod().arg(2222).toInvocationMatcher() [all...] |
/external/mockito/src/main/java/org/mockito/internal/verification/ |
Times.java | 34 MatchableInvocation wanted = data.getTarget(); local 39 checkNumberOfInvocations(invocations, wanted, wantedCount); 44 MatchableInvocation wanted = data.getWanted(); local 47 checkMissingInvocation(allInvocations, wanted, data.getOrderingContext()); 49 checkNumberOfInvocations(allInvocations, wanted, wantedCount, data.getOrderingContext()); 54 return "Wanted invocations count: " + wantedCount;
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
float_test.go | 100 t.Errorf("cvt1 got %d, wanted 3", got) 103 t.Errorf("cvt2 got %d, wanted 3", got) 106 t.Errorf("cvt3 got %d, wanted 3", got) 109 t.Errorf("cvt4 got %d, wanted 3", got) 112 t.Errorf("cvt5 got %d, wanted 3", got) 115 t.Errorf("cvt6 got %d, wanted 3", got) 118 t.Errorf("cvt7 got %d, wanted 3", got) 121 t.Errorf("cvt8 got %d, wanted 3", got) 124 t.Errorf("cvt9 got %d, wanted 3", got) 127 t.Errorf("cvt10 got %d, wanted 3", got [all...] |
iface_test.go | 21 t.Errorf("wanted 5, got %d\n", got) 31 t.Errorf("wanted 5, got %d\n", got) 38 t.Errorf("wanted 5, got %d\n", got) 51 t.Errorf("wanted 5, got %d\n", got) 77 t.Errorf("wanted 5, got %d\n", int(got)) 87 t.Errorf("wanted 5, got %d\n", int(got)) 94 t.Errorf("wanted 5, got %d\n", int(got)) 107 t.Errorf("wanted 5, got %d\n", int(got))
|
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
float_test.go | 100 t.Errorf("cvt1 got %d, wanted 3", got) 103 t.Errorf("cvt2 got %d, wanted 3", got) 106 t.Errorf("cvt3 got %d, wanted 3", got) 109 t.Errorf("cvt4 got %d, wanted 3", got) 112 t.Errorf("cvt5 got %d, wanted 3", got) 115 t.Errorf("cvt6 got %d, wanted 3", got) 118 t.Errorf("cvt7 got %d, wanted 3", got) 121 t.Errorf("cvt8 got %d, wanted 3", got) 124 t.Errorf("cvt9 got %d, wanted 3", got) 127 t.Errorf("cvt10 got %d, wanted 3", got [all...] |
iface_test.go | 21 t.Errorf("wanted 5, got %d\n", got) 31 t.Errorf("wanted 5, got %d\n", got) 38 t.Errorf("wanted 5, got %d\n", got) 51 t.Errorf("wanted 5, got %d\n", got) 77 t.Errorf("wanted 5, got %d\n", int(got)) 87 t.Errorf("wanted 5, got %d\n", int(got)) 94 t.Errorf("wanted 5, got %d\n", int(got)) 107 t.Errorf("wanted 5, got %d\n", int(got))
|
/frameworks/compile/libbcc/bcinfo/Wrap/ |
in_memory_wrapper_input.cpp | 29 size_t InMemoryWrapperInput::Read(uint8_t* buffer, size_t wanted) { 36 while (found < wanted) {
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue14725.go | 46 panic(fmt.Sprintf("f1 returned %d, wanted 1", x)) 49 panic(fmt.Sprintf("f2 returned %d, wanted 1", x)) 52 panic(fmt.Sprintf("f3(true) returned %d, wanted 1", x)) 55 panic(fmt.Sprintf("f3(false) returned %d, wanted 1", x))
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue14725.go | 46 panic(fmt.Sprintf("f1 returned %d, wanted 1", x)) 49 panic(fmt.Sprintf("f2 returned %d, wanted 1", x)) 52 panic(fmt.Sprintf("f3(true) returned %d, wanted 1", x)) 55 panic(fmt.Sprintf("f3(false) returned %d, wanted 1", x))
|
/frameworks/compile/libbcc/bcinfo/include/bcinfo/Wrap/ |
file_wrapper_input.h | 34 virtual size_t Read(uint8_t* buffer, size_t wanted);
|
in_memory_wrapper_input.h | 34 virtual size_t Read(uint8_t* buffer, size_t wanted);
|
wrapper_input.h | 36 virtual size_t Read(uint8_t* buffer, size_t wanted) = 0;
|
/prebuilts/go/darwin-x86/src/cmd/vet/testdata/incomplete/ |
examples_test.go | 9 func Example_BadSuffix() // OK because non-test package was excluded. No false positives wanted. 11 func ExampleBuf() // OK because non-test package was excluded. No false positives wanted. 13 func ExampleBuf_Append() {} // OK because non-test package was excluded. No false positives wanted. 15 func ExampleBuf_Clear() {} // OK because non-test package was excluded. No false positives wanted. 19 func ExampleBuf_Append_Bad() {} // OK because non-test package was excluded. No false positives wanted. 29 func ExamplePuffer() // OK because non-test package was excluded. No false positives wanted. 31 func ExamplePuffer_Append() // OK because non-test package was excluded. No false positives wanted. 33 func ExamplePuffer_suffix() // OK because non-test package was excluded. No false positives wanted.
|
/prebuilts/go/linux-x86/src/cmd/vet/testdata/incomplete/ |
examples_test.go | 9 func Example_BadSuffix() // OK because non-test package was excluded. No false positives wanted. 11 func ExampleBuf() // OK because non-test package was excluded. No false positives wanted. 13 func ExampleBuf_Append() {} // OK because non-test package was excluded. No false positives wanted. 15 func ExampleBuf_Clear() {} // OK because non-test package was excluded. No false positives wanted. 19 func ExampleBuf_Append_Bad() {} // OK because non-test package was excluded. No false positives wanted. 29 func ExamplePuffer() // OK because non-test package was excluded. No false positives wanted. 31 func ExamplePuffer_Append() // OK because non-test package was excluded. No false positives wanted. 33 func ExamplePuffer_suffix() // OK because non-test package was excluded. No false positives wanted.
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/ |
test_dir_util.py | 40 wanted = []
41 self.assertEqual(self._logs, wanted)
45 wanted = ['creating %s' % self.root_target,
47 self.assertEqual(self._logs, wanted)
51 wanted = ["removing '%s' (and everything under it)" % self.root_target]
52 self.assertEqual(self._logs, wanted)
73 wanted = ['creating %s' % self.root_target]
75 self.assertEqual(self._logs, wanted)
97 wanted = ['copying %s -> %s' % (a_file, self.target2)]
99 self.assertEqual(self._logs, wanted)
[all...] |
test_file_util.py | 41 wanted = []
42 self.assertEqual(self._logs, wanted)
48 wanted = ['moving %s -> %s' % (self.source, self.target)]
49 self.assertEqual(self._logs, wanted)
58 wanted = ['moving %s -> %s' % (self.source, self.target_dir)]
59 self.assertEqual(self._logs, wanted)
|