Searched refs:Exception (Results 126 - 150 of 2741) sorted by relevance

1234567891011>>

/external/junit/src/org/junit/internal/runners/
H A DMethodValidator.java39 fErrors.add(new Exception("No runnable methods"));
62 } catch (Exception e) {
63 fErrors.add(new Exception("Test class should have public zero-argument constructor", e));
74 fErrors.add(new Exception("Method " + each.getName() + "() "
78 fErrors.add(new Exception("Class " + each.getDeclaringClass().getName()
81 fErrors.add(new Exception("Method " + each.getName()
84 fErrors.add(new Exception("Method " + each.getName()
87 fErrors.add(new Exception("Method " + each.getName()
/external/junit/src/org/junit/runners/model/
H A DInitializationError.java9 public class InitializationError extends Exception {
30 this(new Exception(string));
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/
H A DMetadataManagerTest.java30 public void testAlternateFormatsContainsData() throws Exception {
37 public void testAlternateFormatsFailsGracefully() throws Exception {
/external/objenesis/main/src/org/objenesis/instantiator/basic/
H A DConstructorInstantiator.java38 catch(Exception e) {
47 catch(Exception e) {
/external/guava/guava-tests/test/com/google/common/testing/
H A DTestLogHandlerTest.java35 @Override protected void setUp() throws Exception {
47 public void tearDown() throws Exception {
54 public void test() throws Exception {
63 public void testConcurrentModification() throws Exception {
87 static final Exception EXCEPTION = new Exception();
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DAbstractChainedListenableFutureTest.java36 protected static final Exception EXCEPTION = new Exception("Test exception");
43 protected void setUp() throws Exception {
52 public void testFutureGetBeforeCallback() throws Exception {
60 public void testFutureGetThrowsWrappedException() throws Exception {
65 public void testFutureGetThrowsWrappedError() throws Exception {
/external/robolectric/src/test/java/com/xtremelabs/robolectric/
H A DApplicationResolverTest.java19 public void shouldThrowWhenManifestContainsBadApplicationClassName() throws Exception {
24 public void shouldReturnDefaultAndroidApplicationWhenManifestDeclaresNoAppName() throws Exception {
30 public void shouldReturnSpecifiedApplicationWhenManifestDeclaresAppName() throws Exception {
36 public void shouldAssignThePackageNameFromTheManifest() throws Exception {
42 public void shouldAssignTheApplicationNameFromTheManifest() throws Exception {
48 public void shouldRegisterReceiversFromTheManifest() throws Exception {
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DClipboardManagerTest.java21 @Before public void setUp() throws Exception {
26 public void shouldStoreText() throws Exception {
32 public void shouldNotHaveTextIfTextIsNull() throws Exception {
38 public void shouldNotHaveTextIfTextIsEmpty() throws Exception {
44 public void shouldHaveTextIfEmptyString() throws Exception {
50 public void shouldHaveTextIfString() throws Exception {
H A DAnimationTest.java25 public void setUp() throws Exception {
33 public void startShouldInvokeStartCallback() throws Exception {
42 public void cancelShouldInvokeEndCallback() throws Exception {
51 public void invokeRepeatShouldInvokeRepeatCallback() throws Exception {
60 public void invokeEndShouldInvokeEndCallback() throws Exception {
69 public void simulateAnimationEndShouldInvokeApplyTransformationWith1() throws Exception {
76 public void testHasStarted() throws Exception {
85 public void testDuration() throws Exception {
92 public void testInterpolation() throws Exception {
100 public void testRepeatCount() throws Exception {
[all...]
H A DAccountTest.java17 public void shouldHaveStringsConstructor() throws Exception {
25 public void shouldHaveParcelConstructor() throws Exception {
38 public void shouldHaveCreator() throws Exception {
50 public void shouldThrowIfNameIsEmpty() throws Exception {
55 public void shouldThrowIfTypeIsEmpty() throws Exception {
60 public void shouldHaveToString() throws Exception {
66 public void shouldProvideEqualAndHashCode() throws Exception {
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
H A DTestCharDFAConversion.java46 @Test public void testSimpleRangeVersusChar() throws Exception {
59 @Test public void testRangeWithDisjointSet() throws Exception {
76 @Test public void testDisjointSetCollidingWithTwoRanges() throws Exception {
93 @Test public void testDisjointSetCollidingWithTwoRangesCharsFirst() throws Exception {
109 @Test public void testDisjointSetCollidingWithTwoRangesAsSeparateAlts() throws Exception {
135 @Test public void testKeywordVersusID() throws Exception {
154 @Test public void testIdenticalRules() throws Exception {
178 @Test public void testAdjacentNotCharLoops() throws Exception {
193 @Test public void testNonAdjacentNotCharLoops() throws Exception {
208 @Test public void testLoopsWithOptimizedOutExitBranches() throws Exception {
[all...]
H A DTestSyntacticPredicateEvaluation.java33 @Test public void testTwoPredsWithNakedAlt() throws Exception {
82 @Test public void testTwoPredsWithNakedAltNotLast() throws Exception {
130 @Test public void testLexerPred() throws Exception {
151 @Test public void testLexerWithPredLongerThanAlt() throws Exception {
173 @Test public void testLexerPredCyclicPrediction() throws Exception {
189 @Test public void testLexerPredCyclicPrediction2() throws Exception {
204 @Test public void testSimpleNestedPred() throws Exception {
239 @Test public void testTripleNestedPredInLexer() throws Exception {
290 @Test public void testTreeParserWithSynPred() throws Exception {
313 @Test public void testTreeParserWithNestedSynPred() throws Exception {
[all...]
H A DTestRewriteAST.java41 @Test public void testDelete() throws Exception {
54 @Test public void testSingleToken() throws Exception {
67 @Test public void testSingleTokenToNewNode() throws Exception {
80 @Test public void testSingleTokenToNewNodeRoot() throws Exception {
93 @Test public void testSingleTokenToNewNode2() throws Exception {
107 @Test public void testSingleCharLiteral() throws Exception {
120 @Test public void testSingleStringLiteral() throws Exception {
133 @Test public void testSingleRule() throws Exception {
147 @Test public void testReorderTokens() throws Exception {
160 @Test public void testReorderTokenAndRule() throws Exception {
[all...]
/external/javassist/src/main/javassist/bytecode/
H A DAnnotationsAttribute.java168 catch (Exception e) {
228 catch (Exception e) {
283 } catch (Exception e) {
313 final void parameters() throws Exception {
318 void parameters(int numParam, int pos) throws Exception {
323 final void annotationArray() throws Exception {
327 final int annotationArray(int pos) throws Exception {
332 int annotationArray(int pos, int num) throws Exception {
339 final int annotation(int pos) throws Exception {
345 int annotation(int pos, int type, int numPairs) throws Exception {
[all...]
/external/chromium_org/net/android/javatests/src/org/chromium/net/
H A DAndroidProxySelectorTest.java77 * @throws Exception
81 public void testNoProxy() throws Exception {
90 * @throws Exception
94 public void testHttpProxyHostAndPort() throws Exception {
105 * @throws Exception
109 public void testHttpProxyHostOnly() throws Exception {
119 * @throws Exception
123 public void testHttpProxyPortOnly() throws Exception {
133 * @throws Exception
137 public void testHttpNonProxyHosts1() throws Exception {
[all...]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
H A DRawHeightMap.java81 public RawHeightMap(String filename, int size) throws Exception {
91 public RawHeightMap(String filename, int size, int format, boolean swapxy) throws Exception {
94 throw new Exception("Must supply valid filename and "
100 throw new Exception("height file not found: " + filename);
104 public RawHeightMap(InputStream stream, int size, int format, boolean swapxy) throws Exception {
108 public RawHeightMap(URL resource, int size, int format, boolean swapxy) throws Exception {
111 throw new Exception("Must supply valid resource and "
119 throw new Exception("Unable to open height url: " + resource);
123 private void setup(InputStream stream, int size, int format, boolean swapxy) throws Exception {
126 throw new Exception("Mus
[all...]
H A DHillHeightMap.java68 * @throws Exception
74 float maxRadius, long seed) throws Exception {
77 throw new Exception(
106 * @throws Exception
112 float maxRadius) throws Exception {
215 * @throws Exception
219 public void setIterations(int iterations) throws Exception {
221 throw new Exception(
232 * @throws Exception
237 public void setMaxRadius(float maxRadius) throws Exception {
[all...]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
H A DAndroidTranslatorUnitTest.java18 @Before public void setUp() throws Exception {
24 public void whenMethodReturnsObject_shouldGenerateMethodBody() throws Exception {
38 public void whenMethodReturnsPrimitive_shouldGenerateMethodBody() throws Exception {
52 public void whenMethodReturnsVoid_shouldGenerateMethodBody() throws Exception {
65 public void whenMethodIsStatic_shouldGenerateMethodBody() throws Exception {
79 public void shouldGenerateParameterList() throws Exception {
86 public void shouldGenerateMethodBodyForEquals() throws Exception {
99 public void shouldInstrumentDefaultRequestDirector() throws Exception {
104 public void shouldInstrumentGoogleMapsClasses() throws Exception {
109 public void shouldNotInstrumentCoreJdkClasses() throws Exception {
[all...]
/external/apache-harmony/support/src/test/java/tests/util/
H A DSerializationTester.java91 * @throws Exception
94 public static boolean assertSame(Object inputObject) throws Exception {
105 * @throws Exception
108 public static boolean assertEquals(Object inputObject) throws Exception {
120 * @throws Exception
124 throws Exception {
137 * @throws Exception
141 throws Exception {
153 * @throws Exception
157 throws Exception {
[all...]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DAlgorithmParameterGenerator3Test.java35 public void test_generateParameters() throws Exception {
53 public void test_getAlgorithm() throws Exception {
64 public void test_getInstanceLjava_lang_String() throws Exception {
74 public void test_getInstanceLjava_lang_StringLjava_lang_String() throws Exception {
118 public void test_getProvider() throws Exception {
130 public void test_initI() throws Exception {
143 public void test_initILjava_security_SecureRandom() throws Exception {
156 public void test_initLjava_security_spec_AlgorithmParameterSpec() throws Exception {
176 public void test_initLjava_security_spec_AlgorithmParameterSpecLjava_security_SecureRandom() throws Exception {
H A DKeyPairGenerator4Test.java35 public void test_genKeyPair() throws Exception {
44 public void test_getAlgorithm() throws Exception {
52 public void test_getInstanceLjava_lang_String() throws Exception {
61 throws Exception {
83 public void test_getProvider() throws Exception {
91 public void test_initializeI() throws Exception {
100 public void test_initializeILjava_security_SecureRandom() throws Exception {
110 throws Exception {
128 throws Exception {
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/
H A DUnsafeAllocator.java30 public abstract <T> T newInstance(Class<T> c) throws Exception;
46 public <T> T newInstance(Class<T> c) throws Exception {
50 } catch (Exception ignored) {
65 public <T> T newInstance(Class<T> c) throws Exception {
69 } catch (Exception ignored) {
88 public <T> T newInstance(Class<T> c) throws Exception {
92 } catch (Exception ignored) {
111 public <T> T newInstance(Class<T> c) throws Exception {
115 } catch (Exception ignored) {
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
H A DAbstractCheckedFutureTest.java41 Exception except, CountDownLatch waitOn);
46 protected abstract void checkCancelledException(Exception e);
51 protected abstract void checkExecutionException(Exception e);
56 protected abstract void checkInterruptedException(Exception e);
60 Exception except, CountDownLatch waitOn) {
86 } catch (Exception e) {
113 } catch (Exception e) {
135 createCheckedFuture(Boolean.TRUE, new Exception("Error"), latch);
150 } catch (Exception e) {
/external/junit/src/org/junit/runner/notification/
H A DRunNotifier.java42 } catch (Exception e) {
49 abstract protected void notifyListener(RunListener each) throws Exception;
58 protected void notifyListener(RunListener each) throws Exception {
70 protected void notifyListener(RunListener each) throws Exception {
86 protected void notifyListener(RunListener each) throws Exception {
99 protected void notifyListener(RunListener each) throws Exception {
116 protected void notifyListener(RunListener each) throws Exception {
129 protected void notifyListener(RunListener each) throws Exception {
144 protected void notifyListener(RunListener each) throws Exception {
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
H A DDatabaseConfigTest.java24 public void testSettingDatabaseMapLoadsCorrectly() throws Exception {
42 public void testMapIsNotNull() throws Exception {
53 public void testLoadingNullMapThrowsException() throws Exception {
59 public void testGetScrubSQLThrowsExceptionWithNullMap() throws Exception {
65 public void testGetSelectLastInsertIdentityThrowsExceptionWithNullMap() throws Exception {
71 public void testGetResultSetTypeThrowsExceptionWithNullMap() throws Exception {
77 public void testGetScrubSQL() throws Exception {
82 public void testGetSelectLastInsertIdentity() throws Exception {
87 public void testGetResultSetType() throws Exception {

Completed in 611 milliseconds

1234567891011>>