test if CI failes on failing test

This commit is contained in:
Christian Schabesberger 2015-12-29 21:16:18 +01:00
parent b647bacd72
commit 216063dba8
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,31 @@
package org.schabi.newpipe;
import android.test.AndroidTestCase;
/**
* Created by the-scrabi on 29.12.15.
*
* Copyright (C) Christian Schabesberger 2015 <chris.schabesberger@mailbox.org>
* TestIfCIFailesTest.java is part of NewPipe.
*
* NewPipe is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* NewPipe is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with NewPipe. If not, see <http://www.gnu.org/licenses/>.
*/
// test if CI realy shows if test fails
public class TestIfCIFailsTest extends AndroidTestCase {
public void testFail() {
assertEquals(1, 0);
}
}

View File

@ -8,7 +8,7 @@ import org.schabi.newpipe.services.SearchEngine;
* Created by the-scrabi on 29.12.15.
*
* Copyright (C) Christian Schabesberger 2015 <chris.schabesberger@mailbox.org>
* DetailsMenuHandler.java is part of NewPipe.
* YoutubeSearchEngineTest.java is part of NewPipe.
*
* NewPipe is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by