Kristina Chodorow | 254aee4 | 2015-02-20 15:45:07 +0000 | [diff] [blame] | 1 | package com.example.myproject; |
Han-Wen Nienhuys | d08b27f | 2015-02-25 16:45:20 +0100 | [diff] [blame] | 2 | |
3 | import org.junit.Assert; | ||||
4 | import org.junit.Test; | ||||
5 | |||||
Kristina Chodorow | 254aee4 | 2015-02-20 15:45:07 +0000 | [diff] [blame] | 6 | /** |
7 | * A test that always fails. | ||||
8 | */ | ||||
Han-Wen Nienhuys | d08b27f | 2015-02-25 16:45:20 +0100 | [diff] [blame] | 9 | public class Fail { |
10 | @Test | ||||
11 | public void testFail() { | ||||
12 | Assert.fail("This is an expected test failure."); | ||||
13 | } | ||||
14 | } |