HomeSort by relevance Sort by last modified time
    Searched refs:Exception (Results 276 - 300 of 8331) sorted by null

<<11121314151617181920>>

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
FactoryConfigurationErrorTest.java 32 Exception e = new Exception();
34 // which is based on Exception without parameters.
41 // which is based on Exception with String parameter.
42 e = new Exception("test message");
50 Exception e = new Exception();
52 // which is based on Exception without parameters.
59 // which is based on Exception with String parameter.
60 e = new Exception("test message")
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
GCMParameterSpecTest.java 28 public void testConstructor_IntByteArray_Success() throws Exception {
32 public void testConstructor_IntByteArray_NegativeTLen_Failure() throws Exception {
40 public void testConstructor_IntByteArray_NullIv_Failure() throws Exception {
48 public void testConstructor_IntByteArrayWithOffsets_Success() throws Exception {
52 public void testConstructor_IntByteArrayWithOffsets_NullIv_Failure() throws Exception {
60 public void testConstructor_IntByteArrayWithOffsets_NegativeOffset_Failure() throws Exception {
68 public void testConstructor_IntByteArrayWithOffsets_TooLongLength_Failure() throws Exception {
76 public void testGetIV_Success() throws Exception {
92 public void testGetIV_Subarray_Success() throws Exception {
98 public void testGetTLen_Success() throws Exception {
    [all...]
  /external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
TestNFAConstruction.java 41 @Test public void testA() throws Exception {
54 @Test public void testAB() throws Exception {
68 @Test public void testAorB() throws Exception {
91 @Test public void testRangeOrRange() throws Exception {
113 @Test public void testRange() throws Exception {
127 @Test public void testCharSetInParser() throws Exception {
141 @Test public void testABorCD() throws Exception {
161 @Test public void testbA() throws Exception {
181 @Test public void testbA_bC() throws Exception {
207 @Test public void testAorEpsilon() throws Exception {
    [all...]
TestTreeGrammarRewriteAST.java 47 @Test public void testFlatList() throws Exception {
67 @Test public void testSimpleTree() throws Exception {
87 @Test public void testNonImaginaryWithCtor() throws Exception {
106 @Test public void testCombinedRewriteAndAuto() throws Exception {
130 @Test public void testAvoidDup() throws Exception {
150 @Test public void testLoop() throws Exception {
170 @Test public void testAutoDup() throws Exception {
190 @Test public void testAutoDupRule() throws Exception {
211 @Test public void testAutoWildcard() throws Exception {
231 @Test public void testNoWildcardAsRootError() throws Exception {
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
Signature2Test.java 40 } catch (Exception e) {
48 public void test_clone() throws Exception {
61 public void test_getAlgorithm() throws Exception {
70 public void test_getInstanceLjava_lang_String() throws Exception {
78 public void test_getInstanceLjava_lang_StringLjava_lang_String() throws Exception {
89 public void test_getParameters() throws Exception {
101 public void test_getParameterLjava_lang_String() throws Exception {
114 public void test_getProvider() throws Exception {
122 public void test_initSignLjava_security_PrivateKey() throws Exception {
129 public void test_initVerifyLjava_security_PublicKey() throws Exception {
    [all...]
PrivilegedActionException2Test.java 26 * @tests java.security.PrivilegedActionException#PrivilegedActionException(java.lang.Exception)
29 Exception e = new Exception("test exception");
31 assertEquals("Did not encapsulate test exception!", e, pe
34 // try it with a null exception
36 assertNull("Did not encapsulate null test exception properly!", pe
44 Exception e = new IOException("test IOException");
  /libcore/benchmarks/src/benchmarks/regression/
ReflectionBenchmark.java 25 public void timeObject_getClass(int reps) throws Exception {
32 public void timeClass_getField(int reps) throws Exception {
39 public void timeClass_getDeclaredField(int reps) throws Exception {
46 public void timeClass_getConstructor(int reps) throws Exception {
53 public void timeClass_newInstance(int reps) throws Exception {
61 public void timeClass_getMethod(int reps) throws Exception {
68 public void timeClass_getDeclaredMethod(int reps) throws Exception {
75 public void timeField_setInt(int reps) throws Exception {
84 public void timeField_getInt(int reps) throws Exception {
93 public void timeMethod_invokeV(int reps) throws Exception {
    [all...]
  /frameworks/base/core/tests/coretests/src/android/view/
InflateTest.java 37 protected void setUp() throws Exception {
71 public void testLayout1() throws Exception {
76 public void testLayout2() throws Exception {
81 public void testLayout3() throws Exception {
86 public void testLayout4() throws Exception {
91 public void testLayout5() throws Exception {
96 public void testLayout6() throws Exception {
101 public void testCachedLayout1() throws Exception {
106 public void testCachedLayout2() throws Exception {
111 public void testCachedLayout3() throws Exception {
    [all...]
  /cts/tools/signature-tools/lib/
stringtemplate.jar 
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
NullCipherTest.java 40 protected void setUp() throws Exception {
72 public void testInitintKey() throws Exception {
80 public void testInitintKeySecureRandom() throws Exception {
88 public void testInitintKeyAlgorithmParameterSpec() throws Exception {
98 public void testUpdatebyteArray() throws Exception {
108 public void testUpdatebyteArrayintint() throws Exception {
124 public void testUpdatebyteArrayintintbyteArray() throws Exception {
134 public void testUpdatebyteArrayintintbyteArrayint() throws Exception {
144 public void testDoFinal() throws Exception {
151 public void testDoFinalbyteArrayint() throws Exception {
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
NullCipherTest.java 43 protected void setUp() throws Exception {
75 public void testInitintKey() throws Exception {
83 public void testInitintKeySecureRandom() throws Exception {
91 public void testInitintKeyAlgorithmParameterSpec() throws Exception {
100 public void testUpdatebyteArray() throws Exception {
110 public void testUpdatebyteArrayintint() throws Exception {
126 public void testUpdatebyteArrayintintbyteArray() throws Exception {
136 public void testUpdatebyteArrayintintbyteArrayint() throws Exception {
146 public void testDoFinal() throws Exception {
153 public void testDoFinalbyteArrayint() throws Exception {
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
VibratorTest.java 29 protected void setUp() throws Exception {
37 } catch (Exception e) {
43 } catch (Exception e) {
52 } catch (Exception e) {
70 } catch (Exception e) {
83 } catch (Exception e) {
94 } catch (Exception e) {
  /external/chromium_org/tools/telemetry/telemetry/core/
exceptions.py 6 class PlatformError(Exception):
7 """ Represents an exception thrown when constructing platform. """
10 class NativeBrowserCrashException(Exception):
47 class ProcessGoneException(Exception):
51 class IntentionalException(Exception):
52 """Represent an exception raised by a unittest which is not printed."""
55 class LoginException(Exception):
59 class EvaluateException(Exception):
63 class ProfilingException(Exception):
  /external/conscrypt/src/test/java/org/conscrypt/
ChainStrengthAnalyzerTest.java 94 public void testMD5() throws Exception {
98 public void test512() throws Exception {
102 public void testGoodChain() throws Exception {
106 private static void assertBad(String pem, String msg) throws Exception {
114 private static void assertGood(String pem) throws Exception {
118 private static void check(X509Certificate cert) throws Exception {
123 private static X509Certificate createCert(String pem) throws Exception {
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
AtomicsTest.java 34 public void testNewReference() throws Exception {
38 public void testNewReference_withInitialValue() throws Exception {
43 public void testNewReferenceArray_withLength() throws Exception {
56 public void testNewReferenceArray_withNegativeLength() throws Exception {
64 public void testNewReferenceArray_withStringArray() throws Exception {
77 public void testNewReferenceArray_withNullArray() throws Exception {
85 public void testNullPointers() throws Exception {
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
DocumentLoader.java 28 public void loadResourceXmlDirs(File... resourceXmlDirs) throws Exception {
32 public void loadResourceXmlDirs(boolean isSystem, File... resourceXmlDirs) throws Exception {
38 public void loadResourceXmlDir(File resourceXmlDir) throws Exception {
42 public void loadSystemResourceXmlDir(File resourceXmlDir) throws Exception {
46 private void loadResourceXmlDir(File resourceXmlDir, boolean isSystem) throws Exception {
56 private void loadResourceXmlFile(File file, boolean isSystem) throws Exception {
62 private Document parse(File xmlFile) throws Exception {
  /libcore/luni/src/test/java/libcore/java/sql/
DriverTest.java 33 public void setUp() throws Exception {
41 public void testDriverImplementation() throws Exception {
46 public void testAcceptsURL() throws Exception {
51 public void testGetMajorVersion() throws Exception {
55 public void testGetMinorVersion() throws Exception {
59 public void testGetPropertyInfo() throws Exception {
66 public void testJdbcCompliant() throws Exception {
  /cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
LauncherAppsSingleUserTest.java 31 protected void setUp() throws Exception {
41 protected void tearDown() throws Exception {
48 public void testInstallAppMainUser() throws Exception {
63 public void testLauncherCallbackPackageAddedMainUser() throws Exception {
80 public void testLauncherCallbackPackageRemovedMainUser() throws Exception {
98 public void testLauncherCallbackPackageChangedMainUser() throws Exception {
116 public void testLauncherNonExportedAppFails() throws Exception {
131 public void testLaunchNonExportActivityFails() throws Exception {
146 public void testLaunchMainActivity() throws Exception {
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
MediaMimeTest.java 58 protected void setUp() throws Exception {
66 protected void tearDown() throws Exception {
75 public void testCheckMediaPlaybackHandlesAudioMp3() throws Exception {
81 public void testCheckMediaPlaybackHandlesAudio() throws Exception {
92 public void testCheckMediaPlaybackHandlesApplicationItunes() throws Exception {
99 public void testCheckActivityResolverMimeHandlingIsCaseSensitive() throws Exception {
108 public void testCheckWhiteSpacesInMimeTypeHandling() throws Exception {
127 private void assertMediaPlaybackActivityHandles(String mime) throws Exception {
135 private void assertNoActivityHandles(String mime) throws Exception {
  /frameworks/base/test-runner/tests/src/android/test/
TestCaseUtilTest.java 27 public void testGetTestCaseNamesForTestSuiteWithSuiteMethod() throws Exception {
37 public void testGetTestCaseNamesForTestCaseWithSuiteMethod() throws Exception {
46 public void testCreateTestForTestCase() throws Exception {
51 public void testCreateTestForTestSuiteWithSuiteMethod() throws Exception {
56 public void testCreateTestForTestCaseWithSuiteMethod() throws Exception {
61 public void testReturnEmptyStringForTestSuiteWithNoName() throws Exception {
66 public void testOne() throws Exception {
77 public void testOne() throws Exception {
80 public void testTwo() throws Exception {
  /libcore/luni/src/test/java/libcore/java/lang/
OldAndroidInstanceofTest.java 31 protected void setUp() throws Exception {
43 public void testNoInterface() throws Exception {
50 public void testDerivedOne() throws Exception {
57 public void testDerivedTwo() throws Exception {
64 public void testDerivedThree() throws Exception {
71 public void testDerivedFour() throws Exception {
78 public void testSuccessClass() throws Exception {
85 public void testSuccessInterface() throws Exception {
92 public void testFailInterface() throws Exception {
  /cts/tests/sample/src/android/sample/cts/
SampleDeviceTest.java 43 protected void setUp() throws Exception {
52 protected void tearDown() throws Exception {
65 * @throws Exception
67 public void testSharedPreferences() throws Exception {
  /cts/tests/tests/mediastress/src/android/mediastress/cts/
H264R1080pAacShortPlayerTest.java 35 public void testPlay00() throws Exception {
39 public void testPlay01() throws Exception {
43 public void testPlay02() throws Exception {
HEVCR1080pAacShortPlayerTest.java 35 public void testPlay00() throws Exception {
39 public void testPlay01() throws Exception {
43 public void testPlay02() throws Exception {
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/JavaExtensions/
ExceptionExtensions.cs 35 using Exception = System.Exception;
40 public static void PrintStackTrace( Exception e, TextWriter writer )

Completed in 1412 milliseconds

<<11121314151617181920>>