/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_ntpath.py | 8 def tester(fn, wantResult):
function 18 tester('ntpath.splitext("foo.ext")', ('foo', '.ext'))
19 tester('ntpath.splitext("/foo/foo.ext")', ('/foo/foo', '.ext'))
20 tester('ntpath.splitext(".ext")', ('.ext', ''))
21 tester('ntpath.splitext("\\foo.ext\\foo")', ('\\foo.ext\\foo', ''))
22 tester('ntpath.splitext("foo.ext\\")', ('foo.ext\\', ''))
23 tester('ntpath.splitext("")', ('', ''))
24 tester('ntpath.splitext("foo.bar.ext")', ('foo.bar', '.ext'))
25 tester('ntpath.splitext("xx/foo.bar.ext")', ('xx/foo.bar', '.ext'))
26 tester('ntpath.splitext("xx\\foo.bar.ext")', ('xx\\foo.bar', '.ext')) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_ntpath.py | 8 def tester(fn, wantResult): function 18 tester('ntpath.splitext("foo.ext")', ('foo', '.ext')) 19 tester('ntpath.splitext("/foo/foo.ext")', ('/foo/foo', '.ext')) 20 tester('ntpath.splitext(".ext")', ('.ext', '')) 21 tester('ntpath.splitext("\\foo.ext\\foo")', ('\\foo.ext\\foo', '')) 22 tester('ntpath.splitext("foo.ext\\")', ('foo.ext\\', '')) 23 tester('ntpath.splitext("")', ('', '')) 24 tester('ntpath.splitext("foo.bar.ext")', ('foo.bar', '.ext')) 25 tester('ntpath.splitext("xx/foo.bar.ext")', ('xx/foo.bar', '.ext')) 26 tester('ntpath.splitext("xx\\foo.bar.ext")', ('xx\\foo.bar', '.ext') [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_ntpath.py | 8 def tester(fn, wantResult): function 18 tester('ntpath.splitext("foo.ext")', ('foo', '.ext')) 19 tester('ntpath.splitext("/foo/foo.ext")', ('/foo/foo', '.ext')) 20 tester('ntpath.splitext(".ext")', ('.ext', '')) 21 tester('ntpath.splitext("\\foo.ext\\foo")', ('\\foo.ext\\foo', '')) 22 tester('ntpath.splitext("foo.ext\\")', ('foo.ext\\', '')) 23 tester('ntpath.splitext("")', ('', '')) 24 tester('ntpath.splitext("foo.bar.ext")', ('foo.bar', '.ext')) 25 tester('ntpath.splitext("xx/foo.bar.ext")', ('xx/foo.bar', '.ext')) 26 tester('ntpath.splitext("xx\\foo.bar.ext")', ('xx\\foo.bar', '.ext') [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_ntpath.py | 8 def tester(fn, wantResult): function 18 tester('ntpath.splitext("foo.ext")', ('foo', '.ext')) 19 tester('ntpath.splitext("/foo/foo.ext")', ('/foo/foo', '.ext')) 20 tester('ntpath.splitext(".ext")', ('.ext', '')) 21 tester('ntpath.splitext("\\foo.ext\\foo")', ('\\foo.ext\\foo', '')) 22 tester('ntpath.splitext("foo.ext\\")', ('foo.ext\\', '')) 23 tester('ntpath.splitext("")', ('', '')) 24 tester('ntpath.splitext("foo.bar.ext")', ('foo.bar', '.ext')) 25 tester('ntpath.splitext("xx/foo.bar.ext")', ('xx/foo.bar', '.ext')) 26 tester('ntpath.splitext("xx\\foo.bar.ext")', ('xx\\foo.bar', '.ext') [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_ntpath.py | 8 def tester(fn, wantResult): function 18 tester('ntpath.splitext("foo.ext")', ('foo', '.ext')) 19 tester('ntpath.splitext("/foo/foo.ext")', ('/foo/foo', '.ext')) 20 tester('ntpath.splitext(".ext")', ('.ext', '')) 21 tester('ntpath.splitext("\\foo.ext\\foo")', ('\\foo.ext\\foo', '')) 22 tester('ntpath.splitext("foo.ext\\")', ('foo.ext\\', '')) 23 tester('ntpath.splitext("")', ('', '')) 24 tester('ntpath.splitext("foo.bar.ext")', ('foo.bar', '.ext')) 25 tester('ntpath.splitext("xx/foo.bar.ext")', ('xx/foo.bar', '.ext')) 26 tester('ntpath.splitext("xx\\foo.bar.ext")', ('xx\\foo.bar', '.ext') [all...] |
/external/python/cpython2/Lib/test/ |
test_ntpath.py | 15 def tester(fn, wantResult): function 22 tester('ntpath.splitext("foo.ext")', ('foo', '.ext')) 23 tester('ntpath.splitext("/foo/foo.ext")', ('/foo/foo', '.ext')) 24 tester('ntpath.splitext(".ext")', ('.ext', '')) 25 tester('ntpath.splitext("\\foo.ext\\foo")', ('\\foo.ext\\foo', '')) 26 tester('ntpath.splitext("foo.ext\\")', ('foo.ext\\', '')) 27 tester('ntpath.splitext("")', ('', '')) 28 tester('ntpath.splitext("foo.bar.ext")', ('foo.bar', '.ext')) 29 tester('ntpath.splitext("xx/foo.bar.ext")', ('xx/foo.bar', '.ext')) 30 tester('ntpath.splitext("xx\\foo.bar.ext")', ('xx\\foo.bar', '.ext') [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
RangeNonGwtTest.java | 32 NullPointerTester tester = new NullPointerTester(); local 34 tester.testAllPublicStaticMethods(Range.class); 35 tester.testAllPublicStaticMethods(Range.class); 37 tester.testAllPublicInstanceMethods(Range.all()); 38 tester.testAllPublicInstanceMethods(Range.open(1, 3));
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/ |
GetValues002Test.java | 34 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.BOOLEAN_SIGNAL); local 36 MethodInfo suspensionMethodInfo = tester.addTestMethod("breakpointBoolean"); 38 MethodInfo methodInfo = tester.addTestMethod("runBreakpointBoolean"); 40 runStackFrameTest(tester, suspensionMethodInfo); 50 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.BYTE_SIGNAL); local 52 MethodInfo suspensionMethodInfo = tester.addTestMethod("breakpointByte"); 54 MethodInfo methodInfo = tester.addTestMethod("runBreakpointByte"); 56 runStackFrameTest(tester, suspensionMethodInfo); 66 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.CHAR_SIGNAL); local 68 MethodInfo suspensionMethodInfo = tester.addTestMethod("breakpointChar") 82 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.SHORT_SIGNAL); local 98 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.INT_SIGNAL); local 114 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.INT_METHOD2_SIGNAL); local 132 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.LONG_METHOD_SIGNAL); local 148 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.FLOAT_METHOD); local 164 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.DOUBLE_METHOD); local 183 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.OBJECT_SIGNAL); local 201 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.OBJECT_SIGNAL); local 218 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.ARRAY_SIGNAL); local 236 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.ARRAY_AS_OBJECT_SIGNAL); local 253 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.CLASS_SIGNAL); local 271 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.CLASS_AS_OBJECT_SIGNAL); local 288 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.CLASS_LOADER_SIGNAL); local 306 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.CLASS_LOADER_AS_OBJECT_SIGNAL); local 323 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.STRING_SIGNAL); local 341 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.STRING_AS_OBJECT_SIGNAL); local 358 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.THREAD_SIGNAL); local 376 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.THREAD_AS_OBJECT_SIGNAL); local 393 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.THREAD_GROUP_SIGNAL); local 411 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.THREAD_GROUP_AS_OBJECT_SIGNAL); local [all...] |
SetValues002Test.java | 34 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.BOOLEAN_SIGNAL); local 37 MethodInfo suspensionMethodInfo = tester.addTestMethod("breakpointBoolean"); 39 MethodInfo methodInfo = tester.addTestMethod("runBreakpointBoolean"); 41 runStackFrameTest(tester, suspensionMethodInfo); 51 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.BYTE_SIGNAL); local 54 MethodInfo suspensionMethodInfo = tester.addTestMethod("breakpointByte"); 56 MethodInfo methodInfo = tester.addTestMethod("runBreakpointByte"); 58 runStackFrameTest(tester, suspensionMethodInfo); 68 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.CHAR_SIGNAL); local 71 MethodInfo suspensionMethodInfo = tester.addTestMethod("breakpointChar") 85 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.SHORT_SIGNAL); local 102 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.INT_SIGNAL); local 119 StackFrameTester tester = new StackFrameTester( local 137 StackFrameTester tester = new StackFrameTester( local 160 StackFrameTester tester = new StackFrameTester( local 180 StackFrameTester tester = new StackFrameTester( local 201 StackFrameTester tester = new StackFrameTester( local 225 StackFrameTester tester = new StackFrameTester( local 245 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.LONG_METHOD_SIGNAL); local 262 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.FLOAT_METHOD); local 279 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.DOUBLE_METHOD); local 300 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.OBJECT_SIGNAL); local 320 StackFrameTester tester = local 341 StackFrameTester tester = new StackFrameTester( local 363 StackFrameTester tester = new StackFrameTester( local 388 StackFrameTester tester = new StackFrameTester( local 408 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.ARRAY_SIGNAL); local 427 StackFrameTester tester = local 446 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.CLASS_SIGNAL); local 465 StackFrameTester tester = local 484 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.CLASS_LOADER_SIGNAL); local 503 StackFrameTester tester = local 522 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.STRING_SIGNAL); local 541 StackFrameTester tester = local 560 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.THREAD_SIGNAL); local 579 StackFrameTester tester = local 598 StackFrameTester tester = new StackFrameTester(StackTrace002Debuggee.THREAD_GROUP_SIGNAL); local 617 StackFrameTester tester = local [all...] |
/external/autotest/server/site_tests/platform_HWwatchdog/ |
platform_HWwatchdog.py | 33 tester = WatchdogTester(host) 35 if not tester.is_supported(): 36 logging.info("INFO: %s not present. Skipping test." % tester.WD_DEV) 39 with tester: 40 self._stop_watchdog(host, tester.WD_DEV) 41 tester.trigger_watchdog()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
SettableFutureTest.java | 32 private ListenableFutureTester tester; field in class:SettableFutureTest 39 tester = new ListenableFutureTester(future); 40 tester.setUp(); 52 tester.testCompletedFuture("value"); 57 tester.testFailedFuture("failure"); 68 tester.testFailedFuture("failure"); 73 tester.testCancelledFuture();
|
/external/guava/guava-testlib/test/com/google/common/collect/testing/ |
IteratorTesterTest.java | 44 IteratorTester<Integer> tester = local 51 assertFailure(tester); 55 IteratorTester<Integer> tester = local 62 assertFailure(tester); 66 IteratorTester<Integer> tester = local 73 assertFailure(tester); 86 IteratorTester<Integer> tester = local 93 assertFailure(tester); 158 IteratorTester<Integer> tester = local 171 tester.ignoreSunJavaBug6529795() 195 TesterThatCountsCalls tester = new TesterThatCountsCalls(); local 206 IteratorTester<Integer> tester = local 231 IteratorTester<Integer> tester = local 256 IteratorTester<Integer> tester = local 268 IteratorTester<Integer> tester = local 293 IteratorTester<Integer> tester = local [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
RequestMatcher.java | 1 package com.xtremelabs.robolectric.tester.org.apache.http;
|
/external/deqp/modules/gles31/functional/ |
es31fSamplerStateQueryTests.cpp | 61 static bool isIsVectorQuery (TesterType tester) 63 return tester == TESTER_TEXTURE_BORDER_COLOR; 66 static bool isExtendedParamQuery (TesterType tester) 68 return tester == TESTER_TEXTURE_WRAP_S_CLAMP_TO_BORDER || 69 tester == TESTER_TEXTURE_WRAP_T_CLAMP_TO_BORDER || 70 tester == TESTER_TEXTURE_WRAP_R_CLAMP_TO_BORDER; 114 TesterType tester; member in struct:deqp::gles31::Functional::__anon17562 176 if (isExtendedParamQuery(states[stateNdx].tester)) 184 states[stateNdx].tester)); 186 else if (isIsVectorQuery(states[stateNdx].tester)) 218 const TesterType tester = (pureSetters[setterNdx].verifier == QUERY_SAMPLER_PARAM_PURE_INTEGER) ? (pureStates[stateNdx].intTester) local [all...] |
es31fTextureStateQueryTests.cpp | 61 static bool isIsVectorQuery (TesterType tester) 63 return tester == TESTER_TEXTURE_BORDER_COLOR; 66 static bool isExtendedParamQuery (TesterType tester) 68 return tester == TESTER_TEXTURE_WRAP_S_CLAMP_TO_BORDER || 69 tester == TESTER_TEXTURE_WRAP_T_CLAMP_TO_BORDER || 70 tester == TESTER_TEXTURE_WRAP_R_CLAMP_TO_BORDER; 132 TesterType tester; member in struct:deqp::gles31::Functional::__anon17632 217 if (!isLegalTesterForTarget(textureTargets[targetNdx].target, states[stateNdx].tester)) 224 if (isExtendedParamQuery(states[stateNdx].tester)) 233 states[stateNdx].tester)); 269 const TesterType tester = (pureSetters[setterNdx].verifier == QUERY_TEXTURE_PARAM_PURE_INTEGER) ? (pureStates[stateNdx].intTester) local [all...] |
/external/autotest/server/cros/bluetooth/ |
bluetooth_test.py | 19 self.tester - BluetoothTester object for the device's partner tester 43 self.tester = bluetooth_tester.BluetoothTester(tester_host) 45 self.tester = None 54 if self.tester: 55 self.tester.copy_logs(self.outputdir) 56 self.tester.close()
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
ClassSanityTesterTest.java | 50 private final ClassSanityTester tester = new ClassSanityTester(); field in class:ClassSanityTesterTest 53 tester.forAllPublicStaticMethods(GoodEqualsFactory.class).testEquals(); 84 tester.forAllPublicStaticMethods(NoPublicStaticMethods.class).testEquals(); 97 tester.forAllPublicStaticMethods(BadEqualsFactory.class).testEquals(); 114 tester.forAllPublicStaticMethods(GoodNullsFactory.class).testNulls(); 126 tester 138 tester 159 tester.forAllPublicStaticMethods(GoodSerializableFactory.class).testSerializable(); 173 tester.forAllPublicStaticMethods(BadSerializableFactory.class).testSerializable(); 192 tester.forAllPublicStaticMethods(GoodEqualsFactory.class).testEqualsAndSerializable() [all...] |
/external/guava/guava-tests/test/com/google/common/reflect/ |
ParameterTest.java | 42 EqualsTester tester = new EqualsTester(); local 45 tester.addEqualityGroup(param); 48 tester.testEquals();
|
/frameworks/base/core/tests/coretests/src/android/os/ |
BroadcasterTest.java | 37 HandlerTester tester = new HandlerTester() { local 60 tester.doTest(1000); 114 HandlerTester tester = new Tests2and3(2); local 115 tester.doTest(1000); 123 HandlerTester tester = new Tests2and3(10); local 124 tester.doTest(1000); 133 HandlerTester tester = new HandlerTester() { local 159 tester.doTest(1000); 168 HandlerTester tester = new HandlerTester() { local 194 tester.doTest(1000) 203 HandlerTester tester = new HandlerTester() { local [all...] |
IdleHandlerTest.java | 60 TestHandlerThread tester = new BaseTestHandler() { local 89 tester.doTest(1000); 94 TestHandlerThread tester = new BaseTestHandler() { local 125 tester.doTest(1000); 131 TestHandlerThread tester = new BaseTestHandler() { local 160 tester.doTest(1000); 165 TestHandlerThread tester = new BaseTestHandler() { local 196 tester.doTest(1000);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ExpandableListViewWithHeadersTest.java | 89 ExpandableListTester tester = new ExpandableListTester(mExpandableListView); local 90 tester.testContextMenus(); 95 ExpandableListTester tester = new ExpandableListTester(mExpandableListView); local 96 tester.testConversionBetweenFlatAndPackedOnGroups(); 97 tester.testConversionBetweenFlatAndPackedOnChildren(); 102 ExpandableListTester tester = new ExpandableListTester(mExpandableListView); local 103 tester.testSelectedPositionOnGroups(); 104 tester.testSelectedPositionOnChildren();
|
/external/autotest/server/site_tests/bluetooth_Sanity_LEDiscovery/ |
bluetooth_Sanity_LEDiscovery.py | 15 Verify that the client can discover the tester. 19 # How long should the tester remain discoverable? 23 """Retrieve devices from client and look for tester. 35 if self.tester: 37 logging.info('Found tester with RSSI %d', 47 'Tester did not have expected name ' + 83 if self.tester: 84 # Setup the tester as a generic LE peripheral. 85 if not self.tester.setup('peripheral'): 86 raise error.TestFail('Tester could not be initialized' [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/text/ |
TestClipboardManager.java | 1 package com.xtremelabs.robolectric.tester.android.text;
|
/external/autotest/server/site_tests/bluetooth_SDP_ServiceSearchRequestBasic/ |
bluetooth_SDP_ServiceSearchRequestBasic.py | 27 """Search the existing service on the DUT using the Tester. 33 self.tester.connect(self.adapter['Address']) 38 resp = self.tester.service_search_request( 45 resp = self.tester.service_search_request( 52 resp = self.tester.service_search_request( 60 resp = self.tester.service_search_request( 67 resp = self.tester.service_search_request( 83 # Setup the tester as a generic computer. 84 if not self.tester.setup('computer'): 85 raise error.TestFail('Tester could not be initialized' [all...] |
/external/autotest/server/site_tests/bluetooth_Sanity_Discovery/ |
bluetooth_Sanity_Discovery.py | 15 Verify that the client can discover the tester. 19 # How long should the tester remain discoverable? 23 """Retrieve devices from client and look for tester. 35 if self.tester: 37 logging.info('Found tester with RSSI %d', 47 'Tester did not have expected name ' + 83 if self.tester: 84 # Setup the tester as a generic computer. 85 if not self.tester.setup('computer'): 86 raise error.TestFail('Tester could not be initialized' [all...] |